:root {
    --background: rgba(255, 127, 80, 0.1);
    --background-white-hover: rgba(255, 255, 255, 0.8);
    --background-coral-hover: rgba(255, 127, 80, 0.5);
    --white: #ffffff;
    --title-size-1: clamp(24px, 8vw, 70px);
    --title-size-2: clamp(24px, 5vw, 40px);
    --title-size-3: clamp(18px, 5vw, 26px);

    --text-size-1: clamp(16px, 3vw, 20px);
    --text-size-2: clamp(16px, 3vw, 18px);

    --color-coral: #FF7F50FF;
    --color-black: color: rgb(22 27 105);
}

body{
    font-family: "Raleway", sans-serif;
    color: var(--color-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.container{
    max-width: min(90%, 1440px);
    margin: 0 auto;
}
header{
    height: max(75vh, 50vw);
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)), url("../images/bg.jpeg") no-repeat;
    background-size: cover;
    color:var(--white);
}

.header_block-title{
    font-size: var(--title-size-1);
    margin-bottom: 35px;
    font-weight: bold;
}
.header_block-subtitle{
    font-size: var(--title-size-2);
    margin-bottom: 35px;
    line-height: 30px;
    font-weight: bold;
}
.header_block-text{
    font-size: var(--title-size-3);
    line-height: clamp(24px, 5vw, 30px);
}
.header_block_button{
    padding: 15px 80px;
    background:white ;
    color: var(--color-coral);
    border-color: transparent;
    border-radius: 10px;
    font-size: 20px;
    margin-top: 40px;
}
.header_block_button:hover{
    background: var(--background-white-hover);
    color: var(--color-coral);
    transition: 0.3s;
    cursor: pointer;
}


.bag{
    position: fixed;
    top: 100px;
    right: 20px;
    width: 70px;
    height: 70px;
    padding: 10px 15px;
    background: var(--color-coral);
    border-radius: 50%;
    transition: 0.3s;
    z-index: 999;
}
.bag:hover{
    transform: scale(0.9);
    cursor: pointer;
}
.bag_image{
    width: 100%;
    height: 100%;
    filter: invert(1);
    padding-bottom: 7px;
}

.intro{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}

.intro_title{
    text-align: center;
    font-size: var(--title-size-2);
    margin-bottom: 85px;
    font-weight: bold;
}
.intro_text{
    font-size: clamp(14px, 5vw, 18px);
    line-height: clamp(20px, 5vw, 26px);
    margin-bottom: 10px;
}
.intro_text span{
    font-size: 35px;
    color: var(--color-coral);
    font-weight: bold;
}

.you-block {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 100px;
}

.you-block_left,.you-block_right {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 150px;
}

.you-block_item {
    width: 100%;
    height: 100%;
    padding: 20px;
    background: rgba(255, 127, 80, 0.8);
    border-radius: 15px;
    display: flex;
    align-items: center;
}

.you-block_text {
    font-size: 18px;
    color: white;
    line-height: 22px;
    font-weight: 500;
}

.you-block_middle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.you-block_arrow {
    position: absolute;
    width: 100px;
    height: auto;
}
.arrow_1 {
    width: 90px;
    top: 5%;
    left: -45%;
    transform: rotate(142deg);
}
.arrow_2 {
    width: 130px;
    top: 45%;
    left: -45%;
    transform: rotate(33deg);
}

.arrow_3 {
    width: 90px;
    top: 5%;
    right: -45%;
    transform: rotate(222deg) scaleX(-1);

}
.arrow_4 {
    width: 130px;
    top: 45%;
    right: -45%;
    transform: rotate(321deg) scaleX(-1);
}


.you-block_circle {
    width: 200px;
    max-width: 100%;
    height: 200px;
    border-radius: 50%;
    background: var(--color-coral);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.you-block_title {
    font-size: 50px;
    color: white;
}



.why-love {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background: var(--background);
}

.why-love_title {
    text-align: center;
    font-size: var(--title-size-2);
    margin-bottom: 85px;
    font-weight: bold;
}

.why-love_items {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.why-love_item {
    width: 33.333%;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.why-love_item-title {
    text-align: center;
    font-size: var(--title-size-3);
    font-weight: bold;
    min-height: clamp(30px, 5vw, 60px);
}

.why-love_item-text {
    text-align: center;
    font-size: var(--text-size-2);
}
.why-love_hr{
    width: 100%;
    height: 2px;
    background: var(--color-coral);
    margin: 15px 0;
}


.five-reasons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}

.five-reasons_title {
    text-align: center;
    font-size: var(--title-size-2);
    margin-bottom: 85px;
    font-weight: bold;
}
.five-reasons_items{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.five-reasons_item {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
}

.five-reasons_number {
    width: 45px;
    min-width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-coral);
    display: flex;
    align-items: center;
    justify-content: center;
}

.five-reasons_number-text {
    font-size: 20px;
    text-align: center;
    color: var(--color-coral);
    font-family: monospace;
}

.five-reasons_item-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.five-reasons_item-title {
    font-size: 18px;
    font-weight: bold;

}

.five-reasons_item-text {
    font-size: 16px;
}

.five-reasons_quote{
    margin-top: 50px;
    font-size: 22px;

}
.five-reasons_quote span{
    color: var(--color-coral);
    font-weight: bold;
}

.many-problems {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background: var(--background);
}

.many-problems_title {
    text-align: center;
    font-size: var(--title-size-2);
    margin-bottom: 85px;
    font-weight: bold;
}

.many-problems_items {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.many-problems_item {
    display: flex;
    align-items: center;
    gap: 25px;
}

.many-problems_box {
    width: 45px;
    min-width: 45px;
    height: 45px;
    border: 2px solid var(--color-coral);
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-coral);
    font-size: 50px;
    font-weight: bolder;
}

.many-problems_item-title {
    font-size: 18px;
    line-height: 24px;
}

.many-problems_text{
    font-size: 24px;
    line-height: 24px;
    margin-top: 50px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    text-align: center;
}



.lessons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}

.lessons_title {
    text-align: center;
    font-size: var(--title-size-2);
    margin-bottom: 30px;
    font-weight: bold;
}
.lessons_subtitle {
    text-align: center;
    font-size: var(--title-size-3);
}

.lessons_blocks {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 120px 60px;
    margin-top: 150px;
}

.lessons_block-1, .lessons_block-2{
    width: calc(50% - 60px);
    position: relative;
    border: 2px solid var(--color-coral);
    border-radius: 20px;
    padding: 50px 20px 30px;
}
.lessons_block-2 {
    width: 100%;
}
.lessons_block-number {
    position: absolute;
    width: max-content;
    top: -75px;
    left: -6%;
    background: white;
    padding: 0 50px 50px 0;
}
.lessons_block-1-2 .lessons_block-number{
    left: -10%;
}
.lessons_block-2 .lessons_block-number{
    left: -4.6%;
}
.lessons_block-number-text {
    font-size: 120px;
    font-weight: bold;
    color: var(--color-coral);
    font-family: "Lobster", sans-serif;
    opacity: 0.2;
}
.lessons_block-title{
    font-size: var(--title-size-2);
    color: var(--color-coral);
    margin-bottom: 25px;
    margin-left: 0px;
    font-family: "Lobster", sans-serif;
    opacity: 0.3;
}
.lessons_block-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lessons_block-item {
    display: flex;
    flex-direction: column;
    background: var(--background);
    padding: 15px 0 15px 20px;
    border-radius: 15px;
}

.lessons_block-text {
    font-size: var(--text-size-2);
    margin-top: 10px;
}
.accordion_heading .lessons_block-text{
    margin-top: 0px;
}
.lessons_block-text span{
    color: var(--color-coral);
    font-weight: 500;
}

.text-cursive {
    font-style: italic;
    font-weight: 200;
}


.if-you {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background: var(--background);
}

.if-you_title {
    text-align: center;
    font-size: var(--title-size-2);
    margin-bottom: 85px;
    font-weight: bold;
}

.if-you_items {
    display: flex;
    flex-direction: column;
    gap: 75px;
}

.if-you_item {
    display: flex;
    gap: 20px;
}

.if-you_item-title {
    width: 50%;
    font-size: var(--text-size-1);
}

.if-you_item-text {
    width: 50%;
    font-size: var(--text-size-2);
}


.result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}

.result_title {
    text-align: center;
    font-size: var(--title-size-2);
    margin-bottom: 85px;
    font-weight: bold;
}

.result_items {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    max-height: 550px;
    gap: 30px;
}

.result_item {
    width: calc(33.333% - 20px);
    position: relative;
}

.result_item-text{
    font-size: var(--text-size-2);
    padding-left: 20px;
}


.result_item-text span{
    font-size: 45px;
    color: var(--color-coral);
    position: absolute;
    top: -15px;
    left: 0;
}


.banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    background: var(--background);
}
.banner-block {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 50px;
}

.banner-block_title {
    text-align: center;
    font-size: var(--title-size-3);
    display: flex;
    gap:30px;
}

.banner-block_title span {
    display: flex;
    position: relative;
}

.discount-price {
    margin-left: 20px;
    margin-right: 10px;
}

.discount-line {
    position: absolute;
    left: -19px;
    bottom: 9px;
    width: 40%;
    height: 5px;
    background: red;
    border-radius: 20px;
    transform: rotate(171deg);
}
.banner-block_button {
    padding: 10px 45px;
    background: var(--color-coral);
    color: white;
    border-color: transparent;
    border-radius: 10px;
    font-size: 16px;
}
.banner-block_button:hover {
    background: white;
    color: var(--color-coral);
    transition: 0.3s;
    cursor: pointer;
}


.how-works {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}

.how-works_title {
    text-align: center;
    font-size: var(--title-size-2);
    margin-bottom: 150px;
    font-weight: bold;
}

.how-works_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 150px;
    padding: 0 240px;
}

.how-works_item {
    position: relative;
    width: calc(40% - 50px);
}



.how-works_item-number {
    position: absolute;
    font-size: 120px;
    font-weight: bold;
    color: var(--color-coral);
    font-family: "Lobster", sans-serif;
    opacity: 0.2;
    top: -80px;
    left: -60px;
}
.how-works_item:nth-child(2n){
    padding-top: 100px;
}
.how-works_item:nth-child(2n) .how-works_item-number{
    top: 20px;
}
.how-works_item-text {
    font-size: var(--text-size-2);
    font-weight: 500;
    line-height: 24px;
}

.how-works_button {
    padding: 10px 45px;
    background: var(--color-coral);
    color: white;
    border-color: transparent;
    border-radius: 10px;
    font-size: 16px;
    margin: 50px auto 0;
    display: block;
}
.how-works_button:hover {
    background: var(--background-coral-hover);
    color: white;
    transition: 0.3s;
    cursor: pointer;
}
.author {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}
.author_title{
    text-align: center;
    font-size: var(--title-size-2);
    margin-bottom: 85px;
    font-weight: bold;
}

.author-block {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.author-block_image-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 320px;
    width: 100%;
}

.author-block_image {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.author-block_image-text{
    font-size: 12px;
}

.author-block_content {
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.author-block_text {
    font-size: var(--text-size-2);
    line-height: 24px;
}


.questions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
    background: var(--background);
}

.questions_title {
    text-align: center;
    font-size: var(--title-size-2);
    margin-bottom: 85px;
    font-weight: bold;
}

.questions_items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.question_item {
    background: white;
    padding:20px;
    border-radius: 20px;
}

.question_item-title {
    font-size: var(--text-size-2);
    font-weight: 500;

}

.question_item-text {
    font-size: var(--text-size-2);
    margin-top: 10px;
    line-height: 24px;
}


.accordion {
    width: 100%;
}

.accordion_heading {
    display: block;
    position: relative;
    cursor: pointer;
    margin: 0;
    padding-right: 35px;
}

.accordion_heading:after, .accordion_heading:before {
    content: "";
    position: absolute;
    width: 12px;
    height: 3px;
    top: 50%;
    right: 20px;
    transition: all 0.1s;
    background: var(--color-coral);
}

.accordion_checkbox:checked~.accordion_heading:before {
    transform: rotate(90deg);
    opacity: 0;
    transition: all 0.1s;
}

.accordion_heading:after {
    transform: rotate(90deg);
    transition: all 0.1s;
}

.accordion_checkbox:checked~.accordion_heading:after {
    transform: rotate(180deg);
}

.accordion_checkbox {
    display: none;
    position: absolute;
    left: -9999em;
}

.accordion_checkbox:checked~.accordion_content {
    max-height: 1000px;
    transition: all 2s;
}

.accordion_content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s;
    padding-right: 35px;
}


.tinkoff_modal .swal2-popup{
     padding: 30px 60px;
}

.ui-form{
    margin-top: 20px;
}
.field input{
     border: 1px solid var(--color-coral);
     background: transparent;
     border-radius: 10px;
}
.form__send{
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ui-button{
    padding: 10px 50px;
    border-radius: 10px;
    background-color: var(--color-coral);
    border: 1px solid var(--color-coral);
    color: #ffffff;
}
.ui-button:hover {
    background-color: var(--color-coral);
    border: 1px solid var(--color-coral);
}
.swal2-icon{
    margin: 10px auto !important;
}
.swal2-actions{
    justify-content: center !important;
}
.swal2-confirm{
    background-color: var(--color-coral) !important;
}
.swal2-title{
    justify-content: center !important;
    font-family: "Raleway", sans-serif !important;
}

.success-block{
    height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.success-block_title{
    font-size: var(--title-size-1);
    margin-bottom: 35px;
    font-weight: bold;
    color: var(--color-black);
    text-align: center;
}
.success-block_subtitle{
    font-size: var(--title-size-2);
    text-align: center;
    color: var(--color-coral);
}
.success-block_button{
    margin-top: 50px;
    font-size: var(--text-size-2);
    padding: 15px 50px;
    background-color: var(--color-coral);
    border: 1px solid transparent;
    border-radius: 20px;
    color: white;
    transition: 0.3s;
    text-decoration: none;
}
.success-block_button:hover{
    background-color: transparent;
    border: 1px solid var(--color-coral);
    color: var(--color-coral);
    cursor: pointer;
}

.footer{
    padding: 60px 0 160px 0;
    background: black;
}
.footer-block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}
.footer-block a{
    color: var(--color-coral);
    text-decoration: none;
}
.footer-block_contacts{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-fix {
    display: flex;
    justify-content: center;
    background: #ff9b78;
    padding: 25px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}
.footer-fix_block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-fix_title {
    text-align: center;
    font-size: var(--title-size-3);
    margin: 0 !important;
}
.footer-fix_button{
    padding: 15px 80px;
    background:white ;
    color: var(--color-coral);
    border-color: transparent;
    border-radius: 10px;
    font-size: 20px;
}
.footer-fix_button:hover{
    background: var(--background-white-hover);
    color: var(--color-coral);
    transition: 0.3s;
    cursor: pointer;
}

.policy{
    padding: 80px 0;
}
.policy h2{
    font-size: 26px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
}
.policy p{
    line-height: 24px;
}
.policy p strong{
    font-size: 22px;
    text-align: center;
    font-weight: 400;
    line-height: 50px;
}


@media (max-width: 1366px) {

}
@media (max-width: 1024px) {

    .you-block{
        gap: 30px;
    }
    .you-block_left, .you-block_right{
        width: 50%;
        gap: 30px;
    }
    .you-block_arrow{
        display: none;
    }
    .result_items {
        max-height: 720px;
    }

    .how-works_items {
        padding: 0;
    }
}

@media (max-width: 768px){

    .you-block{
        flex-direction: row;
    }
    .you-block_left, .you-block_right{
        width: 100%;
    }
    .you-block_circle{
        width: 80px;
        max-width: 80px;
        height: 80px;
    }
    .you-block_title {
        font-size: 30px;
    }
    .result_items {
        max-height: unset;
        flex-direction: row;
    }
    .result_item{
        width: 100%;
    }

    .lessons_blocks {
        gap: 80px 60px;
        margin-top: 100px;
    }

    .lessons_block-1, .lessons_block-2{
        width: 100%;
        padding: 30px 20px 30px;
    }
    .lessons_block-number {
        top: -35px;
        left: -2%;
        padding: 0 25px 25px 0;
    }
    .lessons_block-1-2 .lessons_block-number{
        left: -3%;
    }
    .lessons_block-2 .lessons_block-number{
        left: -3%;
    }
    .lessons_block-number-text {
        font-size: 60px;

    }
    .lessons_block-title{
        font-size: 30px;
        margin-bottom: 25px;
    }


    .banner-block_title{
        flex-direction: column;
    }
    .discount-line {
        left: -39px;
        bottom: 9px;
        width: 35%;
    }
}
@media (max-width: 520px){

    .intro,
    .why-love,
    .five-reasons,
    .many-problems,
    .lessons,
    .if-you,
    .result,
    .how-works,
    .author,
    .questions{
        padding: 40px 0;
    }
    .footer{
         padding: 40px 0 180px 0;
    }
    h2{
        margin-bottom: 45px !important;
    }
    .bag{
        width: 50px;
        height: 50px;
        padding: 5px 10px;
    }
    .if-you_items{
        gap: 35px;
    }
    .you-block{
        flex-direction: column;
    }
    .why-love_items{
        flex-wrap: wrap;
    }
    .why-love_item{
        width: 100%;
    }

    .five-reasons_number,.many-problems_box {
        width: 30px;
        min-width: 30px;
        height: 30px;
    }
    .five-reasons_number-text{
        font-size: 15px;
    }

    .how-works_title{
        margin-bottom: 80px;
    }
    .how-works_item{
        width: 100%;
    }
    .how-works_item-number {
        font-size: 80px;
        top: -30px;
        left: -10px;
    }
    .how-works_item:nth-child(2n){
       padding-top: 0;
    }
    .how-works_item:nth-child(2n) .how-works_item-number{
        top: -40px;
    }
    .author-block {
        flex-wrap: wrap;
    }

    .author-block_image-block {
        max-width: 100%;
        width: 100%;
    }
    .author-block_content {
        width: 100%;
    }
    .banner-block{
        flex-wrap: wrap;
        gap: 0;
    }
    .banner-block_title{
        line-height: 30px;
        gap: 0;
    }
    .footer-block{
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    

    .footer-fix_block{
        flex-direction: column;
        gap: 15px;
    }
    .footer-fix_button{
        padding: 10px 20px;
        font-size: 16px;
    }
    .discount-line {
        left: -20px;
        width: 30%;
    }

}
@media (max-width: 375px){

}
