/* ============================
   RESPONSIVE — 1200px
   ============================ */
@media (max-width: 1200px) {
    .hero__title { font-size: 44px; }
    .hero__inner { gap: 40px; }
    .section__title { font-size: 34px; }
}

/* ============================
   RESPONSIVE — 992px
   ============================ */
@media (max-width: 992px) {
    :root {
        --section-padding: 80px 0;
    }

    /* Navbar */
    .navbar__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 20px;
        transition: right var(--transition-base);
        border-left: 1px solid var(--border-color);
        z-index: 1000;
    }

    .navbar__menu.open {
        right: 0;
    }

    .navbar__burger {
        display: flex;
    }

    .navbar__link {
        font-size: 16px;
    }

    /* Hero */
    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero__title { font-size: 40px; }
    .hero__desc { margin: 0 auto 32px; }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__chat-demo {
        order: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .demo-chat {
        margin: 0 auto;
    }

    .demo-chat__messages {
        min-height: 240px;
        max-height: 240px;
    }

    /* For who */
    .for-who__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    /* Problems */
    .problems__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto 40px;
    }

    /* Comparison */
    .comparison__table {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .comparison__col--us {
        transform: none;
        order: -1;
    }

    /* Constructor */
    .constructor__layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .constructor__catalog,
    .constructor__summary {
        position: static;
    }

    .constructor__basket {
        min-height: 200px;
    }

    /* Pricing */
    .pricing__dynamic-card {
        padding: 30px 20px;
    }

    /* Cases */
    .cases__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    /* Contact */
    .contact__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact__messengers {
        justify-content: center;
    }
}

/* ============================
   RESPONSIVE — 768px
   ============================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .section__title { font-size: 28px; }
    .section__subtitle { font-size: 16px; }
    .section__header { margin-bottom: 40px; }

    .hero__title { font-size: 32px; }
    .hero__subtitle { font-size: 18px; }
    .hero__desc { font-size: 15px; }

    .hero__stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero__stat-num {
        font-size: 22px;
    }

    .hero__scroll-hint {
        display: none;
    }

    /* Constructor */
    .constructor__catalog-list {
        max-height: 400px;
        overflow-y: auto;
    }

    .option-card__faq {
        display: none !important;
    }

    .test-chat__body {
        height: 400px;
    }

    /* Chat widget */
    .chat-widget__body {
        min-height: 300px;
        max-height: 300px;
    }

    /* Quiz */
    .quiz {
        padding: 28px 20px;
    }

    .quiz__question-title {
        font-size: 18px;
    }

    /* Steps */
    .steps__line { display: none; }

    .step {
        flex-direction: column;
        gap: 12px;
    }

    .step__number {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 16px;
    }

    /* Pricing */
    .pricing__amount { font-size: 36px; }

    /* Contact form */
    .contact__form-wrapper {
        padding: 24px 20px;
    }

    .contact__title { font-size: 28px; }

    /* Footer */
    .footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .footer__links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* ============================
   RESPONSIVE — 480px
   ============================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__title { font-size: 26px; }
    .hero__subtitle { font-size: 16px; }
    .section__title { font-size: 24px; }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .hero__stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .contact__messengers {
        flex-direction: column;
    }

    .contact__messenger {
        justify-content: center;
    }

    .problems__conclusion {
        flex-direction: column;
        text-align: center;
    }

    .chat-msg {
        max-width: 92%;
    }

    .test-msg {
        max-width: 92%;
    }

    .constructor__total-price {
        font-size: 28px;
    }

    .pricing__dynamic-price {
        font-size: 36px;
    }

    .notification {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}
