/* header */

.header{
    display: flex;
    background-image: url('./image/main.png');
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    /* height: 1079px; */
    margin-bottom: 88px;
    will-change: transform;
}

.header__content{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 55.5px 100px;
    /* box-sizing: border-box; */
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 999;
}

.content__header{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 86px;
}

.content__header_logo{
    width: 250.228px;
    height: auto;
}

.content__header_phone{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
}

.phone__number{
    color: #006580;
    text-align: right;
    font-family: "Inter";
    font-size: 22.03px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: unset;
    margin-bottom: 4px;
}

.phone__text{
    color: #4D4C4C;
    font-family: "Inter";
    font-size: 22.03px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
}

.content__block{
    display: flex;
    flex-direction: column;
    position: relative;

}

.block__text{
    color: #4D4C4C;
    font-family: "Montserrat";
    font-size: 25.03px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 11px;
}

.block__title{
    color: #006580;
    font-family: "Montserrat";
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    max-width:978px;
    margin-bottom: 30px;
}

.block__title > span{
    color: #4D4C4C;
}

.block__btn{
    display: flex;
    align-items: center;
    gap:51px;
    margin-bottom: 55px;
}
.btn__test{
    border-radius: 23.465px;
    background: #006580;   
    padding: 20px;
    box-sizing:border-box;
    color: #FFF;
    text-align: center;
    font-family: "Montserrat";
    font-size: 25.287px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    width: 100%;
    max-width: 350px;
    transition: 0.2s;
}

.btn__test:hover{
    cursor: pointer;
    opacity: 0.8;
}

.btn__whats > a{
    display: flex;
    align-items: center;
    transition: 0.2s;
    text-decoration: none;
}

.btn__whats:hover{
    cursor: pointer;
    opacity: 0.8;
}

.whats__text{
    color: #6A6A6A;
    font-family: "Rubik";
    font-size: 18.409px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 223px;
    margin-left: 24.5px;
}

.two{
    max-width: 563px;
    margin-bottom: 41.5px;
}

.content__footer{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: 50%;
    row-gap: 20px;
}

.footer__item{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 273px;
}

.footer__item > span{
    color: #4D4C4C;
    text-align: center;
    font-family: "Montserrat";
    font-size: 20.337px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-top: 9px;

}

.header__img{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35%;
    max-width: 850px;
}


@media screen and (max-width:1240px){
    .header__img{
        display: none;
    }
}

@media screen and (max-width:767px){

    .header{
        margin-bottom: 33px;
    }

    .header__content{
        padding: 41px 30px 69px;
    }

    .content__header_logo{
        width: 101.517px;
        height: 21.906px;
    }

    .phone__number{
        font-size: 8.549px;
    }

    .phone__text{
        font-size: 8.549px;
    }

    .block__text{
        font-size: 11px;
        margin-bottom: 5px;
        max-width: 253px;
        
    }

    .two{
        text-align: center;
        max-width: 100%;
    }

    .block__title{
        font-size: 19.585px;
        margin-bottom: 11px;
    }

    .block__btn{
        gap:19px
    }

    .btn__test{
        font-size: 10.686px;
        max-width: 144px;
        padding: 9px;
        border-radius: 8.015px;
    }

    .btn__whats > a > img{
        width: 23.769px;
        height: 23.769px;
    }

    .whats__text{
        font-size: 9.904px;
        margin-left: 10px;
    }

    .block__text{
        font-size: 10.441px;
        margin-bottom: 15px;
    }

    .content__footer{
        width: 100%;
    }

    .footer__item > img{
        width: 30.905px;
        height: 30.905px;   
        margin-bottom: 5.6px;    
    }

    .footer__item > span{
        font-size: 11.479px;  
    }
}

@media screen and (max-width:768px) {
    .header {
        margin-bottom: 40px;
    }

    .header__content {
        padding: 20px;
    }

    .content__header {
        margin-bottom: 40px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .content__header_logo {
        width: 180px;
    }

    .content__header_phone {
        align-items: center;
    }

    .phone__number {
        font-size: 18px;
    }

    .phone__text {
        font-size: 16px;
    }

    .block__text {
        font-size: 18px;
        text-align: center;
        margin-bottom: 15px;
    }

    .block__title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 20px;
    }

    .header__btn {
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    .btn__test {
        font-size: 16px;
        padding: 12px 24px;
    }

    .header__img {
        display: none;
    }
}

/* header */


 /* write off  */

 .white{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 100px;
    margin-bottom: 80px;
 }

 .white__title{
    color: #11171F;
    text-align: center;
    font-family: "Rubik";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 30px;
 }

 .white__block{
    display: flex;
    justify-content:space-between;
    width: 100%;
    gap: 40px;
 }

 .white__block_left, .white__block_right{
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 50%; */
    gap:25px;
 }

 .title{
    color: #000;
    font-family: "Rubik";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 26px;
 }

 .block{
    display: inline-flex;
    padding: 30px 55px 30px 40px;
    box-sizing: border-box;
    align-items: flex-start;
    border-radius: 10px;
    background: #F8F8F8;
    display: flex;
    gap:27px;
    width: 100%;
    max-width: 523px;
 }

 .block__text{
    display: flex;
    flex-direction: column;
    gap:15px
 }

 .block__text_title{
    color: #11171F;
    font-family: "Rubik";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
 }

 .block__text_desc{
    color: #0B1F33;
    font-family: "Rubik";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
 }

 @media screen and (max-width:1024px){
    .white{
        padding: 0 31px;
    }
 }

 @media screen and (max-width:767px){

    .white{
        margin-bottom: 63px;
    }
    .white__title{
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 17.254px;
        margin-bottom: 16px;
    }

    .white__block{
        flex-direction: column;
        gap:21px
    }

    .white__block_left{
        gap:15px
    }

    .title{
        font-size: 16.897px;
        font-style: normal;
        font-weight: 500;
        line-height: 13.456px;
        margin-bottom: 0;
    }

    .block{
        padding: 18.825px 34.512px 18.825px 25.099px;
        border-radius: 6.275px;
        gap:16px
    }

    .block > img{
        width: 15.06px;
        height: 15.06px;
    }

    .block__text{
        gap:9px
    }

    .block__text_title{
        font-size: 11.295px;
        font-style: normal;
        font-weight: 700;
        line-height: 15.06px;
    }

    .block__text_desc{
        font-size: 10.04px;
        font-style: normal;
        font-weight: 400;
        line-height: 15.06px; 
    }
 }

 /* write off  */


 /* quiz */
 .quiz{
    background: #F0F0F0;
    padding: 71px 100px;
    margin-bottom: 52px;
 }
.quiz__content_close{
    display: none;
    position: absolute;
    top:14px;
    right: 19px;
}
 .quiz__content{
    border-radius: 20px;
    background: #FFF;
    padding: 50px 54px 65px 55px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    will-change: opacity;
    transition: opacity 0.3s ease;
 }

 .quiz__content_block{
    display: none;
 }

 .active{
    display: flex;
    flex-direction: column;
    opacity: 1;
 }

 .quiz__content__header{
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    gap:15px;
 }

 .content__header_title{
    color: #11171F;
    font-family: "Inter";
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 36.4px;
 }

 .content__header_num{
    color: #333;
    font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 25.2px;
 }

 .contnet__desc{
    max-width: 796px;
    color: #717B97;
    font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px;
    margin-bottom: 38px;
 }

 .form_data_inputs{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    column-gap: 11px;
    row-gap: 19px;
 }

 .block__check{
    border-radius: 10px;
    background: #F8F8F8;
    padding: 17px 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 48%;
    position: relative;
 }

 .block__check_label{
    color: #11171F;
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-left: 11px;
 }

 .block__check > input{
    position: absolute;
    opacity: 0;
 }

 .custom-radio{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    border: 1px solid #004D61;
    transition: 0.1s all linear;
    outline: none;
    position: relative;
    margin: 0;
}

input[type="radio"]:checked + .custom-radio:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: absolute;
    top:5px;
    left:5px;
    background-color:#F8F8F8;
  }

  input[type="radio"]:checked + .custom-radio{
    background-color:#004D61
  }

/* .block__check > input:checked {
    border: 6px solid #004D61;
} */

.quiz__btn-group{
    display: flex;
    align-items: center;
    gap:15px;
    margin-top: 15px;
}

.quiz-next-btn {
    background-color: #006580;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
    transition: background-color 0.3s;
    outline: 2px solid #006580;
    outline-offset: 2px;
}

.quiz-next-btn:hover {
    background-color: #005267;
}

.contact-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Inter';
    font-size: 16px;
    margin-bottom: 15px;
}

.submit-btn {
    background-color: #006580;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-family: 'Inter';
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
    outline: 2px solid #006580;
    outline-offset: 2px;
}

.submit-btn:hover {
    background-color: #005267;
}

#block_final {
    text-align: center;
}

.quiz__content_block {
    display: none;
}

.quiz__content_block.active {
    display: block;
}

.quiz__navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.quiz-prev-btn,
.quiz-next-btn,
.submit-btn {
    padding: 15px 30px;
    border-radius: 10px;
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

.quiz-next-btn,
.submit-btn {
    background-color: #006580;
    color: white;
    border: none;
}

.quiz-next-btn:hover,
.submit-btn:hover {
    background-color: #005267;
}

.quiz-next-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.quiz-prev-btn {
    background-color: transparent;
    border: 2px solid #006580;
    color: #006580;
}

.quiz-prev-btn:hover {
    background-color: #f5f5f5;
}

.contact-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-family: 'Inter';
    font-size: 16px;
    margin-bottom: 15px;
}

.quiz__content_block {
    display: none;
}

.quiz__content_block.active {
    display: block;
}

#block_final .quiz__navigation {
    justify-content: center;
}

.btn__prev{
    padding: 10px 25px;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: #F8F8F8;
    color: #666;
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22.4px; 
    max-width: 125px;
    transition: 0.2s;
}

.btn__prev:hover{
    cursor: pointer;
    opacity: 0.8;
}

.btn__next{
    padding: 10px 25px;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: #006580;
    color: #FFF;
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22.4px;
    max-width: 125px;
    transition: 0.2s;
}

.btn__next:hover{
    cursor: pointer;
    opacity: 0.8;
}

.modal{
    display:none;
    position: fixed;
    top: 0;
    bottom:0;
    left:0;
    right:0;
    z-index: 99999;
    background: #FFF;
   
}
.modal_open{
    display:flex;
    justify-content: center;
    align-items:center;
}

.modal__block{
    display:flex;
    flex-direction: column;
    align-items:center;
    width:100%;
    max-width:1200px;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0px 24px 48px 0px rgba(219, 236, 240, 0.40), 0px 1px 4px 0px #D3E5E9;
    padding:42px 146px 27px;
    
}

.modal__img{
    width: 50px;
    height: 50px;
    margin-bottom:17px;
}

.modal__title{
    color: #333;
    font-size: 26px;
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    line-height: 36.4px; 
    margin-bottom:44px;
}

.modal__desc{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width:652px;
}

.block__input{
    width:100%;
    max-width:702px;
    display: flex;
    max-width: 702px;
    height:50px;
    /* padding: 0px 30% 0px 30% ; */
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #EAEAEA;
    margin-bottom:8px;

}

.modal__input{
    background: #EAEAEA;
    color: #333;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22.4px;
    border:0;
    padding-left: 80px;
    /* margin-bottom:8px */


}

.modal__desc > span{
    color: #333;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px;
    font-family: "Inter";
}

.modal__btn{
    display: flex;
    width:100%;
    max-width: 702px;
    padding: 15px 0px 14px 0px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #006580;
    box-shadow: 0px 24px 48px 0px rgba(225, 225, 225, 0.40), 0px 1px 4px 0px #A7A7A7, 0px 4px 4px 0px rgba(255, 255, 255, 0.15) inset;
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22.4px;
    margin-bottom:18px;
    font-family: "Inter";
}

.modal__btn:hover{
    cursor: pointer;
    opacity: 0.8;
}


@media screen and (max-width:1024px){
    .quiz{
        padding: 71px 30px;
    }
}

@media screen and (max-width:767px){
    .quiz{
        margin-bottom: 63px;
    }

    .quiz__content{
        padding: 36px 20px;
        position: relative;
    }

    .content__header_title{
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 7px;
    }

    .content__header_num{
        color: #6A6A6A;
        text-align: right;
        font-family: "Inter";
        font-size: 11px;
        font-style: normal;
        font-weight: 700;
        line-height: 25.2px;
        position: absolute;
        right:24px;
        bottom: 35px;
    }

    .contnet__desc{
        font-size: 10.224px;
        font-style: normal;
        font-weight: 500;
        line-height: 14.314px; 
        margin-bottom: 28px;
    }

    .form_data_inputs{
        flex-direction: column;
    }

    .block__check{
        width: 100%;
    }

    .block__check > span {
        font-size: 14px;
        line-height: 22.4px; 
    }

    .block__check > input{
        min-width: 16.364px;
        height: 16.364px;
    }

    .block__check > input:checked {
        border: 5px solid #004D61;
    }

    .quiz__btn-group{
        margin-top: 84px;
    }

    .btn__prev{
        padding: 6.826px 13.993px 7.652px 12.893px;
        border-radius: 5.309px;
        font-size: 10.618px;
        font-style: normal;
        font-weight: 700;
        line-height: 12.21px;
        max-width: 60px;
    }

    .btn__next{
        padding: 6.826px 13.993px 7.652px 12.893px;
        border-radius: 5.309px;
        font-size: 10.618px;
        font-style: normal;
        font-weight: 700;
        line-height: 12.21px;
        max-width: 60px;
    }

    .modal__block{
        max-width: 330px;
        padding: 42px 29px 27px;
    }

    .modal__title{
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .modal__desc > span{
        font-size: 11px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }
}
 /* quiz */

 /* itog */

.itog{
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    padding: 0px 100px;
    margin: 0 auto;
    margin-bottom: 160px;
}

.itog__title{
    color: #11171F;
    text-align: center;
    font-family: "Rubik";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 47px;
}

.itog__block{
    display: flex;
    flex-wrap: wrap;
    gap:32px;
    justify-content: center;
}

.itog__block_item{
    padding: 25px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #FFF;
    box-shadow: 0px 14px 34px 0px rgba(0, 77, 97, 0.15);
    width: 100%;
    max-width: 375px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.itog__block_item_title{
    color: #333;
    font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 25.2px;
    margin: 3px 0 8px 0;
}

.itog__block_item_desc{
    color: #717B97;
    font-family: "Inter";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22.4px;
}

@media screen and (max-width:1024px){
    .itog{
        padding: 0px 72px;
        margin-bottom: 94px;
    }

    .itog__block{
        gap:15px;
    }

    .itog__title{
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 23.549px;
        margin-bottom: 24px;
    }


    .itog__block_item{
        padding: 15px;
    }
    .itog__block_item_img{
        width: 112px;
    }

    .itog__block_item_title{
        text-align: center;
        font-size: 11.502px;
        line-height: 16.103px;
        margin: 2px 0 5px 0;
    }

    .itog__block_item_desc{
        font-size: 10.224px;
        font-style: normal;
        font-weight: 500;
        line-height: 14.314px; 
    }
}

 /* itog */

 /* success  */
 .success{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0 100px;
    max-width: 1200px;
    margin: 0 auto;
 }

 .success__title{
    display: none;
 }

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

 .success__text{
    display: flex;
    flex-direction: column;
    margin-bottom: 95px;
 }

 .success__text_title{
    color: #11171F;
    font-family: "Inter";
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 36.4px; 
 }

 .success__text > ul > li{
    color: #11171F;
    font-family: "Inter";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 36.4px;
    margin-bottom: 6px;
 }

 @media screen and (max-width:1240px){
    .success__title{
        display: block;
        text-align: center;
        color: #11171F;
        font-family: "Inter";
        font-size: 26px;
        font-style: normal;
        font-weight: 700;
        line-height: 36.4px; 
        margin-bottom: 40px;
    }

    .success__text_title{
        display: none;
    }

    .success__img > img{
        width: 400px;
    }
 }

 @media screen and (max-width:1024px){
    .success{
        padding: 0 30px;
    }
 }

 @media screen and (max-width:767px){
    .success__title{
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 20px;
    }
    .success__title >span{
        color: #226777;
    }

    .success__block{
        gap: 0
    }

    .success__img > img{
        width: 191px;
    }

    .success__text{
        margin-bottom: 40px;
    }

    .success__text > ul{
        padding-left: 10px;
    }

    .success__text > ul > li{
        font-size: 10px;
        font-style: normal;
        font-weight: 500;
        line-height: 11.658px; 
    }
 }

 /* success  */


 /* reviews  */
.reviews{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0 100px;
    max-width: 1290px;
    margin: 0 auto;
    margin-bottom: 100px;
}


.reviews__title{
    color: #11171F;
    text-align: center;
    font-family: "Inter";
    font-size: 33.299px;
    font-style: normal;
    font-weight: 700;
    line-height: 48.284px;
    margin-bottom: 11px;
}

.reviews__title > span{
    color: #006580;
}

.reviews__description{
    color: #717B97;
    text-align: center;
    font-family: "Inter";
    font-size: 17.629px;
    font-style: normal;
    font-weight: 400;
    line-height: 24.681px;
    margin-bottom: 46px;
    max-width: 846px;
}

.content{
    display: flex;
    width: 100%;
    /* justify-content: space-between; */
    gap:70px
}

.reviews__block_video{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    width: 100%;
    max-width: 630px;
}

.block__video_title{
    display: flex;
    flex-direction: column;
    margin: 31px 0 13px 0;
}

.video__title_name{
    color: #333;
    font-family: "Inter";
    font-size: 25.464px;
    font-style: normal;
    font-weight: 700;
    line-height: 35.65px;
    margin-bottom: 13px;
}

.video__title_desc{
    color: #717B97;
    font-family: "Inter";
    font-size: 14.691px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.block__link{
    display: flex;
    align-items: center;
    gap:16px;
    max-width: 340px;
}

.block__link_item{
    display: flex;
    align-items: center;
    gap:10px
}

.block__video_content > iframe{
    width: 300px;
}

.block__link_item_title{
    color: #004D61;
    font-family: "Inter";
    font-size: 11.753px;
    font-style: normal;
    font-weight: 500;
    line-height: 16.454px;
}

.block__video{
    display: flex;
    align-items: center;
    gap:30px;
    margin-top:86px ;
}

.reviews__block_docs{
    display: flex;
    flex-direction: column;
}

.block__docs_main{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:12px
}

.main__item{
    position: relative;
    /* width: 100%; */
    /* max-width: 258px; */
}

.main__item_img{
    width: 100%;
    max-width: 258px;
}

.main__item_block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    background: #006580;
    box-shadow: 0px 4px 4px 0px rgba(0, 101, 128, 0.25);
    width: 100%;
    /* max-width: 259px; */
    padding: 8px 15px;
    box-sizing: border-box;
    position: absolute;
    bottom: 85px;
    left:0px;
}

.main__item_block_title{
    color: #FFF;
    font-family: "Rubik";
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 11px; 
    max-width: 88px;
}

.main__item_block_desc{
    color: #FFF;
    font-family: "Rubik";
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 11px; /* 100% */
}

.block__docs_list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap:12px;
    row-gap: 10px;
}

.block__docs_list > a > img{
    width: 115px;
}

@media screen and (max-width:1300px){
    .content{
        gap:13px;
        flex-direction: column;
    }

    .reviews__block_video{
        max-width: 100%;
        align-items: center;
    }

    .block__docs_main{
        display: none;
    }
}

@media screen and (max-width:1024px){
    .reviews{
        padding: 0 30px;
        margin-bottom: 51px;
    }
}

@media screen and (max-width:767px){
    .reviews__title{
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 8px;
    }

    .reviews__description{
        font-size: 11px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-bottom: 14px;
    }

    .reviews__block_video{
        align-items: unset;
    }

    .block__video_title{
        margin: 15px 0 9px 0;
    }

    .block__link{
        display: none;
    }

    .video__title_name{
        font-size: 12.257px;
        font-style: normal;
        font-weight: 700;
        line-height: 17.159px; 
        margin-bottom: 8px;
    }

    .video__title_desc{
        font-size: 7.071px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .block__video{
        margin-top: 9px;
    }

    .block__video_content > iframe{
        width: 100%;
    }

    .block__docs_list{
        column-gap: 10px;
        row-gap: 8px;
    }

    .block__docs_list > a > img{
        width: 71px;
    }
}

 /* reviews  */



 /* consequences */


 .consequences{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0 100px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 91px;
 }

 .consequences__title{
    color: #11171F;
    text-align: center;
    font-family: "Rubik";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    margin-bottom: 57px;
 }

 .consequences__block{
    display: flex;
    gap:44px
 }

 .consequences__block_item{
    border-radius: 20px;
    background: #F8F8F8;
    padding: 34px 68px 34px 65px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
 }

 .consequences__block_item_title{
    color: #0B1F33;
    font-family: "Rubik";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin-bottom: 25px;
    margin-top: 15px;
 }

 .consequences__block_item_desc{
    color: #0B1F33;
    font-family: "Rubik";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; 
 }

 .consequences__block_item_mobile{
    display: none;
 }

 @media screen and (max-width:1024px){
    .consequences__block{
        gap:41px;
        flex-direction: column;
    }

    .consequences__block_item{
        width: 100%;
    }
 }

 @media screen and (max-width:767px){

    .consequences{
        padding: 0 30px;
        margin-bottom: 19px;
    }
    .consequences__title{
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 17.254px;
        margin-bottom: 20px;
    }

    .consequences__block{
        gap:41px
    }
    .consequences__block_item{
        padding: 13px 12px 18px 23px;
        width: 100%;
    }

    .consequences__block_item > img{
        display: none;
    }

    .consequences__block{
        flex-direction: column;
    }

    .consequences__block_item_title{
        display: none;
    }

    .consequences__block_item_mobile{
        display: flex;
        align-items: center;
        gap:15px;
        margin-bottom: 10px;
    }
    .consequences__block_item_mobile > img{
        width: 33.241px;
        height: 33.241px;

    }
    .consequences__block_item_mobile_title{
        color: #0B1F33;
        font-family: "Rubik";
        font-size: 11px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .consequences__block_item_desc{
        font-size: 9px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }
 }
 /* consequences */

 /* dop  */

 .dop{
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0 100px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 181px;
 }

 .dop__title{
    color: #11171F;
    text-align: center;
    font-family: "Rubik";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px; 
    margin-bottom: 57px;
 }

 .dop__block{
    display: flex;
    align-items: center;
    gap:42px;
 }

 .dop__block_item{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 62px 75px 16px;
    box-sizing: border-box;
    border-radius: 19.758px;
    background: #F8F8F8;
    width: 50%;
    /* min-width: 655px; */
 }

 .dop__block_item_title{
    color: #10171E;
    text-align: center;
    font-family: "Montserrat";
    font-size: 21.724px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin: 39px 0 43px 0;
    max-width: 344px;
 }

 .dop__block_item_desc{
    color: #0B1F33;
    text-align: center;
    font-family: "Rubik";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; 
 }

 @media screen and (max-width:1024px){
    .dop__block{
        flex-direction: column;
    }

    .dop__block_item{
        width: 100%;
    }
 }

 @media screen and (max-width:767px){

    .dop{
        padding: 0 30px;
        margin-bottom: 30px;
    }

    .dop__title{
        color: #11171F;
        text-align: center;
        font-family: "Rubik";
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 17.254px; 
        margin-bottom: 14px;
    }

    .dop__block_item{
        padding: 26px 50px 6px;

    }

    .dop__block_item > img{
        height:36px
    }

    .dop__block_item_title{
        font-size: 9.371px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin: 17px 0 30px 0;
    }

    .dop__block_item_desc{
        font-size: 6.902px;
        font-style: normal;
        font-weight: 400;
        line-height: 10.352px;
    }
 }
 /* dop  */

 /* application */

 .application{
    display: flex;
    padding: 0 100px;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 131px;
    gap:30px
}

.application__block{
    display: flex;
    flex-wrap: wrap;
    column-gap:20px;
    row-gap: 16px;

}

.application__block_item{
    padding: 31px 44px;
    box-sizing: border-box;
    border-radius: 7.811px;
    background: #F0F0F0;  
    max-width: 280px;  
    display: flex;
    flex-direction: column;
}

.application__block_item_title{
    color: #7B7B7B;
    font-family: "Rubik";
    font-size: 11.716px;
    font-style: normal;
    font-weight: 400;
    line-height: 15.622px; 
    margin-bottom: 20px;
    display: block;
}

.application__block_item_desc{
    color: #686868;
    font-family: "Rubik";
    font-size: 14.981px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
   
}

.application__block_item_desc > span{
    color: #006680;
    font-family: "Rubik";
    font-size: 37.492px;
    font-style: normal;
    font-weight: 500;
    line-height: 7.811px;
}

.application__text{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.application__text_title{
    color: #11171F;
    font-family: "Inter";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.application__text_desc{
    color: #006580;
    font-family: "Inter";
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.application__text_btn{
    border-radius: 14.779px;
    background: #006580;
    padding: 17px;
    box-sizing: border-box;
    color: #FFF;
    text-align: center;
    font-family: "Montserrat";
    font-size: 19.705px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    max-width: 267px;
    margin-top: auto;
    transition: 0.2s;
    outline: 2px solid #006580;
    outline-offset: 2px;
}

.application__text_btn:hover{
    cursor: pointer;
    opacity: 0.8;
}

#modal_2{
    background: rgba(0, 0, 0, 0.30);
}

@media screen and (max-width:767px){
    .application{
        flex-direction: column;
        padding: 61px 30px 35px;
        margin-bottom: 0;
        background-image: url('./image/footer_img.png');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
    .application__block{
        column-gap:5px;
        row-gap: 8px;
        justify-content: center;
    }
    .application__block_item{
        border-radius: 4.199px;
        border: 1px solid #FFF;
        background: rgba(240, 240, 240, 0.50);
        backdrop-filter: blur(14.5px);
        max-width: 155px;
        padding: 16px 24px;
    }

    .application__block_item_title{
        font-size: 6.298px;
        font-style: normal;
        font-weight: 400;
        line-height: 8.398px;
        margin-bottom: 8px;
    }

    .application__block_item_desc{
        font-size: 8.054px;
        font-style: normal;
        font-weight: 400;
        line-height: 10.796px;
    }

    .application__block_item_desc>span{
        font-size: 20.155px;
        font-style: normal;
        font-weight: 500;
        line-height: 16.796px;
    }

    .application__text{
        align-items: center;
    }

    .application__text_title{
        text-align: center;
        font-size: 17.202px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .application__text_desc{
        text-align: center;
        font-size: 17.202px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 19px;
    }

    .application__text_btn{
        font-size: 10.593px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        padding: 9px;
        max-width: 143px;
        border-radius: 7.945px;
    }
}

 /* application */



/* footer  */

.footer{
    background: #F0F0F0;
    padding: 85px 100px 143px;
    box-sizing: border-box;

}

.footer__block{
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    justify-content: center;
}

.block__one{
    display: flex;
    /* width: 100%; */
}

.block__two{
    display: flex;
}

.footer__phone{
    display: flex;
    flex-direction: column;
    margin-right: 84px;
}

.footer__text{
    color: #666;
    font-family: "Rubik";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.6px;
    margin-bottom:4px
}

.footer__phone_number{
    color: #004A5D;
    font-family: "Inter";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: 25.2px; 
    text-decoration: unset;
}


.footer__soc{
    display: flex;
    flex-direction: column;
    margin-right: 68px;
}

.footer__soc > span{
    margin-bottom: 10px;
}

.footer__chat{
    display: flex;
    flex-direction: column;
    margin-right: 68px;
}

.footer__chat > span{
    margin-bottom: 10px;
}

.footer__gos{
    display: flex;
    flex-direction: column;
    margin-right: 41px;
}
.soc__icon, .chat__icon, .gos__icon{
    display: flex;
    align-items:center;
    gap:19px
}

.soc__icon > a > img:hover{
    cursor: pointer;
}

.chat__icon > a > img:hover{
    cursor: pointer;
}


.footer__desc{
    display: flex;
    flex-direction: column;
    gap:32px;
    color: #666;
    font-family: "Rubik";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 19.6px;
    max-width: 392px;
}

@media screen and (max-width:1550px){

    .footer{
        padding: 85px 50px 143px;
    }
    .footer__block{
        flex-direction: column;
        gap:50px;
        align-items: center;
    }
}

@media screen and (max-width:767px){

    .footer{
        padding: 20px 30px 15px;
    }
    .footer__block{
        flex-direction: column;
        gap:40px;
        align-items: center;
    }

    /* .footer__desc > span:last-child{
        display: none;
    } */

    .footer__desc{
        font-size: 6.887px;
        line-height: 9.642px;
        gap:8px;
    }

    .footer__phone > .footer__text{
        margin-bottom: 12px;
    }

    .footer__text{
        font-size: 6.887px;
        line-height: 9.642px;
    }

    .footer__phone_number{
        font-size: 8.855px;
        line-height: 12.397px;
    }

    .block__one{
        width: 100%;
    }

    .soc__icon, .chat__icon, .gos__icon{
        gap:9px;
    }

    .soc__icon > a > img{
        width: 12.791px;
        height: 12.791px;
    }

    .soc__icon > a > img:hover{
        cursor: pointer;
    }

    .chat__icon > a > img{
        width: 12.791px;
        height: 12.791px;
    }

    .gos__icon > img{
        width: 34px;
    }

    .footer__phone{
        margin-right: 42px;
    }

    .footer__soc{
        margin-right: 33px;
    }

    .footer__chat{
        margin-right: 0;
    }
    
}
/* footer  */

/* modals  */

.modals{
    position: fixed;
    top: 0;
    bottom:0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
    z-index: 9999;
}

.modals > .quiz__content {
    position: relative;
}

.modals > .quiz__content > .quiz__content_close{
    display: block;
    transition: 0.2s;
}

@media screen and (max-width:767px){
    .modals{
        background: rgba(255, 255, 255, 0.80);
        backdrop-filter: blur(4.5px);
    }

    .modals > .quiz__content{
        filter: drop-shadow(0px 24px 48px rgba(219, 236, 240, 0.40)) drop-shadow(0px 1px 4px #D3E5E9);
    }

    

    .quiz__content_close:hover{
        cursor: pointer;
    }
}
/* modals  */

:focus {
    outline: 2px solid #006580;
    outline-offset: 2px;
}

.quiz-next-btn:focus,
.quiz-prev-btn:focus,
.submit-btn:focus {
    outline: 2px solid #006580;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 101, 128, 0.2);
}

/* Улучшения для мобильных устройств */
@media (max-width: 768px) {
    .quiz__navigation {
        flex-direction: column;
        gap: 10px;
    }

    .quiz-prev-btn,
    .quiz-next-btn,
    .submit-btn {
        width: 100%;
        max-width: none;
    }

    .quiz__content {
        padding: 20px;
    }

    .content__header_title,
    .final__header_title {
        font-size: 20px;
        margin-bottom: 20px;
        text-align: center;
    }

    .block__check {
        margin-bottom: 15px;
    }

    .block__check_label {
        font-size: 16px;
    }

    .quiz__content_buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    #button, #button_prev, #button_submit {
        width: 100%;
        font-size: 16px;
        padding: 12px;
        margin: 0;
    }

    .quiz__content_final {
        padding: 20px;
    }

    .final__header_title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .final__header_text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .phone-input {
        width: 100%;
        font-size: 16px;
        padding: 12px;
    }

    .privacy-label {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    /* Адаптация остальных секций */
    .write-off,
    .main,
    .reviews,
    .application {
        padding: 20px;
    }

    .write-off__content,
    .main__content,
    .reviews__content,
    .application__content {
        flex-direction: column;
    }

    .write-off__block,
    .main__block,
    .reviews__block,
    .application__block {
        width: 100%;
    }

    .write-off__title,
    .main__title,
    .reviews__title,
    .application__title {
        font-size: 24px;
        margin-bottom: 20px;
        text-align: center;
    }

    .write-off__text,
    .main__text,
    .reviews__text,
    .application__text {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .application__text_btn {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 16px;
    }

    /* Дополнительные стили для маленьких экранов */
    .content__footer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer__item {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .footer__item img {
        width: 40px;
        height: auto;
    }

    .footer__item span {
        font-size: 16px;
        margin-left: 10px;
    }
}

/* Очень маленькие экраны */
@media screen and (max-width: 375px) {
    .header__content {
        padding: 15px;
    }

    .content__header_logo {
        width: 150px;
    }

    .block__title {
        font-size: 20px;
    }

    .phone__number {
        font-size: 16px;
    }

    .phone__text {
        font-size: 14px;
    }

    .btn__test {
        font-size: 14px;
        padding: 10px 20px;
    }

    .quiz__content {
        padding: 15px;
    }

    .content__header_title,
    .final__header_title {
        font-size: 18px;
    }

    .block__check_label,
    .final__header_text {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    /* Адаптация блока ответов */
    .quiz__content_block {
        padding: 15px;
    }

    .block__check {
        padding: 14px;
        margin-bottom: 10px;
    }

    .block__check_label {
        font-size: 15px;
        gap: 10px;
    }

    .custom-radio {
        width: 18px;
        height: 18px;
    }

    .custom-radio:after {
        width: 10px;
        height: 10px;
        top: 2px;
        left: 2px;
    }

    .quiz__content_buttons {
        padding: 0 15px 15px;
    }

    #button, #button_prev, #button_submit {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media screen and (max-width: 375px) {
    .quiz__content_block {
        padding: 10px;
    }

    .block__check {
        padding: 12px;
        margin-bottom: 8px;
    }

    .block__check_label {
        font-size: 14px;
        gap: 8px;
    }

    .custom-radio {
        width: 16px;
        height: 16px;
    }

    .custom-radio:after {
        width: 8px;
        height: 8px;
        top: 2px;
        left: 2px;
    }

    .quiz__content_buttons {
        padding: 0 10px 10px;
        gap: 6px;
    }

    #button, #button_prev, #button_submit {
        height: 38px;
        font-size: 13px;
    }

    #button_prev {
        width: 35%;
    }

    #button_submit {
        width: 65%;
    }
}

/* Базовые стили для кнопок */
.quiz__content_buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    padding: 0 20px 20px;
    box-sizing: border-box;
}

#button_prev,
#button_submit,
.btn__test {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 24px;
    white-space: nowrap;
    box-sizing: border-box;
}

#button_prev {
    width: 40%;
    background: transparent;
    border: 2px solid #006580;
    color: #006580;
}

#button_prev:hover {
    background-color: rgba(0, 101, 128, 0.1);
}

#button_submit,
.btn__test {
    width: 60%;
    background: #006580;
    border: none;
    color: white;
}

#button_submit:hover,
.btn__test:hover {
    background-color: #005267;
}

/* Стили для блока вопросов */
.quiz__content_block {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
}

.block__check {
    background: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.block__check:hover {
    background: #F1F3F5;
    border-color: #DEE2E6;
}

.block__check input[type="radio"] {
    display: none;
}

.block__check_label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #495057;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #006580;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.custom-radio:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #006580;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.block__check input[type="radio"]:checked + .block__check_label .custom-radio:after {
    transform: scale(1);
}

.block__check input[type="radio"]:checked + .block__check_label {
    color: #006580;
}

.block__check:has(input[type="radio"]:checked) {
    background: #E7F5F8;
    border-color: #006580;
}

/* Стили для кнопок */
.quiz__content_buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 0 25px 25px;
    width: 100%;
    box-sizing: border-box;
}

#button_prev,
#button_submit,
.btn__test {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 24px;
    white-space: nowrap;
    box-sizing: border-box;
}

#button_prev {
    width: 40%;
    background: transparent;
    border: 2px solid #006580;
    color: #006580;
}

#button_prev:hover {
    background-color: rgba(0, 101, 128, 0.1);
}

#button_submit,
.btn__test {
    width: 60%;
    background: #006580;
    border: none;
    color: white;
}

#button_submit:hover,
.btn__test:hover {
    background-color: #005267;
}

/* Адаптивные стили */
@media screen and (max-width: 768px) {
    .quiz__content_block {
        padding: 20px;
    }

    .block__check {
        padding: 14px;
        margin-bottom: 10px;
    }

    .block__check_label {
        font-size: 15px;
        gap: 10px;
    }

    .custom-radio {
        width: 18px;
        height: 18px;
    }

    .custom-radio:after {
        width: 10px;
        height: 10px;
        top: 2px;
        left: 2px;
    }

    .quiz__content_buttons {
        padding: 0 20px 20px;
    }

    #button_prev,
    #button_submit,
    .btn__test {
        height: 44px;
        font-size: 15px;
        padding: 0 20px;
    }
}

@media screen and (max-width: 375px) {
    .quiz__content_block {
        padding: 15px;
    }

    .block__check {
        padding: 12px;
        margin-bottom: 8px;
    }

    .block__check_label {
        font-size: 14px;
        gap: 8px;
    }

    .custom-radio {
        width: 16px;
        height: 16px;
    }

    .custom-radio:after {
        width: 8px;
        height: 8px;
        top: 2px;
        left: 2px;
    }

    .quiz__content_buttons {
        padding: 0 15px 15px;
        gap: 8px;
    }

    #button_prev,
    #button_submit,
    .btn__test {
        height: 40px;
        font-size: 14px;
        padding: 0 16px;
    }

    #button_prev {
        width: 35%;
    }

    #button_submit,
    .btn__test {
        width: 65%;
    }
}

/* Базовые стили для кнопок */
.quiz__content_buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    padding: 0 20px 20px;
    box-sizing: border-box;
}

#button_prev,
#button_submit,
.btn__test {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 24px;
    white-space: nowrap;
    box-sizing: border-box;
}

#button_prev {
    background: transparent;
    border: 2px solid #006580;
    color: #006580;
}

#button_prev:hover {
    background-color: rgba(0, 101, 128, 0.1);
}

#button_submit,
.btn__test {
    background: #006580;
    border: none;
    color: white;
}

#button_submit:hover,
.btn__test:hover {
    background-color: #005267;
}

/* Стили для блока вопросов */
.quiz__content_block {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
}

.block__check {
    background: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.block__check:hover {
    background: #F1F3F5;
    border-color: #DEE2E6;
}

.block__check input[type="radio"] {
    display: none;
}

.block__check_label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #495057;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #006580;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.custom-radio:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #006580;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.block__check input[type="radio"]:checked + .block__check_label .custom-radio:after {
    transform: scale(1);
}

.block__check input[type="radio"]:checked + .block__check_label {
    color: #006580;
}

.block__check:has(input[type="radio"]:checked) {
    background: #E7F5F8;
    border-color: #006580;
}

/* Стили для кнопок */
.quiz__content_buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 0 25px 25px;
    width: 100%;
    box-sizing: border-box;
}

#button_prev,
#button_submit,
.btn__test {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 24px;
    white-space: nowrap;
    box-sizing: border-box;
}

#button_prev {
    width: 40%;
    background: transparent;
    border: 2px solid #006580;
    color: #006580;
}

#button_prev:hover {
    background-color: rgba(0, 101, 128, 0.1);
}

#button_submit,
.btn__test {
    width: 60%;
    background: #006580;
    border: none;
    color: white;
}

#button_submit:hover,
.btn__test:hover {
    background-color: #005267;
}

/* Адаптивные стили */
@media screen and (max-width: 768px) {
    .quiz__content_block {
        padding: 20px;
    }

    .block__check {
        padding: 14px;
        margin-bottom: 10px;
    }

    .block__check_label {
        font-size: 15px;
        gap: 10px;
    }

    .custom-radio {
        width: 18px;
        height: 18px;
    }

    .custom-radio:after {
        width: 10px;
        height: 10px;
        top: 2px;
        left: 2px;
    }

    .quiz__content_buttons {
        padding: 0 20px 20px;
    }

    #button_prev,
    #button_submit,
    .btn__test {
        height: 44px;
        font-size: 15px;
        padding: 0 20px;
    }
}

@media screen and (max-width: 375px) {
    .quiz__content_block {
        padding: 15px;
    }

    .block__check {
        padding: 12px;
        margin-bottom: 8px;
    }

    .block__check_label {
        font-size: 14px;
        gap: 8px;
    }

    .custom-radio {
        width: 16px;
        height: 16px;
    }

    .custom-radio:after {
        width: 8px;
        height: 8px;
        top: 2px;
        left: 2px;
    }

    .quiz__content_buttons {
        padding: 0 15px 15px;
        gap: 8px;
    }

    #button_prev,
    #button_submit,
    .btn__test {
        height: 40px;
        font-size: 14px;
        padding: 0 16px;
    }

    #button_prev {
        width: 35%;
    }

    #button_submit,
    .btn__test {
        width: 65%;
    }
}

/* Базовые стили для кнопок */
.quiz__content_buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    padding: 0 20px 20px;
    box-sizing: border-box;
}

#button_prev,
#button_submit,
.btn__test {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 24px;
    white-space: nowrap;
    box-sizing: border-box;
}

#button_prev {
    background: transparent;
    border: 2px solid #006580;
    color: #006580;
}

#button_prev:hover {
    background-color: rgba(0, 101, 128, 0.1);
}

#button_submit,
.btn__test {
    background: #006580;
    border: none;
    color: white;
}

#button_submit:hover,
.btn__test:hover {
    background-color: #005267;
}

/* Стили для финального блока */
.quiz__content_final {
    padding: 25px;
}

.final__header {
    margin-bottom: 25px;
    text-align: center;
}

.final__header_title {
    color: #006580;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.final__header_text {
    font-size: 16px;
    line-height: 1.4;
    color: #4D4C4C;
    margin-bottom: 25px;
    display: block;
}

.phone-input-container {
    position: relative;
    margin-bottom: 20px;
}

.phone-input {
    width: 100%;
    padding: 15px 45px 15px 15px;
    font-size: 16px;
    border: 2px solid #006580;
    border-radius: 8px;
    background: #fff;
}

.phone-icon {
    right: 15px;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.error-message {
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.privacy-block {
    margin-top: 15px;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #4D4C4C;
}

.privacy-checkbox {
    margin-top: 3px;
}

.quiz__content_buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

#button, #button_prev, #button_submit {
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
    text-align: center;
}

#button_prev {
    flex: 1;
    background: transparent;
    border: 2px solid #006580;
    color: #006580;
}

#button_submit {
    flex: 1;
    background: #006580;
    border: none;
    color: white;
}

@media screen and (max-width: 768px) {
    .quiz__content_final {
        padding: 20px;
    }

    .final__header {
        margin-bottom: 20px;
    }

    .final__header_title {
        font-size: 20px;
        margin-bottom: 12px;
        text-align: left;
    }

    .final__header_text {
        font-size: 14px;
        margin-bottom: 20px;
        text-align: left;
    }

    .phone-input {
        padding: 12px 40px 12px 12px;
        font-size: 15px;
    }

    .phone-icon {
        right: 12px;
        width: 18px;
        height: 18px;
    }

    .error-message {
        font-size: 11px;
        margin-top: 5px;
    }

    .privacy-label {
        font-size: 12px;
    }

    .quiz__content_buttons {
        flex-direction: row;
        gap: 10px;
    }

    #button_prev, #button_submit {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media screen and (max-width: 375px) {
    .quiz__content_final {
        padding: 15px;
    }

    .final__header_title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .final__header_text {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .phone-input {
        padding: 10px 35px 10px 10px;
        font-size: 14px;
    }

    .phone-icon {
        right: 10px;
        width: 16px;
        height: 16px;
    }

    .error-message {
        font-size: 10px;
        margin-top: 5px;
    }

    .privacy-label {
        font-size: 11px;
    }

    .quiz__content_buttons {
        gap: 8px;
    }

    #button, #button_prev, #button_submit {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .quiz__content_buttons {
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-top: 15px;
        width: 100%;
        padding: 0 15px 15px;
    }

    #button_prev {
        flex: 1;
        background: transparent;
        border: 2px solid #006580;
        color: #006580;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        border-radius: 8px;
    }

    #button_submit {
        flex: 1;
        background: #006580;
        border: none;
        color: white;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        border-radius: 8px;
    }
}

@media screen and (max-width: 375px) {
    .quiz__content_buttons {
        padding: 0 10px 10px;
        gap: 6px;
    }

    #button_prev {
        width: 35%;
        height: 38px;
        font-size: 13px;
    }

    #button_submit {
        width: 65%;
        height: 38px;
        font-size: 13px;
    }
}

/* Базовые стили для кнопок */
.quiz__content_buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    padding: 0 20px 20px;
    box-sizing: border-box;
}

#button_prev,
#button_submit,
.btn__test {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 24px;
    white-space: nowrap;
    box-sizing: border-box;
}

#button_prev {
    background: transparent;
    border: 2px solid #006580;
    color: #006580;
}

#button_prev:hover {
    background-color: rgba(0, 101, 128, 0.1);
}

#button_submit,
.btn__test {
    background: #006580;
    border: none;
    color: white;
}

#button_submit:hover,
.btn__test:hover {
    background-color: #005267;
}

/* Стили для блока вопросов */
.quiz__content_block {
    padding: 25px;
    background: #fff;
    border-radius: 12px;
}

.block__check {
    background: #F8F9FA;
    border: 1px solid #E9ECEF;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.block__check:hover {
    background: #F1F3F5;
    border-color: #DEE2E6;
}

.block__check input[type="radio"] {
    display: none;
}

.block__check_label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #495057;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #006580;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.custom-radio:after {
    content: '';
    width: 12px;
    height: 12px;
    background: #006580;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.block__check input[type="radio"]:checked + .block__check_label .custom-radio:after {
    transform: scale(1);
}

.block__check input[type="radio"]:checked + .block__check_label {
    color: #006580;
}

.block__check:has(input[type="radio"]:checked) {
    background: #E7F5F8;
    border-color: #006580;
}

/* Стили для кнопок */
.quiz__content_buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 0 25px 25px;
    width: 100%;
    box-sizing: border-box;
}

#button_prev,
#button_submit,
.btn__test {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 24px;
    white-space: nowrap;
    box-sizing: border-box;
}

#button_prev {
    width: 40%;
    background: transparent;
    border: 2px solid #006580;
    color: #006580;
}

#button_prev:hover {
    background-color: rgba(0, 101, 128, 0.1);
}

#button_submit,
.btn__test {
    width: 60%;
    background: #006580;
    border: none;
    color: white;
}

#button_submit:hover,
.btn__test:hover {
    background-color: #005267;
}

/* Адаптивные стили */
@media screen and (max-width: 768px) {
    .quiz__content_block {
        padding: 20px;
    }

    .block__check {
        padding: 14px;
        margin-bottom: 10px;
    }

    .block__check_label {
        font-size: 15px;
        gap: 10px;
    }

    .custom-radio {
        width: 18px;
        height: 18px;
    }

    .custom-radio:after {
        width: 10px;
        height: 10px;
        top: 2px;
        left: 2px;
    }

    .quiz__content_buttons {
        padding: 0 20px 20px;
    }

    #button_prev,
    #button_submit,
    .btn__test {
        height: 44px;
        font-size: 15px;
        padding: 0 20px;
    }
}

@media screen and (max-width: 375px) {
    .quiz__content_block {
        padding: 15px;
    }

    .block__check {
        padding: 12px;
        margin-bottom: 8px;
    }

    .block__check_label {
        font-size: 14px;
        gap: 8px;
    }

    .custom-radio {
        width: 16px;
        height: 16px;
    }

    .custom-radio:after {
        width: 8px;
        height: 8px;
        top: 2px;
        left: 2px;
    }

    .quiz__content_buttons {
        padding: 0 15px 15px;
        gap: 8px;
    }

    #button_prev,
    #button_submit,
    .btn__test {
        height: 40px;
        font-size: 14px;
        padding: 0 16px;
    }

    #button_prev {
        width: 35%;
    }

    #button_submit,
    .btn__test {
        width: 65%;
    }
}