/* ============================================================
   IXWEB — Responsive Breakpoints
   Desktop 1440 → Laptop 1200 → Tablet 768 → Mobile 375
   ============================================================ */

/* ── Laptop: ≤ 1200px ── */
@media (max-width: 1200px) {
    .hero__inner {
        gap: var(--space-2xl);
    }

    .hero__badges {
        display: none;
    }

    .services__grid {
        gap: var(--space-lg);
    }

    .cases__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing__grid {
        gap: var(--space-lg);
    }

    .footer__links {
        gap: var(--space-2xl);
    }
}


/* ── Tablet: ≤ 992px ── */
@media (max-width: 992px) {
    .header__nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        opacity: 0;
        visibility: hidden;
        transition: all var(--duration-normal) ease;
        z-index: calc(var(--z-sticky) - 1);
    }

    .header__nav.active {
        opacity: 1;
        visibility: visible;
    }

    .header__nav .header__link {
        font-size: var(--text-2xl);
        font-weight: 600;
        color: var(--text-primary);
    }

    .header__cta {
        display: none;
    }

    .header__burger {
        display: flex;
    }

    .header__messenger {
        display: none;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__features {
        align-items: center;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__visual {
        display: none;
    }

    .services__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .pricing__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .pricing-card--featured {
        transform: none;
    }

    .pricing-card--featured:hover {
        transform: translateY(-4px);
    }

    .contact__inner {
        grid-template-columns: 1fr;
    }

    .contact__info .section-title {
        text-align: center;
    }

    .contact__info {
        text-align: center;
    }

    .contact__channels {
        align-items: center;
    }

    .footer__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer__col {
        align-items: center;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* ── Tablet: ≤ 768px ── */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .social-proof__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-proof__reviews {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .cases__grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .guarantees__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process__timeline {
        padding-left: 0;
    }

    .section-title {
        font-size: var(--text-4xl);
    }

    .hero__title {
        font-size: clamp(2rem, 1.2rem + 3vw, 3rem);
    }

    .hero__scroll-indicator {
        display: none;
    }

    .modal__content {
        margin: var(--space-md);
        max-height: 85vh;
    }

    .case-gallery__img {
        max-height: 250px;
    }

    .case-gallery__thumb {
        width: 56px;
        height: 42px;
    }

    .contact__form {
        padding: var(--space-lg);
    }

    .cases__filters {
        gap: var(--space-xs);
    }

    .cases__filter {
        padding: 6px 14px;
        font-size: var(--text-xs);
    }
}


/* ── Mobile: ≤ 480px ── */
@media (max-width: 480px) {
    .hero {
        min-height: calc(100vh - var(--header-height));
        padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-xl);
    }

    .hero__badge {
        font-size: 0.65rem;
        padding: 6px 14px;
    }

    .hero__cta {
        flex-direction: column;
        width: 100%;
    }

    .hero__cta .btn {
        width: 100%;
        justify-content: center;
    }

    .social-proof__stats {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .stat-item {
        padding: var(--space-md);
    }

    .guarantees__grid {
        grid-template-columns: 1fr;
    }

    .process__step {
        gap: var(--space-md);
    }

    .process__step-number {
        width: 44px;
        height: 44px;
        font-size: var(--text-xs);
    }

    .process__line {
        left: 21px;
    }

    .process__step-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .footer__links {
        gap: var(--space-xl);
    }

    .btn--lg {
        padding: 14px 24px;
        font-size: var(--text-sm);
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    .contact__form {
        padding: var(--space-md);
        border-radius: var(--radius-lg);
    }

    .modal__body {
        padding: var(--space-lg);
    }
}


/* ── Small Mobile: ≤ 375px ── */
@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }

    .hero__title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .stat-item__number {
        font-size: var(--text-4xl);
    }
}


/* ── Wide Desktop: ≥ 1440px ── */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero__inner {
        max-width: 1400px;
    }
}


/* ── Ultra-wide: ≥ 1920px ── */
@media (min-width: 1920px) {
    :root {
        font-size: 18px;
    }
}
