@media (max-width: 1024px) {
    .header__inner { width: 80%; }
    .first-screen__container { width: 80%; }
    .hero__title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .first-screen { height: 100vh; min-height: 600px; }
    .first-screen__bg img {
        object-position: 80% center; /* Или right center, или 80% center */
    }
    
.first-screen__bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* 1. Виньетка (затемнение по краям, свет в центре) */
        radial-gradient(ellipse at 50% 50%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 85%),
        /* 2. Твой любимый бежевый градиент (теперь он плотнее и шире) */
        linear-gradient(to left, rgba(243, 241, 235, 0.92) 0%, rgba(243, 241, 235, 0.6) 50%, rgba(243, 241, 235, 0) 100%);
    pointer-events: none;
}

    /* Контейнеры расширяются до 92% */
    .header__inner { width: 92%; height: 60px; }
    .first-screen__container { width: 92%; justify-content: flex-end; }

    /* Контент */
    .hero__content { gap: 12px; margin-bottom: 30px; }
    .hero__title { font-size: 2rem; }
    .hero__desc { font-size: 0.9rem; }
    
    .hero__actions { flex-direction: column; gap: 10px; }
    .btn { height: 44px; width: 100%; }

        /* ===== МОБИЛЬНЫЕ ФИЧИ ===== */
    .hero__features {
        display: flex;
        flex-direction: row; /* В одну строку */
        justify-content: center; /* По центру */
        gap: 20px; /* Расстояние между двумя оставшимися пунктами */
        border-top: none;
        padding-top: 12px;
        margin-top: 12px;
        width: 100%;
    }
    
    /* Первый пункт ("Индивидуальный подход") - ПОЛНОСТЬЮ СКРЫВАЕМ НА МОБИЛКЕ */
    .hero__features span:first-child {
        display: none;
    }
    
    /* Оставшиеся два пункта - аккуратные строчки без точек и палочек */
    .hero__features span {
        font-size: 0.7rem;
        color: #555;
        text-align: center;
        position: static; /* Убираем позиционирование, если было */
    }
    
    /* Гарантированно убираем любые палочки/точки, которые могли остаться */
    .hero__features span::before,
    .hero__features span::after {
        display: none !important;
    }

        /* Бургер */
    .header__nav a, .header__btn { display: none; }
    .header__burger {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 10000;
    }

    .header__burger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #1a1a1a !important;
        transition: all 0.3s ease;
    }

    .mobile-menu.open ~ .header .header__burger span,
    .header.scrolled .header__burger span {
        background-color: #1a1a1a !important;
    }

} /* <--- ВОТ ЗДЕСЬ СТАВИМ ЗАКРЫВАЮЩУЮ СКОБКУ МЕДИА-ЗАПРОСА */


/* ============================================================
   СТИЛИ ДЛЯ ОТКРЫТОГО МОБИЛЬНОГО МЕНЮ (ОСТАВЛЯЕМ СНАРУЖИ)
   ============================================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(245, 242, 237, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}
.mobile-menu__nav a {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a1a1a;
    text-decoration: none;
    transition: opacity 0.3s;
}
.mobile-menu__nav a:hover {
    opacity: 0.6;
}


/* ============================================================
   АДАПТИВ ДЛЯ СЕКЦИИ 2
   ============================================================ */
@media (max-width: 1024px) {
    .about-section__container {
        width: 80%;
        gap: 40px;
    }
    .about-section__title {
        font-size: 2.4rem;
    }
    .about-section__stats {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }
    .about-section__container {
        width: 92%;
        flex-direction: column; /* Ставим в столбик */
        gap: 40px;
    }
    .about-section__text {
        flex: none;
        width: 100%;
    }
    .about-section__title {
        font-size: 2rem;
    }
    .about-section__stats {
        gap: 24px;
        flex-wrap: wrap; /* Чтобы на очень маленьких экранах цифры не ломались */
    }
    .about-section__image {
        flex: none;
        width: 100%;
        justify-content: center;
    }
    .about-section__image img {
        max-width: 100%;
    }
}


/* ============================================================
   АДАПТИВ ДЛЯ СЕКЦИИ 3
   ============================================================ */
@media (max-width: 1024px) {
    .method-section__container {
        width: 80%;
        gap: 40px;
    }
    .method-section__title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .method-section {
        padding: 60px 0;
    }
    .method-section__container {
        width: 92%;
        flex-direction: column;
        gap: 40px;
    }
    .method-section__text {
        flex: none;
        width: 100%;
    }
    .method-section__title {
        font-size: 2rem;
    }
    .method-section__image {
        flex: none;
        width: 100%;
        justify-content: center;
    }
    .method-section__image img {
        max-width: 100%;
    }
}   

/* ============================================================
   АДАПТИВ ДЛЯ СЕКЦИИ 4 (ТАРИФЫ)
   ============================================================ */
@media (max-width: 1024px) {
    .tarif-section__container {
        width: 80%;
    }
    .tarif-section__title {
        font-size: 2.4rem;
    }
}

@media (max-width: 768px) {
    .tarif-section {
        padding: 60px 0 40px 0;
    }
    .tarif-section__container {
        width: 92%;
    }
    .tarif-section__title {
        font-size: 2rem;
    }
    
    .tarif-section__cards {
        flex-direction: column; /* Ставим карточки в столбик */
        gap: 20px;
    }
    
    .tarif-card {
        padding: 30px 24px;
    }
    
    .tarif-card__title {
        font-size: 1.4rem;
    }
    
    .tarif-card__price {
        font-size: 2rem;
    }
}

/* ============================================================
   АДАПТИВ ДЛЯ СЕКЦИИ 5 (ОТЗЫВЫ)
   ============================================================ */
@media (max-width: 1024px) {
    .reviews-section__container {
        width: 80%;
    }
    .reviews-section__title {
        font-size: 2.4rem;
    }
    .reviews-section__grid {
        grid-template-columns: repeat(2, 1fr); /* На планшете 2 колонки */
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }
    .reviews-section__container {
        width: 92%;
        gap: 30px;
    }
    .reviews-section__title {
        font-size: 2rem;
    }
    .reviews-section__grid {
        grid-template-columns: 1fr; /* На мобилке 1 колонка */
        gap: 16px;
    }
    .review-card {
        padding: 24px;
    }
}

/* ============================================================
   АДАПТИВ ДЛЯ ОТЗЫВОВ
   ============================================================ */
@media (max-width: 1024px) {
    .reviews-section__container {
        width: 80%;
    }
    .reviews-section__title {
        font-size: 2.4rem;
    }
    .review-card__image-wrapper {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }
    .reviews-section__container {
        width: 92%;
        gap: 30px;
    }
    .reviews-section__title {
        font-size: 2rem;
    }
    
    /* Карточка превращается в столбик */
    .review-card {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        align-items: stretch;
    }
    .review-card__image-wrapper {
        width: 100%;
        height: 280px;
    }
    
    .review-modal__content {
        padding: 24px;
        width: 95%;
    }
}

/* ============================================================
   АДАПТИВ ДЛЯ СЕКЦИИ 6 (КОНТАКТЫ)
   ============================================================ */
@media (max-width: 1024px) {
    .contacts-section__container {
        width: 80%;
        gap: 40px;
    }
    .contacts-section__title {
        font-size: 2.4rem;
    }
    .contacts-section__left {
        flex: 0 0 50%;
    }
}

@media (max-width: 768px) {
    .contacts-section {
        padding: 60px 0 80px 0;
    }
    .contacts-section__container {
        width: 92%;
        flex-direction: column;
        gap: 50px;
    }
    .contacts-section__left {
        flex: none;
        width: 100%;
    }
    .contacts-section__title {
        font-size: 2rem;
    }
    .contacts-section__desc {
        max-width: 100%;
    }
    .contacts-section__right {
        width: 100%;
    }
}

/* ============================================================
   АДАПТИВ ДЛЯ ФУТЕРА
   ============================================================ */
@media (max-width: 1024px) {
    .site-footer__container {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 24px 0;
    }
    .site-footer__container {
        width: 92%;
        flex-direction: column; /* На мобилках в столбик */
        gap: 16px;
        text-align: center;
    }
}