/* ============================================
   АДАПТИВНЫЕ СТИЛИ
   Breakpoints: 
   - 1440px (планшет landscape / small desktop)
   - 768px  (планшет portrait)
   - 390px  (мобильный)
   ============================================ */

.mobile-menu {
    display: none;
}

/* ------- 1. Планшет Landscape: ≤1440px -------- */
@media (max-width: 1440px) {

    /* Контейнер хедера */
    /* .header .container {
        padding-left: 64px;
        padding-right: 64px;
    } */

    /* Глобальное изменение контейнера для планшета */
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Ссылки навигации */
    .nav__link {
        font-size: 14px;
        /* ~13-14px по макету */
        letter-spacing: 0.26px;
    }

    /* Расстояние между пунктами меню */
    .nav__list {
        gap: 24px;
    }

    /* Кнопки хедера */
    .header__actions {
        height: 36px;
        gap: 8px;
        padding-left: 0;
    }

    .btn {
        height: 36px;
        padding: 7px 16px;
        font-size: 12px;
        line-height: 19px;
        letter-spacing: 0.4px;
    }

    .btn--outline {
        width: 68px;
    }

    /* --- Hero секция --- */

    .hero {
        padding: 80px 0;
        min-height: auto;
        /* Убираем фиксированную высоту */
    }

    .hero .container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .hero__grid {
        gap: 40px;
    }

    /* Левая колонка */
    .hero__left-content {
        max-width: 500px;
    }

    .hero__balloon {
        --float-x: 400px;
        --float-y: 12px;
    }

    .hero__decor {
        top: 30%;
        left: 30%;
        width: 75%;
        height: 100%;
    }

    /* Badge */
    .hero__badge {
        font-size: 10px;
        padding: 4px 10px;
        letter-spacing: 1.2px;
    }

    /* Заголовок — главное упрощение */
    .hero__title {
        font-size: 58px;
        /* Было 78px */
        line-height: 58px;
        letter-spacing: -1.5px;
    }

    /* Feature checkerboard */
    .chess-cell {
        padding: 14px 12px;
        /* Было 16px 14px */
    }

    /* Разрешаем перенос текста */
    .hero__chess-cell {
        word-break: break-word;
        /* Перенос длинных слов */
        overflow-wrap: break-word;
        /* Современный аналог */
        white-space: normal;
        /* Разрешаем перенос строк */
    }


    .chess-cell__icon {
        width: 32px;
        /* Было 36px */
        height: 34px;
    }

    .chess-cell__title {
        font-size: 11px;
        /* Было 12px */
        line-height: 14px;
    }

    .chess-cell__link {
        font-size: 9px;
        /* Было 10px */
    }

    /* Примечание под checkerboard */
    .chess-note {
        font-size: 11px;
        line-height: 17px;
    }

    /* Контейнер правой колонки */
    .hero__right-content {
        max-width: 461px;
        /* Точно по макету */
        width: 100%;
    }

    /* Сама карточка */
    .hero__card {
        border-radius: 12px;
    }

    /* Портрет учителя */
    .teacher-portrait {
        width: 100%;
        height: auto;
        max-height: 498px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    /* Заголовок "Александр" */
    .hero__card-title {
        font-size: 20px;
        line-height: 28px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    /* Подзаголовок "Репетитор ЕГЭ · 15 лет опыта" */
    .hero__card-subtitle {
        font-size: 13px;
        /* Было 14px */
        line-height: 20px;
        color: var(--color-chess-desc);
        margin-bottom: 24px;
    }

    /* Поля ввода (Инпуты) */
    .hero__card-input {
        font-size: 13px;
        /* Было 14px */
        padding: 12px 14px;
        /* Чуть компактнее */
        margin-bottom: 12px;
    }

    /* Текст чекбокса согласия */
    .hero__card-consent-text {
        font-size: 10px;
        /* Было 11px */
        line-height: 15px;
    }

    /* Кнопка "Пройти диагностику" */
    .hero__card-cta {
        font-size: 13px;
        /* Было 14px */
        padding: 12px 24px;
        width: 100%;
        /* На планшете кнопка часто смотрится лучше на всю ширину */
        text-align: center;
        margin-top: 16px;
    }

    /* Мелкий текст под формой (микро-копирайтинг) */
    .hero__card-micro {
        font-size: 11px;
        /* Было 12px */
        line-height: 16px;
        text-align: center;
        margin-top: 12px;
        color: var(--color-chess-desc);
    }

    /* --- Проблемы-решения секция --- */
    .problem-solution {
        padding: 40px 0;
    }

    .ps-grid {
        /* Сетка остается двухколоночной, но делаем её адаптивной */
        max-width: 100%;
    }

    .ps-col {
        width: 100%;
        max-width: 500px;
        /* Ограничение ширины колонки по макету */
    }

    /* Типографика по параметрам из макета */
    .ps-col__title {
        font-size: 20px;
        line-height: 33px;
        /* Остальные стили (italic, border-bottom) наследуются из десктопа */
    }

    /* Подзаголовки пунктов (например, "Нет системы") */
    .ps-col__item-title {
        font-size: 15px;
        line-height: 24.75px;
        font-weight: 500;
    }

    /* Текст описания (например, "Учите правила хаотично...") */
    .ps-col__item-text {
        font-size: 14px;
        line-height: 22.4px;
        font-weight: 300;
    }

    /* ============================================
   СЕКЦИЯ "КАК ЭТО РАБОТАЕТ" (Планшет ≤1440px)
   ============================================ */

    .how-it-works {
        padding: 60px 0;
    }

    .how-it-works .container {
        padding-left: 64px;
        padding-right: 64px;
    }

    /* Шапка секции */
    .how-it-works__header {
        gap: 20px;
        /* Небольшой отступ между заголовком и подзаголовком */
        margin-bottom: 64px;
    }

    .how-it-works__title {
        font-size: 50px;
        line-height: 55px;
        letter-spacing: -0.5px;
        font-weight: 600;
        font-style: italic;
    }

    .how-it-works__subtitle {
        font-size: 16px;
        line-height: 26.4px;
        font-weight: 300;
        max-width: 600px;
        /* Ограничиваем ширину для читаемости */
    }

    /* Сетка шагов — адаптивная, без фиксированной ширины */
    .how-it-works__steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        max-width: 100%;
    }

    .step {
        width: 100%;
    }

    /* Цифра шага (01, 02, 03) */
    .step__num {
        font-size: 86px;
        line-height: 86px;
        letter-spacing: -1.72px;
        font-weight: 300;
        opacity: 0.22;
        /* Делаем цифру полупрозрачной, как в макете */
        margin-bottom: 16px;
    }

    /* Заголовок шага ("Диагностика") */
    .step__title {
        font-size: 17px;
        line-height: 28px;
        font-weight: 500;
        margin-bottom: 8px;
    }

    /* Текст шага ("Проходите короткий тест...") */
    .step__text {
        font-size: 14px;
        line-height: 23.1px;
        font-weight: 300;
    }

    /* ============================================
   СЕКЦИЯ "МЕТОД" (Планшет ≤1440px)
   ============================================ */

    .method {
        padding: 130px 0;
        /* Вертикальные отступы по макету */
    }

    .method .container {
        padding-left: 64px;
        padding-right: 64px;
    }

    /* Заголовок секции */
    .method__title {
        font-size: 50px;
        line-height: 55px;
        letter-spacing: -0.5px;
        font-weight: 600;
        font-style: italic;
        text-align: center;
        margin-bottom: 64px;
        /* gap из макета */
    }

    /* Сетка карточек */
    .method-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* Две колонки */
        gap: 64px;
        max-width: 100%;
    }

    /* Карточка метода */
    .method-card {
        width: 100%;
        max-width: 526px;
        /* Точно по макету */
        margin: 0 auto;
        /* Центрируем карточки */
        padding: 42px;
        border-radius: 12px;
        border: 1px solid var(--color-border, rgba(24, 14, 5, 0.1));
        border-top-width: 2px;
        /* Акцент сверху */
        background: var(--color-bg);
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .method-card--tutor {
        background: linear-gradient(129.18deg, #EDE2CE 0%, #E3D5BA 100%);
    }

    /* Заголовок карточки */
    .method-card__title {
        font-size: 22px;
        line-height: 36.3px;
        font-weight: 600;
        font-style: italic;
    }

    /* Текст карточки */
    .method-card__text {
        font-size: 14px;
        line-height: 21.7px;
        font-weight: 300;
    }

    /* ============================================
   СЕКЦИЯ "ПРЕПОДАВАТЕЛЬ" (Планшет ≤1440px)
   ============================================ */

    .teacher {
        padding: 100px 0;
        /* Было 130px на десктопе */
    }

    .teacher .container {
        padding-left: 64px;
        padding-right: 64px;
    }

    /* Сетка: фото слева, био справа */
    .teacher__grid {
        display: flex;
        gap: 48px;
        /* Было 72px */
        align-items: center;
    }

    /* Левая колонка — фото */
    .teacher__photo-wrap {
        flex: 0 0 auto;
        width: 420px;
        /* Было 480px */
    }

    .teacher__photo {
        width: 100%;
        height: auto;
        border-radius: 12px;
        object-fit: cover;
    }

    /* Правая колонка — биография */
    .teacher__content {
        flex: 1;
        max-width: 560px;
        /* Ограничиваем ширину */
    }

    /* Заголовок секции (например, "Александр") */
    .teacher__title {
        font-size: 36px;
        /* Было ~42-48px */
        line-height: 42px;
        font-weight: 600;
        font-style: italic;
        margin-bottom: 16px;
    }

    /* Подзаголовок (должность, опыт) */
    .teacher__subtitle {
        font-size: 16px;
        /* Было 18px */
        line-height: 24px;
        font-weight: 400;
        color: var(--color-chess-desc);
        margin-bottom: 24px;
    }

    /* Текст биографии */
    .teacher__text {
        font-size: 15px;
        /* Было 16px */
        line-height: 24px;
        font-weight: 300;
        margin-bottom: 24px;
    }

    /* Чипсы/теги (опыт, предметы) */
    .teacher__chips {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        /* Было 12px */
        margin-bottom: 24px;
    }

    .teacher__chip {
        padding: 8px 16px;
        /* Было 10px 20px */
        font-size: 13px;
        /* Было 14px */
        border-radius: 20px;
        background: var(--color-bg);
        border: 1px solid var(--color-border);
    }

    /* Цитата или выделение */
    .teacher__quote {
        font-size: 18px;
        /* Было 20-22px */
        line-height: 28px;
        font-style: italic;
        font-weight: 500;
        padding-left: 20px;
        border-left: 2px solid var(--color-btn-primary);
    }

    /* Кнопка (если есть) */
    .teacher__cta {
        font-size: 14px;
        padding: 12px 28px;
    }

    /* ============================================
   СЕКЦИЯ "РЕЗУЛЬТАТЫ УЧЕНИКОВ" (Планшет ≤1440px)
   ============================================ */

    .reviews {
        padding: 100px 0;
        /* Было 130px */
    }

    .reviews .container {
        padding-left: 64px;
        padding-right: 64px;
    }

    /* Шапка секции */
    .reviews__header {
        gap: 20px;
        margin-bottom: 64px;
    }

    .reviews__title {
        font-size: 50px;
        line-height: 55px;
        letter-spacing: -0.5px;
        font-weight: 600;
        font-style: italic;
    }

    .reviews__subtitle {
        font-size: 16px;
        line-height: 26.4px;
        font-weight: 300;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Сетка карточек — 3 колонки */
    .reviews-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        /* Чуть меньше, чем на десктопе */
    }

    .review-card__header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 12px;
        /* ← row-gap: 8px, column-gap: 12px */
    }

    /* Карточка отзыва */
    .review-card {
        padding: 20px;
        border-radius: 12px;
        border: 1px solid var(--color-border);
        background: var(--color-chess-bg-light);
    }

    /* Аватар */
    .review-card__avatar {
        width: 42px;
        height: 42px;
        border-radius: 21px;
        border: 1px solid var(--color-border);
        object-fit: cover;
        margin-bottom: 12px;
    }

    /* Мета-информация (имя + класс) */
    .review-card__meta {
        margin-bottom: 16px;
        flex: 1 1 120px;
    }

    .review-card__name {
        font-size: 14px;
        line-height: 23.1px;
        font-weight: 500;
        margin-bottom: 2px;
    }

    .review-card__role {
        font-size: 12px;
        line-height: 19.8px;
        font-weight: 300;
        color: var(--color-chess-desc);
    }

    /* Бейдж с баллом */
    .review-card__score {
        display: inline-block;
        padding: 6px 10px;
        border-radius: 6px;
        border: 1px solid var(--color-border);
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 16px;
        flex-shrink: 0;
    }

    /* Текст отзыва */
    .review-card__text {
        font-size: 14px;
        line-height: 23.8px;
        font-weight: 400;
        font-style: italic;
    }

    /* ============================================
   СЕКЦИЯ "ПОЧЕМУ УЧЕНИКИ ВЫБИРАЮТ НАС" (Планшет ≤1440px)
   ============================================ */

    .why-us {
        padding: 100px 0;
        /* Было 130px */
    }

    .why-us .container {
        padding-left: 64px;
        padding-right: 64px;
    }

    /* Шапка секции */
    .why-us__header {
        gap: 20px;
        margin-bottom: 64px;
    }

    .why-title {
        font-size: 50px;
        line-height: 55px;
        letter-spacing: -0.5px;
        font-weight: 600;
        font-style: italic;
        text-align: center;
    }

    /* Сетка карточек — 4 колонки */
    .why-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        max-width: 1072px;
        margin: 0 auto;
    }

    /* Карточка */
    .why-card {
        padding: 24px;
        border-radius: 12px;
        border: 1px solid var(--color-border);
        background: var(--color-bg);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Заголовок карточки */
    .why-card__title {
        font-size: 18px;
        line-height: 21.6px;
        font-weight: 600;
        font-style: italic;
    }

    /* Текст карточки */
    .why-card__text {
        font-size: 14px;
        line-height: 23.1px;
        font-weight: 300;
    }

    /* ============================================
   СЕКЦИЯ "ТАРИФЫ" (Планшет ≤1440px)
   ============================================ */

    .pricing {
        padding: 100px 0;
    }

    .pricing .container {
        padding-left: 64px;
        padding-right: 64px;
    }

    /* Шапка секции */
    .pricing__header {
        gap: 20px;
        margin-bottom: 64px;
    }

    .pricing__title {
        font-size: 42px;
        line-height: 48px;
        letter-spacing: -0.4px;
        font-weight: 600;
        font-style: italic;
    }

    .pricing__subtitle {
        font-size: 16px;
        line-height: 26.4px;
        font-weight: 300;
        max-width: 600px;
        margin: 0 auto;
    }

    /* Сетка тарифов — 2×2, карточки центрированы */
    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        justify-items: center;
        /* ← Карточки центрируются в ячейках */
        max-width: 100%;
    }

    /* Карточка тарифа — ужимаем на 1/3 */
    .pricing-card {
        width: 100%;
        max-width: 340px;
        /* ← Было ~500px, теперь ~340px (ужали на 1/3) */
        padding: 28px 24px;
        border-radius: 12px;
        border: 1px solid var(--color-border);
        background: var(--color-bg);
        display: flex;
        flex-direction: column;
        text-align: center;
        /* ← Центрируем весь текст */
        align-items: center;
        /* ← Центрируем содержимое по горизонтали */
    }

    /* Выделенная карточка "Популярный" */
    .pricing-card--popular {
        border: 2px solid var(--color-btn-primary);
        box-shadow: 0 8px 40px rgba(156, 90, 29, 0.15);
    }

    /* Название тарифа */
    .pricing-card__name {
        font-size: 20px;
        line-height: 28px;
        font-weight: 600;
        font-style: italic;
        margin-bottom: 8px;
    }

    /* Цена */
    .pricing-card__price {
        font-size: 32px;
        line-height: 40px;
        font-weight: 700;
        margin-bottom: 4px;
    }

    .pricing-card__price-period {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        color: var(--color-chess-desc);
        margin-bottom: 24px;
    }

    /* Список возможностей */
    .pricing-card__features {
        list-style: none;
        padding: 0;
        margin: 0 0 24px 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
        /* ← Центрируем пункты списка */
    }

    .pricing-card__feature {
        font-size: 14px;
        line-height: 22px;
        font-weight: 400;
        display: flex;
        align-items: center;
        /* ← Иконка и текст по центру */
        justify-content: center;
        /* ← Центрируем содержимое */
        gap: 10px;
        width: 100%;
    }

    .pricing-card__feature-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    /* Кнопка */
    .pricing-card__cta {
        margin-top: auto;
        padding: 12px 24px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 6px;
        text-align: center;
        width: 100%;
        /* ← Кнопка на всю ширину карточки */
        max-width: 240px;
        /* ← Но не слишком широкая */
        transition: all 0.2s;
    }

    /* ============================================
   СЕКЦИЯ "ЧАСТЫЕ ВОПРОСЫ" (Планшет ≤1440px)
   ============================================ */

    .faq {
        padding: 100px 0;
        background: var(--color-how-it-works-bg);
    }

    .faq .container {
        padding-left: 64px;
        padding-right: 64px;
    }

    /* Заголовок секции */
    .faq-title {
        font-size: 42px;
        line-height: 48px;
        letter-spacing: -0.4px;
        font-weight: 600;
        font-style: italic;
        text-align: center;
        margin-bottom: 48px;
    }

    /* Список вопросов */
    .faq-list {
        max-width: 800px;
        margin: 0 auto;
    }

    /* Карточка вопроса — без белых блоков */
    .faq-item {
        border: none;
        /* Убираем border */
        background: transparent;
        /* Убираем фон */
        border-radius: 0;
        /* Убираем скругление */
    }

    /* Кнопка-триггер с разделителем снизу */
    .faq-item__trigger {
        width: 100%;
        padding: 20px 0;
        /* Отступы сверху/снизу, без боковых */
        background: none;
        border: none;
        border-bottom: 1px solid var(--color-border);
        /* Тонкая линия-разделитель */
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        text-align: left;
        font-family: inherit;
    }

    /* Текст вопроса */
    .faq-item__question {
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
        color: var(--color-btn-text-dark);
        flex: 1;
    }

    /* Иконка +/- */
    .faq-icon {
        font-size: 24px;
        line-height: 1;
        color: var(--color-btn-text-dark);
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    /* Поворот иконки при раскрытии */
    .faq-item__trigger[aria-expanded="true"] .faq-icon {
        transform: rotate(45deg);
        /* + превращается в × */
    }

    /* Контейнер ответа — скрыт по умолчанию */
    .faq-item__content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    /* Раскрытое состояние */
    .faq-item__trigger[aria-expanded="true"]+.faq-item__content {
        max-height: 500px;
        /* Достаточно для любого ответа */
        padding: 16px 0 24px;
        /* Отступ после раскрытия */
    }

    /* Текст ответа */
    .faq-item__answer {
        font-size: 14px;
        line-height: 22px;
        font-weight: 300;
        color: var(--color-chess-desc);
        margin: 0;
    }

    /* ============================================
   СЕКЦИЯ "FINAL CTA" (Планшет ≤1440px)
   ============================================ */

    .final-cta {
        padding: 100px 0;
        background: var(--color-btn-text-dark);
    }

    .final-cta .container {
        padding-left: 64px;
        padding-right: 64px;
    }

    .cta-block {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .cta-block__eyebrow {
        font-size: 12px;
        /* Было 14px */
        line-height: 18px;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: rgba(253, 250, 245, 0.6);
        margin-bottom: 24px;
    }

    .cta-block__title {
        font-size: 42px;
        /* Было 56px */
        line-height: 52px;
        font-weight: 600;
        font-style: italic;
        color: var(--color-chess-bg-light);
        margin-bottom: 24px;
    }

    .cta-block__sub {
        font-size: 16px;
        /* Было 18px */
        line-height: 26px;
        font-weight: 300;
        color: rgba(253, 250, 245, 0.7);
        max-width: 600px;
        margin: 0 auto 40px;
    }

    .cta-block__micro {
        font-size: 12px;
        /* Было 13px */
        line-height: 18px;
        font-weight: 300;
        color: rgba(253, 250, 245, 0.5);
    }

    /* ============================================
   ФУТЕР (Планшет ≤1440px)
   ============================================ */

    .footer {
        padding: 80px 0 40px;
        /* Уменьшаем вертикальные отступы */
    }

    .footer .container {
        padding-left: 64px;
        padding-right: 64px;
    }

    /* Сетка колонок */
    .footer__grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        /* Брендовая колонка чуть шире */
        gap: 40px;
        /* Уменьшаем с 64px */
        margin-bottom: 60px;
    }

    /* Брендовая колонка */
    .footer__col--brand {
        max-width: 280px;
    }

    .footer__logo {
        width: 140px;
        /* Уменьшаем логотип */
        height: auto;
        margin-bottom: 16px;
    }

    .footer__tagline {
        font-size: 13px;
        /* Было 14px */
        line-height: 20px;
        font-weight: 300;
        color: var(--color-chess-desc);
    }

    /* Заголовки колонок */
    .footer__col-title {
        font-size: 14px;
        /* Было 15px */
        line-height: 22px;
        font-weight: 600;
        margin-bottom: 20px;
        color: var(--color-btn-text-dark);
    }

    /* Ссылки навигации */
    .footer__list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        /* Уменьшаем с 16px */
    }

    .footer__link {
        font-size: 14px;
        /* Было 15px */
        line-height: 22px;
        font-weight: 400;
        color: var(--color-btn-text-dark);
        text-decoration: none;
        transition: color 0.2s;
    }

    .footer__link:hover {
        color: var(--color-btn-primary);
    }

    /* Соцсети */
    .footer__socials {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .footer__social-link {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        color: var(--color-btn-text-dark);
        transition: color 0.2s;
    }

    .footer__social-link:hover {
        color: var(--color-btn-primary);
    }

    .footer__social-link span {
        font-size: 14px;
        /* Было 15px */
        line-height: 22px;
        font-weight: 400;
    }

    /* SVG-иконки соцсетей — НЕ УМЕНЬШАЕМ */
    .footer__social-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    /* Нижняя часть футера */
    .footer__bottom {
        padding-top: 24px;
        border-top: 1px solid var(--color-border);
        text-align: center;
    }

    .footer__copy {
        font-size: 12px;
        /* Было 13px */
        line-height: 18px;
        font-weight: 300;
        color: var(--color-chess-desc);
        margin: 0;
    }

}

/* ============================================ */
/* ------- 2. Планшет Portrait: ≤768px -------- */
@media (max-width: 768px) {

    /* Глобальное изменение контейнера для планшета ≤768px */
    .container {
        padding-left: 0;
        padding-right: 0;
    }

    /* Скрываем обычную навигацию и кнопки */
    .nav,
    .header__actions {
        display: none;
    }

    /* Навигация */
    .nav__list {
        gap: 20px;
    }

    .nav__link {
        font-size: 13px;
        line-height: 20px;
    }

    /* Показываем бургер-кнопку */
    .burger {
        display: flex;
    }

    /* Контейнер хедера */
    .header .container {
        padding-left: 19.5px;
        padding-right: 19.5px;
    }

    /* Логотип */
    .nav__logo-wrap {
        width: 184px;
    }

    /* Бургер-кнопка */
    .burger {
        width: 30px;
        height: 26.5px;
        padding: 6px 4px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: none;
        border: none;
        cursor: pointer;
        gap: 5px;
    }

    .burger__line {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--color-btn-text-dark);
        transition: all 0.3s ease;
    }

    /* Анимация бургера в крестик */
    .burger--active .burger__line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger--active .burger__line:nth-child(2) {
        opacity: 0;
    }

    .burger--active .burger__line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Мобильное меню */
    .mobile-menu {
        display: block;
        /* Показываем блок на мобильных */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-header-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 20px;
        z-index: 100;

        /* Скрываем через opacity и visibility (они отлично анимируются) */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .mobile-menu--active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu__list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .mobile-menu__item a,
    .mobile-menu__dropdown-btn {
        font-size: 14px;
        color: var(--color-text);
        text-decoration: none;
        font-weight: 400;
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-menu__dropdown {
        list-style: none;
        padding: 0;
        margin: 12px 0 0 20px;
        display: none;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-menu__dropdown--active {
        display: flex;
    }

    .mobile-menu__dropdown a {
        font-size: 14px;
        color: var(--color-chess-desc);
    }

    .mobile-menu__actions {
        display: flex;
        gap: 12px;
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid var(--color-border);
    }

    .mobile-menu__actions .btn {
        flex: 1;
        text-align: center;
        padding: 12px 20px;
    }

    /* Ссылки выпадающего меню */
    .mobile-menu__dropdown-link {
        display: block;
        padding: 8px 12px;
        font-size: 14px;
        color: var(--color-chess-desc);
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    /* Hover-эффект (как в десктопе) */
    .mobile-menu__dropdown-link:hover {
        color: var(--color-btn-text-dark);
        background: rgba(24, 14, 5, 0.05);
    }

    .mobile-menu__dropdown-link:active {
        background: rgba(24, 14, 5, 0.1);
    }

    /* Hover для основных пунктов меню */
    .mobile-menu__item>a {
        transition: color 0.2s ease;
    }

    .mobile-menu__item>a:hover {
        color: var(--color-btn-primary);
    }

    /* Hover для кнопки раскрытия */
    .mobile-menu__dropdown-btn:hover {
        color: var(--color-btn-primary);
        transition: color 0.2s ease;
    }

    .header__actions {
        gap: 12px;
    }

    .header-stat-link {
        padding: 6px 10px;
    }

    .header-stat-link__text {
        display: none;
        /* На планшете скрываем текст, оставляем иконку */
    }

    .profile-user-name {
        display: none;
        /* На планшете скрываем имя */
    }

    /* --- Hero секция --- */
    .hero {
        padding-top: 36px;
        padding-bottom: 52px;
        min-height: auto;
    }

    .hero .container {
        padding-left: 19.5px;
        padding-right: 19.5px;
    }

    /* Перестраиваем сетку в одну колонку */
    .hero__grid {
        flex-direction: column;
        gap: 40px;
        /* Отступ между левой колонкой и формой справа */
    }

    /* Левая колонка на всю ширину */
    .hero__left-content {
        width: 100%;
        max-width: 100%;
    }

    /* Шар (Balloon) — уменьшаем */
    .hero__balloon {
        width: 140px;
        height: 120px;
        left: -20px;
        top: -10px;
        --float-x: 85cqw;
        --float-y: 10px;
    }

    /* Пропеллер внутри шара */
    .hero__propeller {
        bottom: 7px;
        right: 73px;
    }

    .hero__decor {
        top: 25%;
        left: 30%;
        width: 70%;
        height: 100%;
    }

    /* Бейдж */
    .hero__badge {
        font-size: 10px;
        line-height: 16.5px;
        letter-spacing: 1.4px;
        font-weight: 500;
    }

    /* Заголовок — точный размер из макета */
    .hero__title {
        font-size: 45px;
        letter-spacing: -0.78px;
        font-weight: 700;
        margin-top: 25px;
    }

    /* шахматка */
    .hero__chess {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 10px;
        margin-top: 30px;
    }

    /* Сбрасываем десктопное чередование */
    .hero__chess-cell:nth-child(odd),
    .hero__chess-cell:nth-child(even) {
        background: transparent;
    }

    .hero__chess-cell:nth-child(4n+1),
    .hero__chess-cell:nth-child(4n+4) {
        background: var(--color-chess-bg-dark);
        /* #E3D5BA */
    }

    .hero__chess-cell:nth-child(4n+2),
    .hero__chess-cell:nth-child(4n+3) {
        background: var(--color-chess-bg-light);
        /* #FDFAF5 */
    }

    /* Feature checkerboard */
    .feature-checkerboard {
        width: 100%;
        margin-top: 32px;
        border-radius: 12px;
        border: 1px solid var(--color-border);
    }

    /* Иконка в ячейке */
    .chess-cell__icon {
        width: 28px;
        height: 30px;
        margin-top: 12px;
        margin-left: 10px;
        padding-bottom: 2px;
    }

    /* Заголовок ячейки */
    .chess-cell__title {
        font-size: 11px;
        line-height: 14.3px;
        letter-spacing: 0.11px;
        font-weight: 500;
    }

    /* Ссылка "Смотреть видео" */
    .chess-cell__link {
        font-size: 10px;
        line-height: 13px;
        letter-spacing: 0.3px;
        font-weight: 500;
    }

    /* Примечание под чекербордом */
    .chess-note {
        font-size: 11.5px;
        line-height: 18.98px;
        letter-spacing: 0.29px;
        font-weight: 300;
    }

    /* Правая колонка (форма) — тоже на всю ширину */
    .hero__right-content {
        width: 100%;
        max-width: 100%;
    }

    /* --- Правая колонка: Форма + Учитель --- */

    .hero__right-content {
        padding-top: 36px;
    }

    .hero__card {
        border-radius: 12px;
        border: 1px solid var(--color-border);
        margin: 0 auto;
    }

    /* Портрет учителя */
    .teacher-portrait {
        width: 349px;
        height: 388px;
        max-width: 100%;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    .hero__card-info {
        padding: 6px 26px;
    }

    /* Заголовок "Александр" */
    .hero__card-title {
        font-size: 20px;
        /* Как в макете */
        line-height: 23px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    /* Подзаголовок "Репетитор ЕГЭ · 15 лет опыта" */
    .hero__card-subtitle {
        font-size: 13px;
        /* Уменьшено с 14px */
        line-height: 20px;
        color: var(--color-chess-desc);
        margin-bottom: 20px;
    }

    .hero__card-trust {
        padding: 12px 22px;
        gap: 5px;
    }

    /* Инпуты */
    .hero__card-input {
        font-size: 14px;
        padding: 12px 14px;
        margin-bottom: 12px;
    }

    /* Чекбокс согласия */
    .hero__card-consent-text {
        font-size: 11px;
        line-height: 16px;
    }

    /* Кнопка в форме (скрыта на мобильном, т.к. есть sticky bar) */
    .hero__card-cta {
        display: none;
    }

    /* Микро-текст под формой */
    .hero__card-micro {
        font-size: 11px;
        line-height: 16px;
        text-align: center;
        margin-top: 12px;
        color: var(--color-chess-desc);
    }

    /* --- Mobile Sticky Bar (липкая кнопка внизу) --- */

    .mobile-sticky-bar {
        display: block;
        /* Показываем только на мобильных */
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 79px;
        padding: 12px 16px;
        background: var(--color-bg);
        /* Или с blur: rgba(245, 237, 224, 0.95) */
        border-top: 1px solid var(--color-border);
        z-index: 999;
        /* Ниже чат-бота (1000) */
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    }

    .mobile-sticky-bar__button {
        display: block;
        width: 100%;
        max-width: 358px;
        margin: 0 auto;
        padding: 13.75px 32.5px 14.34px;
        background: var(--color-btn-primary);
        border: 1px solid var(--color-btn-primary);
        border-radius: 6px;
        font-family: var(--font-body);
        font-size: 14px;
        line-height: 23.1px;
        font-weight: 500;
        letter-spacing: 0.56px;
        color: var(--color-btn-text-light);
        text-align: center;
        text-decoration: none;
        transition: opacity 0.2s;
    }

    .mobile-sticky-bar__button:hover {
        opacity: 0.9;
    }

    /* Добавляем отступ снизу к body/main, чтобы контент не перекрывался sticky bar */
    body {
        padding-bottom: 79px;
        /* Высота sticky bar */
    }

    /* На десктопе и планшете sticky bar скрыт */
    @media (min-width: 768px) {
        .mobile-sticky-bar {
            display: none;
        }
    }

    /* ---- СЕКЦИЯ PROBLEM → SOLUTION ----- */

    .problem-solution {
        padding: 20px;
    }

    /* Перестраиваем сетку в одну колонку */
    .ps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        /* Отступ между блоками "Почему..." и "Как..." */
        max-width: 100%;
    }

    .ps-col {
        width: 100%;
        gap: 28px;
        /* Отступ между заголовком и списком внутри колонки */
    }

    /* Заголовок колонки ("Почему 85+ не получается" / "Как Нейростат решает это") */
    .ps-col__title {
        font-size: 20px;
        line-height: 26.4px;
        font-weight: 600;
        font-style: italic;
    }

    /* Список проблем/решений */
    .ps-list {
        display: flex;
        flex-direction: column;
        gap: 22px;
        /* Отступ между пунктами списка */
    }

    /* Подзаголовок пункта ("Нет системы") */
    .ps-col__item-title {
        font-size: 15px;
        line-height: 24.75px;
        font-weight: 500;
    }

    /* Текст описания ("Учите правила хаотично...") */
    .ps-col__item-text {
        font-size: 14px;
        line-height: 22.4px;
        font-weight: 300;
        margin-top: 4px;
        /* Небольшой отступ от подзаголовка, если они в одном блоке */
    }

    /* ============================================
   СЕКЦИЯ "КАК ЭТО РАБОТАЕТ" (Мобильный ≤390px)
   ============================================ */

    .how-it-works {
        padding: 40px 0;
    }

    /* Шапка секции */
    .how-it-works__header {
        gap: 16px;
        margin-bottom: 5px;
    }

    .how-it-works__title {
        font-size: 30px;
        line-height: 30.8px;
        letter-spacing: -0.28px;
        font-weight: 600;
        font-style: italic;
    }

    .how-it-works__subtitle {
        font-size: 14px;
        line-height: 22px;
        font-weight: 300;
    }

    /* Сетка шагов — перестраиваем в одну колонку */
    .how-it-works__steps {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .step {
        width: 100%;
        max-width: 351px;
        margin: 0 auto;
    }


    .step__num {
        font-size: 52px;
        line-height: 52px;
        letter-spacing: -1.04px;
        font-weight: 300;
        opacity: 0.22;
        margin-bottom: 0px;
    }

    /* Заголовок шага ("Диагностика") */
    .step__title {
        font-size: 17px;
        line-height: 28px;
        font-weight: 500;
        margin-bottom: 8px;
    }

    /* Текст шага */
    .step__text {
        font-size: 14px;
        line-height: 23.1px;
        font-weight: 300;
    }

    /* ============================================
   СЕКЦИЯ "МЕТОД" (Мобильный ≤390px)
   ============================================ */

    .method {
        padding: 40px 0;
    }

    .method .container {
        padding-left: 19.5px;
        padding-right: 19.5px;
        gap: 40px;
    }

    /* Заголовок секции */
    .method-title {
        font-size: 30px;
        line-height: 30.8px;
        letter-spacing: -0.28px;
        font-weight: 600;
        font-style: italic;
        text-align: center;
        margin-bottom: 30px;
    }

    /* Сетка карточек — одна колонка */
    .method-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        /* По макету */
        max-width: 351px;
        margin: 0 auto;
    }

    /* Карточка метода */
    .method-card {
        width: 100%;
        padding: 20px 40px;
        border-radius: 12px;
        border: 1px solid var(--color-border, rgba(24, 14, 5, 0.1));
        border-top-width: 2px;
        background: var(--color-bg);
        display: flex;
        flex-direction: column;
        gap: 10px;
        box-sizing: border-box;
    }

    .method-card--tutor {
        background: linear-gradient(129.18deg, #EDE2CE 0%, #E3D5BA 100%);
    }

    /* Иконка карточки */
    .method-card__icon {
        width: 100%;
        max-width: 301px;
        height: 28px;
        margin-bottom: 8px;
    }

    /* Заголовок карточки */
    .method-card__title {
        font-size: 22px;
        line-height: 36.3px;
        font-weight: 600;
        font-style: italic;
    }

    /* Текст карточки */
    .method-card__text {
        font-size: 14px;
        line-height: 21.7px;
        font-weight: 300;
    }

    /* Скрываем секцию Teacher на мобильных — дублирует Hero */
    .teacher {
        display: none;
    }

    /* ============================================
   СЕКЦИЯ "РЕЗУЛЬТАТЫ УЧЕНИКОВ" (Мобильный ≤390px)
   ============================================ */

    .reviews {
        padding: 40px 20px;
    }

    .reviews .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    /* Шапка секции */
    .reviews__header {
        gap: 16px;
        margin-bottom: 20px;
    }

    .reviews-title {
        font-size: 28px;
        line-height: 30.8px;
        letter-spacing: -0.28px;
    }

    .reviews-sub {
        font-size: 14px;
        margin-bottom: 30px;
    }

    /* Сетка карточек — 1 колонка */
    .reviews-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Карточка отзыва */
    .review-card {
        padding: 20px;
        border-radius: 12px;
        border: 1px solid var(--color-border);
        background: var(--color-chess-bg-light);
    }

    /* Аватар */
    .review-card__avatar {
        width: 42px;
        height: 42px;
        border-radius: 21px;
        border: 1px solid var(--color-border);
        padding: 0.5px;
        object-fit: cover;
        margin-bottom: 12px;
    }

    /* Мета-информация */
    .review-card__meta {
        margin-bottom: 16px;
    }

    .review-card__name {
        font-size: 14px;
        line-height: 23.1px;
        font-weight: 500;
    }

    .review-card__role {
        font-size: 12px;
        line-height: 19.8px;
        font-weight: 300;
        color: var(--color-chess-desc);
    }

    /* Бейдж с баллом */
    .review-card__score {
        display: inline-block;
        min-width: 50px;
        padding: 2px 10px;
        border-radius: 6px;
        border: 1px solid var(--color-border);
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 1px;
    }

    /* Текст отзыва */
    .review-card__text {
        font-size: 12px;
        line-height: 23.8px;
        font-weight: 400;
        font-style: italic;
    }

    /* ============================================
   СЕКЦИЯ "ПОЧЕМУ УЧЕНИКИ ВЫБИРАЮТ НАС" (Мобильный ≤390px)
   ============================================ */

    .why-us {
        padding: 40px 20px;
    }

    .why-us .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .why-title {
        font-size: 25px;
        line-height: 30.8px;
        letter-spacing: -0.28px;
        margin-bottom: 40px;
    }

    /* Сетка карточек — 1 колонка */
    .why-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 351px;
        margin: 0 auto;
    }

    /* Карточка — на всю ширину */
    .why-card {
        width: 100%;
        padding: 24px;
        border-radius: 12px;
        border: 1px solid var(--color-border);
        background: var(--color-bg);
        display: flex;
        flex-direction: column;
        gap: 12px;
        box-sizing: border-box;
    }

    /* Заголовок карточки */
    .why-card__title {
        font-size: 18px;
        line-height: 21.6px;
        font-weight: 600;
        font-style: italic;
    }

    /* Текст карточки */
    .why-card__text {
        font-size: 14px;
        line-height: 23.1px;
        font-weight: 300;
    }

    /* ============================================
   СЕКЦИЯ "TRIAL BANNER" (Мобильный ≤390px)
   ============================================ */

    .trial-banner-section {
        padding: 40px 19.5px;
    }

    /* Баннер */
    .trial-banner {
        width: 100%;
        max-width: 351px;
        margin: 0 auto;
        padding: 32px 24px;
        border-radius: 12px;
        border: 1px solid var(--color-border);
        background: var(--color-chess-bg-light);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        box-sizing: border-box;
        gap: 0;
    }

    /* Иконка галочки */
    .trial-banner__icon {
        width: 48px;
        height: 48px;
        margin-bottom: 20px;
        flex-shrink: 0;
    }

    /* Заголовок "Начните бесплатно" */
    .trial-banner__title {
        font-size: 20px;
        line-height: 33px;
        font-weight: 600;
        font-style: italic;
        margin-bottom: 16px;
        width: 100%;
        /* На всю ширину баннера */
    }

    /* Подзаголовок */
    .trial-banner__subtitle {
        font-size: 15px;
        line-height: 24.75px;
        font-weight: 500;
        margin-bottom: 16px;
        width: 100%;
        /* На всю ширину — убираем сжатие */
        max-width: 100%;
    }

    /* Мелкий текст */
    .trial-banner__note {
        font-size: 12px;
        line-height: 18px;
        font-weight: 300;
        color: var(--color-chess-desc);
        margin-bottom: 24px;
        width: 100%;
        /* На всю ширину */
        max-width: 100%;
    }

    /* Кнопка — на всю ширину баннера */
    .trial-banner__cta {
        width: 100%;
        padding: 14px 24px;
        background: var(--color-btn-primary);
        color: var(--color-btn-text-light);
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        cursor: pointer;
        transition: opacity 0.2s;
    }

    .trial-banner__cta:hover {
        opacity: 0.9;
    }

    /* ============================================
   СЕКЦИЯ "ТАРИФЫ" (Мобильный ≤780px)
   ============================================ */

    .pricing {
        padding: 40px 20px;
    }

    .pricing .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .pricing-title {
        font-size: 28px;
        line-height: 30.8px;
        letter-spacing: -0.28px;
        font-weight: 600;
        font-style: italic;
        text-align: center;
    }

    .pricing-sub {
        font-size: 14px;
        line-height: 26.4px;
        font-weight: 300;
        text-align: center;
        max-width: 100%;
        margin-bottom: 20px;
    }

    /* Сетка тарифов — 1 колонка */
    .pricing-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        max-width: 351px;
        margin: 0 auto;
    }

    /* Карточка тарифа */
    .pricing-card {
        width: 100%;
        padding: 23px 20px 24px;
        border-radius: 12px;
        border: 1px solid var(--color-border);
        background: var(--color-chess-bg-light);
        display: flex;
        flex-direction: column;
        gap: 14px;
        box-sizing: border-box;
    }

    .pricing-card--popular {
        border: 2px solid var(--color-btn-primary);
        box-shadow: 0 8px 40px rgba(156, 90, 29, 0.15);
    }

    /* Название тарифа "Я сам" */
    .pricing-card__name {
        font-size: 20px;
        line-height: 28px;
        font-weight: 600;
        font-style: italic;
    }

    /* Цена: "0 р" + "/мес" */
    .pricing-card__price-wrap {
        display: flex;
        align-items: baseline;
        gap: 4px;
    }

    .pricing-card__price {
        font-size: 26px;
        line-height: 32px;
        font-weight: 700;
    }

    .pricing-card__price-period {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        color: var(--color-chess-desc);
    }

    /* Описание тарифа */
    .pricing-card__description {
        font-size: 13px;
        line-height: 19.5px;
        font-weight: 300;
        color: var(--color-chess-desc);
    }

    /* Список фич */
    .pricing-card__features {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .pricing-card__feature {
        font-size: 14px;
        line-height: 19.6px;
        font-weight: 300;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .pricing-card__feature-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        color: var(--color-btn-primary);
        /* Цвет галочки */
    }

    /* Кнопка "Выбрать" */
    .pricing-card__cta {
        width: 100%;
        max-width: 309px;
        /* По макету */
        margin: 0 auto;
        /* Центрируем кнопку */
        padding: 13.75px 32.5px 14.34px;
        border-radius: 6px;
        border: 1px solid var(--color-btn-primary);
        background: var(--color-btn-primary);
        color: var(--color-btn-text-light);
        font-size: 14px;
        line-height: 23.1px;
        font-weight: 500;
        letter-spacing: 0.56px;
        text-align: center;
        cursor: pointer;
        transition: opacity 0.2s;
    }

    .pricing-card__cta:hover {
        opacity: 0.9;
    }

    /* Кнопка для неактивного тарифа (outline) */
    .pricing-card__cta--outline {
        background: transparent;
        color: var(--color-btn-primary);
        border: 1px solid var(--color-btn-primary);
    }

    /* ============================================
   СЕКЦИЯ "ЧАСТЫЕ ВОПРОСЫ" (Мобильный ≤390px)
   ============================================ */

    .faq {
        padding: 40px 20px;
        background: var(--color-how-it-works-bg);
    }

    .faq .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    /* Заголовок секции */
    .faq-title {
        font-size: 28px;
        line-height: 30.8px;
        letter-spacing: -0.28px;
        font-weight: 600;
        font-style: italic;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Список вопросов */
    .faq-list {
        max-width: 100%;
    }

    /* Карточка вопроса — без белых блоков */
    .faq-item {
        border: none;
        background: transparent;
        border-radius: 0;
    }

    /* Кнопка-триггер с разделителем снизу */
    .faq-item__trigger {
        width: 100%;
        padding: 16px 0;
        /* Чуть меньше, чем на планшете */
        background: none;
        border: none;
        border-bottom: 1px solid var(--color-border);
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        text-align: left;
        font-family: inherit;
    }

    /* Текст вопроса */
    .faq-item__question {
        font-size: 13px;
        line-height: 24px;
        font-weight: 400;
        color: var(--color-btn-text-dark);
        flex: 1;
    }

    /* Иконка +/- */
    .faq-icon {
        font-size: 22px;
        /* Чуть меньше, чем на планшете */
        line-height: 1;
        color: var(--color-btn-text-dark);
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    /* Поворот иконки при раскрытии */
    .faq-item__trigger[aria-expanded="true"] .faq-icon {
        transform: rotate(45deg);
    }

    /* Контейнер ответа — скрыт по умолчанию */
    .faq-item__content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    /* Раскрытое состояние */
    .faq-item__trigger[aria-expanded="true"]+.faq-item__content {
        max-height: 500px;
        padding: 12px 0 20px;
    }

    /* Текст ответа */
    .faq-item__answer {
        font-size: 13px;
        line-height: 22px;
        font-weight: 300;
        color: var(--color-chess-desc);
    }

    /* ============================================
   СЕКЦИЯ "FINAL CTA" 
   ============================================ */

    .final-cta {
        padding: 40px 20px;
        background: var(--color-btn-text-dark);
    }

    .final-cta .container {
        padding-left: 5px;
        padding-right: 5px;
    }

    .cta-block {
        text-align: center;
        max-width: 100%;
    }

    .cta-block__eyebrow {
        font-size: 11px;
        line-height: 16px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: rgba(253, 250, 245, 0.6);
        margin-bottom: 20px;
    }

    .cta-block__title {
        font-size: 28px;
        /* Было 56px → 42px → 28px */
        line-height: 36px;
        font-weight: 600;
        font-style: italic;
        color: var(--color-chess-bg-light);
        margin-bottom: 20px;
    }

    .cta-block__sub {
        font-size: 14px;
        /* Было 18px → 16px → 14px */
        line-height: 22px;
        font-weight: 300;
        color: rgba(253, 250, 245, 0.7);
        max-width: 100%;
        margin: 0 auto 32px;
    }

    .cta-block__micro {
        font-size: 11px;
        /* Было 13px → 12px → 11px */
        line-height: 16px;
        font-weight: 300;
        color: rgba(253, 250, 245, 0.5);
    }

    /* ============================================
   ФУТЕР (Мобильный ≤390px)
   ============================================ */

    .footer {
        padding: 40px 20px 32px;
    }

    .footer .container {
        padding-left: 0;
        padding-right: 0;
    }

    /* Сетка колонок — 1 колонка */
    .footer__grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-bottom: 40px;
    }

    .footer__decor {
        top: 50%;
    }

    /* Все колонки на всю ширину */
    .footer__col {
        width: 100%;
        max-width: 100%;
    }

    .footer__col--brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    /* Логотип */
    .footer__logo {
        display: block;
        width: 160px;
        margin-bottom: 16px;
    }

    /* Слоган */
    .footer__tagline {
        font-size: 13px;
        line-height: 20px;
        font-weight: 300;
        color: var(--color-chess-desc);
        max-width: 280px;
    }

    /* Заголовки колонок */
    .footer__col-title {
        font-size: 14px;
        line-height: 25px;
        font-weight: 700;
        margin-bottom: 16px;
        color: var(--color-btn-text-dark);
        text-align: center;
    }

    /* Списки ссылок */
    .footer__list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer__link {
        display: block;
        font-size: 13px;
        line-height: 20px;
        font-weight: 400;
        color: var(--color-chess-desc);
        text-decoration: none;
        text-align: center;
        transition: color 0.2s;
    }

    .footer__link:hover {
        color: var(--color-btn-primary);
    }

    /* Соцсети */
    .footer__socials {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer__social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 12px 20px;
        border: 1px solid var(--color-border);
        border-radius: 8px;
        text-decoration: none;
        color: var(--color-btn-text-dark);
        transition: all 0.2s;
    }

    .footer__social-link:hover {
        border-color: var(--color-btn-primary);
        color: var(--color-btn-primary);
    }

    .footer__social-link span {
        font-size: 13px;
        line-height: 20px;
        font-weight: 400;
    }

    /* SVG-иконки соцсетей — НЕ УМЕНЬШАЕМ */
    .footer__social-icon {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    /* Нижняя часть футера */
    .footer__bottom {
        padding-top: 20px;
        border-top: 1px solid var(--color-border);
        text-align: center;
    }

    .footer__copy {
        font-size: 11px;
        line-height: 16px;
        font-weight: 300;
        color: var(--color-chess-desc);
        margin: 0;
    }

    /* ============================================
   ЛИЧНЫЙ КАБИНЕТ И СТАТИСТИКА (profile.css)
   ============================================ */
    .page-container {
        padding: 10px 40px;
    }

    .profile-grid,
    .stats-dashboard {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-container-title {
        font-size: 25px;
    }


}

/* Адаптив: 700px и меньше — карточки ПАРОНИМОВ в одну колонку */
@media (max-width: 700px) {
    .paponim__card {
        flex-direction: column;
    }

    .paponim__col+.paponim__col {
        border-left: none;
        border-top: 1px solid var(--color-border, #D3C8B8);
    }
}


/* ---------- 3. Мобильные: ≤430px ------------- */
@media (max-width: 430px) {

    /* Дополнительные уточнения для очень маленьких экранов */
    .header .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .mobile-menu {
        display: block;
        padding: 16px;
    }

    .header__actions {
        gap: 8px;
    }

    .header-stat-link {
        width: 32px;
        height: 32px;
        padding: 0;
        justify-content: center;
    }

    .profile-user-avatar {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .header-logout-btn {
        width: 28px;
        height: 28px;
    }

    .header-logout-btn svg {
        width: 16px;
        height: 16px;
    }

    /* ============================================
   ЛИЧНЫЙ КАБИНЕТ И СТАТИСТИКА (profile.css)
   ============================================ */
    .page-container {
        padding: 10px 20px;
    }

    .header-user-block {
        gap: 12px;
    }

    .header-stat-link {
        width: auto;
    }

    /* На мобильном ширина по контенту */
    .header-stat-link__text {
        display: none;
    }

    /* Оставляем только иконку на очень маленьких экранах */
    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .page-container-title {
        font-size: 20px;
    }

    .pf-sub__plan {
        font-size: 19px;
        line-height: 30px;
    }

    .pf-sub__expiry {
        font-size: 13px;
    }

    .pf-sub__days {
        font-size: 12px;
    }

}