@media (max-width: 992px) {
    .somatics-wrapper, .player-grid, .reflex-card-grid, .hero-container, .benefits-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-container {
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    .hero-triggers, .hero-cta-group {
        align-items: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .benefits-visual {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .benefits-visual .benefits-card {
        flex: 1 1 200px;
    }
    .footer-top {
        flex-direction: column;
        gap: 24px;
    }

    /* Бургер-меню включаем уже с этой точки, чтобы полная строка навигации
       (лого + 4 ссылки + кнопка) никогда не пыталась влезть в узкий планшетный
       экран и не вызывала горизонтальный оверфлоу/сдвиг страницы влево. */
    .header-container {
        position: relative;
    }
    .header-nav {
        position: absolute;
        top: calc(var(--header-height) + 1px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-elevated);
        padding: 10px 20px 18px 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height var(--transition-normal), opacity var(--transition-fast);
    }
    .header-nav.open {
        max-height: 420px;
        opacity: 1;
        pointer-events: auto;
    }
    .nav-link {
        padding: 12px 4px;
        border-bottom: 1px solid var(--color-border);
        font-size: 1rem;
    }
    .nav-cta-mobile {
        display: flex;
        width: 100%;
        margin-top: 12px;
    }
    .mobile-burger {
        display: flex;
    }
    .header-actions .btn:not(.nav-cta-mobile) {
        padding: 9px 14px;
        font-size: 0.82rem;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-description, .cta-microtext {
        font-size: 1rem;
    }
    .hero-cta-group .btn-lg {
        width: 100%;
    }
    .hero-social-proof, .testimonials-grid, .how-grid, .roadmap-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .hero-visual-group {
        gap: 14px;
    }
    .scan-cta-box {
        flex-direction: column;
        text-align: center;
    }
    .scan-cta-box .btn {
        width: 100%;
    }
    .timeline-item {
        grid-template-columns: 60px 1fr;
        gap: 14px;
    }
    .reflex-tabs {
        gap: 8px;
    }
    .reflex-tab {
        padding: 9px 14px;
        font-size: 0.85rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .sticky-cta {
        width: calc(100% - 24px);
        bottom: 14px;
        padding: 8px 12px 8px 16px;
    }
    .sticky-title {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .site-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .hero-section {
        padding: 40px 0 32px 0;
    }
    .hero-title {
        font-size: 1.7rem;
    }
    .hero-chip {
        font-size: 0.78rem;
        padding: 7px 14px;
        text-align: left;
    }
    .btn-lg {
        width: 100%;
    }
    /* На узких экранах мокапу диагностики (а в нём — карточке результата с
       текстом) нужна полная ширина, иначе подписи внутри не помещаются.
       Показатели уходят под мокап отдельным центрированным блоком. */
    .hero-visual-group {
        flex-direction: column;
        gap: 18px;
    }
    .hero-visual {
        width: 100%;
    }
    .hero-stats-col {
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .scan-device-header {
        padding: 8px 10px;
        gap: 6px;
    }
    .scan-device-title {
        font-size: 0.66rem;
    }
    .scan-device-footer {
        padding: 10px 12px 12px 12px;
    }
    .scan-status-text {
        font-size: 0.66rem;
    }
    /* Пример результата в мокапе диагностики — компактнее на маленьких экранах,
       чтобы карточка не растягивала hero по высоте. */
    .scan-result-inner {
        padding: 16px 14px 18px 14px;
    }
    .scan-result-name {
        font-size: 1.05rem;
    }
    .scan-result-hint,
    .scan-result-detail-inner p {
        font-size: 0.78rem;
    }
    .scan-result-toggle {
        font-size: 0.8rem;
        padding: 9px 12px;
    }
    .scan-result-reflex {
        padding: 12px 14px;
    }
    .hero-stats-col {
        gap: 10px;
    }
    .hero-stat-item {
        padding-bottom: 10px;
    }
    .proof-number {
        font-size: 1.05rem;
    }
    .proof-label {
        font-size: 0.68rem;
    }
    .symptoms-section, .ai-scan-section, .benefits-section, .how-section,
    .roadmap-section, .player-preview-section, .testimonials-section,
    .pricing-section, .somatics-section, .faq-section, .final-cta-section,
    .reflexes-section {
        padding-top: 52px;
        padding-bottom: 52px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .scan-cta-info h3, .final-cta-title {
        font-size: 1.3rem;
    }
    .final-cta-card {
        padding: 34px 22px;
    }
    .price-card {
        padding: 28px 20px;
    }
    .roadmap-card, .how-card {
        padding: 24px 20px;
    }
    .step-card {
        padding: 22px;
    }
    .reflex-display {
        padding: 22px;
    }
    .somatics-quote-card {
        padding: 26px;
    }
}
