/* =========== CSS ПЕРЕМЕННЫЕ =========== */
:root {
    /* ===== Цвета ===== */
    --color-primary: #5A4A2A;
    --color-primary-hover: #4A3A1A;
    --color-accent: #F7CA84;
    --color-accent-hover: #E5B976;
    --color-text-light: #FFFFFF;
    --color-text-dark: #000000;
    --color-bg-dark: #161515;
    --color-bg-dark-light: #1A1A1A;
    --color-brown: #6D433B;
    --color-brown-hover: #5A352D;
    --color-card-bg: #111111;
    --color-text: #f5f5f5;
    --color-text-muted: #ffffff;
    --border-card: rgba(255, 255, 255, 0.06);
    --color-border: #1f2230;
    --color-muted: #9aa0a6;
    --bg-main: #0b0c10;
    --bg-card: #12131a;
    --bg-field: #0f1016;
    --footer-bg: #050505;
    --footer-border: #25201a;
    --footer-text: #f5f5f5;
    --footer-muted: #a8a29e;
    --footer-accent: #f4a12f;


    /* ===== Градиенты ===== */
    --gradient-gold: linear-gradient(135deg, #F7D77A 0%, #E6B85C 35%, #F9E9B6 50%, #D8A84A 70%, #FFF1C8 100%);
    --gradient-dark: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 100%);

    /* ===== Тени ===== */
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 12px 40px hsla(43, 74%, 49%, 0.15), 0 8px 24px hsla(0, 0%, 0%, 0.4);

    /* ===== Анимации ===== */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;

    --transition: 0.25s ease;

    /* ===== Размеры и отступы ===== */
    --header-height: 58px;
    --container-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
}

















/* =========== СБРОС И БАЗОВЫЕ СТИЛИ =========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /* font-family: "Open Sans",  sans-serif; */
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Было: */
.body.menu-open {
    overflow: hidden;
}

/* Должно быть: */
body.menu-open {
    overflow: hidden;
}

/* =========== ШРИФТЫ =========== */
@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Open Sans Condensed";
    src: url("../fonts/OpenSans_Condensed-Italic.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}





@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-BoldItalic.ttf") format("truetype");
    font-weight: 700;
    /* bold weight */
    font-style: italic;
    font-display: swap;
}


@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Regular.ttf") format("truetype");
    font-weight: 400;
    /* normal weight */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Italic.ttf") format("truetype");
    font-weight: 400;
    /* normal weight */
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Roboto_Condensed-Italic";
    /* Имя шрифта */
    src: url("../fonts/Roboto_Condensed-Italic.ttf") format("truetype");
    font-weight: 400;
    /* normal weight */
    font-style: italic;
    /* курсив */
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Medium.ttf") format("truetype");
    font-weight: 500;
    /* Medium */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-MediumItalic.ttf") format("truetype");
    font-weight: 500;
    /* Medium */
    font-style: italic;
    /* Italic */
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-LightItalic.ttf") format("truetype");
    font-weight: 300;
    /* Light */
    font-style: italic;
    /* наклон */
    font-display: swap;
}



/* =========== HEADER =========== */



.header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background: var(--gradient-gold);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.header__logo {
    flex-shrink: 0;
}

.header__logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(90, 74, 42, 0.3));
}

/* Навигация для десктопа */
.header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.header__menu-link {
    color: var(--color-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all var(--transition-base);
    position: relative;
    padding: 8px 0;
}

.header__menu-link:hover {
    color: var(--color-primary-hover);
}

.header__menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-base);
}

.header__menu-link:hover::after {
    width: 100%;
}

/* Кнопка консультации в хедере */
.header__consult-btn {
    flex-shrink: 0;
    background-color: var(--color-brown);
    color: var(--color-text-light);
    border: 2px solid var(--color-primary);
    padding: 10px 24px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.header__consult-btn:hover {
    background-color: var(--color-brown-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* =========== БУРГЕР КНОПКА =========== */
/* ОСНОВНЫЕ СТИЛИ - скрыт по умолчанию */
.header__burger {
    display: none !important;

    /* Важно: скрыт по умолчанию */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.header__burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    display: block !important;
}

/* Анимация бургера в крестик */
.header__burger.active .header__burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active .header__burger-line:nth-child(2) {
    opacity: 0;
}

.header__burger.active .header__burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* =========== МОБИЛЬНОЕ МЕНЮ =========== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    z-index: 999;
    transition: right 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.mobile-menu__content {
    position: absolute;
    top: 0;
    right: 0;
    width: min(85vw, 340px);
    height: 100%;
    background: linear-gradient(135deg, #2A2A2A 0%, #1A1A1A 100%);
    padding: 24px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
    overflow-y: auto;

    /* Убрать полосу прокрутки */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mobile-menu__content::-webkit-scrollbar {
    display: none;
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(247, 202, 132, 0.3);
    margin-bottom: 30px;
}

.mobile-menu__logo {
    height: 80px;    
   
    object-fit: contain;
    filter: brightness(0) invert(1);
}



.mobile-menu__title {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 18px;
}

.mobile-menu__close {
    background: none;
    border: none;
    color: var(--color-accent);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    transition: color var(--transition-base);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu__close:hover {
    color: var(--color-text-light);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.mobile-menu__link {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 18px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(247, 202, 132, 0.1);
    transition: all var(--transition-base);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu__link:hover {
    color: var(--color-text-light);
    padding-left: 10px;
}

.mobile-menu__btn {
    width: 100%;
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    border: none;
    padding: 15px;
    border-radius: var(--border-radius);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu__btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* =========== АДАПТИВНОСТЬ =========== */
/* Показываем бургер на планшетах и мобильных (≤ 1024px) */
@media (max-width: 1024px) {
    .header__burger {
        display: flex !important;
        /* Показываем бургер */
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Скрываем десктопное меню и кнопку */
    .header__nav,
    .header__consult-btn {
        display: none !important;
    }
}

/* Только для десктопа (> 1024px) */
@media (min-width: 1025px) {
    .header__burger {
        display: none !important;
        /* Гарантированно скрываем на десктопе */
    }

    .mobile-menu {
        display: none !important;
        /* Скрываем мобильное меню на десктопе */
    }
}

/* Дополнительная гарантия для очень маленьких экранов */
@media (max-width: 480px) {
    .header__container {
        padding: 0 12px;
        gap: 12px;
    }

    .header__logo-img {
        height: 32px;
    }

    .mobile-menu__content {
        width: 100%;
        max-width: 300px;
    }
}

/* =========== HEADER =========== */

main {
    flex: 1 0 auto;
}



footer {
    flex-shrink: 0;
}





/* =========== HERO СЕКЦИЯ =========== */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: 40px 20px;
    background-color: var(--color-bg-dark);
}

.hero__container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}


.hero__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero__content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero__text {
    text-align: center;
}

@media (min-width: 992px) {
    .hero__text {
        text-align: left;
    }
}

.hero__title {
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 40px;
    line-height: 1.2;
    color: #F7CA84;
    margin-bottom: 24px;
    font-weight: 400;
    font-style: italic;
}


@media (min-width: 768px) {
    .hero__title {
        font-size: 48px;
    }
}

@media (min-width: 1200px) {
    .hero__title {
        font-size: 56px;
    }
}

.hero__subtitle {
    font-family: "Open Sans Condensed", sans-serif;
    font-size: 20px;
    line-height: 1.4;
    color: #F7CA84;
    margin-bottom: 40px;
    opacity: 0.9;
    font-style: italic;
}

@media (min-width: 768px) {
    .hero__subtitle {
        font-size: 24px;
    }
}

.hero__button {
    display: inline-block;
    background-color: var(--color-brown);
    font-family: "Roboto", sans-serif;
    color: var(--color-text-light);
    border: none;
    padding: 16px 40px;
    border-radius: var(--border-radius);
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    box-shadow: var(--shadow-lg);
}

.hero__button:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero__image {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__image-real {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.hero__image-wrapper:hover .hero__image-real {
    transform: scale(1.05);
}

.hero__image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(247, 202, 132, 0.1), transparent);
    pointer-events: none;
}

/* =========== АДАПТИВНОСТЬ =========== */

/* Планшеты (768px - 991px) */
@media (max-width: 991px) {
    .header__menu {
        gap: 25px;
    }

    .header__consult-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero__content {
        gap: 40px;
    }
}

/* Мобильные устройства (до 767px) */
@media (max-width: 767px) {
    .header__container {
        padding: 0 15px;
        gap: 15px;
    }

    /* Скрываем десктопную навигацию и кнопку */
    .header__nav,
    .header__consult-btn {
        display: none;
    }

    /* Показываем бургер */
    .header__burger {
        display: flex;
    }

    /* Анимация бургера при открытии */
    

    /* Hero секция на мобильных */
    .hero__title {
        font-size: 32px;
    }

    .hero__subtitle {
        font-size: 18px;
    }

    .hero__button {
        width: 100%;
        max-width: 300px;
    }

    .mobile-menu__content {
        width: 280px;
    }
}

/* Маленькие мобильные (до 480px) */
@media (max-width: 480px) {
    .header__logo-img {
        height: 35px;
    }

    .hero {
        padding: 20px 15px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__button {
        padding: 14px 30px;
        font-size: 16px;
    }

    .mobile-menu__content {
        width: 100%;
        max-width: 300px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__text,
.hero__image {
    animation: fadeIn 0.8s ease-out;
}

.hero__image {
    animation-delay: 0.3s;
}




/* ===== CSS Reset & Base ===== */







/* ===== Section Block ===== */
/* ===== Advantages Section ===== */
.advantages {
    padding: var(--spacing-xl) var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
}

.advantages__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.advantages__title {
    font-family: "Roboto", sans-serif;
    font-style: normal;
    text-align: center;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    white-space: nowrap;
    /* переносим в адаптиве */
}

.advantages__title-accent {
    font-family: "Roboto_Condensed-Italic", sans-serif;
    font-style: italic;
    color: #F7CA84;
    font-weight: 600;
    margin-left: 8px;
}

.advantages__divider {
    width: 115px;
    height: 2px;
    background-color: var(--color-accent);
    margin: 0 auto;
}

/* ===== Cards Grid ===== */
.advantages__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

/* ===== Card ===== */
.advantage-card {
    background: var(--color-bg-card);
    border: 1px solid #F0C43D;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
    overflow: hidden;
}

.advantage-card--hovered {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-accent);
}

.advantage-card__header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

/* ===== Icon Wrapper & Image 62x62 ===== */
.advantage-card__icon-wrapper {
    width: 62px;
    height: 62px;
    min-width: 62px;
    min-height: 62px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}

.advantage-card__icon-img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    display: block;
}

/* ===== Title & Description ===== */
.advantage-card__title {
    font-family: "Roboto-BoldItalic", sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.4;
    margin-top: 10px;
    font-style: italic;
}

.advantage-card__description {
    font-family: "Roboto-Italic", sans-serif;
    font-size: 20px;
    color: #FFFFFF;
    line-height: 1.7;
    opacity: 0.9;
    margin-left: 10px;
    font-style: italic;
}



/* ===== Pagination ===== */
.advantages__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: var(--spacing-xl);
}

.advantages__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-accent);
    cursor: pointer;
    transition: background-color var(--transition-base);
}

.advantages__dot--active {
    background-color: var(--color-accent);
    transform: none;
}

.advantages__line {
    width: 112px;
    height: 1px;
    background-color: var(--color-accent);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 767px) {

    /* Заголовок может переноситься */
    .advantages__title {
        white-space: normal;
        word-break: break-word;
        font-size: 28px;
    }

    /* Карточки: иконка и текст вертикально */
    .advantage-card__header {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    /* Центрируем текст в карточке */
    .advantage-card__title,
    .advantage-card__description {
        text-align: center;
    }

    .advantages__grid {
        gap: var(--spacing-md);
    }
}


/* ===== ЭФФЕКТ 1: ПАРЯЩИЙ + ТЕНЬ ДЛЯ КАРТОЧЕК ===== */

/* Основная анимация карточки при наведении */
.advantage-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(247, 202, 132, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(247, 202, 132, 0.3);
    border-color: #F7CA84;
}

/* Анимация иконки */
.advantage-card__icon-wrapper {
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-card__icon-wrapper {
    transform: scale(1.05);
    background: rgba(247, 202, 132, 0.1);
}

/* Изменение цвета заголовка */
.advantage-card:hover .advantage-card__title {
    color: #F7CA84;
}

/* Убираем старый класс .advantage-card--hovered если он есть */
/* .advantage-card--hovered {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--color-accent);
} */

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .advantage-card:hover {
        transform: translateY(-4px);
        box-shadow:
            0 10px 20px rgba(247, 202, 132, 0.1),
            0 5px 10px rgba(0, 0, 0, 0.2);
    }
}

/* СЕКЦИЯ ПРОДУКТОВАЯ МАТРИЦА */



/* ДОБАВЬ В НАЧАЛО .product-matrix */



.product-matrix {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
   
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    /* Medium */
    font-style: italic;
    /* наклон */
    font-size: 2rem;
    color: #c9a962;
    margin-bottom: 16px;
}

.section-subtitle {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    /* Medium */
    font-style: italic;
    /* Italic */
    font-size: 1.7rem;
    color: #FFFFFF;
    line-height: 1.4;
    margin: 0 auto;
}

/* Tabs */
.tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.05);
    /* background: rgba(255, 255, 255, 0.05); */
    border-radius: 12px;
    padding: 6px;
    gap: 4px;
}



.tab-button {
    padding: 12px 32px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    /* Roboto Regular */
    font-size: 1.25rem;
    /* 20px */
    font-weight: 400;
    /* Regular */
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}










.tab-button:hover {
    color: #f5f5f5;
    background: rgba(255, 255, 255, 0.1);
}

.tab-button.active {
    background: #F7CA84;
    color: #0a0a0f;
    font-weight: 600;
    
}

/* Cards Grid */
.cards-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cards-grid.active {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .tabs {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .tab-button {
        width: 100%;
    }

    .product-matrix {
        padding: 40px 20px;
    }
}

/* Package Card */
.package-card {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
     */
    
    border: 1px solid rgba(201, 169, 98, 0.2);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 169, 98, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.2) 0%, rgba(201, 169, 98, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
    color: #c9a962;
}

.card-title {
    font-family: 'Roboto', sans-serif;
    /* Roboto Regular */
    font-weight: 400;
    /* Regular */
    font-size: 1.5rem;
    /* 24px */
    line-height: 1.364;
    /* 136,4% */
    letter-spacing: 0.07em;
    /* 7% */
    color: #F7CA84;
    margin-bottom: 8px;
}


.card-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 0;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: #d0d0d0;
    line-height: 1.5;
}

.feature-check {
    width: 20px;
    height: 20px;
    background: rgba(201, 169, 98, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-check svg {
    width: 12px;
    height: 12px;
    color: #c9a962;
}



.select-button {
    width: 100%;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid rgba(201, 169, 98, 0.5);
    color: #c9a962;
    font-family: 'Roboto', sans-serif;
    /* Roboto Regular */
    font-size: 1.125rem;
    /* 18px */
    font-weight: 400;
    /* Regular */
    line-height: 1.364;
    /* 136,4% */
    letter-spacing: 0.07em;
    /* 7% */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.select-button:hover {
    background: linear-gradient(135deg, #c9a962 0%, #a88b4a 100%);
    color: #0a0a0f;
    border-color: transparent;
    transform: translateY(-2px);
}




.product-matrix__segment {
    font-family: "Roboto", sans-serif;
    /* Regular */
    font-weight: 400;
    /* Regular */
    font-size: 1.5rem;
    /* 24px */
    line-height: 1.364;
    /* 136,4% */
    letter-spacing: 0.07em;
    /* 7% */
    text-align: center;
    color: #ffffff;
    margin: 0 0 32px;
    font-style: normal;
}

/* стили для спамов */
.feature-item span {
    font-family: 'Roboto', sans-serif;
    /* Roboto Regular */
    font-weight: 400;
    font-size: 1.125rem;
    /* 20px */
    line-height: 1.364;
    /* 136,4% */
    letter-spacing: 0.07em;
    /* 7% */
    color: #c9a962;
}
















@media (max-width: 768px) {
    .product-matrix__segment {
        font-size: 18px;
    }

    .product-matrix {
        padding: 56px 16px;
    }

    .product-matrix__title {
        font-size: 22px;
    }

    .product-matrix__subtitle {
        font-size: 14px;
    }

    .product-matrix__cards {
        gap: 16px;
    }

    .product-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .product-matrix__age-switch {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .product-matrix__title {
        font-size: 20px;
    }

    .product-matrix__age-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .product-card__lead,
    .product-card__item {
        font-size: 13px;
    }
}

/* секция мини продукты */



.mini-products {
    padding: 80px 16px;
    
}

.mini-products__container {
    max-width: 1200px;
    margin: 0 auto;
}

.mini-products__header {
    text-align: center;
    margin-bottom: 48px;
}

.mini-products__title {
    font-family: 'Roboto', sans-serif;
    /* Medium */
    font-weight: 500;
    font-size: 2.25rem;
    /* 36px */
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
    /* 12px */
}


.mini-products__subtitle {
    
    font-family: 'Roboto', sans-serif;
    /* Regular */
    font-weight: 400;
    font-size: 1.75rem;
    color: #F7CA84;
    
}

.mini-products__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    /* мобильная версия */
}

/* Карточка */
.mini-products__card {
    display: flex;
    flex-direction: column;
    /* мобильная: иконка сверху */
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background-color: var(--color-bg-dark-light);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    width: 100%;
    min-height: 160px;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.mini-products__card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-card-hover);
}

/* Иконка */
.mini-products__icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color var(--transition-base);
}

.mini-products__card:hover .mini-products__icon {
    background-color: var(--color-accent-hover);
}

.mini-products__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Контент */
.mini-products__name {
    font-family: 'Roboto', sans-serif;
    /* Semi-Bold */
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-text-light);
    margin-bottom: 0.375rem;
}

.mini-products__text {
    font-family: 'Roboto_Condensed', sans-serif;
    font-size: 18px;
    color: var(--color-text-light);
    line-height: 1.4;
}

/* Адаптивность */
@media (min-width: 768px) {
    .mini-products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mini-products__card {
        flex-direction: row;
        /* иконка слева */
        align-items: flex-start;
    }
}

@media (min-width: 1200px) {
    .mini-products__grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 карточки на десктопе */
    }
}


/* коец секции мини продукты */




.audit-hero {
    margin-bottom: 80px;
}

.audit-hero__actions {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.audit-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
    padding: 18px 40px;
    border-radius: 4px;
    border: 1px solid #f3b14b;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.audit-hero__btn_primary:hover {
    background-color: #1f1f1f;
    transform: translateY(-1px);
}

.audit-hero__btn_outline {
    background-color: transparent;
    color: #F7CA84;
}

.audit-hero__btn_outline:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

.audit-hero__inner {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}

.audit-hero__icon {
    font-size: 28px;
    margin-bottom: 24px;
    color: #f3b14b;
}

.audit-hero__title {
    margin: 0 0 24px;
    font-family: "Roboto", sans-serif;
    font-size: 2rem;
    /* 32px */
    font-weight: 400;
    /* Regular */
    line-height: 1.3;
    /* 130% */
    letter-spacing: 0.01em;
    /* ~1% */
    color: #F7CA84;
}

.audit-hero__subtitle {
    margin: 0 0 48px;
    font-family: "Roboto", sans-serif;
    font-size: 1.5rem;
    /* 24px */
    font-weight: 400;
    /* Regular */
    line-height: 1.64;
    /* 164% */
    letter-spacing: 0.05em;
    /* 5% */
    color: #ffffff;
}
.audit-hero__subtitle-line {
    display: block;
}

.audit-hero__actions {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

/* .audit-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 18px 40px;
    border-radius: 4px;
    border: 1px solid #f3b14b;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
} */


.audit-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 18px 40px;
    border-radius: 4px;
    border: 1px solid #f3b14b;

    font-family: "Roboto", sans-serif;
    font-size: 1.25rem;
    /* 20px */
    font-weight: 500;
    /* Medium (замена SemiBold) */
    line-height: 2.02;
    /* 202% */
    letter-spacing: 0.04em;
    /* 4% */

    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.1s ease;
}



.audit-hero__btn_primary {
    background-color: #151515;
    color: #F7CA84;
}

.audit-hero__btn_primary:hover {
    background-color: #1f1f1f;
    transform: translateY(-1px);
}

.audit-hero__btn_outline {
    background-color: transparent;
    color: #F7CA84;
}

.audit-hero__btn_outline:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

/* адаптив */

@media (max-width: 768px) {
    .audit-hero {
        padding: 72px 16px 80px;
    }

    .audit-hero__title {
        font-size: 24px;
    }

    .audit-hero__subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .audit-hero__actions {
        gap: 16px;
    }

    .audit-hero__btn {
        min-width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .audit-hero__title {
        font-size: 20px;
    }

    .audit-hero__subtitle {
        font-size: 14px;
    }
}


/*  конец секция призыв к действию */



/* секция о нас */

:root {
    --color-bg: #000;
    --color-bg-card: #0b0b0b;
    --color-gold: #c9a45c;
    --color-text: #fff;
    --color-muted: #cfcfcf;
}









.about {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px;
}

.about__eyebrow {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 32px;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    margin-bottom: 24px;
}

.about__title {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.64;
    letter-spacing: 0.2em;
    margin-bottom: 48px;
}

.about__title--highlight {
    font-family: 'Roboto', sans-serif;
    text-align: center;
    color: var(--color-gold);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.64;
    letter-spacing: 0.2em;
}

.about__divider {
    width: 254px;
    height: 1px;
    background: var(--color-gold);
    margin-bottom: 32px;
}









.about__text {
    max-width: 1100px;
    font-family: 'Roboto', sans-serif;
    font-style: italic;
    font-size: 24px;
    letter-spacing: 0.2em;
    line-height: 1.364;
    color: var(--color-muted);
    margin-bottom: 24px;
}


.about__text:first-of-type {
    color: #c9a962 !important;
}



/* CARDS */
.about__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 64px 0;
}

.about-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--color-gold);
    padding: 32px 24px;
    text-align: center;
    overflow: hidden;
}

.about-card__value {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.2em;
    line-height: 1.364;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.about-card__text {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 18px;
    font-style: italic;
    letter-spacing: 0.2em;
    line-height: 1.364;
}

/* HIGHLIGHT */
.about__highlight {
    margin: 96px 0;
    padding: 48px 24px;
    text-align: center;
    background: var(--color-bg-card);
    border: 1px solid var(--color-gold);
}

.about__highlight-title {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    font-style: italic;
    letter-spacing: 0.2em;
    line-height: 1.364;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.about__highlight-text {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.2em;
    line-height: 1.364;
    color: var(--color-muted);
}

/* APPROACH */
.about__approach-title {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.364;
    margin-bottom: 48px;
}

.about__approach-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
}

.about__approach-item {
    max-width: 800px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0.2em;
    color: var(--color-gold);
}

.about__approach-item--muted {
    color: var(--color-muted);
    text-decoration: line-through;
}

/* FOOTER */
.about__footer {
    margin-top: 80px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.about__footer-line {
    width: 254px;
    height: 1px;
    background: var(--color-gold);
}

.about__footer-dot {
    width: 13px;
    height: 13px;
    background: var(--color-gold);
    border-radius: 50%;
    position: relative;
    top: -6px;
    /* поднимаем на 6px вверх */
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .about__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about__cards {
        grid-template-columns: 1fr;
    }

    .about__title {
        font-size: 26px;
    }
}



/* конец секция о нас */

/* секция кейсы */
/* ==============================
   Общий контейнер и секция
   ============================== */

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

.section {
    padding-top: 80px;
    padding-bottom: 80px;
    margin-bottom: 80px;
}

/* ==============================
   Блок Кейсы
   ============================== */


[data-animate] {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
    transition: all 0.7s cubic-bezier(0.34, 0.16, 0.25, 1.15);
}

[data-animate].animate-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.cases__header {
    text-align: center;
    margin-bottom: 48px;
}

.cases__title {
    font-family: "Roboto", sans-serif;
    font-weight: 500; /* Medium */
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.75rem;;

}

.cases__subtitle {
    font-family: "Roboto", sans-serif;
    /* Roboto Regular */
    font-weight: 400;
    /* Regular */
    font-size: 1.75rem;
    /* 28px */
    line-height: 1.36;
    /* ~136%, как в других подзаголовках */
    color: #F7CA84;
}

/* ==============================
   Сетка карточек
   ============================== */

.cases__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* ==============================
   Карточка
   ============================== */

.cases__card {
    background-color: #1A1A1A;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.cases__card:hover {
    transform: translateY(-4px);
    border-color: #F7CA84;
    box-shadow: 0 12px 40px rgba(247, 202, 132, 0.15);
}

/* ==============================
   Бейдж
   ============================== */

.cases__badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.375rem 0.625rem;
    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #F7CA84;
    background-color: rgba(247, 202, 132, 0.12);
    border-radius: 0.5rem;
}

/* ==============================
   Название и описание
   ============================== */

.cases__name {
    font-family: "Roboto_Condensed-Italic", sans-serif;
    font-size: 1.5rem;
    /* 24px */
    font-weight: 400;
    line-height: 1.3;
    color: #ffffff;
    margin-bottom: 0.75rem;
    /* 12px */
    font-style: italic;
}

.cases__text {
    font-family: "Roboto_Condensed-Italic", sans-serif;
    font-size: 1.125rem;
    /* 18px */
    font-weight: 400;
    color: #ffffff;
    opacity: 0.85;
    margin-bottom: 1rem;
    /* 16px */
    font-style: italic;
}

.cases__result {
    font-family: "Roboto", sans-serif;
    font-size: 0.9375rem;
    /* 15px / 16px */
    font-weight: 500;
    color: #F7CA84;
}

/* ==============================
   Адаптив
   ============================== */

@media (min-width: 768px) {
    .cases__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .cases__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Конец секции каисе */




/* ===== CONTACT BLOCK ===== */
/* ===== CONTACT SECTION ===== */

[data-animate] {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
    transition: all 0.7s cubic-bezier(0.34, 0.16, 0.25, 1.15);
}

[data-animate].animate-active {
    opacity: 1;
    transform: translateY(0) scale(1);
}


.contact {
    padding: 80px 20px; 
    
 
    /* минимум 60px, желательно 10% высоты, максимум 150px */
        
    /* background: radial-gradient(ellipse at top, #141626 0%, #0b0c10 70%); */
    color: #F7CA84;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== TITLE ===== */
.contact__title {
    
    font-family: "Roboto", sans-serif;
    max-width: 600px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.25;
}

/* ===== GRID ===== */
.contact__grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

/* ===== FORM ===== */
.contact-form {
    /* background: linear-gradient(180deg, #151727, #12131a); */
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #1f2230;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form__field {
    margin-bottom: 16px;
}

.contact-form__label {
    font-family: "Roboto", sans-serif;
    display: block;
    font-size: 1.125rem;
    color: #F7CA84;
    margin-bottom: 0.375rem;
}

.contact-form__input,
.contact-form__textarea {
    font-family: "Roboto", sans-serif;
    width: 100%;
    background: #111113;
    border: 1px solid #1f2230;
    border-radius: 0.625rem;
    padding: 0.75rem 0.875rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 400;
    transition: 0.25s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: #f6b73c;
}

.contact-form__textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form__button {
    font-family: "Roboto", sans-serif;
    margin-top: 0.625rem;
    background: #F7CA84;
    border: none;
    color: #000;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 1rem;
}

.contact-form__button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(246, 183, 60, 0.25);
}

/* ===== CONTACT INFO ===== */
.contact-info {
    padding-top: 10px;
}

.contact-info__title {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    /* Medium */
    color: #F7CA84;
    font-size: 1.125rem;
    /* 18px */
    margin-bottom: 1.25rem;
    /* 20px */
}

.contact-info__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    /* background: linear-gradient(180deg, #151727, #12131a); */
    border: 1px solid #1f2230;
    border-radius: 10px;
    padding: 16px;
}

/* ===== ICON ===== */
.contact-info__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    
    background: #F7CA84;

    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info__icon i {
    /* font-family: "Roboto", sans-serif; */
    font-size: 1.125rem;
    /* 18px */
    color: #000;
}

/* ===== TEXT ===== */
.contact-info__label {
    font-family: "Roboto", sans-serif;
    font-size: 0.75rem;
    /* 12px */
    margin-bottom: 0.25rem;
    /* 4px */
}

.contact-info__value {
    font-family: "Roboto", sans-serif;
    font-size: 0.875rem;
    /* 14px */
    line-height: 1.4;
    color: #F7CA84;
}

/* ===== HOVER EFFECT ===== */
.contact-info__item:hover .contact-info__icon {
    box-shadow: 0 0 0 6px rgba(246, 183, 60, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}




/* стили для модального */
/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 5vw, 20px);
    /* Адаптивные отступы экрана */
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.overlay[hidden] {
    display: none;
}

/* Модальное окно */
.modal {
    width: 100%;
    max-width: clamp(340px, 90vw, 480px);
    /* 340px-480px в зависимости от экрана */
    background: var(--bg-panel, #111217);
    border-radius: var(--radius-lg, 24px);
    padding: clamp(20px, 6vw, 32px);
    /* Адаптивные внутренние отступы */
    position: relative;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.overlay:not([hidden]) .modal {
    transform: scale(1);
}

/* Кнопка закрытия */
.modal__close {
    position: absolute;
    top: clamp(12px, 3vw, 16px);
    right: clamp(12px, 3vw, 16px);
    width: clamp(36px, 8vw, 44px);
    height: clamp(36px, 8vw, 44px);
    border-radius: 999px;
    border: 1px solid #27272f;
    background: transparent;
    color: var(--text-muted, #9ca3af);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(16px, 4vw, 20px);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modal__close:hover {
    background: #181922;
    color: #e5e7eb;
    border-color: #3f3f46;
}

/* Заголовки */
.modal__title {
    font-size: clamp(20px, 5vw, 24px);
    font-weight: 600;
    margin-bottom: clamp(8px, 2vw, 12px);
    padding-right: clamp(44px, 10vw, 56px);
    line-height: 1.3;
}

.modal__subtitle {
    font-size: clamp(13px, 3vw, 15px);
    color: var(--text-muted, #9ca3af);
    margin-bottom: clamp(20px, 4vw, 28px);
    line-height: 1.45;
}

/* Форма */
.form {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 3vw, 20px);
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 1vw, 8px);
}

.form__label {
    font-size: clamp(12px, 2.5vw, 14px);
    color: var(--text-main, #f9fafb);
    font-weight: 500;
}

/* Поля ввода */
.form__control {
    position: relative;
}

.form__input,
.form__textarea {
    width: 100%;
    background: var(--bg-input, #050607);
    border-radius: var(--radius-sm, 8px);
    border: 1px solid var(--border-input, #3b3427);
    padding: clamp(12px, 3vw, 14px) 16px;
    color: var(--text-main, #f9fafb);
    font-size: clamp(14px, 3vw, 16px);
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #6b7280;
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--border-input-focus, #f4a825);
    box-shadow: 0 0 0 2px rgba(244, 168, 37, 0.2);
    background: rgba(5, 6, 7, 0.8);
}

.form__textarea {
    min-height: clamp(80px, 20vh, 120px);
    resize: vertical;
    max-height: 200px;
}

.form__input--phone {
    padding-left: clamp(44px, 10vw, 52px);
}

.form__icon {
    position: absolute;
    left: clamp(14px, 3vw, 16px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(20px, 5vw, 24px);
    height: clamp(20px, 5vw, 24px);
    border-radius: 999px;
    border: 1px solid #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(11px, 2.5vw, 13px);
    color: #9ca3af;
    pointer-events: none;
    background: #020617;
}

/* Кнопка отправки */
.form__submit {
    margin-top: clamp(8px, 2vw, 16px);
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: clamp(14px, 4vw, 18px) clamp(20px, 5vw, 28px);
    background: linear-gradient(135deg, #F7CA84 0%, #f6b43a 100%);
    color: #111827;
    font-weight: 600;
    font-size: clamp(15px, 3.5vw, 17px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 12px 32px rgba(247, 202, 132, 0.4);
}

.form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(247, 202, 132, 0.6);
}

.form__submit:active {
    transform: translateY(0);
}

/* Чекбокс */
.contact-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: clamp(13px, 2.8vw, 14px);
    color: var(--text-muted, #9ca3af);
    cursor: pointer;
    margin-top: 8px;
}

.contact-form__checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1px solid #4b5563;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    background: #050607;
    margin-top: 1px;
}

.contact-form__checkbox:checked+.contact-form__checkbox-custom::after {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #F7CA84;
    font-size: 12px;
    font-weight: 600;
}

.contact-form__checkbox-text {
    flex: 1;
    line-height: 1.4;
}

.contact-form__privacy-link {
    color: #F7CA84;
    text-decoration: none;
}

.contact-form__privacy-link:hover {
    text-decoration: underline;
}

/* Брейкпоинты для идеальной адаптации */
@media (max-width: 480px) {
    .overlay {
        padding: 8px;
        align-items: flex-end;
        padding-bottom: env(safe-area-inset-bottom, 8px);
    }

    .modal {
        margin: 0;
        border-radius: 24px 24px 0 0;
        max-height: 95vh;
    }

    .modal__close {
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 360px) {
    .form__icon {
        left: 12px;
    }

    .form__input--phone {
        padding-left: 40px;
    }
}

.modal {
    /* ... твои существующие стили ... */

    /* СПРАВАТЬ ПРОКРУТКУ */
    -ms-overflow-style: none;
    /* IE и Edge */
    scrollbar-width: none;
    /* Firefox */
}

.modal::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}



/* конец стили для модального */

.contact-info__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* если нужно расстояние между иконками и текстом */
}

/* Общие размеры для SVG внутри */
.contact-info__icon svg {
    width: 25px;
    /* задаём одинаковый размер SVG */
    height: 25px;
    display: inline-block;
    fill: #000;
    /* цвет иконки */
}

/* Иконка телефона */
.contact-info__icon .icon-phone {
    width: 16px;
    height: 16px;
    fill: #000;
    /* используем fill вместо color */
}

/* Иконка почты */
.contact-info__icon .icon-mail {
    width: 18px;
    height: 18px;
    fill: #000;
    display: inline-block;
}


/* конец сенции контакты */




/* футер */
.footer {
    background-color: #131212;
    color: #ffffff;
    font-size: 14px;
    padding: 48px 16px 24px;
    border-radius: 8px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== FOOTER INNER GRID ===== */
.footer__inner {
    display: grid;
    gap: 32px;
    border-bottom: 1px solid var(--footer-border);
    padding-bottom: 32px;
}

@media (min-width: 768px) {
    .footer__inner {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__col--social {
        order: 4;
    }

    .footer__bottom-inner {
        text-align: center;
    }
}

/* ===== COLUMNS ===== */
.footer__col {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__col--brand {
    max-width: 260px;
    gap: 20px;
}

/* ===== LOGO ===== */
.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer__logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--footer-accent);
    background-color: rgba(244, 161, 47, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-accent);
    font-weight: bold;
}

.footer__logo-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.08em;
    color: #F7CA84;
}

/* ===== TAGLINE ===== */
.footer__tagline {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #ffffff;
}

/* ===== TITLES ===== */
.footer__title {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #F7CA84;
    font-weight: 600;
}

/* ===== LISTS ===== */
.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    color: var(--footer-text);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.footer__link:hover {
    color: var(--footer-accent);
}

/* ===== CONTACTS ===== */
.footer__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.footer__contact-icon,
.footer__social-item {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #F7CA84;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F7CA84;
    font-size: 0.625rem;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer__contact-icon svg,
.footer__social-item svg {
    width: 16px;
    height: 16px;
    fill: #c9a45c;
}

.footer__contact:hover .footer__contact-icon,
.footer__social-item:hover {
    background-color: #111722;
    transform: translateY(-1px);
}

.footer__text {
    display: block;
    white-space: normal;



    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--footer-text);
}

/* ===== SOCIAL ===== */
.footer__col--social {
    min-width: 160px;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.footer__social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #F7CA84;
    background-color: #000;
    color: #c9a45c;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

/* Hover for social icons */
.footer__social-item:hover {
    background-color: rgba(244, 161, 47, 0.12);
    transform: scale(1.1);
}

/* ===== BOTTOM ===== */
.footer__bottom {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__copy {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #ffffff;
    text-align: center;
}

/* конец футера */



/* =========== SCROLL REVEAL ANIMATIONS =========== */
/* Добавлено: [дата] - для секции advantages */

/* Базовые стили для анимируемых элементов */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Когда элемент появляется в viewport */
[data-animate].animate-active {
    opacity: 1 !important;
    transform: none !important;
}

/* Начальные состояния для каждой анимации */
[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-down"] {
    transform: translateY(-40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="scale-up"] {
    transform: scale(0.95);
}

[data-animate="scale-x"] {
    transform: scaleX(0);
    transform-origin: left center;
}

/* Задержки для анимаций */
[data-delay="100"] {
    transition-delay: 0.1s;
}

[data-delay="200"] {
    transition-delay: 0.2s;
}

[data-delay="300"] {
    transition-delay: 0.3s;
}

[data-delay="400"] {
    transition-delay: 0.4s;
}

[data-delay="500"] {
    transition-delay: 0.5s;
}

/* Отключаем анимации для пользователей с reduced-motion */
@media (prefers-reduced-motion: reduce) {

    [data-animate],
    [data-animate].animate-active {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Адаптив для мобильных */
@media (max-width: 768px) {

    [data-animate="fade-up"],
    [data-animate="fade-down"] {
        transform: translateY(20px);
    }

    [data-animate="fade-left"],
    [data-animate="fade-right"] {
        transform: translateX(20px);
    }
}











/* =========== FIX: Ховер карточек с анимациями =========== */
/* Обеспечиваем что ховер-эффект работает даже с Scroll Reveal */

.advantage-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.advantage-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(247, 202, 132, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(247, 202, 132, 0.3) !important;
    border-color: #F7CA84 !important;
}

/* На мобильных - меньший подъем */
@media (max-width: 768px) {
    .advantage-card:hover {
        transform: translateY(-4px) !important;
        box-shadow: 0 10px 20px rgba(247, 202, 132, 0.1),
            0 5px 10px rgba(0, 0, 0, 0.2) !important;
    }
}





[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate].animate-active {
    opacity: 1;
    transform: translateY(0);
}




/* Кастомный чекбокс */
.contact-form__checkbox-field {
    margin-bottom: 20px;
}

.contact-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #d0d0d0;
    line-height: 1.4;
}

.contact-form__checkbox {
    display: none;
}

.contact-form__checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(201, 169, 98, 0.5);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
}

.contact-form__checkbox:checked + .contact-form__checkbox-custom {
    background: #c9a962;
    border-color: #c9a962;
}

.contact-form__checkbox:checked + .contact-form__checkbox-custom::after {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0a0a0f;
    font-size: 12px;
    font-weight: bold;
}

.contact-form__checkbox-text {
    flex-grow: 1;
}

.contact-form__privacy-link {
    color: #c9a962;
    text-decoration: none;
    font-weight: 500;
}

.contact-form__privacy-link:hover {
    color: #F7CA84;
    text-decoration: underline;
}

/* Блокировка кнопки если чекбокс не выбран */
.contact-form__button:not([disabled]):hover {
    transform: translateY(-2px) scale(1.05);
}

.contact-form__checkbox:invalid + .contact-form__checkbox-custom {
    /* border-color: #ff4444; */
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}






/* Анимация бургер-кнопки при открытии */
.header__burger.active .header__burger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.header__burger.active .header__burger-line:nth-child(2) {
    opacity: 0;
}

.header__burger.active .header__burger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Блокировка скролла при открытом меню */
body.menu-open {
    overflow: hidden;
}


/* Страница спасибо */
/* =========== СТРАНИЦА СПАСИБО =========== */
.page-thanks {
    max-width: var(--container-width, 600px);
    width: 100%;
    text-align: center;
    color: var(--color-accent);
    padding: var(--spacing-xl);
    margin: 0 auto;
}

.page-thanks__phone-number {
    color: var(--color-text-light);
}

/* ✅ ПРОСТАЯ БЕЛАЯ ССЫЛКА */
.page-thanks__home-link {
    color: var(--color-text-light) !important; /* #FFFFFF */
    text-decoration: none;
}

/* Hover для ссылки */
.page-thanks__home-link:hover {
    color: var(--color-accent) !important;
    text-decoration: underline;
}

/* ========== АДАПТИВ ============ */

/* DESKTOP ≥1200px */
@media (min-width: 1200px) {
    .page-thanks {
        max-width: 800px;
        padding: var(--spacing-2xl);
    }
    
    .page-thanks__title {
        font-size: clamp(2.5rem, 4vw, 3rem);
    }
}

/* ПЛАНШЕТ 768px-1199px */
@media (min-width: 768px) and (max-width: 1199px) {
    body.page-thanks-body {
        padding: var(--spacing-lg);
    }
    
    .page-thanks {
        max-width: 90%;
    }
}

/* СМАРТФОН ≤767px */
@media (max-width: 767px) {
    body.page-thanks-body {
        padding: var(--spacing-md);
    }
    
    .page-thanks__title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    
    .page-thanks__phone {
        padding: var(--spacing-md);
        margin: var(--spacing-lg) 0;
    }
}

/* МАЛЕНЬКИЕ СМАРТФОНЫ ≤480px */
@media (max-width: 480px) {
    body.page-thanks-body {
        padding: var(--spacing-md);
    }
    
    .page-thanks {
        padding: var(--spacing-lg);
    }
}




.footer__bottom-inner {
    display: block !important;  /* убираем flex, элементы встанут вертикально */
}

.footer__privacy {
    margin-top: 10px;  /* добавим небольшой отступ сверху для красоты */
}










/* класы для куке */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: #1e293b;
    color: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cookie-banner.active {
    opacity: 1;
    visibility: visible;
}

.cookie-banner__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-banner__content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-banner__btn {
    background: #3b82f6;
    border: none;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.cookie-banner__btn:hover {
    background: #2563eb;
}



.cookie-banner {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cookie-banner.active {
    opacity: 1;
    visibility: visible;
}


/* конец класы для куке */