:root {
    --base-width: 1920px;
    --current-width: 100vw;
    --scale-factor: calc(var(--current-width) / var(--base-width));

    --tc: #3F4042;
    --lb: #88CEF1;
    --btn-link: #BF5A5A;
    --white: #FEFEFE;
}

@font-face {
    font-family: "Travel Next";
    src: url(../fonts/TT_Travels_Next_Trial_Black.ttf);
    font-weight: 900;
}

@font-face {
    font-family: "Travel Next";
    src: url(../fonts/TT_Travels_Next_Trial_Bold.ttf);
    font-weight: 700;
}

@font-face {
    font-family: "Travel Next";
    src: url(../fonts/TT_Travels_Next_Trial_DemiBold.ttf);
    font-weight: 600;
}

@font-face {
    font-family: "Travel Next";
    src: url(../fonts/TT_Travels_Next_Trial_Medium.ttf);
    font-weight: 500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
}

.page {
    font-family: "Travel Next";
    font-weight: 500;
    color: var(--tc);
}

.wrapper {
    max-width: 1920px;
    zoom: calc(100% * var(--scale-factor));

}

.section1 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: var(--lb);
    padding-bottom: 125px;
}

.back_absolute {
    position: absolute;
}

.back_absolute {
    zoom: 0.5;
    right: 0;
    top: 0;
}

.container {
    padding: 0 6.25%;
}

.section_content {
    width: 100%;
}

.sec1_content {
    position: relative;
    z-index: +1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 42px;
}

.pairs {
    margin-top: 108px;
    padding-bottom: 0.5%;
}

.free_text {
    font-weight: 900;
    font-size: 122.68px;
    line-height: 95%;
    letter-spacing: 0%;
}

.every_week {
    color: white;
    font-weight: 700;
    font-size: 71.88px;
    line-height: 100%;
    letter-spacing: 0%;
    padding-top: 20px;
}

.sec1_descr_block {
    margin: 110px 0;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.sec1_descr {
    font-weight: 500;
    font-size: 28px;
    letter-spacing: 0%;
}










.sec1_block_form_container {
    width: 100%;
    display: flex;
    gap: 45px;
    align-items: flex-start;
    margin-top: 20px;
}

/* Блок с правилами */
.sec1_info {
    flex: 1;

    max-width: 50%;
    background: #FFFFFF;
    border-radius: 37px;
    padding: 40px;
    padding-bottom: 92px;

}

.rules_title {

    font-style: normal;
    font-weight: 700;
    font-size: 35px;
    line-height: 120%;
    text-transform: uppercase;
    color: #3F4042;
    margin-bottom: 16px;
}

.rules_text {

    font-style: normal;
    font-weight: 500;
    font-size: 25px;
    line-height: 120%;
    color: #3F4042;
}

/* Блок с формой */
.sec1_block_form {
    flex: 1;
    max-width: 50%;
}

.form-container {
    width: 100%;
}

.form-group {
    margin-bottom: 21px;
}

.form-input {
    width: 100%;
    height: 74px;
    background: #FEFEFE;
    border-radius: 45px;
    border: none;
    padding: 0 33px;

    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    color: #3F4042;

    outline: none;
    display: block;
}

.riles_link {
    color: #BF5A5A;
}

.form-input::placeholder {
    font-family: "Travel Next";
    font-weight: 500;
    font-size: 24px;
    color: #B5B5B5;
}

/* Чекбоксы */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 32px 0 32px 0;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    background: #FFFFFF;
    border-radius: 4px;
    margin-right: 19px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.checkbox-custom.checked::after {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    color: #3F4042;
}

.checkbox-label {

    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #3F4042;
    cursor: pointer;
    user-select: none;
}

.checkbox-label.small {
    font-size: 20px;
    line-height: 21px;
}

/* Кнопка отправки */
.submit-btn {
    width: 275px;
    height: 62px;
    background: #BF5A5A;
    border-radius: 31px;
    border: none;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 30px;
    line-height: 36px;
    text-align: center;
    color: #F4F4F4;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;

    display: inline-block;
}

.submit-btn:hover {
    background: #A84848;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(1px);
}





/* Стили для секции с вопросами */
.section2 {
    position: relative;
    background-color: #3F4042;
    overflow: hidden;
    padding: 120px 0 270px;
    margin-top: -1px;
}


.section2 .container {
    position: relative;
    z-index: 2;
}

.section_title {
    font-style: normal;
    font-weight: 700;
    font-size: 90px;
    line-height: 110%;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 90px;
}

/* Контейнер для аккордеона с двумя колонками */
.accordion_container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.accordion_column {
    flex: 1;
    min-width: 300px;
}

/* Стили для элементов аккордеона */
.accordion_item {
    background: #FFFFFF;
    border-radius: 37px;
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion_header {
    padding: 25px 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.accordion_header_icon {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}



@media (min-width:1200px) {
    .accordion_header {
        height: 118px;
    }
}

.accordion_title {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: #3F4042;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.accordion_icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion_icon::before,
.accordion_icon::after {
    content: '';
    position: absolute;
    background: #3F4042;
    transition: all 0.3s ease;
}

.accordion_icon::before {
    width: 24px;
    height: 4px;
    top: 10px;
    left: 0;
}

.accordion_icon::after {
    width: 4px;
    height: 24px;
    top: 0;
    left: 10px;
}

.accordion_item.active .accordion_icon {
    transform: rotate(45deg);
}

.accordion_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    background: #FFFFFF;
}

.accordion_item.active .accordion_content {
    max-height: 500px;
}

.accordion_text {
    padding: 0 30px 30px;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #3F4042;
    margin: 0;
}

.accordion_text strong {
    font-weight: 700;
}

.section3 {
    position: relative;
    background: #3F4042;
    width: 100%;
}

.sec3_back {
    width: 100%;
    display: block;
}

.section3_container {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    left: 0;
    top: 0;
    padding: 70px 6%;
    width: 100%;
    height: 100%;
}

.sec3_title {
    font-weight: 700;
    font-size: 85px;
    color: white;
    line-height: 110%;
    letter-spacing: 0%;
    text-transform: uppercase;

}



.sec3_content {
    max-width: 1500px;
    align-self: flex-end;
    align-items: flex-end;
    display: flex;
    gap: 150px;
}

.sec3_1 {
    display: flex;
    max-width: 650px;
    flex-direction: column;
    gap: 50px;
}

.sec3_1_title-descr {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sec_title_par {
    font-weight: 700;
    font-size: 23px;
    line-height: 120%;
    letter-spacing: 0%;
    text-transform: uppercase;

}

.sec_title_descr {
    font-weight: 500;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0%;
}



.learn_more {
    border: none;
    width: 312px;
    height: 62px;
    background: #BF5A5A;
    border-radius: 31px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 29.77px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: white;

}

.sec3_2 {
    display: flex;
    gap: 150px;
}

.sec3_par_btn {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.sec3_content_left {
    padding-bottom: 100px;
    width:677px
}

.sec3_content_right {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width:650px
}

.sec3_par {
    width: 100%;
    font-weight: 700;
    font-size: 25px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #3F4042;
}






.section4 {
    position: relative;
    background-color: var(--tc);
    padding: 120px 0;
    margin-top: -1px;
}

.winners-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.winners-title {
    
    font-style: normal;
    font-weight: 700;
    font-size: 85px;
    line-height: 110%;
    text-transform: uppercase;
    color: #FFFFFF;
    width: 48%;
}

.winners-info {
    
    font-style: normal;
    font-weight: 700;
    font-size: 40px;
    line-height: 56px;
    color: #88CEF1;
    width: 48%;
}

.winners-content {
    display: flex;
    gap: 45px;
}

.winners-left, .winners-right {
    flex: 1;
}

.winners-accordion-left, .winners-accordion-right {
    width: 100%;
}

.week-accordion-item {
    background: #FFFFFF;
    border-radius: 37px;
    margin-bottom: 20px;
    overflow: hidden;
}

.week-accordion-header {
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;

}

.week-title {
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    line-height: 120%;
    color: #3F4042;
    margin: 0;
}

.week-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.week-icon::before,
.week-icon::after {
    content: '';
    position: absolute;
    background: #3F4042;
    transition: all 0.3s ease;
}

.week-icon::before {
    width: 24px;
    height: 4px;
    top: 10px;
    left: 0;
}

.week-icon::after {
    width: 4px;
    height: 24px;
    top: 0;
    left: 10px;
}

.week-accordion-item.active .week-icon {
    transform: rotate(45deg);
}

.week-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.week-accordion-item.active .week-accordion-content {
    max-height: 1000px;
}

.winners-names {
    padding: 30px;
    display: flex;
    gap: 40px;
}

.winner-name {
    flex: 1;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #777777;
    margin: 0;
}

.no-winners {
    padding: 0 30px 30px;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #777777;
    margin: 0;
}



.mobile {
    display: none;
}


/* ========== АДАПТИВ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ (до 768px) ========== */
@media (max-width: 767px) {
    .wrapper {
        zoom: 1;
        max-width: 100%;
    }

    .container {
        padding: 0 20px;
    }

    /* Секция 1 */
    .section1 {
        padding-bottom: 100px;
        min-height: auto;
        z-index: 2;
    }

    .sec1_content {
        padding-top: 30px;

    }

    .logo {
        width: 200px;
        height: auto;
        margin-bottom: 20px;
    }

    .pairs {
        margin-top: 40px;
        width: 100%;
        max-width: 220px;
    }

    .free_text {
        font-size: 50px;
        line-height: 1;
        text-align: center;
        margin-top: 5px;
    }

    .every_week {
        font-size: 30px;
        text-align: center;
        padding-top: 10px;
        color:#88CEF1;
    }

    .sec1_descr_block {
        margin: 0;
        margin-top: 280px;
        margin-bottom: 60px;
        gap: 20px;
    }

    .sec1_descr {
        font-size: 16px;
        line-height: 1.4;
    }

    /* Контейнер формы и правил */
    .sec1_block_form_container {
        flex-direction: column;
        gap: 35px;
        margin-top: 25px;
    }

    .sec1_info,
    .sec1_block_form {
        max-width: 100%;
        width: 100%;
    }

    .sec1_info {
        padding: 10px;
        padding-bottom: 40px;
        border-radius: 20px;
    }

    .rules_title {
        font-size: 22px;
        margin-bottom: 10px;
      
    }

    .rules_text {
        font-size: 16px;
        
    }

    /* Форма */

    .form-group {
        margin-bottom: 10px;
    }
    .form-input {
        height: 35px;
        font-size: 12px;
        padding: 0 20px;
    }

    .form-input::placeholder {
        font-size: 12px;
    }

    .checkbox-group {
        margin: 20px 0;
        gap: 5px;
    }

    .checkbox-custom {
        width: 14px;
        height: 14px;
        margin-right: 5px;
        border-radius: 3px;
    }

    .checkbox-custom.checked::after {
        font-size: 13px;
    }

    .checkbox-label {
        font-size: 9px;
        line-height: 1.3;
    }

    .checkbox-label.small {
        font-size: 9px;
        line-height: 14px;
    }

    .submit-btn {
        height: 35px;
        font-size: 12px;
        width: 30%;
    }

    /* Секция 2 - Вопросы */
    .section2 {
        padding: 40px 0;
        overflow: visible;
    }

    .section_title {
        font-size: 40px;
        margin-bottom: 40px;

    }

    .accordion_container {
        flex-direction: column;
        gap: 0px;
    }

    .accordion_header {
        padding: 15px;
        height: auto;
        min-height: 60px;
    }

    .accordion_title {
        font-size: 16px;
        line-height: 1.3;
    }
    .accordion_item {
        border-radius: 20px;
        margin-bottom: 15px;
    }

    .accordion_text {
        font-size: 12px;
        padding: 0 20px 20px;
        line-height: 1.2;
    }


    .accordion_icon {
        width: 14px;
        height: 14px;
    }

    .accordion_icon::before {
        width: 14px;
        height: 2px;
        top: 6px;
        left: 0;
    }

    .accordion_icon::after {
        width: 2px;
        height: 14px;
        top: 0;
        left: 6px;
    }

    /* Секция 3 - О компании */
    .section3 {
        position: relative;
        background: transparent;
        padding: 0 0 40px 0;
    }

    .sec3_back {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 0;
        background: #3F4042;
        margin-top: -120px;
    }

    .section3_container {
        position: relative;
        padding: 0 20px;
    }

    .sec3_title {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .sec3_content {
        flex-direction: column;
        gap: 40px;
        max-width: 100%;
    }

    .sec3_content_left,
    .sec3_content_right {
        width: 100%;
    }

    .sec3_par {
        font-size: 18px;
        line-height: 1.4;
    }

    .sec3_1,.sec3_content_right {
        max-width: 100%;
        gap: 60px;
    }

    .sec3_1 {
        gap: 50px;
    }

    .sec3_1_title-descr {
        gap: 5px;
    }

    .sec_title_par {
        font-size: 18px;
    
    }

    .sec_title_descr {
        font-size: 16px;
        line-height: 1.4;
    
    }

    .sec3_2 {
        flex-direction: column;
        gap: 40px;
    }

    .sec3_par_btn {
        gap: 30px;
        
    }


    .sec3_content_left {
        padding-bottom: 25px;
    }

    .learn_more {
        width: 100%;
        max-width: 35%;
        height: 35px;
        font-size: 11px;
    }

    /* Секция 4 - Победители (если будет использоваться) */
    .section4 {
        padding: 60px 0;
    }

    .winners-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .winners-title,
    .winners-info {
        width: 100%;
        text-align: center;
    }

    .winners-title {
        font-size: 40px;
    }

    .winners-info {
        font-size: 24px;
        line-height: 1.4;
    }

    .winners-content {
        flex-direction: column;
        gap: 20px;
    }

    .week-accordion-header {
        padding: 15px 20px;
    }

    .week-title {
        font-size: 20px;
    }

    .winners-names {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }

    .winner-name,
    .no-winners {
        font-size: 14px;
        line-height: 1.4;
    }

    /* Управление отображением мобильных/десктоп изображений */
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .sec1_absolute {
        width: 100%;
        height: auto;
        top: 0;
        background: #3F4042;
    }
}


/* Для очень маленьких экранов (до 480px) */
@media (max-width: 480px) {
    .free_text {
        font-size: 40px;
    }

    .every_week {
        font-size: 24px;
    }

    .sec1_descr {
        font-size: 12px;
    }

    .rules_title {
        font-size: 17px;
    }

    .rules_text {
        font-size: 12px;
    }

    .section_title {
        font-size: 32px;
    }

    .accordion_title {
        font-size: 9.5px;
    }

    .section3_container {
        justify-content: start;
    }

    .sec3_title {
        font-size: 32px;
    }

    .sec3_par {
        font-size: 12px;
    }

    .sec3_par.correct {
        font-size: 12px;
        margin-top: 160px;
        max-width: 67%;
        text-align: left;
        margin-left: auto;
    }

    .sec3_par.correct2 {
        max-width: 80%;
    }

    .sec_title_par {
        font-size: 12px;
    }

    .sec_title_descr {
        font-size: 10px;
    }
}


@media (max-width:400px) {
    .sec1_descr_block {
        margin: 0;
        margin-top: 230px;
        margin-bottom: 60px;
        gap: 20px;
    }
    .sec1_descr {
        font-size: 11px;
    }
    .rules_text {
        font-size: 11px;
    }
    .form-input {
        height: 35px;
        font-size: 11px;
        padding: 0 20px;
    }


    .form-input::placeholder {
        font-size: 11px;
    }

    .section2 {
        padding: 30px 0;
        overflow: visible;
    }
    .accordion_title {
        font-size: 8.5px;
    }

    .accordion_header {
        padding: 15px;
        min-height: 50px;
    }
    .sec3_back {
        margin-top: -80px;
    }
}

/* Для планшетов (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .free_text {
        font-size: 70px;
    }

    .every_week {
        font-size: 40px;
    }

    .sec1_descr {
        font-size: 20px;
    }

    .sec1_block_form_container {
        gap: 30px;
    }

    .accordion_title {
        font-size: 18px;
    }

    .section_title {
        font-size: 60px;
    }

    .sec3_title {
        font-size: 60px;
    }
}

