@font-face {
    font-family: 'KrubB';
    font-display: swap;
    font-weight: 700;
    src: url('../goThu-fonts/goThu-krubB.woff2') format("woff2");
}

@font-face {
    font-family: 'KrubR';
    font-display: swap;
    font-weight: 400;
    src: url('../goThu-fonts/goThu-krubR.woff2') format("woff2");
}

@font-face {
    font-family: 'KrubSB';
    font-display: swap;
    font-weight: 600;
    src: url('../goThu-fonts/goThu-krubSB.woff2') format("woff2");
}

@font-face {
    font-family: 'KrubM';
    font-display: swap;
    font-weight: 500;
    src: url('../goThu-fonts/goThu-krubM.woff2') format("woff2");
}

/* --- БАЗОВЫЕ СТИЛИ --- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #FFFFFF66;
    color: #111111;
    overflow-x: hidden;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    font-family: 'KrubB', sans-serif;
}

h2 {
    font-family: 'KrubSB', sans-serif;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

/* Кнопки */
.btn-primary {
    display: flex;
    background-color: #457779;
    color: #FFFFFF;
    padding: 10px 60px;
    border-radius: 16px;
    font-family: 'KrubSB', sans-serif;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-primary-hero {
    display: flex;
    background-color: #457779;
    color: #FFFFFF;
    padding: 10px 51px;
    border: 1px solid #FFFFFF;
    border-radius: 16px;
    font-family: 'KrubSB', sans-serif;
    font-size: 20px;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background-color: #3d6860;
}

/* Заглушки для картинок */
.img-placeholder {
    background: linear-gradient(135deg, #2A3138, #1A1E24);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #558B82;
    font-size: 24px;
    border-radius: 8px;
    min-height: 200px;
    width: 100%;
}

/* --- HEADER --- */
header {
    background-color: #FFFFFF;
    padding: 12px 16px;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.nav-hero {
    width: 100%;
    max-width: 970px;
}


nav ul {
    width: 100%;
    justify-content: space-between;
    display: flex;
    gap: 10px;
    align-items: center;
}

nav a {
    font-family: 'KrubM', sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #111111;
    transition: color 0.3s;
}

nav a:hover {
    color: #558B82;
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #111111;
}

/* --- СЕКЦИИ --- */
section {
    padding: 60px 16px;
}

/* Section 1: Hero */
.hero-sec {
    background-image: url('../goThu-img/goThu-hero.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    color: #FFFFFF;
    text-align: left;
    position: relative;
}

.hero-sec h1 {
    font-weight: 700;
    font-style: Bold;
    font-size: 60px;
    padding-bottom: 30px;
    color: #FFFFFF;
    line-height: 1;
}

.p-up {
    font-family: 'KrubB', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    color: #FFFFFF;
    padding-bottom: 16px;
}

.p-down {
    font-family: 'KrubR', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    color: #FFFFFF;
}

.down-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
    max-width: 554px;
}

.block-hero-main {
    display: flex;
    flex-direction: column;
}

.block-help {
    display: flex;
    gap: 25px;
    align-items: center;
}

.block-help p {
    font-family: 'KrubR', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    color: #FFFFFF;
}

.hero-cont {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

/* Section 2: Addictive */
.addictive-sec h2 {
    font-family: KrubSB;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 40px;
    color: #111111;
}

.addictive-cont {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}


.feature-card h2 {
    font-family: KrubSB;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 24px;
    text-align: center;
    color: #111111;
}

.addictive-text p {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #111111;
}

.addictive-text p:not(:last-child) {
    padding-bottom: 20px;
}

/* Section 3: Dangerous */


.danger-title {
    font-family: KrubSB;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.danger-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.danger-left-col {
    width: 100%;
    max-width: 522px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.danger-right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.danger-red-box {
    background-color: #B9362F;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #FFFFFF;
    padding: 20px;
}

.danger-red-box h2 {
    font-family: KrubB;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    color: #FFFFFF;
}

.danger-red-box p {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    color: #FFFFFF;
}



/* Стили для правой колонки: параграфы и список */
.danger-right-col .danger-intro-text,
.danger-right-col .danger-outro-text {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #111111;
}

.danger-list {
    padding: 0;
    list-style: none;
    /* Убираем стандартные маркеры браузера */
}

.danger-list li {
    position: relative;
    padding-left: 15px;
    /* Место под кастомный маркер */
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #111111;
}

.danger-list li:not(:last-child) {
    padding-bottom: 20px;
}

/* Создаем аккуратный кастомный маркер "точку" через псевдоэлемент, как на скрине */
.danger-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    /* Размер точки можно регулировать */
    font-weight: bold;
    color: #111111;
}

/* Выделение начала каждого пункта жирным, как на картинке */
.danger-list li strong {
    font-family: 'KrubSB', sans-serif;
    /* Или KrubM / KrubB в зависимости от желаемой толщины */
}

/* Адаптив для планшетов и телефонов */
@media (max-width: 992px) {
    .danger-content {
        flex-direction: column;
    }

    .danger-left-col {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* Section 4: Substitute */

.substitute-title {
    font-family: 'KrubSB', sans-serif;
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 40px;
    width: 100%;
    color: #111111;
}

.substitute-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Расстояние между верхним и нижним рядом */
}

/* Общий стиль для обоих рядов */
.substitute-row {
    display: flex;
    gap: 20px;
    align-items: stretch;
    /* Растягивает элементы по высоте внутри ряда */
}

/* Распределение ширины внутри рядов (примерно 45% / 55%, как было в старом коде) */
.substitute-row-top .sub-img-wrapper,
.substitute-row-bottom .substitute-green-box {
    width: 100%;
    max-width: 522px;
    /* Ширина левого блока из вашего кода */
    display: flex;
    flex-direction: column;
}

.substitute-row-top .sub-text-wrapper,
.substitute-row-bottom .sub-img-wrapper {
    flex: 1;
    /* Правый блок занимает остальное место */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Центрируем контент по вертикали, если нужно */
}

/* Фикс для картинок, чтобы они вели себя предсказуемо */
.sub-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Заполняет блок, обрезая лишнее, если пропорции не совпадают */
    display: block;
}

/* Тексты в текстовом блоке */
.sub-text-wrapper {
    gap: 20px;
}

.sub-text-wrapper p {
    font-family: 'KrubM', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #111111;
    margin: 0;
    /* Убираем дефолтные отступы, так как gap делает работу */
}

/* Зеленый блок */
.substitute-green-box {
    background-color: #457779;
    color: #FFFFFF;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.substitute-green-box h2 {
    font-family: 'KrubB', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    margin: 0;
}

.p-gb-small {
    font-family: 'KrubM', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #FFFFFF;
    margin: 0;
}

.p-gb-bold {
    font-family: 'KrubSB', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #FFFFFF;
    margin: 0;
}

/* Список ul */
.substitute-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Отступы между <li> */
}

.substitute-list li {
    position: relative;
    padding-left: 15px;
    font-family: 'KrubM', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #111111;
}

.substitute-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 16px;
    font-weight: bold;
    color: #111111;
}

/* Адаптив для планшетов и телефонов (Переход в 1 колонку) */
@media (max-width: 992px) {
    .substitute-row {
        flex-direction: column;
    }

    .substitute-row-top .sub-img-wrapper,
    .substitute-row-bottom .substitute-green-box {
        max-width: 100%;
        /* Убираем ограничение ширины */
    }

    /* При переходе в одну колонку можно поменять порядок во втором ряду, 
       чтобы картинка была над зеленым боксом, если так логичнее */
    /*
    .substitute-row-bottom {
        flex-direction: column-reverse; 
    }
    */
}

/* Section 5: Checklist */

.checklist-title {
    font-family: 'KrubSB', sans-serif;
    font-weight: 600;
    font-size: 40px;
    /* Немного крупнее, как на макете */
    margin-bottom: 40px;
    color: #111111;
}

.checklist-desc {
    font-family: 'KrubR', sans-serif;
    /* Обычный шрифт для описания */
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    margin-bottom: 20px;
    color: #111111;
}

.checklist-bold-desc {
    font-family: 'KrubB', sans-serif;
    /* Жирный шрифт для важного текста */
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    color: #111111;
}

/* Темный блок-обертка для списка */
.checklist-dark-box {
    background-color: #1e1e1e;
    /* Точный темный цвет с макета */
    padding: 40px 60px;
    border-radius: 0;
    /* Углы прямые, как на макете */
}

.checklist-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: checklist-counter;
    /* Инициализируем счетчик для цифр 01, 02... */
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Расстояние между пунктами списка */
}

.checklist-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'KrubB', sans-serif;
    /* Жирноватый шрифт у пунктов списка */
    font-weight: 700;
    font-size: 20px;
    color: #FFFFFF;
    /* Текст внутри темного блока белый */
}

/* Кругляшок с цифрой */
.checklist-list li::before {
    counter-increment: checklist-counter;
    /* Увеличиваем счетчик */
    content: counter(checklist-counter, decimal-leading-zero);
    /* Выводит 01, 02 и т.д. */
    background-color: #324a4c;
    /* Цвет кругляшка с макета */
    color: #FFFFFF;
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    /* Делает круг */
    font-family: 'KrubB', sans-serif;
    font-size: 16px;
    flex-shrink: 0;
    /* Чтобы круг не сплющивался, если текст длинный */
}

/* Адаптив для телефонов */
@media (max-width: 768px) {
    .checklist-dark-box {
        padding: 30px 16px;
        /* Уменьшаем отступы внутри темного блока на мобилках */
    }

    .checklist-title {
        font-size: 28px;
    }
}

/* Section 6: Recovery Path */

.recovery-content {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 40px;
}

.descr-block-rec {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.descr-block-rec p {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #111111;
}

.sec-recovery h2 {
    font-family: KrubSB;
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 40px;
    grid-column: 1 / -1;
}

.title-step {
    font-family: KrubSB !important;
    font-weight: 600 !important;
    font-style: SemiBold !important;
    font-size: 32px !important;
    margin-bottom: 30px !important;
    color: #111111 !important;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.step-card .img-placeholder {
    height: 180px;
    margin-bottom: 15px;
}

.step-card {
    max-width: 305px;
}

.step-card p {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    color: #111111;
}

.step-title {
    font-family: KrubSB !important;
    font-weight: 600 !important;
    font-style: SemiBold !important;
    font-size: 16px !important;
    margin-bottom: 10px !important;
    margin-top: 10px !important;
    color: #111111;
}

/* Section 8: FAQ */
.faq-sec h2 {
    font-family: KrubSB;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 40px;
    color: #111111;
    margin-bottom: 20px;
}

.faq-p {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #111111;
    margin-bottom: 20px;
}

.acc-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-btn {
    width: 100%;
    gap: 10px;
    text-align: left;
    background-color: #457779;
    color: #FFFFFF;
    padding: 20px;
    border: none;
    border-radius: 0px;
    font-family: 'KrubB', sans-serif;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    background-color: #457779;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-radius: 0 0 6px 6px;
}

.accordion-content p {
    padding: 0px 0px 20px 0px;
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    color: #FFFFFF;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    /* Достаточное значение для контента */
    padding: 0 20px;
    margin-top: -1px;
}

/* Базовое состояние иконки */
.accordion-btn .icon {
    transition: transform 0.3s ease;
    /* Плавный поворот */
}

/* Состояние иконки, когда аккордеон открыт (класс active висит на li.accordion-item) */
.accordion-item.active .accordion-btn .icon {
    transform: rotate(180deg);
    /* Переворачиваем стрелочку вверх ногами */
}

/* --- Секция: CTA (Take the First Step) --- */

.cta-banner {
    position: relative;
    width: 100%;
    padding: 40px;
    overflow: hidden;
    /* Обрезаем картинку по краям блока */
    display: flex;
    align-items: center;
}

/* Настройка фоновой картинки через img */
.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Картинка всегда полностью заполняет блок */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

/* Если на реальной картинке текст сливается, можно добавить легкий градиент 
   Прямо в HTML перед img: <div class="cta-overlay"></div> */
/* .cta-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(90deg, rgba(10,15,30,0.8) 0%, rgba(10,15,30,0) 100%);
    z-index: 1;
} */

.cta-title {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 60px;
    color: #FFFFFF;
}

.cta-desc {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
    color: #FFFFFF;
}

.cta-btn {
    display: inline-block;
    background-color: #457779;
    /* Тот самый зеленый цвет с макета */
    color: #FFFFFF;
    font-family: KrubSB;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 20px;
    padding: 10px 51px;
    border-radius: 16px;
    border: 1px solid #FFFFFF;
    /* Легкая белая обводка как на скрине */
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #386062;
    border-color: #FFFFFF;
}

/* --- Секция: Disclaimer --- */

.disclaimer-box {
    background-color: #B9362F;
    /* Точный красный цвет с макета */
    padding: 24px 16px;
    text-align: center;
    color: #FFFFFF;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* На макете углы острые */
}

.disclaimer-title {
    font-family: KrubB;
    font-weight: 700;
    font-style: Bold;
    font-size: 28px;
    line-height: 38px;
    text-align: center;
    color: #FFFFFF;
}

.disclaimer-text {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    text-align: center;
    vertical-align: middle;
    color: #FFFFFF;
}

/* --- Адаптив для телефонов --- */
@media (max-width: 768px) {
    .cta-content {
        padding: 40px 16px;
    }

    .cta-banner {
        position: relative;
        width: 100%;
        padding: 0px;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    .cta-desc {
        font-size: 16px;
    }

    .cta-title {
        font-size: 32px;
    }
}

/* --- Секция: Footer --- */
.site-footer {
    background-color: #1e1e1e;
    /* Темный фон с макета */
    padding: 60px 16px;
    color: #FFFFFF;
}

.footer-container {
    display: flex;
    gap: 100px;
}

.footer-col {
    width: 100%;
    max-width: 232px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-col2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-col4 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* --- Колонка 1: Лого --- */
.foot-log {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-desc {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    color: #fff;
}

.footer-age-limit {
    font-family: 'KrubB', sans-serif;
    font-size: 48px;
    line-height: 1;
    color: #b9362f;
    /* Красный цвет 18+ с макета */
    letter-spacing: -2px;
}

/* --- Колонки 2 и 3: Навигация --- */
.footer-title {
    font-family: KrubB;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    color: #FFFFFF;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.right-foot-block {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.footer-nav a {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #457779;
    /* Ховер в цвет логотипа */
}

/* --- Колонка 4: Партнеры --- */
.partners-text {
    font-family: KrubM;
    font-weight: 500;
    font-style: Medium;
    font-size: 14px;
    color: #fff;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    /* Чтобы на планшетах переносились, если не влезут */
}

/* Временная стилизация текстовых заглушек логотипов */
.partner-placeholder {
    font-family: 'KrubSB', sans-serif;
    font-size: 18px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    line-height: 1.1;
}

/* --- Адаптив --- */
@media (max-width: 992px) {
    .footer-container {
        /* На планшетах делаем 2 колонки */
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        /* На телефонах все в 1 колонку */
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-age-limit {
        margin-top: 10px;
    }

    .partners-logos {
        gap: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- Стили для десктопа (если их у вас еще нет, они должны быть примерно такими) --- */
.burger-btn {
    display: none;
    /* Прячем бургер на больших экранах */
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Убедитесь, что у вашего header заданы эти свойства */
header {
    position: relative;
    /* Обязательно для правильного позиционирования меню */
    z-index: 1000;
    /* Header должен быть поверх остального контента */
    /* ... остальные ваши стили хэдера (padding, background и т.д.) ... */
}

/* Мобильная версия (Бургер) */
@media (max-width: 768px) {
    .burger-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        /* Бургер поверх меню */
    }

    .nav-list {
        display: flex;
        flex-direction: column;

        /* Исправленное позиционирование */
        position: absolute;
        top: 100%;
        /* Приклеивает меню ровно к нижнему краю header */
        left: 0;
        right: 0;
        /* Растягиваем на всю ширину экрана */
        width: 100%;

        background-color: #FFFFFF;
        padding: 0 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        gap: 0;

        /* Анимация */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.4s ease-out, opacity 0.3s ease-out, padding 0.3s ease, visibility 0.4s;

        /* Убедимся, что меню находится "под" самой шапкой, но над контентом страницы */
        z-index: 999;
    }

    .nav-list.nav-active {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        padding: 20px;
    }

    .nav-item {
        margin-bottom: 15px;
        width: 100%;
    }

    .nav-item:last-child {
        margin-bottom: 0;
    }

    .nav-hero {
        width: auto;
        max-width: 970px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .steps-grid {
        display: grid;
        grid-template-columns: repeat(2, 2fr);
        gap: 16px 10px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1050px) {
    .recovery-content {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding-bottom: 40px;
        flex-direction: column-reverse;
    }
}

.mob-18 {
    display: none;
}

@media (max-width: 1200px) {

    .footer-container {
        display: flex;
        gap: 40px;
        flex-direction: column;
    }

    .right-foot-block {
        width: 100%;
        display: flex;
        gap: 40px;
        flex-direction: column;
    }

    .desc-18 {
        display: none;
    }

    .partners-logos {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        flex-direction: column;
    }

    .mob-18 {
        display: flex;
    }
}



@media (max-width: 600px) {

    header {
        padding: 10px 16px;
    }

    .p-up {
        font-size: 16px;
    }

    .hero-sec h1 {
        font-size: 36px;
    }

    .p-down {
        font-size: 16px;
    }

    .btn-primary-hero {
        width: 100%;
        text-align: center;
        display: flex;
        background-color: #457779;
        color: #FFFFFF;
        padding: 10px 51px;
        border: 1px solid #FFFFFF;
        border-radius: 16px;
        font-family: 'KrubSB', sans-serif;
        font-size: 20px;
        cursor: pointer;
        text-align: center;
        display: flex;
        justify-content: center;
    }

    .hero-cont {
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .block-help {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .block-help p {
        font-size: 14px;
    }

    .addictive-sec h2 {
        font-size: 28px;
    }

    .feature-card h2 {
        font-size: 24px !important;
        text-align: left !important;
    }

    .danger-title {
        font-size: 28px;
    }

    .substitute-title {
        font-size: 28px;
    }

    .checklist-list li {
        font-size: 16px;
    }

    .sec-recovery h2 {
        font-size: 28px;
    }

    .faq-sec h2 {
        font-size: 28px;
    }

}


/* --- Общие настройки для этих секций --- */
.about-section {
    background-color: #f5f5f5;
    /* Светло-серый фон как на макете */
    padding: 60px 16px;
    text-align: center;
}

.need-help-section {
    background-color: #FFFFFF;
    /* Белый фон */
    padding: 60px 16px;
    text-align: center;
}

/* --- Секция: About Us --- */
.about-title {
    font-family: 'KrubSB', sans-serif;
    font-size: 40px;
    color: #111111;
    margin-bottom: 20px;
}

.about-subtitle {
    font-family: 'KrubM', sans-serif;
    font-size: 16px;
    color: #333333;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

/* Белая карточка */
.about-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    /* Скругление углов */
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Легкая тень как на макете */
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Едва заметная рамка */
}

.about-card-title {
    font-family: 'KrubSB', sans-serif;
    font-size: 24px;
    color: #111111;
    margin-bottom: 10px;
}

.about-card p {
    font-family: 'KrubM', sans-serif;
    font-size: 16px;
    color: #333333;
    margin-bottom: 20px;
}

.about-card p:last-child {
    margin-bottom: 0;
    /* Убираем отступ у последнего абзаца */
}

/* --- Секция: Need Help CTA --- */
.need-help-title {
    font-family: 'KrubSB', sans-serif;
    font-size: 32px;
    color: #111111;
    margin-bottom: 16px;
}

.need-help-desc {
    font-family: 'KrubM', sans-serif;
    font-size: 16px;
    color: #333333;
    margin-bottom: 20px;
}

.need-help-action {
    display: flex;
    justify-content: center;
}

/* --- Адаптив --- */
@media (max-width: 768px) {
    .about-card {
        padding: 25px 20px;
        /* Уменьшаем внутренние отступы карточки на мобилках */
    }

    .about-title {
        font-size: 30px;
    }

    .need-help-title {
        font-size: 28px;
    }
}


/* --- Секция: Contact Us --- */
.contact-section {
    background-color: #f6f6f6;
    /* Светло-серый фон с макета */
    padding: 60px 16px;
    display: flex;
    justify-content: center;
    /* Центрируем форму по горизонтали */
}

.contact-container {
    width: 100%;
    max-width: 800px;
    /* Ограничиваем ширину формы, как на макете */
    text-align: center;
}

.contact-title {
    font-family: 'KrubB', sans-serif;
    font-size: 40px;
    color: #111111;
    margin-bottom: 20px;
}

.contact-desc {
    font-family: 'KrubM', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
}

/* Форма */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Отступы между полями */
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    background-color: #E9E9E9;
    /* Серый фон инпутов */
    border: none;
    padding: 16px;
    font-family: 'KrubM', sans-serif;
    font-size: 16px;
    color: #11111180;
    outline: none;
    transition: box-shadow 0.3s ease;
}

/* Изменяем цвет placeholder'а */
.form-input::placeholder {
    color: #888888;
}

.form-input:focus {
    box-shadow: 0 0 0 2px #457779;
    /* Подсветка при фокусе в фирменном цвете */
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    /* Высота для текстового поля */
}

/* Кнопка */
.btn-submit {
    width: 100%;
    background-color: #457779;
    /* Фирменный зеленый */
    color: #FFFFFF;
    font-family: 'KrubSB', sans-serif;
    font-size: 20px;
    padding: 10px;
    border: none;
    border-radius: 16px;
    /* Чуть большее скругление, как на скрине */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #386062;
}

/* Сообщение об успехе (изначально скрыто) */
.success-message {
    display: none;
    /* Скрыто по умолчанию */
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    font-family: 'KrubM', sans-serif;
    font-size: 15px;
}

/* Класс, который добавляется через JS для показа сообщения */
.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Секция: Policy (Disclaimer, Privacy, Terms) --- */
.policy-section {
    background-color: #f8f6f6;
    /* Светло-серый фон со скриншота */
    padding: 60px 16px;
    display: flex;
    justify-content: center;
}

.policy-container {
    width: 100%;
    text-align: left;
}

.policy-title {
    font-family: 'KrubSB', sans-serif;
    font-size: 40px;
    color: #111111;
    margin-bottom: 20px;
}

.policy-content {
    font-family: 'KrubИ', sans-serif;
    font-size: 16px;
    color: #111111;
    line-height: 1.6;
    /* Комфортный межстрочный интервал */
}

.policy-content p {
    margin-bottom: 20px;
    /* Отступы между абзацами */
}

.policy-content p:last-child {
    margin-bottom: 0;
}

.policy-date {
    font-family: 'KrubB', sans-serif;
    /* Более жирный шрифт для даты */
    margin-bottom: 20px !important;
    color: #111111;
}

.policy-content a {
    color: #111111;
    text-decoration: underline;
    font-family: 'KrubM', sans-serif;
}

.policy-content a:hover {
    color: #457779;
    /* Зеленый цвет при наведении */
}

/* Адаптив */
@media (max-width: 768px) {
    .policy-title {
        font-size: 28px;
    }

    .policy-content {
        font-size: 14px;
    }
}

/* --- Стили для нижнего ряда (выстраиваем элементы в ряд) --- */
.substitute-row-bottom {
    display: flex;
    align-items: stretch;
    /* Чтобы блоки были одинаковой высоты, если нужно, или center */
    gap: 30px;
    /* Расстояние между зеленым блоком и игрой */
    margin-top: 30px;
    /* Отступ от верхнего текста */
}

/* Настройки зеленого блока */
.substitute-green-box {
    flex: 0 0 45%;
    /* Блок занимает 45% ширины */
    /* Здесь ваши цвета и паддинги, например: */
    background-color: #55807e;
    padding: 30px;
    color: white;
    box-sizing: border-box;
    border-radius: 4px;
}

/* Настройки секции с игрой (правая колонка) */
.demo-section {
    flex: 1;
    /* Игра занимает все оставшееся место (55%) */
    display: flex;
    align-items: center;
    /* Центрируем игру по вертикали относительно зеленого блока */
    justify-content: center;
}

/* --- Контейнер самой игры (адаптивный 16:9) --- */
.block-game {
    position: relative;
    width: 100%;
    /* Ограничитель, чтобы игра не становилась гигантской на больших экранах */
    margin: 0 auto;
    padding-bottom: 56.25%;
    /* Пропорция 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    /* Немного скруглим углы для красоты */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Легкая тень, чтобы выделить игру */
}

.block-game iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    /* Убираем стандартную рамку iframe */
}

/* --- Адаптивность для мобильных устройств --- */
@media (max-width: 992px) {
    .substitute-row-bottom {
        flex-direction: column;
        /* Перестраиваем в одну колонку на мобильных */
        gap: 20px;
    }

    .substitute-green-box {
        flex: none;
        width: 100%;
        /* На мобилках блок на всю ширину */
    }

    .demo-section {
        width: 100%;
    }
}