@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    font-family: "Inter", sans-serif;
    background-color: #282828;
    width: 100%;
}

.body-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
    /* position: relative;  */
}
header{
    height: 30px;
    padding: 20px;
    max-width: 1024px;
    margin: 0 auto;

}
header img {
    width: 200px;
}
@media (max-width: 818px) {
    header {
        max-width: 600px;
    }
    header img {
        width: 150px;
    }
}
.bcg-line {
    width: 100%;
    overflow-x: hidden;
    position: absolute;
    height: 100vh;
}
.line {
    width: 200%;
    height: 200px;
    background-color: #F67B22;
    position: absolute;
    z-index: -999;
    transform: rotate(-20deg);
    top: -50px;
    left: -300px;
}

.main-button-container {
    text-align: center;
    margin-top: 50px;
}

.main-button {
    background-color: #F67B22; 
    color: #ffffff;
    border-color: transparent;
    font-size: 20px;
    font-weight: 400;
    width: auto;
    height: 52px;
    min-height: 43px;
    min-width: 400px;
    max-width: 100%;
    border-radius: 30px;
    box-shadow:  0px 0px 40px -1px #F67B22;
}

.main-button:hover {
    cursor: pointer;
    background-color: #e06710;
}

.landing-container {
    max-width: 880px;
    width: 100%;
}
.main-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}
@media (max-width: 940px) {
    .landing-container {
        max-width: 700px;
    }
    .line {
        top: 150px;
        left: -200px;
    }
}
@media (max-width: 818px) {
    .landing-container {
        max-width: 600px;
    }
}
@media (max-width: 630px) {
    .line {
        top: 40px;
        left: -200px;
    }
    .landing-container {
        max-width: 500px;
    }
}
@media (max-width: 500px) {
    .landing-container {
        max-width: 400px;
    }
}
@media (max-width: 420px) {
    header {
        height: 20px;
        padding: 15px;
    }
    header img {
        width: 100px;
    }
    .landing-container {
        max-width: 350px;
    }
    .main-button-container {
        margin-top: 30px;
    }
    
    .main-button {
        background-color: #F67B22; 
        color: #ffffff;
        border-color: transparent;
        font-size: 18px;
        font-weight: 400;
        width: auto;
        height: 52px;
        min-height: 43px;
        min-width: 300px;
        max-width: 100%;
        border-radius: 30px;
        box-shadow:  0px 0px 40px -1px #F67B22;
    }
}


.landing-block_text h2{
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 900;
    margin: 5px 0;
}

.landing-block_text h1,h2,h3,p{
    margin: 0;
    color: white;
}
.landing-block_text h1 {
    font-size: 64px;
    font-weight: 900;
    margin: 5px 0;
    color: #F67B22;
}
.landing-block_subtitle {
    display: flex;
    gap: 10px;
}
.landing-block_subtitle p {
    font-size: 36px;
    font-weight: 700;
    
}
.chip{
    display: inline-flex;
    flex-direction: row;
    background-color: #F67B22;
    border: none;
    cursor: default;
    height: 30px;
    outline: none;
    padding: 0;
    white-space: nowrap;
    align-items: center;
    border-radius: 16px;
    vertical-align: middle;
    text-decoration: none;
    justify-content: center;
}
.chip-content{
    font-family:"Inter", sans-serif;
    font-size: 14px;
    color: #ffffff;
    cursor: inherit;
    display: flex;
    align-items: center;
    user-select: none;
    white-space: nowrap;
    padding-left: 12px;
    padding-right: 12px;
}
@media (max-width: 818px) {
    .landing-block_text h2 {
        font-size: 24px;
        margin-top: 10px;
    }
    .landing-block_text h1 {
        font-size: 36px;
        
    }
    .landing-block_subtitle p {
        font-size: 18px;
        
    }
    .chip{
        height: 17px;
    }
    .chip-content{
        font-size: 10px;
    }
    .landing-block_subtitle {
        gap: 5px;
    }
}
.about-text p{
margin-top: 20px;
text-align: justify;
}
section {
    margin-top: 50px;
    width: 100%;

}

.characteristic__cards {
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.card{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    text-align: center;
    color: white;
    font-weight: 400;
    font-size: 18px;
    max-width: 260px;
}
.card__content p{
    max-width: 260px;
    
}
.card__img img{
    width: 150px;height: 150px;
}
.card__title{
    margin-top: 20px;
    margin-bottom: 20px;
    font-weight: 700;
    max-width: 260px;
}
@media (max-width: 818px) {
    .about-text p{
        margin-top: 15px;
        }
        .characteristic__cards {
            gap: 10px;
        }     
        .card__img img{
            width: 100px;height: 100px;
        }
        .card__title{
            margin-top: 7px;
            margin-bottom: 7px;
        }.card{
            font-size: 16px;
        }
        .main-img img {
            width: 250px;
        }
}
@media (max-width: 420px) {
    .landing-block_text h2 {
        font-size: 20px;
    }
    .landing-block_text h1 {
        font-size: 28px;
        
    }
    .landing-block_subtitle p {
        font-size: 16px;
    }
    .card__img img{
        width: 65px;height: 65px;
    }
    .card{
        font-size: 12px;
    }
    section {
        margin-top: 30px;
    }
}
.about__photo {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 15px;
    margin-top: 50px;
}
.about__photo-container {
    border-radius: 20px;
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.about__photo-container img{
    min-height: 300px;
    object-fit: cover;
}
.char__photo-container {
    border-radius: 20px;
    width: 100%;
    min-height: 300px;
    overflow: hidden;
    margin-top: 50px;
    max-height: 1100px;
    
}
.char__photo-container img{
    min-height: 300px;
    object-fit: cover;
    width: 100%;
}
.characteristics__moto-title {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin: 0;
    padding: 0;
}
.characteristics__moto-list{
    font-size: 24px;
    color: white;
    margin: 20px 20px 0px 0;
    padding: 0;
    font-weight: 400;
    list-style: none;
}

.characteristics__moto-list li:before {
    content: "•";
    font-size: 130%;padding-right: 5px;
    color: #F67B22;
 }
@media (max-width: 818px) {
    
        .about__photo {
            display: flex;
            flex-direction: column;
            margin-top: 30px;
        
        }
        .about__photo-container {
            min-height: 250px;
        }
        .characteristics__moto-title {
            font-size: 24px;
        }
        .characteristics__moto-list{
            font-size: 16px;
        } 
        .char__photo-container {
            margin-top: 30px;
            max-height: 450px;
        }
}

/* footer */
footer {
    width: 100%;
    background-color: #F67B22;
    color: white;
    margin-top: 50px;
}
.footer_section {
    padding: 25px 0;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    color: white;
   
}

.footer_section img {
    display: block;
    margin: 0 auto 10px auto;
}

.footer_section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline
}

.footer_section p {
    margin: 0;
}
.politics {
    height: 100px;
}
/* footer */

/* quiz */

.quiz {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.display-none {
    display: none;
}


.quiz-container {
    /* display: flex; */
    display: none;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}
.quiz-container fieldset {
    padding: 0;
}

.quiz-question {
    padding: 30px 30px 10px;
    font-size: 28px;
    line-height: 1.2;
}

.answer-variants-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: min-content;
    grid-gap: 16px;
    padding-bottom: 6px;
    padding: 10px 30px 0;
}

@media (max-width: 767px) {
    .answer-variants-group {
        grid-template-columns: 1fr;
    }
}

.answer-variant {
    display: flex;
    border-radius: 5px;
    border: solid 1px rgba(217, 216, 230, .55);
    padding: .8rem 1rem;
    cursor: pointer;
}

.answer-variant:hover {
    -webkit-box-shadow: 2px 2px 5px 0px rgba(214, 214, 214, 1);
    -moz-box-shadow: 2px 2px 5px 0px rgba(214, 214, 214, 1);
    box-shadow: 2px 2px 5px 0px rgba(214, 214, 214, 1);
}

.answer-variant label {
    padding-left: 1rem;
    display: block;
    height: 100%;
    cursor: pointer;
    user-select: none;
}

.answer-variant input {
    cursor: pointer;
    /* user-select: none; */
}


.quiz-button-container {
    position: absolute;
    bottom: 0;
    width: calc(100% - 60px);
    display: flex;
    justify-content: space-between;
    padding: 26px 30px 30px;
    border-top: solid 1px #d6d6d6;
    background-color: #f0f0f0;
}

.quiz-button {
    font-size: 16px;
    height: 43px;
    padding: 0 22px;
    font-weight: 500;
    overflow: hidden;
    color: white;
    background-color: #007bff;
    box-shadow: 0 3px 10px 0 rgba(0, 123, 255, 0.5);
    border-radius: 24px;
    border: none;
    line-height: 1.3rem;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
    cursor: not-allowed;
    content: '+';
}

@media (max-width: 245px) {
    .quiz-button {
        padding: 0 19px;
    }
    .quiz-button span {
        display: none;
    }
    .quiz-button-next:after {
        content: '›';
    }
    .quiz-button-back:after {
        content: '‹';
    }
}
/* quiz */


/* final-page */
.close {
    position: absolute;
    top: 0;
    right: 0;
margin: 20px;
}
.close img{
height: 30px;
width: 30px;
}
.final-page-container {
    position: fixed;
    z-index:1;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.final-page-container p{
    font-size: 20px;
 }
.final-page-text-container {
    max-width: 635px;
    padding: 1.5rem 1rem 1.6rem;
    z-index: 2;
}

.final-page-text-container h1 {
    margin-bottom: 1.2rem;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    color: white;
}

.final-page-form-container {
    padding: 29px 35px 19px;
    border-radius: 3px;
    background-color: #282828;
    box-shadow:  0px 0px 40px 1px #1f1e1e;
    max-width: 500px;
    width: 100%;
}
@media (max-width: 625px) {
    .final-page-form-container{
        border:none;
        box-shadow: none;
        background-color: transparent;
    }

    .final-page-form-container input {
        margin: 0 16px;
    }

    .final-page-form-container button {
        margin: 0 16px;
        max-width: calc(100% - 32px);
    }
    
    .final-page-text-container h1 {
        font-size: 24px;
    }
    .final-page-container p{
        font-size: 16px;
     }
}

.final-page-form-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 50;
}

.final-page-form-container input {
    height: 48px;
    border: solid 1.2px var(--color-bg-3, #b1b5be);
    color: #000000;
    background: none;
    border-radius: 4px;
    font-weight: 500;
    padding: calc(.375em - 1px) calc(.625em - 1px);
    padding-left: 3.4rem;
}

.final-page-form-container a {
    text-decoration: underline;
    color: #ffffff;
}

.final-page-form-container a:hover {
    text-decoration: underline;
    color: gray;
}

.final-page-form-container .field[name='name'] {
    background: #ebebeb url(../images/name-icon.png) 22px center no-repeat;
}

.final-page-form-container .field[name='phone'] {
    background: #ebebeb url(../images/phone-icon.png.png) 20px center no-repeat;
}

.final-page-form-container button {
    margin-top: 10px;
    min-height: 50px;
    overflow: hidden;
    width: 100%;
    font-weight: 400;
    color: white;
    background-color: #F67B22;
    box-shadow:  0px 0px 40px -1px #F67B22;    font-size: 18px;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
}

.final-page-form-container button:hover {
    background-color: #e06710;
}


.rassrochka>.final-page-form-container {
    margin: 0 auto;
    max-width: 500px;
    margin-top: 50px;
}
@media (max-width: 818px) {
    .rassrochka>.final-page-form-container {
        padding: 0;
        box-shadow: none;
    }
    .final-page-form-container {
        padding: 0;
        box-shadow:  none;
    }
    
}
/* final-page */