* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: #F2EFEF;
    color: #383838;
}

.wrapper {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    position: relative;
    background-color: #F2EFEF;
    overflow-x: hidden;
}

/* Десктоп хедер */
.desktop-header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 96px;
    padding-top: 40px;
}

.nav-link {
    position: relative; /* Для позиционирования псевдоэлемента */
    font-family: "Nunito Sans", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 20px; /* Внутренние отступы для области клика и фона */
    z-index: 1; /* Чтобы текст был поверх фона */
    transition: color 0.3s ease; /* Плавное изменение цвета текста (опционально) */
}

/* Белый прямоугольник */
.nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    border-radius: 8px; /* Скругление углов (можно убрать или изменить) */
    z-index: -1; /* Помещаем фон под текст */
    transform: scaleX(0.8); /* Начальный размер - уже */
    opacity: 0;
    transition: all 0.3s ease; /* Плавная анимация */
}

/* Эффект при наведении */
.nav-link:hover::before {
    transform: scaleX(1.1); /* Расширяем прямоугольник на 10% шире текста */
    opacity: 1;
}

/* Опционально - меняем цвет текста при наведении для лучшего контраста */
.nav-link:hover {
    color: #000000;
}

.registration-link {
    width: 124px;
    height: 22px;
    background: #FFFFFF;
    color: #C00A26;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 0;
}

.header-line {
    position: absolute;
    width: 100vw;
    height: 0px;
    left: 2px;
    top: 101.5px;
    border: 3px solid #FFFFFF;
}


/* Мобильный хедер */
.mobile-header {
    display: none;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 16px 0;
}

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

.mobile-logo {
    font-weight: 800;
    font-size: 15px;
    line-height: 20px;
    text-transform: uppercase;
    color: #FFFFFF;
}

.burger-menu {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger-menu span {
    width: 22px;
    height: 2px;
    background-color: #FFFFFF;
}

.mobile-header-line {
    width: 100%;
    height: px;
    background-color: #FFFFFF;
    margin-top: 16px;
}

/* Бургер оверлей */
.burger-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.burger-menu-container {
    position: absolute;
    width: 100%;
    max-width: 390px;
    height: 345px;
    left: 0;
    top: 0;
    background: #FFFFFF;
}

.burger-close {
    position: absolute;
    width: 23.26px;
    height: 23.26px;
    right: 16px;
    top: 16px;
    transform: rotate(-45deg);
    cursor: pointer;
}

.burger-close span {
    position: absolute;
    width: 23.26px;
    height: 2px;
    background-color: #C00A26;
}

.burger-close span:first-child {
    transform: rotate(-45deg);
}

.burger-close span:last-child {
    transform: rotate(45deg);
}

.burger-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 41px;
    padding-top: 81px;
}

.burger-nav-link {
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    text-align: center;
    color: #383838;
    text-decoration: none;
}

/* Hero секция */
.hero {
    position: relative;
    width: 100%;
    height: 1079px;
    background: #C00A26;
    overflow: hidden;
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    position: absolute;
    top: 218px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-logo {
    width: 253px;
    height: 240px;
}

.hero-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 488px;          /* ← Это для десктопа */
    font-weight: 800;
    text-align: center;
    color: #FFFFFF;
}

.hero-subtitle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 640px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
}

.hero-description {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 747px;
    font-weight: 400;
    text-align: center;
    text-transform: none;
    color: #FFFFFF;
}

.hero-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 622px;
    border: 3px solid #FFFFFF;
}

.hero-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 870px;
    /* background: #FFFFFF; *//* Убираем фон отсюда, перенесем его на ссылку */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили для самой кнопки-ссылки */
.hero-button .btn-primary {
    background: #FFFFFF; /* Переносим белый фон сюда */
    display: inline-block; /* Нужно для корректного применения padding */

    /* ГЛАВНОЕ: Добавляем внутренние отступы */
    /* По вертикали: 15px, По горизонтали: 30px - значения подбери на свой вкус */
    padding: 15px 30px;

    text-align: center; /* Выравнивание текста по центру */
    text-decoration: none; /* Убираем подчеркивание */
    color: #383838; 
}

.btn-primary {
    font-weight: 800;
    text-align: center;
    color: #383838;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Дата секция */
.date-section {
    margin-top: 200px;
    text-align: center;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.date-text {
    font-weight: 800;
    font-size: 32px;
    line-height: 44px;
    text-transform: lowercase;
    color: #C00A26;
}

.section-title {
    margin-top: 40px;
    font-weight: 800;
    font-size: 55px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    color: #383838;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.title-line {
    width: 500px;
    height: 0;
    margin: 10px auto 0; /* Уменьшено с 24px для приближения к заголовку */
    border: 1px solid #C00A26; /* Уменьшено с 3px до 1px */
}

.red-line {
    border-color: #C00A26;
}

.section-subtitle {
    max-width: 645px;
    margin: 20px auto 0;
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
    text-transform: lowercase;
    color: #383838;
    padding: 0 20px;
    white-space: nowrap;

}

.section-subtitle:first-letter {
    text-transform: uppercase;
}

.section-subtitle-small {
    font-weight: 400;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
    color: #383838;
    margin-top: 27px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Карточки недель */
.weeks-grid {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 68px;
    padding: 0 20px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.week-card {
    width: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.week-label {
    width: 242px;
    height: 61px;
    background: #C00A26;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: -31px;
    position: relative;
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
}

.card-content {
    width: 350px;
    height: 256px;
    background: #FFFFFF;
    padding-top: 31px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-title {
    font-weight: 800;
    font-size: 23px;
    line-height: 31px;
    text-align: center;
    color: #C00A26;
    margin-top: 35px;
    max-width: 294px;
}

.card-text {
    max-width: 301px;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    text-align: center;
    color: #383838;
    margin-top: 18px;
}

/* Как это работает */
.section-title-small {
    font-weight: 800;
    font-size: 32px;
    line-height: 44px;
    text-align: center;
    text-transform: uppercase;
    color: #383838;
    margin-top: 150px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.works-line {
    width: 100vw;
    max-width: none;
    height: 0;
    margin-top: 66px;
    border: 2px solid #C00A26;
    margin-left: calc(-50vw + 50%);
    position: relative;
    z-index: 1;
}

.works-grid {
    display: flex;
    justify-content: center;
    gap: 179px;
    margin-top: -15px; /* ПРОСТОЕ РЕШЕНИЕ: поднимаем сетку на половину квадрата */
    padding: 0 20px;
    margin-bottom: 50px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.work-item {
    position: relative;
    max-width: 291px;
}

.work-marker {
    width: 24px;
    height: 24px;
    background: #C00A26;
    margin-bottom: 17px;
}

.work-title {
    font-weight: 800;
    font-size: 22px;
    line-height: 30px;
    color: #383838;
    margin-bottom: 9px;
}

.work-text {
    font-weight: 400;
    font-size: 19px;
    line-height: 26px;
    color: #383838;
}
/* Участвовать секция */
.participate-section {
    margin-top: 150px;
    background: #FFFFFF;
    max-width: 1311px;
    margin-left: auto;
    margin-right: auto;
    padding: 54px 20px 83px;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 60px auto 0;
    flex-wrap: wrap;
    gap: 60px;
    max-width: 1200px;
    padding: 0 20px;
}

.step-item {
    width: 300px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-text {
    font-weight: 800;
    font-size: 22px;
    line-height: 30px;
    text-align: center;
    color: #383838;
    margin: 27px 0 17px;
    white-space: nowrap;
    width: 100%;
}

/* Сдвигаем первый заголовок левее */
.step-item:first-child .step-text {
    margin-left: -170px; /* Сдвиг влево */
    text-align: left; /* Выравнивание по левому краю */
    padding-left: 30px; /* Компенсация для текста */
    width: auto; /* Автоширина вместо 100% */
    max-width: 100%;
}

.step-description {
    font-weight: 400;
    font-size: 19px;
    line-height: 26px;
    text-align: center;
    color: #383838;
    white-space: nowrap;
    width: 100%;
    margin: 0;
}
.mobile-scroll-indicator {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #C00A26;
    opacity: 0.3;
}

.dot.active {
    opacity: 1;
}

/* F.A.Q. секция */
.faq-section {
    margin-top: 208px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.faq-container {
    max-width: 1311px;
    margin: 43px auto 0;
}

.faq-item {
    width: 100%;
    background: #FFFFFF;
    margin-bottom: 17px;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 34px 0 34px 39px;
    font-weight: 800;
    font-size: 22px;
    line-height: 30px;
    color: #383838;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-plus {
    width: 32px;
    height: 32px;
    background: #C00A26;
    position: relative;
    margin-right: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
    content: '';
    position: absolute;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.faq-plus::before {
    width: 20px;
    height: 2px;
    top: 15px;
    left: 6px;
}

.faq-plus::after {
    width: 2px;
    height: 20px;
    top: 6px;
    left: 15px;
}

.faq-item.active {
    background: #C00A26;
}

.faq-item.active .faq-question {
    color: #FFFFFF;
}

.faq-item.active .faq-plus {
    background: #FFFFFF;
}

.faq-item.active .faq-plus::before,
.faq-item.active .faq-plus::after {
    background-color: #C00A26;
}

.faq-item.active .faq-plus::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item-special {
    background: #FFFFFF;
}

.faq-item-special .faq-question {
    color: #383838;
}

.faq-item-special .faq-plus {
    background: #C00A26;
}

.faq-item-special .faq-plus::before,
.faq-item-special .faq-plus::after {
    background-color: #FFFFFF;
}

.faq-item-special .faq-answer {
    color: #FFFFFF;
    background: #C00A26;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 39px;
    font-weight: 400;
    font-size: 20px;
    line-height: 27px;
    color: #383838;
    transition: all 0.3s ease;
    background: #FFFFFF;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 39px 34px 39px;
}

/* CTA секция */
.cta-section {
    background: #C00A26;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 350px 20px 300px 20px;
    box-sizing: border-box;
    margin: 0;
}

.cta-line {
    width: 100%;
    max-width: 1200px;
    height: 0;
    margin: 25px 0 25px 0; /* Возвращаем нормальные отступы */
    border: 2px solid #FFFFFF;
}

.cta-title {
    font-weight: 800;
    font-size: 96px;
    line-height: 1.1;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
    padding: 0;
    width: 100%;
    letter-spacing: normal;
    margin: 100px 0 0 0;
}


.cta-subtitle {
    font-weight: 800;
    font-size: 42px;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    /* Уменьшаем нижний отступ (был 35px) */
    margin: 0 0 20px 0; /* Оставляем верх 0, меняем низ на 20px */
    padding: 0;
    width: 100%;
    white-space: nowrap;
    letter-spacing: normal;
    text-indent: -50px; /* Это значение лучше проверить на мобильных */
}

.cta-button {
    width: 565px;
    height: 115px;
    background: #FFFFFF;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-btn {
    color: #383838;
}

/* Footer */
.footer {
    background: #C00A26;
    padding: 50px 0 50px;
    width: 100%;
}

.footer-line {
    width: 100%;
    height: 5px;
    background-color: #FFFFFF;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 47px 0;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    color: #FFFFFF;
    max-width: 1440px;
    margin: 0 auto;
}

.footer-date {
    max-width: 441px;
}

.footer-copyright {
    max-width: 261px;
    text-align: center;
    font-size: 20px;
}

.footer-support {
    max-width: 520px;
    text-align: right;
}

.footer-link {
    color: #FFFFFF;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* ========== ДЕСКТОПНАЯ АДАПТАЦИЯ ========== */
@media screen and (min-width: 1200px) {
    .hero-title {
        width: min(801px, 90%);
        font-size: clamp(48px, 6vw, 96px);
        line-height: 1.2;
    }

    .hero-subtitle {
        width: min(943px, 90%);
        font-size: clamp(28px, 3vw, 42px);
        line-height: 1.3;
    }

    .hero-description {
        width: min(651px, 80%);
        font-size: clamp(16px, 1.5vw, 20px);
    }

    .hero-line {
        width: min(754px, 70%);
    }
    .hero-button {
        width: min(565px, 80%);
    }

    /* Чтобы ширина ссылки была равна ширине родителя, но с учетом padding */
    .hero-button .btn-primary {
        width: 100%; /* Ссылка занимает всю ширину .hero-button */
    }

    .btn-primary {
        width: min(457px, 90%);
        font-size: clamp(24px, 2.5vw, 32px);
    }

    .weeks-grid {
        gap: min(26px, 2%);
        flex-wrap: nowrap; /* Запрещаем перенос на новую строку */

    }

    .week-card {
        width: min(350px, 100%);
        flex: 0 1 350px;
    }

    .works-grid {
        gap: min(179px, 5%);
    }

    .work-item {
        flex: 0 1 291px;
    }

    .faq-container {
        max-width: min(1311px, 90%);
    }

    .faq-question {
        font-size: clamp(18px, 1.5vw, 22px);
    }

    .cta-line {
        width: min(784px, 80%);
        margin-top: 60px; /* Уменьшил для десктопа */
    }
    
    .cta-title {
        font-size: clamp(48px, 6vw, 96px);
        line-height: 1.2;
        max-width: min(1440px, 90%);
        margin-top: 30px; /* Добавил отступ для десктопа */
    }
    
    .cta-subtitle {
        font-size: clamp(28px, 3vw, 42px);
        line-height: 1.3;
        max-width: min(943px, 90%);
        margin-top: 20px; /* Добавил отступ для десктопа */
    }
    
    .cta-button {
        width: min(565px, 80%);
        margin-top: 30px; /* Добавил отступ для десктопа */
    }
}

/* Для средних экранов */
@media screen and (max-width: 1199px) and (min-width: 769px) {
    .hero {
        height: 900px;
    }

    .hero-title {
        font-size: 72px;
        width: min(700px, 90%);
        top: 400px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 32px;
        width: min(700px, 90%);
        top: 520px;
        line-height: 1.3;
    }

    .hero-description {
        width: min(600px, 80%);
        top: 620px;
        font-size: 18px;
    }

    .hero-line {
        width: min(600px, 70%);
        top: 502px;
    }

    .hero-button {
        width: min(500px, 80%);
        height: 100px;
        top: 720px;
    }

    .btn-primary {
        width: min(400px, 90%);
        font-size: 28px;
    }

    .logo-container {
        top: 180px;
    }

    .hero-logo {
        width: 200px;
        height: 190px;
    }

    .weeks-grid {
        gap: 20px;
        flex-wrap: nowrap;
    }

    .week-card {
        width: 300px;
    }

    .card-content {
        width: 300px;
    }

    .works-grid {
        gap: 50px;
    }

    .participate-section {
        max-width: 900px;
    }

    .faq-container {
        max-width: 900px;
    }

    .faq-question {
        font-size: 18px;
        padding: 25px 0 25px 30px;
    }

    .faq-plus {
        margin-right: 30px;
    }

    .cta-section {
        height: 800px;
        margin-top: 300px;
    }

    .cta-line {
        width: min(600px, 80%);
        margin-top: 150px;
    }

    .cta-title {
        font-size: 72px;
        line-height: 1.2;
        margin-top: 80px;
    }

    .cta-subtitle {
        font-size: 32px;
        line-height: 1.3;
        margin-top: 30px;
    }

    .cta-button {
        width: min(500px, 80%);
        height: 100px;
        margin-top: 100px;
    }

    .footer-content {
        padding: 40px 30px 0;
        font-size: 16px;
    }
}

/* Для очень больших экранов */
@media screen and (min-width: 1920px) {
    .hero-content {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 120px;
        width: min(1000px, 90%);
    }
    
    .hero-subtitle {
        font-size: 52px;
        width: min(1100px, 90%);
    }

    .hero-description {
        font-size: 24px;
        width: min(800px, 80%);
    }

    .cta-title {
        font-size: 120px;
    }

    .cta-subtitle {
        font-size: 52px;
    }

    .weeks-grid {
        max-width: 1800px;
        flex-wrap: nowrap;
    }

    .week-card {
        width: 400px;
    }

    .card-content {
        width: 400px;
        height: 280px;
    }
}

/* ========== МОБИЛЬНАЯ ВЕРСИЯ ========== */
/* ========== МОБИЛЬНАЯ ВЕРСИЯ С ЖЕСТКИМИ ПЕРЕНОСАМИ ========== */
@media screen and (max-width: 768px) {
    /* Базовые сбросы */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
    }

    .wrapper {
        max-width: 100% !important;
        overflow-x: hidden !important;
        position: relative !important;
        width: 100% !important;
    }

    .desktop-header {
        display: none;
    }

    .mobile-header {
        display: block;
    }

    /* Контейнеры для контента */
    .hero-content,
    .date-section,
    .section-title,
    .section-subtitle,
    .section-subtitle-small,
    .weeks-grid,
    .works-grid,
    .participate-section,
    .faq-section,
    .faq-container {
        max-width: 390px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .burger-menu-container {
        max-width: 100%;
    }

    /* Hero секция */
    .hero {
        height: 681px;
        width: 100%;
        position: relative;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    .hero-logo {
        width: 127px;
        height: 120px;
    }

    .logo-container {
        top: 113px;
    }

    .hero-title {
        width: 297px;
        font-size: 36px;
        line-height: 49px;
        top: 258px;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-subtitle {
        width: 317px;
        font-size: 17px;
        line-height: 23px;
        top: 322px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Пункт 2 - Жесткие переносы для hero-description */
    .hero-description {
        width: 269px;
        font-size: 15px;
        line-height: 20px;
        top: 403px;
        left: 50%;
        transform: translateX(-50%);
        white-space: normal !important;
        text-align: center;
        visibility: hidden;
        position: absolute;
    }
    
    .hero-description::before {
        content: "30 дней — 30 лет компании.\A Движение, энергия и новые вершины\A для каждого сотрудника.\A Присоединяйся к марафону,\A который объединяет команду!";
        white-space: pre;
        position: absolute;
        left: 0;
        width: 269px;
        text-align: center;
        visibility: visible;
        color: #FFFFFF;
        transform: translateX(-50%);
        margin-left: 134.5px;
    }

    .hero-line {
        width: 308px;
        top: 311px;
        border-width: 2px;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero-button {
        width: 317px;
        height: auto;
        top: 529px;
        left: 50%;
        transform: translateX(-50%);
        background: transparent;
    }

    .hero-button .btn-primary {
        background: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: auto;
        padding: 15px 10px;
        font-size: 18px;
        line-height: 24px;
        text-align: center;
        color: #383838;
        text-decoration: none;
        border: none;
        box-sizing: border-box;
    }

    .btn-primary {
        width: 279px;
        height: auto;
        font-size: 18px;
        line-height: 25px;
        padding: 0;
    }

    /* Дата секция - уменьшен промежуток */
    .date-section {
        margin-top: 50px; /* Уменьшено с 150px до 50px */
    }

    .date-text {
        font-size: 18px;
        line-height: 25px;
        text-align: center;
    }

    /* Пункт 5 - Жесткие переносы для section-title (30 дней, которые...) */
    .section-title {
        margin-top: 52px;
        font-size: 20px;
        line-height: 27px;
        white-space: normal;
        text-align: center;
        width: 100%;
    }
    
    .date-section + .title-line + .section-title {
        visibility: hidden;
        position: relative;
        margin-top: 20px; /* Уменьшен отступ */
    }
    
    .date-section + .title-line + .section-title::before {
        content: "30 дней, которые\A изменят твой взгляд\A на общее дело!";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        visibility: visible;
        color: #383838;
    }

    .title-line {
        width: 172px;
        margin-top: 8px; /* Уменьшено с 12px */
        border-width: 3px;
    }

    /* Пункт 6 - Жесткие переносы для section-subtitle */
    .section-subtitle {
        width: 100%;
        font-size: 15px;
        line-height: 20px;
        margin-top: 20px; /* Уменьшено с 50px */
        white-space: normal;
        visibility: hidden;
        position: relative;
    }
    
    .section-subtitle::before {
        content: "Путь длиной в месяц,\A где каждая неделя открывает то,\A что делает нас сильнее";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        visibility: visible;
        color: #383838;
        text-transform: none; /* Сохраняем оригинальный регистр */
    }

    /* Карточки недель */
    .weeks-grid {
        flex-direction: column;
        align-items: center;
        gap: 60px;
        margin-top: 40px; /* Уменьшено с 60px */
    }

    .week-card {
        width: 310px;
    }

    .week-label {
        width: 210px;
        height: 61px;
        font-size: 22px;
        line-height: 30px;
        margin-bottom: -31px;
    }

    .card-content {
        width: 310px;
        height: auto;
        min-height: 218px;
        background: #FFFFFF;
        padding-top: 31px;
        padding-bottom: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }

    .card-title {
        font-size: 21px;
        line-height: 29px;
        margin-top: 35px;
        padding: 0 10px;
        max-width: 294px;
        text-align: center;
    }

    /* Пункт 7 - Жесткие переносы для 1-й карточки */
    .week-card:nth-child(1) .card-text {
        max-width: 259px;
        font-size: 17px;
        line-height: 23px;
        padding: 0 10px;
        margin: 18px 0 0;
        white-space: normal;
        text-align: center;
        width: 100%;
        visibility: hidden;
        position: relative;
    }
    
    .week-card:nth-child(1) .card-text::before {
        content: "Прокачиваем здоровье,\A заряжаемся драйвом\A и открываем ресурс каждого";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        visibility: visible;
        color: #383838;
    }

    /* Пункт 8 - Жесткие переносы для 2-й карточки */
    .week-card:nth-child(2) .card-text {
        max-width: 259px;
        font-size: 17px;
        line-height: 23px;
        padding: 0 10px;
        margin: 18px 0 0;
        white-space: normal;
        text-align: center;
        width: 100%;
        visibility: hidden;
        position: relative;
    }
    
    .week-card:nth-child(2) .card-text::before {
        content: "Погружаемся в то, как\A создаются продукты,\A меняющие жизни людей";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        visibility: visible;
        color: #383838;
    }

    /* Пункт 9 - Жесткие переносы для 3-й карточки */
    .week-card:nth-child(3) .card-text {
        max-width: 259px;
        font-size: 17px;
        line-height: 23px;
        padding: 0 10px;
        margin: 18px 0 0;
        white-space: normal;
        text-align: center;
        width: 100%;
        visibility: hidden;
        position: relative;
    }
    
    .week-card:nth-child(3) .card-text::before {
        content: "Исследуем экосистему брендов\A НИКАМЕД — от истории\A до географии присутствия";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        visibility: visible;
        color: #383838;
    }

    /* Пункт 10 - Жесткие переносы для 4-й карточки */
    .week-card:nth-child(4) .card-text {
        max-width: 259px;
        font-size: 17px;
        line-height: 23px;
        padding: 0 10px;
        margin: 18px 0 0;
        white-space: normal;
        text-align: center;
        width: 100%;
        visibility: hidden;
        position: relative;
    }
    
    .week-card:nth-child(4) .card-text::before {
        content: "Создаём историю\A вместе и закладываем\A фундамент будущего";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        visibility: visible;
        color: #383838;
    }

    /* --- Как это работает --- */
    .section-title-small {
        font-size: 20px;
        line-height: 27px;
        margin-top: 60px; /* Уменьшено с 100px */
        text-align: center !important;
        padding-right: 0 !important;
    }

    .works-line {
        display: none;
    }

    .works-grid {
        flex-direction: column;
        gap: 25px; /* Уменьшено с 32px */
        margin-top: 30px; /* Уменьшено с 41px */
        padding-left: 10px !important;
        padding-right: 0 !important;
        margin-bottom: 30px;
        position: relative;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .works-grid::before {
        content: '';
        position: absolute;
        top: 0; /* Изменено с -5px */
        bottom: 0; /* Изменено с -5px */
        left: 22px;
        width: 3px;
        background-color: #C00A26;
        transform: translateX(-50%);
        z-index: 1;
    }

    .work-item {
        max-width: 100%;
        width: 100%;
        position: relative;
        z-index: 2;
        background-color: #F2EFEF;
        padding: 0 0 5px 50px; /* Добавлен нижний отступ */
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
        min-height: auto; /* Изменено с 80px */
    }
    
    /* Убираем лишний отступ у последнего элемента */
    .work-item:last-child {
        padding-bottom: 0;
    }

    .work-marker {
        width: 26px;
        height: 26px;
        background: #C00A26;
        position: absolute;
        left: 8px;
        top: 0;
        z-index: 3;
    }

    .work-title {
        font-size: 20px;
        line-height: 27px;
        margin: 0 0 5px 0;
        text-align: left;
    }

    /* Пункт 13 - Жесткие переносы для 1-го work-text */
    .work-item:nth-child(1) .work-text {
        font-weight: 400;
        font-size: 15px;
        line-height: 20px;
        white-space: normal;
        text-align: left;
        max-width: 100%;
        margin: 0;
        visibility: hidden;
        position: relative;
        min-height: 60px; /* Минимальная высота для контента */
    }
    
    .work-item:nth-child(1) .work-text::before {
        content: "Ежедневный контент: подкасты,\A челленджи, викторины, игры\A и мотивационные карточки";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: left;
        visibility: visible;
        color: #383838;
    }

    /* Пункт 14 - Жесткие переносы для 2-го work-text */
    .work-item:nth-child(2) .work-text {
        font-weight: 400;
        font-size: 15px;
        line-height: 20px;
        white-space: normal;
        text-align: left;
        max-width: 100%;
        margin: 0;
        visibility: hidden;
        position: relative;
        min-height: 40px; /* Минимальная высота для контента */
    }
    
    .work-item:nth-child(2) .work-text::before {
        content: "Зарабатывай баллы за участие\A в активностях марафона";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: left;
        visibility: visible;
        color: #383838;
    }

    /* Пункт 15 - Жесткие переносы для 3-го work-text */
    .work-item:nth-child(3) .work-text {
        font-weight: 400;
        font-size: 15px;
        line-height: 20px;
        white-space: normal;
        text-align: left;
        max-width: 100%;
        margin: 0;
        visibility: hidden;
        position: relative;
        min-height: 40px; /* Минимальная высота для контента */
    }
    
    .work-item:nth-child(3) .work-text::before {
        content: "Твой результат важен для\A команды единомышленников!";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: left;
        visibility: visible;
        color: #383838;
    }

    /* --- Участвовать секция --- */
    .participate-section {
        width: 100%;
        margin-top: 60px; /* Уменьшено с 100px */
        padding: 30px 0 50px !important;
    }

    .section-subtitle-small {
        font-size: 15px;
        line-height: 20px;
        margin-top: 14px;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .steps-container {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        padding: 0 20px;
        margin-top: 30px; /* Уменьшено с 40px */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .steps-container::-webkit-scrollbar {
        display: none;
    }

    .step-item {
        min-width: 290px;
        scroll-snap-align: center;
        padding: 0 5px;
        margin-right: 0;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }

    .step-image {
        width: 120px;
        height: 124px;
        margin: 0 auto;
    }

    .step-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .step-text {
        font-size: 18px;
        line-height: 24px;
        margin: 15px 0 10px; /* Уменьшен верхний отступ */
        white-space: normal;
        text-align: center;
        max-width: 100%;
    }
    
    .step-item:first-child .step-text,
    .step-item:last-child .step-text {
        margin-left: 0;
        transform: none;
        text-align: center;
        padding-left: 0;
        width: 100%;
        max-width: 100%;
    }

    /* Пункт 17 - Жесткие переносы для 1-го step-description */
    .step-item:nth-child(1) .step-description {
        font-size: 14px;
        line-height: 19px;
        white-space: normal;
        text-align: center;
        max-width: 250px;
        margin: 0 auto;
        visibility: hidden;
        position: relative;
        min-height: 57px; /* Высота под 3 строки */
    }
    
    .step-item:nth-child(1) .step-description::before {
        content: "Нажми на кнопку\A «Участвовать в юбилейном\A марафоне НИКАМЕД»";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        visibility: visible;
        color: #383838;
    }

    /* Пункт 18 - Жесткие переносы для 2-го step-description */
    .step-item:nth-child(2) .step-description {
        font-size: 14px;
        line-height: 19px;
        white-space: normal;
        text-align: center;
        max-width: 250px;
        margin: 0 auto;
        visibility: hidden;
        position: relative;
        min-height: 57px; /* Высота под 3 строки */
    }
    
    .step-item:nth-child(2) .step-description::before {
        content: "Создай свой\A профиль — это займёт\A не больше минуты!";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        visibility: visible;
        color: #383838;
    }

    /* Пункт 19 - Жесткие переносы для 3-го step-description */
    .step-item:nth-child(3) .step-description {
        font-size: 14px;
        line-height: 19px;
        white-space: normal;
        text-align: center;
        max-width: 250px;
        margin: 0 auto;
        visibility: hidden;
        position: relative;
        min-height: 57px; /* Высота под 3 строки */
    }
    
    .step-item:nth-child(3) .step-description::before {
        content: "Выполняй задания\A (будь активным)\A и зарабатывай баллы";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        visibility: visible;
        color: #383838;
    }

    .mobile-scroll-indicator {
        display: flex;
        justify-content: center;
        margin-top: 15px; /* Уменьшено с 20px */
    }

    /* FAQ секция */
    .faq-section {
        margin-top: 60px; /* Уменьшено с 80px */
    }
    
    .faq-container {
        width: 100%;
        margin: 20px auto 0; /* Уменьшено с 30px */
        padding: 0 !important;
    }
    
    .faq-item {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 16px;
        line-height: 22px;
    }
    
    .faq-plus {
        width: 24px;
        height: 24px;
        margin-right: 0;
        margin-left: 10px;
    }
    
    .faq-plus::before {
        width: 14px;
        height: 2px;
        top: 11px;
        left: 5px;
    }
    
    .faq-plus::after {
        width: 2px;
        height: 14px;
        top: 5px;
        left: 11px;
    }
    
    .faq-answer {
        padding: 0 20px;
        font-size: 14px;
        line-height: 20px;
    }
    
    .faq-item.active .faq-answer {
        max-height: 300px;
        padding: 0 20px 20px 20px;
    }

    /* CTA секция */
    .cta-section {
        margin-top: 60px; /* Уменьшено с 100px */
        height: auto;
        min-height: auto;
        background: #C00A26;
        width: 100%;
        position: relative;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding: 40px 20px; /* Уменьшено с 60px */
    }

    .cta-line {
        width: 308px;
        height: 0;
        margin: 10px 0; /* Уменьшено с 15px */
        border: 2px solid #FFFFFF;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-title {
        font-weight: 800;
        font-size: 36px;
        line-height: 49px;
        text-align: center;
        color: #FFFFFF;
        margin: 0 0 5px 0; /* Уменьшен нижний отступ */
        width: 100%;
        max-width: 390px;
        padding: 0 16px;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-subtitle {
        font-weight: 800;
        font-size: 17px;
        line-height: 23px;
        text-align: center;
        text-transform: uppercase;
        color: #FFFFFF;
        margin: 0 0 15px 0; /* Уменьшен нижний отступ */
        width: 100%;
        max-width: 279px;
        padding: 0 16px;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
        text-indent: 0;
    }

    /* Пункт 4 - Жесткие переносы для кнопки в CTA секции */
    .cta-button {
        width: 317px;
        height: 70px;
        background: #FFFFFF;
        margin: 5px auto 0; /* Уменьшен отступ */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cta-button .btn-primary {
        width: 279px;
        height: auto;
        font-size: 18px;
        line-height: 25px;
        margin: 0;
        padding: 10px;
        white-space: normal;
        text-align: center;
        visibility: hidden;
        position: relative;
    }
    
    .cta-button .btn-primary::before {
        content: "Участвовать в юбилейном\A марафоне НИКАМЕД!";
        white-space: pre;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
        visibility: visible;
        color: #383838;
    }

    /* Footer */
    .footer {
        background: #C00A26;
        padding: 15px 0; /* Уменьшено с 20px */
        width: 100%;
        position: relative;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
        overflow: hidden;
    }

    .footer-line {
        width: 100%;
        height: 5px;
        background-color: #FFFFFF;
    }

    .footer-content {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 16px 0; /* Уменьшено с 20px */
        font-weight: 500;
        font-size: 9px;
        line-height: 12px;
        color: #FFFFFF;
        max-width: 390px;
        margin: 0 auto;
        gap: 5px;
        box-sizing: border-box;
        width: 100%;
    }

    .footer-date {
        max-width: 110px;
        text-align: left;
        flex: 1;
        white-space: normal;
        word-break: break-word;
    }

    .footer-copyright {
        max-width: 107px;
        font-size: 9px;
        text-align: center;
        flex: 1;
        white-space: normal;
        word-break: break-word;
    }

    .footer-support {
        max-width: 113px;
        text-align: right;
        flex: 1;
        white-space: normal;
        word-break: break-word;
    }

    .footer-link {
        color: #FFFFFF;
        text-decoration: none;
        white-space: normal;
    }
}