@font-face {
    font-family: 'Poppins';
    font-display: swap;
    src: url('../saCre-fonts/saCre-poppins.woff2') format("woff2");
}

@font-face {
    font-family: 'Roboto';
    font-display: swap;
    src: url('../saCre-fonts/saCre-roboto.woff2') format("woff2");
}

/* --- БАЗОВЫЕ СТИЛИ --- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #EAEFEE;
    color: #111111;
    overflow-x: hidden;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    font-family: 'Poppins', sans-serif;
}

h2 {
    font-family: 'Poppins', 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: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Кнопки */
.btn-primary {
    display: flex;
    background: linear-gradient(91.38deg, #3558C3 0.08%, #C45724 100%);
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 12px 57px;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Bold;
    font-size: 20px;
    text-transform: uppercase;
    border-radius: 26px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-primary-hero {
    width: 100%;
    max-width: 329px;
    display: flex;
    background: linear-gradient(91.38deg, #3558C3 0.08%, #C45724 100%);
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 12px 57px;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    justify-content: center;
    font-weight: 900;
    font-style: Black;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: #679626;
}

/* Заглушки для картинок */
.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: #1B2E3A;
    padding: 18px 16px;
    z-index: 1000;
    margin-bottom: 24px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}


nav ul {
    display: flex;
    gap: 10px;
    align-items: center;
}

nav a {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 17px;
    transition: color 0.3s;
    color: #FFFFFF;
}

.nav-link-2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    color: #ED6D23;
    padding: 10px;
}

nav a:hover {
    color: #f57d28;
}

.burger {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #111111;
}

/* --- СЕКЦИИ --- */
section {
    padding: 70px 16px 0px 16px;
}

.block-link {
    display: flex;
    align-items: center;
    gap: 40px;
}

.warn-bl {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Section 1: Hero */
.hero-sec {
    background-image: url('../saCre-img/saCre-hero.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    color: #FFFFFF;
    text-align: left;
    position: relative;
    padding: 33px 24px !important;
    max-width: 1240px;
    margin: 0 auto;
    border-radius: 32px;
}

.hero-sec h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Black;
    font-size: 48px;
    text-transform: uppercase;
    color: #FFFFFF;
    line-height: 57px;
    word-spacing: -11px;
}


.p-down {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 138%;
    color: #FFFFFF;
}

.down-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
    max-width: 564px;
}

.block-hero-main {
    display: flex;
    flex-direction: column;
}

.block-help {
    display: flex;
    gap: 25px;
    align-items: center;
}

.block-help p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    color: #FFFFFF;
}

.hero-cont {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Section 2: Addictive */
.addictive-sec h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    text-transform: uppercase;
    color: #4F4943;
}

.addictive-cont {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.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: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 20px;
    text-align: center;
    color: #4F4943;
    text-transform: none;
}

.addictive-text p {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: Regular;
    font-size: 17px;
    color: #4F4943;
}

.addictive-text p:not(:last-child) {
    padding-bottom: 20px;
}

.addictive-text h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    text-transform: uppercase;
    color: #4F4943;
    padding-bottom: 10px;
}

/* Section 3: Dangerous */


.danger-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Bold;
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 40px;
    width: 100%;
    color: #4F4943;
    text-align: center;
}

.danger-content {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.danger-left-col {
    width: 100%;
    max-width: 522px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.danger-right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.danger-right-col h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Black;
    font-size: 20px;
    text-transform: uppercase;
    color: #4F4943;
}

.danger-red-box {
    background-color: #BF3644;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #FFFFFF;
    padding: 16px;
    border-radius: 20px;
}

.danger-red-box h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Bold;
    font-size: 20px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.danger-red-box p {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: Regular;
    font-size: 17px;
    color: #D6D6D6;
}



/* Стили для правой колонки: параграфы и список */
.danger-right-col .danger-intro-text,
.danger-right-col .danger-outro-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: Regular;
    font-size: 17px;
    vertical-align: middle;
    color: #4F4943;
}

.danger-list {
    padding: 0;
    list-style: none;
    /* Убираем стандартные маркеры браузера */
}

.danger-list li {
    position: relative;
    padding-left: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 17px;
    color: #4F4943;
}

.danger-list li:not(:last-child) {
    padding-bottom: 0px;
}

/* Создаем аккуратный кастомный маркер "точку" через псевдоэлемент, как на скрине */
.danger-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 17px;
    color: #4F4943;
}

/* Выделение начала каждого пункта жирным, как на картинке */
.danger-list li strong {
    font-family: 'Poppins', sans-serif;
    /* Или Poppins / Poppins в зависимости от желаемой толщины */
}

/* Адаптив для планшетов и телефонов */
@media (max-width: 992px) {
    .danger-content {
        flex-direction: column;
    }

    .danger-left-col {
        flex: 1 1 100%;
        width: 100%;
        gap: 10px;
    }
}

/* Section 4: Substitute */

.substitute-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Black;
    font-size: 32px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    color: #4F4943;
    word-spacing: -7px;
    max-width: 858px;
    margin: 0 auto;
}

.substitute-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    /* Расстояние между верхним и нижним рядом */
}

/* Общий стиль для обоих рядов */
.substitute-row {
    display: flex;
    gap: 30px;
    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;
}

/* Фикс для картинок, чтобы они вели себя предсказуемо */
.sub-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Заполняет блок, обрезая лишнее, если пропорции не совпадают */
    display: block;
    border-radius: 12px;
}

/* Тексты в текстовом блоке */
.sub-text-wrapper {
    gap: 24px;
}

.sub-text-wrapper p {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #4F4943;
    margin: 0;
    /* Убираем дефолтные отступы, так как gap делает работу */
}

.tit-sub2 {
    font-family: 'Poppins',
        sans-serif !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    text-transform: uppercase !important;
    color: #4F4943 !important;
}

.p-down-block {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.sub-text-wrapper ul {
    list-style: disc;
    padding-left: 15px;
    margin: 0;
}

.sub-text-wrapper ul li {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 17px;
    color: #4F4943;
}

/* Зеленый блок */
.substitute-green-box {
    background-color: #DAEAF5;
    color: #4F4943;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    border-radius: 20px;
}

.substitute-green-box h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Black;
    font-size: 20px;
    text-align: justify;
    text-transform: uppercase;
    color: #4F4943;
    text-transform: uppercase;
    margin: 0;
}

.p-gb-small {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: Regular;
    font-size: 17px;
    color: #4F4943;
    margin: 0;
}

.substitute-green-box ul {
    list-style: disc;
    padding-left: 15px;
    margin: 0;
}

.substitute-green-box ul li {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 17px;
    text-align: justify;
}

/* Список 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: 'Poppins', 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: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    text-transform: uppercase;
    /* Немного крупнее, как на макете */
    margin-bottom: 20px;
    color: #4F4943;
}

.checklist-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    margin-bottom: 10px;
    color: #4F4943;
}

.checklist-bold-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    margin-bottom: 10px;
    color: #4F4943;
}

/* Темный блок-обертка для списка */
.checklist-dark-box {
    background-color: #ED6D23;
    /* Точный темный цвет с макета */
    padding: 20px;
    border-radius: 12px;
    /* Углы прямые, как на макете */
    margin-bottom: 20px;
}

.checklist-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: checklist-counter;
    /* Инициализируем счетчик для цифр 01, 02... */
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Расстояние между пунктами списка */
}

.checklist-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 20px;
    color: #FFFFFF;
    /* Текст внутри темного блока белый */
}

/* Кругляшок с цифрой */
.checklist-list li::before {
    counter-increment: checklist-counter;
    /* Увеличиваем счетчик */
    content: counter(checklist-counter, decimal-leading-zero);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    flex-shrink: 0;
    /* Чтобы круг не сплющивался, если текст длинный */
}

/* Адаптив для телефонов */
@media (max-width: 768px) {
    .checklist-dark-box {
        padding: 30px 16px;
        /* Уменьшаем отступы внутри темного блока на мобилках */
    }

    .checklist-title {
        font-size: 20px;
    }
}

/* Section 6: Recovery Path */

.recovery-content {
    display: flex;
    gap: 30px;
    padding-bottom: 40px;
}

.descr-block-rec {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.descr-block-rec p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 17px;
    color: #4F4943;
}

.sec-recovery h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-align: center;
    grid-column: 1 / -1;
    color: #4F4943;
}

.title-step {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 24px;
    text-transform: uppercase;
    color: #4F4943;
    padding-top: 30px;
}

.step-title-sm {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    color: #4F4943 !important;
    padding: 24px !important;
    margin-bottom: 0px !important;
    text-align: left !important;
    font-style: Black !important;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card .img-placeholder {
    height: 180px;
    margin-bottom: 15px;
}

.step-card {
    max-width: 305px;
    background: #DAEAF5;
    border: 1px solid #C3C3C3;
    border-radius: 12px;
    gap: 24px;
}

.step-card p {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #4F4943;
    padding: 0px 24px 24px 24px;
}

/* Section 8: FAQ */
.faq-sec h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    text-transform: uppercase;
    color: #4F4943;
    margin-bottom: 20px;
}

.faq-p {
    font-family: 'Poppins', sans-serif;
    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: #ED6D23;
    color: #FFFFFF;
    padding: 20px;
    border: none;
    border-radius: 0px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.accordion-content {
    background-color: #ED6D23;
    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: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: Medium;
    font-size: 14px;
    color: #FFFFFF;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    /* Достаточное значение для контента */
    padding: 0 20px;
    margin-top: -1px;
    border-radius: none;
}

/* Базовое состояние иконки */
.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%;
    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;
    border-radius: 12px;
}

.cta-content {
    position: relative;
    z-index: 2;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    gap: 24px;
    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: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Black;
    font-size: 32px;
    text-transform: uppercase;
    color: #FFFFFF;
    word-spacing: -7px;
}

.cta-section {
    background: #1B2E3A;
    padding: 32px 24px !important;
    margin-top: 70px;
}

.cta-desc {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #FFFFFF;
}

.cta-btn {
    width: 100%;
    max-width: 329px;
    display: inline-block;
    background: linear-gradient(91.38deg, #3558C3 0.08%, #C45724 100%);
    /* Тот самый зеленый цвет с макета */
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Bold;
    font-size: 20px;
    text-transform: uppercase;
    padding: 12px 57px;
    border-radius: 26px;
    border: none;
    /* Легкая белая обводка как на скрине */
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #3ec8cf;
    border-color: #FFFFFF;
}

/* --- Секция: Disclaimer --- */

.disclaimer-box {
    background-color: #ED6D23;
    /* Точный красный цвет с макета */
    padding: 30px;

    color: #FFEDE2;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* На макете углы острые */
}

.disclaimer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    text-transform: uppercase;
    color: #FFEDE2;
}

.disclaimer-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    color: #FFEDE2;
}

/* --- Адаптив для телефонов --- */
@media (max-width: 768px) {

    .cta-banner {
        position: relative;
        width: 100%;
        padding: 0px;
        overflow: hidden;
        display: flex;
        align-items: center;
    }


    .cta-title {
        font-size: 27px;
    }

    .disclaimer-box {
        padding: 20px;
    }
}

/* --- Секция: Footer --- */
.site-footer {
    background-color: #ED6D23;
    /* Темный фон с макета */
    padding: 40px 16px;
    color: #FFEDE2;
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.disc-foot {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 20px;
    color: #FFEDE2;
}

.footer-col {
    width: 100%;
    max-width: 513px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.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;
    align-items: flex-start;
}

.footer-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    color: #FFEDE2;
}

.footer-age-limit {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    line-height: 1;
    color: #b9362f;
    /* Красный цвет 18+ с макета */
    letter-spacing: -2px;
}

/* --- Колонки 2 и 3: Навигация --- */
.footer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    color: #FFEDE2;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.right-foot-block {
    width: 100%;
    max-width: 433px;
    display: flex;
    justify-content: space-between;
}

.footer-nav a {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    color: #FFEDE2;
    text-decoration: none;
    padding: 0px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #e78529;
    /* Ховер в цвет логотипа */
}

/* --- Колонка 4: Партнеры --- */
.partners-text {
    font-family: 'Poppins', sans-serif;
    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: 'Poppins', 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: 61px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Убедитесь, что у вашего header заданы эти свойства */
header {
    position: relative;
    /* Обязательно для правильного позиционирования меню */
    z-index: 1000;
    /* Header должен быть поверх остального контента */
    /* ... остальные ваши стили хэдера (padding, background и т.д.) ... */
}

/* Мобильная версия (Бургер) */
@media (max-width: 955px) {
    .burger-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        /* Бургер поверх меню */
    }

    .block-link {
        display: none;
    }

    .nav-list {
        display: flex;
        flex-direction: column;

        /* Исправленное позиционирование */
        position: absolute;
        top: 100%;
        /* Приклеивает меню ровно к нижнему краю header */
        left: 0;
        right: 0;
        /* Растягиваем на всю ширину экрана */
        width: 100%;

        background-color: cadetblue;
        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;
    }

    .features-grid {
        /* Включаем горизонтальную прокрутку */
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;

        /* Включаем "примагничивание" (слайдерный эффект) */
        scroll-snap-type: x mandatory;

        /* Отступы */
        gap: 15px;
        padding-bottom: 20px;
        /* Место снизу */

        /* Прячем системный скроллбар для красоты */
        -ms-overflow-style: none;
        /* IE и Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    /* Прячем системный скроллбар для Chrome, Safari */
    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-card {
        /* Задаем ширину карточки. 
               75% — отличный UX трюк: пользователь видит кусочек следующей карточки 
               и интуитивно понимает, что тут можно свайпать */
        flex: 0 0 75%;

        /* Точка примагничивания: карточка будет вставать ровно по центру экрана */
        scroll-snap-align: center;
    }
}

@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;
    }

    .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: 20px;
    }

    .hero-sec h1 {
        font-size: 32px;
    }

    .block-help img {
        width: 77px;
        height: 22px;
    }

    .p-down {
        font-size: 16px;
    }

    .btn-primary-hero {
        width: 100%;
        border: none;
        align-items: center;
        text-align: center;
        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: 20px;
    }

    .addictive-text p {
        font-size: 14px;
    }

    .feature-card h2 {
        font-size: 24px !important;
        text-align: left !important;
    }

    .danger-title {
        font-size: 20px;
    }

    .substitute-title {
        font-size: 20px;
        line-height: 1;
    }

    .checklist-list li {
        font-size: 14px;
    }

    .sec-recovery h2 {
        font-size: 20px;
    }

    .faq-sec h2 {
        font-size: 20px;
    }

    .sub-text-wrapper p {
        font-size: 14px;
    }

    .descr-block-rec p {
        font-size: 14px;
    }

    .danger-list li {
        font-size: 14px;
    }

    .accordion-btn {
        font-size: 14px;
    }

}


/* --- Общие настройки для этих секций --- */
.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: 'Poppins', sans-serif;
    font-size: 40px;
    color: #111111;
    margin-bottom: 20px;
}

.about-subtitle {
    font-family: 'Poppins', 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: 'Poppins', sans-serif;
    font-size: 24px;
    color: #111111;
    margin-bottom: 10px;
}

.about-card p {
    font-family: 'Poppins', 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: 'Poppins', sans-serif;
    font-size: 32px;
    color: #111111;
    margin-bottom: 16px;
}

.need-help-desc {
    font-family: 'Poppins', 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: 20px;
    }
}


/* --- Секция: 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: 'Poppins', sans-serif;
    font-size: 40px;
    color: #111111;
    margin-bottom: 20px;
}

.contact-desc {
    font-family: 'Poppins', 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: 'Poppins', 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: 'Poppins', 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: 'Poppins', 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: 'Poppins', 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: 'Poppins', sans-serif;
    /* Более жирный шрифт для даты */
    margin-bottom: 20px !important;
    color: #111111;
}

.policy-content a {
    color: #111111;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
}

.policy-content a:hover {
    color: #457779;
    /* Зеленый цвет при наведении */
}

/* Адаптив */
@media (max-width: 768px) {
    .policy-title {
        font-size: 20px;
    }

    .policy-content {
        font-size: 14px;
    }
}

/* --- Стили Попапа --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: #FFFFFF;
    /* Светло-персиковый фон как на скрине */
    padding: 24px;
    border-radius: 19px;
    width: 90%;
    max-width: 611px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    color: #555;
    box-sizing: border-box;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close-btn:hover {
    color: #333;
}

.modal-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Black;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
}

.modal-input {
    width: 100%;
    margin-bottom: 12px;
    background-color: #E3E3E3;
    border: 1px solid #C3C3C3;
    /* Оранжевая рамка */
    border-radius: 12px;
    box-sizing: border-box;
    color: #4F4943;
    outline: none;
    text-align: center;
    display: flex;
    justify-content: center;
    height: 50px;
    margin-top: 12px;
}


.modal-input:focus {
    box-shadow: 0 0 5px rgba(232, 115, 41, 0.4);
}

.modal-textarea {
    resize: vertical;
    min-height: 120px;
}

.modal-radio-group {
    margin-bottom: 20px;
}

.radio-title {
    margin: 0 0 6px 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    color: #4F4943;
}

.radio-options {
    display: flex;
    gap: 20px;
}

.radio-options label {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    cursor: pointer;
}

.radio-options input[type="radio"] {
    accent-color: #e87329;
    /* Делает кружочек оранжевым в современных браузерах */
    width: 20px;
    height: 20px;
}

.modal-checkbox-group {
    margin-bottom: 20px;
}

.modal-checkbox-group label {
    display: flex;
    align-items: center;
    /* Выравниваем чекбокс по центру строки */
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    color: #000;
    cursor: pointer;
}

.modal-checkbox-group input[type="checkbox"] {
    accent-color: #e87329;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    /* Чтобы чекбокс не сплющивался, если текст длинный */
}

.modal-submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(91.38deg, #3558C3 0.08%, #C45724 100%);
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Bold;
    font-size: 20px;
    text-transform: uppercase;
    color: #FFEDE2;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.modal-submit-btn:hover {
    background-color: #d1621f;
}

/* Стили для окна успеха */
.modal-success {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

/* Адаптивность для мобилок */
@media (max-width: 500px) {
    .radio-options {
        flex-direction: column;
        gap: 10px;
    }

    .modal-box {
        padding: 25px 20px;
    }
}




/* Основной фон секции */
.about-us-section {
    background-color: #faeee5;
    /* Тот самый светло-персиковый/бежевый цвет */
    padding: 40px 20px;
    /* Отступы сверху/снизу и по бокам для мобилок */
    font-family: 'Poppins', sans-serif;
    /* Замените на шрифт вашего проекта, если нужно */
}


/* Стили заголовка */
.about-us-title {
    color: #4a4a4a;
    /* Темно-серый цвет */
    font-size: 22px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;

}

/* Стили абзацев */
.about-us-content p {
    color: #4F4943;
    font-size: 16px;
    /* Делает межстрочный интервал комфортным, как на картинке */
    margin-top: 0;
    margin-bottom: 20px;
    /* Отступ между абзацами */
}

/* Убираем лишний отступ у последнего абзаца */
.about-us-content p:last-child {
    margin-bottom: 0;
}

/* Небольшая адаптивность для мобильных телефонов */
@media (max-width: 768px) {
    .about-us-section {
        padding: 40px 15px;
    }

    .about-us-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .about-us-content p {
        font-size: 15px;
    }
}

.ab-sec {
    padding: 0px 0px 20px 0px;
}

.ab-sec2 {
    padding: 0px 0px 40px 0px;
}


/* Основной фон секции */
.contact-section {
    background-color: #faeee5;
    /* Тот самый светло-персиковый фон */
    padding: 40px 20px;
    font-family: 'Poppins', sans-serif;
}

/* Ограничитель ширины (чтобы форма не была на весь экран) */
.contact-container {
    max-width: 800px;
    /* Ширина формы */
    margin: 0 auto;
}

/* Заголовок */
.contact-title {
    color: #4a4a4a;
    font-size: 24px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

/* Стили полей ввода */
.contact-input {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 10px;
    background-color: transparent;
    /* Прозрачный фон как на картинке */
    border: 1px solid #f29659;
    /* Мягкая оранжевая рамка */
    border-radius: 12px;
    /* Слегка скругленные углы */
    font-size: 16px;
    color: #333;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Poppins', sans-serif;
}

/* Цвет плейсхолдера (подсказки внутри поля) */
.contact-input::placeholder {
    color: #666;
}

/* Эффект при клике на поле */
.contact-input:focus {
    border-color: #e87329;
    box-shadow: 0 0 5px rgba(232, 115, 41, 0.3);
}

/* Поле для сообщения делаем выше */
.contact-textarea {
    min-height: 160px;
    resize: vertical;
    /* Позволяет пользователю тянуть форму только вниз */
}

/* Обертка кнопки для центрирования */
.contact-btn-wrapper {
    text-align: center;
    margin-top: 10px;
}

/* Стили кнопки */
.contact-submit-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: #4a4a4a;
    border: 1px solid #f29659;
    border-radius: 30px;
    /* Делает кнопку в форме "пилюли" как на скрине */
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

/* Эффект при наведении на кнопку (заливаем оранжевым) */
.contact-submit-btn:hover {
    background-color: #e87329;
    color: white;
    border-color: #e87329;
}

/* --- Стили для блока успешной отправки --- */
.contact-success-block {
    text-align: center;
    padding: 40px 0;
    background-color: transparent;
    border: 1px dashed #f29659;
    border-radius: 8px;
}

.contact-success-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.contact-success-block h2 {
    margin: 0 0 10px 0;
    color: #4a4a4a;
}

.contact-success-block p {
    color: #555;
    margin-bottom: 20px;
}

/* Основной фон секции */
.privacy-section {
    background-color: #faeee5;
    /* Базовый бежевый/персиковый фон */
    padding: 40px 16px 0px 16px;
    font-family: 'Poppins', sans-serif;
}

/* Главный заголовок */
.privacy-title {
    color: #4a4a4a;
    font-size: 22px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Дата публикации */
.privacy-date {
    color: #4F4943;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Отступы между нумерованными блоками */
.privacy-block {
    margin-bottom: 20px;
}

/* Стили подзаголовков (1. WHO WE ARE и т.д.) */
.privacy-subheading {
    color: #4F4943;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

/* Основной текст внутри блоков */
.privacy-text {
    color: #4F4943;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Стилизация списков */
.privacy-list {
    margin-top: 3px;
    margin-bottom: 3px;
    padding-left: 20px;
}

.privacy-list li {
    color: #4F4943;
    font-size: 14px;
    margin-bottom: 2px;
    line-height: 1.4;
}

/* Стили для ссылок (почта) */
.privacy-link {
    color: #4F4943;
    text-decoration: none;
    transition: color 0.2s;
}

.privacy-link:hover {
    color: #e87329;
    /* Оранжевый цвет при наведении */
    text-decoration: underline;
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .privacy-section {
        padding: 40px 15px;
    }

    .privacy-title {
        font-size: 20px;
    }
}


/* --- СЕКЦИЯ ENGAGING (Внешний вид по макету) --- */
.engaging-section {
    background-color: #EEF1F2;
    /* Светло-серо-голубой фон */
    padding: 70px 24px 0 24px;
}

/* Ограничитель ширины строго 1240px */
.engaging-section .container {
    max-width: 1240px;
    margin: 0 auto;
}

/* --- ЗАГОЛОВОК СЕКЦИИ --- */
.engaging-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}

.engaging-header h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 32px;
    color: #4F4943;
    /* Темно-серый цвет текста */
    text-transform: uppercase;
    font-weight: 900;
    font-style: Black;
    font-size: 32px;
    line-height: 41px;
    word-spacing: -7px;
}

.engaging-header p {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #4F4943;
    margin: 0;
    max-width: 613px;
    margin: 0 auto;
}

/* --- СЕТКА ИЗ 5 КАРТОЧЕК --- */
.cards-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.engage-card {
    background-color: #EEF5DA;
    border: 1px solid #BFC6D6;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.engage-card h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: #4F4943;
    text-transform: uppercase;
}

.engage-card p {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #4F4943;
    line-height: 1.5;
    margin: 0;
}

/* --- СЕТКА ДЛЯ 4 ПУНКТОВ (2 КОЛОНКИ СНИЗУ) --- */
.info-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    /* Отступ между колонками */
    row-gap: 24px;
    /* Отступ между рядами */
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: #4F4943;
    text-transform: uppercase;
}

.info-content p {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #4F4943;
    margin: 0;
}

/* Списки (ul li) внутри блоков (например Consequences) */
.info-content ul {
    padding-left: 20px;
    list-style-type: disc;
    /* Обычные точки */
}

.info-content ul li {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 17px;
    color: #4F4943;
    margin-bottom: 4px;
}

/* --- АДАПТИВНОСТЬ ДЛЯ ПЛАНШЕТОВ И ТЕЛЕФОНОВ --- */
@media (max-width: 1024px) {

    /* 5 карточек не влезут, перестраиваем в 3 колонки */
    .cards-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-grid-2 {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .engaging-header h2 {
        font-size: 26px;
        /* Уменьшаем заголовок на планшетах */
    }

    .cards-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Нижние текстовые блоки перестраиваем в 1 колонку */
    .info-grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    /* На маленьких телефонах всё в 1 колонку */
    .cards-grid-5 {
        grid-template-columns: 1fr;
    }


    .info-content ul {
        text-align: left;
        /* Но список остается выровненным по левому краю */
        display: inline-block;
    }
}


/* --- СЕКЦИЯ QUIZ --- */
.interactive-quiz-sec {
    /* Темный фон. Замените URL на вашу картинку с руками и сердечками */
    background-color: #3b3b3b;
    background-image: url('../saCre-img/saCre-quiz.webp');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: #FFFFFF;
    margin-top: 70px;
}

.quiz-container {
    max-width: 926px;
    margin: 0 auto;
}

.quiz-main-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 28px;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #FFFFFF;
}

/* Карточка квиза */
.quiz-card {
    transition: opacity 0.4s ease;
    /* Для плавного переключения */
}

.quiz-question {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Контейнер вариантов ответа */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

/* Стилизация каждого варианта (белая плашка) */
.quiz-option-label {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.quiz-option-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Стилизация стандартного radio input */
.quiz-option-label input[type="radio"] {
    margin: 0;
    margin-right: 15px;
    width: 18px;
    height: 18px;
    accent-color: #0266B4;
    /* Синий цвет активного радио-баттона */
    cursor: pointer;
}

/* Текст варианта ответа */
.quiz-option-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #111111;
    /* Темный текст на белом фоне */
}

/* Кнопка NEXT (скрыта изначально) */
.quiz-footer {
    display: flex;
    justify-content: center;
    min-height: 50px;
    /* Чтобы блок не прыгал при появлении кнопки */
}

.quiz-next-btn {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.quiz-next-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex;
    background: linear-gradient(91.38deg, #3558C3 0.08%, #C45724 100%);
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 12px 57px;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Bold;
    font-size: 20px;
    text-transform: uppercase;
    border-radius: 26px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.get-help-btn {
    display: flex;
    background: linear-gradient(91.38deg, #3558C3 0.08%, #C45724 100%);
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 12px 57px;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Bold;
    font-size: 20px;
    text-transform: uppercase;
    border-radius: 26px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

/* Финальный экран */
.quiz-result {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 50px 30px;
    border-radius: 12px;
}

.quiz-result h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 24px;
    margin-bottom: 15px;
}

.quiz-result p {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .quiz-main-title {
        font-size: 22px;
    }

    .quiz-question {
        font-size: 14px;
    }

    .quiz-option-label {
        padding: 12px 15px;
    }

    .quiz-option-text {
        font-size: 14px;
    }
}

/* --- СЕКЦИЯ FAQ --- */
.faq-section {
    background-color: #EAEFEE;
    /* Светло-серо-голубой фон (как у секции выше) */
    padding: 70px 0;
}

.faq-section .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка FAQ */
.faq-header {
    text-align: center;
    margin-bottom: 20px;
}

.faq-header h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 32px;
    color: #4A4A4A;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    letter-spacing: 1px;
}

.faq-header p {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    color: #4F4943;
}

/* Список (ul) */
.faq-accordion-list {
    list-style: none;
    padding: 0;
    /* Ширина плашек как на макете */
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Расстояние между плашками */
}

/* Элемент списка (li) - сама плашка */
.faq-item {
    background-color: #DAEAF5;
    /* Светло-голубой цвет плашки */
    border: 1px solid #C3C3C3;
    /* Светлая рамка */
    border-radius: 13px;
    /* Скругление углов */
    overflow: hidden;
    /* Важно для обрезки контента при закрытии */
}

/* Кнопка открытия (header плашки) */
.faq-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    outline: none;
}

/* Текст вопроса */
.faq-btn span {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 16px;
    color: #4A4A4A;
    text-transform: uppercase;
    padding-right: 20px;
    /* Чтобы текст не наезжал на стрелку */
}

/* Иконка стрелки */
.faq-arrow {
    width: 16px;
    height: auto;
    transition: transform 0.3s ease;
    /* Плавный поворот */
}

/* Скрытый контент (ответ) */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    /* Плавное выезжание */
}

.faq-content p {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #4F4943;
    margin: 0;
    padding: 0px 16px 16px 16px;
}

/* --- АКТИВНОЕ СОСТОЯНИЕ (КОГДА ОТКРЫТО) --- */

/* Переворачиваем стрелку */
.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

/* Открываем контент (ставим с запасом высоту) */
.faq-item.active .faq-content {
    max-height: 400px;
}

/* --- Адаптивность --- */
@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 26px;
    }

    .faq-header p {
        font-size: 14px;
    }

    .faq-btn {
        padding: 16px 20px;
    }

    .faq-btn span {
        font-size: 14px;
    }

    .faq-content p {
        font-size: 14px;
        padding: 0 20px 20px 20px;
    }
}


/* Основной контейнер футера */
.site-footer {
    background-color: #1B2E3A;
    /* Темно-синий фон */
    color: #ffffff;
    padding: 24px 24px 32px 24px;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: 100%;
    max-width: 1240px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Верхняя часть (лого 18+) */
.footer-top {
    display: flex;
    justify-content: center;
}

/* Колоночная сетка со ссылками */
.footer-links-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Две равные колонки */
    gap: 20px;
}

/* Контейнер для ссылок (сдвиг правой колонки ближе к центру) */
.footer-column-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-column-wrapper h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-style: Black;
    font-size: 18px;
    text-transform: uppercase;
    color: #ffffff;
}

.footer-column-wrapper ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-column-wrapper a {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 17px;
    transition: color 0.2s ease;
}

.footer-column-wrapper a:hover {
    color: #ffffff;
    /* Белый при наведении */
    text-decoration: underline;
}

/* Нижняя часть (логотипы) */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

/* Стилизация текста BeGambleAware */
.logo-begamble {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #ffffff;
    display: flex;
    align-items: flex-start;
}

.logo-begamble strong {
    font-weight: bold;
}

.logo-begamble .org {
    font-size: 10px;
    margin-top: 4px;
}

.logo-begamble .reg {
    font-size: 8px;
    margin-top: 1px;
    margin-left: 2px;
    color: #8899a6;
}

/* Стилизация GamCare */
.logo-gamcare {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
    /* Чтобы лейблы были слева */
}

.form-group label {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 17px;
    color: #4a4a4a;
}

.modal-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-style: Medium;
    font-size: 17px;
    text-align: center;
}

/* Адаптив для мобильных устройств (ширина экрана 768px и меньше) */
@media (max-width: 955px) {
    .steps-grid {
        display: flex;
        /* Выстраиваем карточки в один ряд */
        flex-wrap: nowrap;
        /* Запрещаем перенос карточек на новые строки */
        overflow-x: auto;
        /* Включаем горизонтальную прокрутку */
        gap: 16px;
        /* Расстояние между карточками (настройте по макету) */

        /* Внутренние отступы, чтобы первая карточка не прилипала к самому краю экрана */
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 20px;
        /* Отступ снизу для тени или просто визуала */

        /* Эффект слайдера: карточки будут "примагничиваться" при свайпе */
        scroll-snap-type: x mandatory;

        /* Плавная прокрутка для iOS */
        -webkit-overflow-scrolling: touch;

        /* --- Скрываем полосу прокрутки (скроллбар) для красоты --- */
        scrollbar-width: none;
        /* Для Firefox */
        -ms-overflow-style: none;
        /* Для IE и Edge */
    }

    /* Скрываем скроллбар для Chrome, Safari и Opera */
    .steps-grid::-webkit-scrollbar {
        display: none;
    }

    .step-card {
        /* 
           flex: 0 0 80% - делает ширину карточки 80% от экрана.
           За счет этого кусочек следующей карточки будет виден справа, 
           как на вашем скриншоте, подсказывая пользователю, что тут можно свайпать.
        */
        flex: 0 0 85%;
        max-width: 320px;
        /* Ограничение ширины карточки, чтобы она не была слишком большой */

        /* Точка примагничивания свайпа (к левому краю карточки) */
        scroll-snap-align: center;
        /* или 'start', если хотите выравнивание строго по левому краю */

        /* Убираем возможные margin, так как используем gap в родителе */
        margin: 0;
    }

    .quiz-container {
        width: auto;
        max-width: 926px;
        margin: 24px;
    }
}

@media (max-width: 1250px) {
    .hero-sec {
        margin: 0px 24px 0px 24px;
        width: auto;
        padding: 24px !important;
    }
}

@media (max-width: 600px) {

    .hero-sec h1 {
        font-size: 20px;
        line-height: 1;
        word-spacing: none;
    }

    .hero-cont {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    header {
        margin-bottom: 12px;
    }

    .btn-primary-hero {
        padding: 12px 5px;
        border: 1px solid #FFFFFF;
    }

    .info-content h2 {
        font-family: 'Poppins', sans-serif;
        font-weight: 900;
        font-size: 18px;
    }

    .substitute-green-box h2 {
        font-family: 'Poppins', sans-serif;
        font-weight: 900;
        font-style: Black;
        font-size: 14px;
    }

    .footer-links-row {
        display: grid;
        grid-template-columns: auto;
        gap: 32px;
    }

    .footer-bottom {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 24px;
        flex-direction: column;
    }
}


/* --- Основные стили секции --- */
.about-section {
    width: 100%;
    padding: 70px 24px;
    background-color: #EAEFEE;
}

.about-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Главный заголовок (ABOUT US) */
.about-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 36px;
    letter-spacing: 0%;
    text-transform: uppercase;
    text-align: center;
    color: #4F4943;
    margin-bottom: 50px;
}

/* --- Верхняя часть (Картинка и текст) --- */
.about-top {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.about-image {
    flex: 0 0 48%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
}

.about-text {
    flex: 1;
}

/* --- Тексты и списки (Roboto) --- */
.about-text p,
.about-text ul li,
.grid-content p,
.grid-content ul li {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 138%;
    letter-spacing: 0%;
    text-align: justify;
    color: #4F4943;
    margin: 0 0 15px 0;
}

/* --- Подзаголовки (Poppins) --- */
.about-text h2,
.grid-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #4F4943;
    margin: 25px 0 15px 0;
    text-align: left;
}

.about-text ul,
.grid-content ul {
    padding-left: 20px;
    margin-top: 10px;
}

.about-text ul li,
.grid-content ul li {
    margin-bottom: 6px;
}

/* --- Нижняя часть (Сетка с цифрами) --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    row-gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.grid-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

/* Крупные синие цифры */
.grid-num {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 44px;
    color: #172B85;
    line-height: 0.8;
    margin-top: 2px;
}

/* Убираем верхний отступ у заголовков внутри сетки */
.grid-content h2 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* =========================================
   АДАПТИВНОСТЬ (Мобильные устройства)
   ========================================= */
@media (max-width: 900px) {
    .about-section {
        padding: 40px 20px;
    }

    .about-top {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    .about-image {
        width: 100%;
        flex: auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        row-gap: 35px;
    }

    .about-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
}

/* --- Основной контейнер --- */
.contact-section {
    width: 100%;
    padding: 70px 24px;
    background-color: #EAEFEE;
    box-sizing: border-box;
}

.contact-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Заголовок */
.contact-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 36px;
    text-align: center;
    text-transform: uppercase;
    color: #4F4943;
    margin-top: 0;
    margin-bottom: 50px;
}

/* Обертка для картинки и формы */
.contact-wrapper {
    display: flex;
    gap: 24px;
    align-items: stretch;
    /* Чтобы блоки были одной высоты */
}

/* --- Левая часть (Картинка) --- */
.contact-image-wrapper {
    flex: 1;
    /* Занимает 50% пространства */
    border-radius: 20px;
    overflow: hidden;
}

.contact-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Правая часть (Форма) --- */
.contact-form-wrapper {
    flex: 1;
    /* Занимает оставшиеся 50% */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 15px;
}

/* Лейблы над инпутами */
.form-group label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: #4F4943;
    margin-bottom: 8px;
}

/* Инпуты и текстареа */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 15px;
    background-color: #F1F1F1;
    /* Светло-серый фон как на макете */
    border: 1px solid #D6D6D6;
    /* Тонкая серая рамка */
    border-radius: 10px;
    /* Скругление */
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #4F4943;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
    /* Разрешаем тянуть только вниз */
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #3B53A4;
    /* Синий цвет при клике на поле */
}

/* Кнопка SEND */
.contact-submit-btn {
    width: 100%;
    padding: 16px;
    margin-top: 10px;
    /* Градиент от синего к оранжево-коричневому как на макете */
    background: linear-gradient(90deg, #3B53A4 0%, #B45E3A 100%);
    border: none;
    border-radius: 30px;
    /* Сильное скругление (пилюля) */
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-submit-btn:hover {
    opacity: 0.85;
    /* Эффект при наведении */
}

/* Сообщение об успехе */
.contact-success-msg {
    margin-top: 20px;
    padding: 15px;
    background-color: #E2F0D9;
    color: #385723;
    border: 1px solid #C5E0B4;
    border-radius: 10px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
}

/* =========================================
   АДАПТИВНОСТЬ (Мобильные устройства)
   ========================================= */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
        /* Делаем колонку */
    }

    /* СКРЫВАЕМ КАРТИНКУ НА МОБИЛКАХ */
    .contact-image-wrapper {
        display: none;
    }

    .contact-title {
        font-size: 30px;
        margin-bottom: 30px;
    }
}





/* --- Основной контейнер --- */
.policy-section {
    width: 100%;
    padding: 40px 24px;
    background-color: #EAEFEE;
    box-sizing: border-box;
}

/* Главный заголовок H1 */
.policy-main-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 36px;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
    color: #4F4943;
    margin-top: 0;
    margin-bottom: 50px;
}

/* Подзаголовки H2 */
.policy-subtitle {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 20px;
    line-height: 20px;
    text-transform: uppercase;
    color: #4F4943;
    margin: 35px 0 15px 0;
}

/* Тексты параграфов */
.policy-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 138%;
    letter-spacing: 0%;
    text-align: justify;
    color: #4F4943;
    margin: 0 0 15px 0;
}

.policy-container {
    max-width: 1240px;
    /* Сделали чуть уже для комфортного чтения текста */
    margin: 0 auto;
}

/* Списки */
.policy-list {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.policy-list li {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 138%;
    letter-spacing: 0%;
    text-align: justify;
    color: #4F4943;
    margin-bottom: 6px;
}

/* =========================================
   АДАПТИВНОСТЬ (Мобильные устройства)
   ========================================= */
@media (max-width: 768px) {
    .policy-section {
        padding: 40px 15px;
    }

    .policy-main-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .policy-subtitle {
        font-size: 18px;
        margin: 25px 0 10px 0;
    }

    .policy-text,
    .policy-list li {
        font-size: 16px;
        /* Чуть уменьшаем текст на мобилках для лучшей читаемости */
        text-align: left;
        /* На телефонах justify иногда делает некрасивые пробелы */
    }
}


/* Настройки секции с игрой (правая колонка) */
.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%;
    }
}