/*
Theme Name: Lays
*/

.prizes-grid .prize-item:nth-child(2) .prize-title {
    font-size: 32px;
}

.prize-text {
    min-height: 40px;
}

@font-face {
    font-family: 'CoFo Sans';
    src: url('fonts/CoFo Sans 1.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoFo Sans';
    src: url('fonts/CoFo Sans 2.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoFo Sans';
    src: url('fonts/CoFo Sans 3.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoFo Sans';
    src: url('fonts/CoFo Sans 4.otf') format('opentype');
    font-weight: 400;
    /* Regular */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoFo Sans';
    src: url('fonts/CoFo Sans 5.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoFo Sans';
    src: url('fonts/CoFo Sans 6.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoFo Sans';
    src: url('fonts/CoFo Sans 7.otf') format('opentype');
    font-weight: 700;
    /* Bold */
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'CoFo Sans';
    src: url('fonts/CoFo Sans 8.otf') format('opentype');
    font-weight: 800;
    /* Extra Bold / Black */
    font-style: normal;
    font-display: swap;
}

/*reset*/
* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 14px;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-webkit-search-cancel-button,
input::-webkit-search-results-decoration {
    display: none;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: 400;
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 68px;
}

body {
    overflow-x: hidden;
}

.main-header {
    background: rgba(0, 31, 11);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo-wrap {
    position: relative;
    z-index: 101;
}
.main-header.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 31, 11, 1);
    /* Становится полностью непрозрачной */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding-top: 5px;
    /* Можно немного «ужать» шапку при скролле */
    padding-bottom: 5px;
}

.header-container {
    display: flex;
    padding: 10px 0;
    justify-content: space-between;
    align-items: center;
}


.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
    /* Расстояние между пунктами */
}

.nav-list li a {
    color: #FFF;
    font-family: "CoFo Sans";
    font-size: 21px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    /* 23.1px */
    text-transform: uppercase;
}

.nav-list li a:hover {
    color: #ffc20e;
    /* Желтый цвет при наведении */
}
.card-top {
  object-fit: cover;
    width: 100%;
    height: 40px;
    display: block;
    position: absolute;
    top: 10px;
    left: 0;
}
.card-bottom {
    object-fit: contain;
    width: 100%;
       height: auto;

    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
}
.header-socials {
    display: flex;
    gap: 15px;
    align-items: center;
}

@media (min-width: 768px) {
    .prizes-swiper .swiper-pagination {
        display: none;
    }
    .counter-card:after {
      content: '';
    background: url(assets/img/bg-counter-desc.png);
    display: block;
    background-size: 100% 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* border: 2px solid red; */
    z-index: -1;
}
.card-bottom, .card-top {
    display: none;
}

}


.main-promo {
    position: relative;
    /*background-color: #0d3d21;*/
    /* Зеленый фон правой части */
    overflow: hidden;
}

/* Создаем бордовый фон с изгибом через псевдоэлемент */
.hero {
    display: flex;
    min-height: 70vh;
    /* position: relative;*/
    align-items: center;
    z-index: 1;
}

#wpcf7-f5-o1 {
    position: relative;
    margin-bottom: 87px;
}

html {
    scroll-behavior: smooth;
    /* Укажите здесь высоту вашего хедера */
    scroll-padding-top: 90px; 
}

section[id] {
    scroll-margin-top: var(--header-height, 90px);
}

.hero::before {
    content: '';
    background: url(assets/img/form-top.png);
    height: 85%;
    display: block;
    width: 100%;
    background-size: contain;
    position: absolute;
    top: 0;
    left: -27vw;
    z-index: 0;
    background-repeat: no-repeat;
    transform: rotate(90deg);
}

/* Контент слева */
.hero-info {
    flex: 1;
    color: white;
    padding-bottom: 60px;
    position: relative;
}

.promo-logos {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.promo-title {
    color: #A81244;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #FCED8E;
    font-family: Raleway;
    font-size: 60px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    /* 66px */
    text-transform: lowercase;
    margin-bottom: 20px;
}

.promo-desc {
    color: #FFF79C;
    font-family: Raleway;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    margin-bottom: 20px;
}

/* Кнопка */
.btn-main {
    border-radius: 1000px;
    border: 6px solid rgba(236, 137, 44, 1);
    background: linear-gradient(185deg, #FDE500 0%, #EC892C 120%);
    display: flex;
    height: 66px;
    padding: 18px 52px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #76062F;
    text-align: center;
    font-family: Raleway;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 126%;
    /* 30.24px */
    letter-spacing: -0.24px;
    text-transform: uppercase;
    max-width: fit-content;
}

.btn-main:hover {
    transform: scale(1.05);
}

/* Изображение справа */
.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.main-image {
    max-width: 120%;
    z-index: 2;
}

.counter-section {
        margin-top: 0;
    position: relative;
    z-index: 1;
    margin-top: -30px;
}

.main-promo:after {
    content: "";
    background: rgba(255, 241, 229, 1);
    width: 100%;
    display: block;
    height: 95%;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

.counter-card {
    position: relative;
}
.counter-card:after {
      content: '';
    background: url(assets/img/bg-counter.png);
    display: block;
    background-size: 100% 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    /* border: 2px solid red; */
    z-index: -1;
}



.counter-content {
    padding: 13px 0 44px 0;
    text-align: center;
}

.counter-number {
    color: #A81244;
    leading-trim: both;
    text-edge: cap;
    -webkit-text-stroke-width: 8px;
    -webkit-text-stroke-color: #FCED8E;
    font-family: sans-serif;
    font-size: 200px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    /* 220px */
    text-transform: lowercase;
    margin-bottom: 30px;
}

.counter-text {
    color: #FFF;
    font-family: Raleway;
    font-size: 55px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    margin-bottom: 40px;
}

.btn-secondary {
    background: #f9b115;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
}

/*Призы*/

.prizes-section {
    background: rgba(255, 241, 229, 1);
    padding: 80px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    position: relative;
}

.prizes-main-title {
    color: rgba(193, 8, 75, 1);
    -webkit-text-stroke-width: 4px;
    -webkit-text-stroke-color: #FFBDBD;
    font-family: Raleway;
    font-size: 80px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    /* 88px */
    text-transform: uppercase;
    margin-bottom: 48px;
}

.prizes-grid {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* Выравниваем по низу */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.prize-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 320px;
}

/* Стилизация визуальной части (подарок на подиуме) */
.prize-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    /* Даем пространство для свечения вокруг картинки */
}

.prizes-section::before,
.prizes-section::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.5;
    pointer-events: none;
}

/* Свечение СЛЕВА СВЕРХУ */
.prizes-section::before {
    top: -100px;
    left: -150px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Свечение СПРАВА СНИЗУ */
.prizes-section::after {
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(216, 77, 109, 0.6) 0%, rgba(255, 255, 255, 0) 70%);
}

.prize-img {
    position: relative;
    z-index: 2;
    /* Картинка всегда выше свечения */
    max-width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    /* Легкая тень самой коробке */
}

/* Текстовые стили */
.prize-title {
    color: #960937;
    text-align: center;
    -webkit-text-stroke-width: 0px;
    -webkit-text-stroke-color: #FEE2DF;
    font-family: Raleway;
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    /* 24.2px */
    text-transform: uppercase;
    margin-bottom: 8px;
}

.prize-text {
    color: #000;
    text-align: center;
    font-family: 'Raleway';
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
}

/* Увеличение центральной карточки */
.main-prize .prize-img {
    margin-bottom: 10px;
}

/* Футер блока */
.rules-text {
    color: #000;
    text-align: center;
    font-family: "CoFo Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    margin-bottom: 20px;
}

.rules-text a {
    color: #444;
    text-decoration: underline;
}

.prizes-footer .btn-main {
    /* Используем тот же стиль кнопки, что и в Hero-блоке */
    background: linear-gradient(180deg, #ffca00 0%, #f1a900 100%);
    border: none;
    padding: 15px 60px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}




/*Form*/
.form-section {
    background: #FFF1E5;
    position: relative;

}
.wpcf7 {
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    background-image: url(assets/img/bg-form2.png);
    background-size: 100% 100%;
    padding: 80px;
    color: #fff;
    text-align: center;
    position: relative;
    height: 100%;
}
.lays-form {
    max-width: 820px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
}

.stories-section:before {
       content: '';
    background: url(assets/img/form-top.png);
    height: 115%;
    display: block;
    width: 100%;
    background-size: cover;
    position: absolute;
    top: 10%;
    left: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center;
}
.stories-slider {
    position: relative;
    padding-bottom: 70px;
}
/*.stories-slider:after {
   content: '';
    background-image: url(./assets/img/bg-history2.png);
    padding: 60px 0 180px;
    overflow: hidden;
    display: flex;
    background-size: cover;
    z-index: 1;
    position: absolute;
    height: 110%;
    width: 100%;
    top: 0;
}*/
form {
    position: relative;
    z-index: 2;
        padding: 0 10px;

}


/*
.lays-form::after {
    content: '';
    position: absolute;
    background-image: url(assets/img/bird.png);
    top: 30px;
    right: -100px;
    font-size: 40px;
    transform: rotate(353deg);
    width: 260px;
    height: 290px;
}*/

/* HEADER */
.lays-header img {
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px;
}

.lays-form:before {
    content: '';
    background: url(assets/img/bird.png);
    position: absolute;
    top: -100px;
    right: -120px;
    width: 262px;
    height: 290px;
    background-size: 262px 290px;
    display: block;
    background-repeat: no-repeat;

}

.form__title {
    color: #C1084B;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #FCED8E;
    font-family: Raleway;
    font-size: 65px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    /* 88px */
    text-transform: uppercase;
}

.form__description {
    color: #FFF79C;
    text-align: center;
    font-family: Raleway;
    font-size: 21px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    /* 23.1px */
    margin-bottom: 34px;
}


/* STEPS */
.lays-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.step-label {
    color: rgba(255, 247, 156, 0.50);
    text-align: center;
    font-family: Raleway;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    /* 44px */
    text-transform: lowercase;
}

.step-label.active {
    color: #C1084B;
    text-align: center;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FCED8E;
    font-family: Raleway;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    /* 44px */
    text-transform: lowercase;
}

.lays-steps .line {
    width: 29px;
    height: 1px;
    background: #FFF;
}

/* FIELDS */
.lays-field {
    text-align: left;
    margin-bottom: 20px;
}

.lays-field label {
    display: block;
    margin-bottom: 4px;
    color: #FFF;
    font-family: Raleway;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
}

.lays-field label span {
    color: #FF7663;
    font-family: "CoFo Sans Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 450;
    line-height: 150%;
}

/* Стилизация всех полей ввода */
.lays-form input[type="text"],
.lays-form input[type="tel"],
.lays-form textarea,
.lays-form select {
    width: 100%;
    padding: 15px 20px;
    border-radius: 15px;
    border: none;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    box-sizing: border-box;
}

.lays-form textarea {
    height: 100px;
    resize: none;
}

.lays-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333'%3E%3Cpath d='M6 9L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

/* SUBMIT BUTTON */
.lays-submit {
    margin-top: 30px;
    margin-inline: auto;
}

.next-step {
    margin-inline: auto;
}

/* CHECKBOXES */
.lays-checkboxes .wpcf7-list-item {
    display: block;
    margin-left: 0 !important;
    margin-bottom: 12px;
}

/* Основной лейбл */
.lays-checkboxes .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    /* Выравниваем по верхней границе */
    cursor: pointer;
    font-size: 13px;
    line-height: 1.4;
    /* Установим четкий line-height для предсказуемости */
    color: #fff;
    position: relative;
    text-align: left;
}

/* Обертка текста (нужна для позиционирования псевдоэлементов) */
.lays-checkboxes .wpcf7-list-item-label {
    display: block;
    position: relative;
    padding-left: 34px;
    /* Освобождаем место под чекбокс слева */
    color: #FFF;
    font-family: Raleway;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

/* Белый квадрат (фон) */
.lays-checkboxes .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    /* Центрируем относительно первой строки текста:
       (line-height 1.4 * font-size 13px = 18.2px). 
       Чекбокс 22px, значит (22 - 18.2) / 2 = ~2px отступа сверху. */
    top: -2px;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 6px;
    transition: all 0.2s ease;
}

/* Желтый индикатор (внутри) */
.lays-checkboxes .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 2px;
    width: 14px;
    height: 14px;
    background-color: #c1084b;
    border-radius: 4px;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.2s ease;
    z-index: 2;
}

/* Состояние при клике */
.lays-checkboxes input[type="checkbox"]:checked+.wpcf7-list-item-label::after {
    opacity: 1;
    transform: scale(1);
}

/* Скрываем стандартный инпут */
.lays-checkboxes input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

/* Скрываем элементы по умолчанию для логики шагов */
.lays-step {
    display: none;
    font-family: Raleway;
}

.lays-step.active {
    display: block;
}


/*stories*/

.stories-section {
    position: relative;
    /*background-image: url(./assets/img/bg-history2.png);*/
    padding: 60px 0 70px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-size: cover;
    background: #FFF1E5;
}

.stories-title {
    color: #C1084B;
    -webkit-text-stroke-width: 6px;
    -webkit-text-stroke-color: #FCED8E;
    font-family: Raleway;
    font-size: 80px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    text-transform: uppercase;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 70px;
}


.slider__wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.swiper-btn-prev,
.swiper-btn-next {
    position: relative;
    z-index: 2;
}

.story-card {
    background-color: #fcf5e5;
    /* Кремовый фон карточки */
    border-radius: 30px;
    padding: 40px 30px;
    min-height: 350px;
    gap: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.story-card h3 {
    color: #000;
    text-align: center;
    font-family: Raleway;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
}

.story-card p {
    color: #000;
    text-align: center;
    font-family: Raleway;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    /* 19.8px */
    text-transform: lowercase;
}

/* Стилизация стрелок Swiper */
.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 30px;
    font-weight: bold;
}

/* На мобилках показываем по 1 слайду */
@media (max-width: 768px) {
    .stories-title {
        font-size: 40px;
    }
.step-label {
    font-size: 28px !important;
}
    .green-bg-line {
        height: 120px;
    }

    .prize-item {
        flex: none;
        max-width: none;
        margin-bottom: 0;
    }

    .prizes-grid {
        justify-content: flex-start;
        gap: 0;
        margin-bottom: 0;
    }
}


/*video*/

.play-btn {
    background: transparent;
}

.video-section {
    background: #FEE2DF;
    padding-bottom: 84px;
    margin-top: -60px;
}
.refresh-container {
    position: relative;
    z-index: 2;
}
.video-container {
    margin: 0 auto;
       margin-top: 20px;
    position: relative;
z-index: 2;
    width: 100%;
    max-width: 1400px;
    aspect-ratio: 16 / 9;
    background-size: contain !important;
    background-position: center;
    border-radius: 24px;
    overflow: hidden;
    border-radius: 35.266px;
    border: 8.517px solid #F7C6C0;
    background: #370B27;
    box-shadow: 0 11.255px 24.639px 0 rgba(55, 11, 39, 0.10);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(55, 11, 39, 0.70);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    cursor: pointer;
}


footer {
    background: rgb(0, 31, 11);
    padding: 30px 0;
}

.footer__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

footer p {
    color: #FFF;
    text-align: center;
    font-family: "CoFo Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 450;
    line-height: 110%;
    /* 13.2px */
    text-transform: uppercase;
}


.burger-btn {
    background: transparent;
}

.prizes-swiper {
    padding-bottom: 50px !important;
    /* Отступ под точки пагинации */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.prize-item {
    height: auto;
    /* Чтобы карточки были одной высоты */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Стилизация точек пагинации */
.prizes-swiper .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background: #fff;
    opacity: 1;
    transition: all 0.3s ease;
    border: 1px solid #fde500;
}

.prizes-swiper .swiper-pagination-bullet-active {
    background: #f7b500;
    /* Желтый цвет как на логотипе */
    opacity: 1;
    transform: scale(1.2);
}

/* На десктопе убираем точки, если их всего 3 и они не помещаются/не нужны */
@media (min-width: 992px) {

    .prizes-swiper .swiper-pagination,
    .burger-btn {
        display: none;
    }
    .counter-card:after {
      content: '';
    background: url(assets/img/bg-counter-desc.png);
    display: block;
    background-size: 100% 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* border: 2px solid red; */
    z-index: -1;
}

}


.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}


/* Адаптив для мобильных */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .stories-title {
        margin-bottom: 22px;
        -webkit-text-stroke-width: 2px;
    }

    .prizes-main-title {
        font-size: 56px;
    }

    .prizes-grid {
        gap: 0;
        margin-bottom: 27px;
    }

    .prizes-swiper {
        padding-bottom: 0px !important;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(assets/img/hero-bg-top.png);
        /* border-radius: 0 0 100% 0 / 0 0 75% 0; */
        z-index: 0;
        background-repeat: no-repeat;
        background-size: cover;
        max-width: 100%;
        transform: none;

    }

    .hero {
        flex-direction: column;
        align-items: center;
    }

    .counter-content {
        padding-bottom: 11px;
        padding-top: 0;
    }

    .hero-info {
        padding-bottom: 0;
    }


    .counter-card {
        padding: 10px;
    }

    .counter-number {
        font-size: 130px;
    }

    .counter-text {
        font-size: 40px;
    }

    .container {
        padding: 0 15px;
    }

    .p-tablet {
        padding: 0 !important;
    }

    .prize-visual {
        padding: 16px;
    }

    .promo-desc {
        text-align: center;
    }

    .hero-info {
        padding-top: 11px;
    }

    .promo-title {
        text-align: center;
    }

    .action-btn {
        margin-inline: auto;
    }

    .promo-logos {
        justify-content: center;
    }

    .prize-item {
        margin-bottom: 10px;
    }
}


@media (max-width: 992px) {
   .burger-btn {
    /* Используем размеры из вашего исходного SVG */
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    /* Важно для позиционирования линий внутри */
    position: relative;
    z-index: 101;
    /* Центрируем содержимое */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Общие стили для линий */
.burger-btn span {
    position: absolute;
    /* Ширина линии примерно как в вашем SVG */
    width: 32px; 
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

/* Позиция линий в закрытом состоянии (бургер) */
/* Верхняя линия */
.burger-btn span:nth-child(1) {
    transform: translateY(-10px);
}
/* Средняя линия */
.burger-btn span:nth-child(2) {
    transform: translateY(0);
    opacity: 1;
}
/* Нижняя линия */
.burger-btn span:nth-child(3) {
    transform: translateY(10px);
}

/* --- Состояние ОТКРЫТОГО меню (Крестик) --- */
/* Используем ваш существующий класс на body */

/* Верхняя линия поворачивается на 45 град */
body.menu-open .burger-btn span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}

/* Средняя линия исчезает и сдвигается вбок */
body.menu-open .burger-btn span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

/* Нижняя линия поворачивается на -45 град */
body.menu-open .burger-btn span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}
    /* Скрываем навигацию в обычном потоке на мобилках */
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: #8b002a;
        /* Твой фирменный бордовый */
        background-size: 5px 5px;
        z-index: 100;

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

        /* Начальное состояние — вынесено за экран справа */
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    }

    /* Состояние когда меню открыто */
    body.menu-open .main-nav {
        transform: translateX(0);
    }

    /* Список ссылок вертикально */
    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0;
        list-style: none;
    }

    .nav-list li a {
        font-family: 'Raleway', sans-serif;
        font-size: 32px;
        font-weight: 900;
        color: #fdf130;
        /* Желтый */
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 2px;
        transition: color 0.3s ease;
        /* Обводка текста как в логотипе/заголовках */
        text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
    }

    .nav-list li a:hover {
        color: #fff;
    }

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



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

    .form__title {
        font-size: 28px;
        margin-bottom: 15px;
    }
        .wpcf7 {
        padding: 50px;
    }
    .stories-section:before {
    content: '';
    background: url(assets/img/union-2.png);
    height: 100%;
    display: block;
    width: 100%;
    background-size: cover;
    position: absolute;
    top: 5%;
    left: 0;
    z-index: 0;
    background-repeat: no-repeat;
    background-position: center;
}

.counter-card {
    position: relative;
}
    .lays-form:before {
        content: '';
        background: url(assets/img/bird.png);
        position: absolute;
        top: -55px;
        right: -67px;
        width: 180px;
        height: 200px;
        background-size: 180px 200px;
        display: block;
        background-repeat: no-repeat;
    }

    .lays-field label {
        font-size: 12px;
    }
.lays-field label span {
      font-size: 12px;
}
    .video-section {
        padding-bottom: 32px;
    }

    .form__description {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .prizes-main-title {
        font-size: 32px;
        margin-bottom: 0;
        -webkit-text-stroke-width: 1px;
    }


    .counter-card {
        border-radius: 30px;
        text-align: center;
        background-repeat: no-repeat;
        width: 100%;
        background-size: 100% 113%;
        max-width: 100%;
        position: relative;
        min-height: 300px;
        padding-top: 60px;
        padding-bottom: 50px;
    }
    .counter-section .btn-main {
    border-radius: 1000px;
    border: 6px solid rgba(236, 137, 44, 1);
    background: linear-gradient(185deg, #FDE500 0%, #EC892C 120%);
    display: flex;
    height: 40px;
    padding: 18px 52px;
    height: 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #76062F;
    text-align: center;
    font-family: Raleway;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 126%;
    letter-spacing: -0.24px;
    text-transform: uppercase;
    max-width: fit-content;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(assets/img/hero-bg-top2.png);
        /* border-radius: 0 0 100% 0 / 0 0 75% 0; */
        z-index: 0;
        background-repeat: no-repeat;
        background-size: 66vh;
        max-width: 100%;

    }

    .counter-number {
        font-size: 65px;
        margin-bottom: 15px;
        -webkit-text-stroke-width: 4px;

    }

    .counter-text {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .promo-title {
        font-size: 31px;
    }

    .promo-desc {
        font-size: 16px;
    }

    .btn-main {
        font-size: 16px;
    }
}

/* На десктопе возвращаем как было */
@media (min-width: 992px) {
    .nav-list {
        display: flex;
        gap: 20px;
    }

}

.story-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    align-items: center;
    /* Центр по Y */
    justify-content: center;
    /* Центр по X */
}

.story-popup.is-active {
    display: flex;
}

.story-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

/* Контейнер для картинки и кнопки */
.story-popup__content {
    position: relative;
    z-index: 1001;
    width: 90%;
    max-width: 500px;
    line-height: 0;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;

}
.story-popup__content picture {
    position: relative;
}
.story-popup__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    /* Скругление, если нужно */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

/* Кнопка закрытия ПОВЕРХ картинки */
.story-popup__close {
    position: absolute;
    top: 3%;
    /* Отступ от верхнего края картинки */
    right: 15px;
    /* Отступ от правого края картинки */
    background: rgba(0, 0, 0, 0.3);
    /* Полупрозрачный фон для видимости */
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    z-index: 1002;
}

.story-popup__close:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: rotate(90deg);
}

.story-popup__close svg {
    width: 20px;
    height: 20px;
}

/* На мобилках можно сделать еще чуть меньше */
@media (max-width: 767px) {
    .story-popup__content {
        max-width: 320px;
    }

    .story-popup__close {
      top: 16px;
        right: 16px;
        width: 30px;
        height: 30px;
    }

    .prizes-main-title {
        margin-bottom: 0;
    }

    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        background: #fff;
        /* Цвет внутри буллита */
        border: 2px solid transparent;
        /* Резервируем место под рамку */

        /* Магия градиентной рамки */
        background-image: linear-gradient(#fff, #fff),
            linear-gradient(to right, #FDE500, #EC892C);
        background-origin: border-box;
        background-clip: padding-box, border-box;

        opacity: 1;
        /* Убираем дефолтную прозрачность Swiper */
        transition: all 0.3s ease;
    }

    /* Стили для активного буллита */
    .swiper-pagination-bullet-active {
        /* При активации заполняем весь буллит градиентом */
        background: linear-gradient(to right, #FDE500, #EC892C);
        border: 2px solid transparent;
        transform: scale(1.2);
        /* Немного увеличим для акцента */
    }
}






.stories-section {
    position: relative;
    overflow-x: hidden;
    /* Защита от горизонтального скролла */
}

.slider-full-area {
    position: relative;
    padding: 40px 0;
    /* Отступы сверху/снизу для карточек */
    display: flex;
    align-items: center;
}

.green-bg-line {
    position: absolute;
    top: 50%;
    left: -50%;
    width: 500vw;
    height: 188px;
    background: #01450F;
    border-top: 4px solid #FFE9EE;
    border-bottom: 4px solid #FFE9EE;
    transform: translateY(-50%);
    z-index: 1;
}

.slider-main-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    /* Все элементы (кнопки и слайдер) по центру полосы */
    gap: 20px;
}

.mySwiper {
    flex: 1;
    min-width: 0;
    /* Это заставляет flex-элемент сжиматься корректно */
    width: 100%;
    overflow: hidden;
}

.container-full-size {
    width: 100vw !important;
}

/* Кнопки привязаны к флекс-контейнеру, не прыгают */
.swiper-btn-prev,
.swiper-btn-next {
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s;
    z-index: 10;
}

.swiper-btn-prev:hover {
    transform: scale(1.1);
}

.swiper-btn-next:hover {
    transform: scale(1.1);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .green-bg-line {
        height: 140px;
        /* Уменьшаем полосу на мобилках */
    }
    .lays-form:before {
    display: none;
}
    .prizes-grid {
        align-items: baseline;
    }
    .prizes-grid .prize-item:nth-child(2) {
        order: 1;
    }
    .prizes-grid .prize-item:nth-child(1) {
        order: 2;
    }
     .prizes-grid .prize-item:nth-child(3) {
        order: 3;
    }
    .logo__footer {
    order: 1;
}
.header-socials {
    order: 2;
}
footer p {
    order: 3;
}
.stories-section {
    padding-bottom: 0;
}
    .slider-main-row {
        gap: 10px;
    }
}


.error-field {
    border: 2px solid #ff4d4d !important;
    background-color: #fff1f1 !important;
}

.lays-submit-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* Кнопка "Назад" - сделаем её менее яркой */
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 15px 30px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: #f7b500;
    color: #f7b500;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 5;
    animation: fadeInVideo 0.6s ease-in-out;
}

@keyframes fadeInVideo {
    from { opacity: 0; }
    to { opacity: 1; }
}