* {
    box-sizing: border-box;
}

a,
button,
label,
input,
select,
textarea,
[role="button"],
.button,
.selector__wrap,
.time__wrap,
.radio__wrap,
.spinix {
    -webkit-tap-highlight-color: transparent;
}

button,
label,
[role="button"],
.button,
.selector__wrap,
.time__wrap,
.radio__wrap,
.spinix {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(27, 51, 120, 0.35);
    outline-offset: 3px;
}

input,
select,
textarea {
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100dvh;
    background-color: #F6F7FF;
    color: #17212b;
    font-family: "Poppins", sans-serif;
}

.questionnaire {
    max-width: 670px;
    height: 100dvh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.questionnaire__header {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-end;
    column-gap: 20px;
    row-gap: 10px;
    padding: 32px 16px 0;
}

.questionnaire__swiper {
    width: 100%;
    flex: 1;
    min-height: 0;
    touch-action: pan-y;
}

.swiper-wrapper {
    align-items: stretch;
    height: 100%;
}

.swiper-slide {
    padding: 36px 0px 36px;
    display: flex;
    height: auto;
    min-height: 0;
}

.swiper-slide.is-hidden {
    display: none;
}

.questionnaire__progress-track {
    display: flex;
    gap: 3px;
    width: 100%;
}

.questionnaire__progress-segment {
    background-color: rgba(27, 51, 120, 0.20);
    height: 3px;
    display: block;
    flex: 1 1 0;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.questionnaire__progress-segment:before {
    content: "";
    display: block;
    background-color: #1B3378;
    width: 0;
    height: 100%;
    position: absolute;
    border-radius: 3px;
    left: 0;
    top: 0;
    transition: width .3s ease;
}

.questionnaire__progress-segment.is-active:before {
    width: 100%;
}

.questionnaire__progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    row-gap: 6px;
}

.questionnaire__progress-text {
    color: rgba(27, 51, 120, 0.40);
    text-align: right;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
}

button.questionnaire__back {
    border: none;
    outline: none;
    background-color: rgba(27, 51, 120, 0.06);
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    border-radius: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

button.questionnaire__back.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.button {
    border-radius: 20px;
    background-color: #62CAAD;
    box-shadow: 2px 2px 0 0 #1B3378;
    border: none;
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    color: #1B3378;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: 0.32px;
    padding: 4px 16px;
    min-width: 248px;
    cursor: pointer;
    text-decoration: none;
}

.screen__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 0;
    width: 100%;
    row-gap: 40px;
}

.screen__main--finish {
    justify-content: center;
}

.screen__body {
    width: 100%;
    min-height: 0;
    padding: 0 16px;
}

.screen__footer {
    display: flex;
    justify-content: center;
}

@media (max-width: 720px) {
    .screen__main {
        justify-content: flex-start;
    }
    
    .screen__body {
        margin-top: auto;
    }

    .screen__footer {
        margin-top: auto;
    }
}

img {
    max-width: 100%;
    display: block;
}

h1 {
    color: #1B3378;
    text-align: center;
    font-family: Nunito;
    font-size: 30px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    margin: 0;
}

h1 mark {
    background: none;
    color: #FF5833;
    white-space: nowrap;
}

h2 {
    color: #1B3378;
    text-align: center;
    font-family: Nunito;
    font-size: 30px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    margin: 0;
}

h2 mark {
    background: none;
    color: #FF5833;
    white-space: nowrap;
}

h3 {
    color: #1B3378;
    text-align: center;
    font-family: Nunito;
    font-size: 26px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
    margin: 0 0 20px;
}

h3 mark {
    background: none;
    color: #FF5833;
    white-space: nowrap;
}

h5 {
    color: #1B3378;
    text-align: center;
    font-family: Nunito;
    font-size: clamp(16px, 4vw, 26px);
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
    margin: 0;
}

h5 mark {
    background: none;
    color: #FF5833;
    white-space: nowrap;
}

.screen__collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 4px;
    position: relative;
    margin: 28px auto;
    max-width: 464px;
    padding: 0 32px;
}

.screen__collage video {
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
    border-radius: 20px;
}

.screen__collage-label {
    position: absolute;
    max-width: 58px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}


.screen__advantages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 32px;
}

.screen__advantage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    min-height: 110px;
    padding: 20px 10px;
    width: 100%;
    max-width: 145px;
}

.screen__advantage.screen__advantage-blue {
    background-color: #9ED2F1;
    box-shadow: 2px 2px 0 0 #1B3378;
    color: #1B3378;
}

.screen__advantage.screen__advantage-green {
    background-color: #A7E8A8;
    box-shadow: 2px 2px 0 0 #146015;
    color: #146015;
}

.screen__advantage.screen__advantage-orange {
    background-color: #FBC36D;
    box-shadow: 2px 2px 0 0 #D74626;
    color: #D74626;
}

.screen__advantage h5 {
    margin: 0;
    font-size: 14px;
    font-style: normal;
    text-align: center;
    font-weight: 600;
    line-height: 100%;
    margin-top: 12px;
    color: inherit;
}

.screen__selector {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 320px;
    margin: 32px auto 0;
}

label.selector {
    position: relative;
    width: 100%;
    display: block;
    cursor: pointer;
}

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

label.selector .selector__wrap {
    border-radius: 20px;
    background-color: #ffffff;
    min-height: 80px;
    box-shadow: 2px 2px 0 0 #A7AEFF;
    color: #A7AEFF;
    display: flex;
    width: 100%;
    padding: 10px 10px;
    justify-content: center;
    align-items: center;
    transition: all .3s ease;
}

label.selector .selector__name {
    color: inherit;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: color .3s ease;
}

label.selector.is-error .selector__wrap {
    background-color: #fff1f1;
    box-shadow: 2px 2px 0 0 #ffa7a7;
    color: #ffa7a7;
}

label.selector input[type="radio"]:checked + .selector__wrap {
    background-color: #7D84D9;
    color: #ffffff;
    box-shadow: 0 0 0 0 transparent;
}

.screen__icon {
    max-width: 90px;
    margin: 0 auto 40px;
}

.screen__image {
    max-width: 180px;
    margin: 0 auto 32px;
}

.screen__picker {
    background-color: #ffffff;
    border-radius: 40px;
    padding: 24px 24px;
    max-width: 320px;
    margin: 32px auto 0;
}

.screen__picker-title {
    color: rgba(27, 51, 120, 0.40);
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    margin-bottom: 12px;
}

.screen__time {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 320px;
    margin: 32px auto 0;
}

label.time {
    position: relative;
    width: 100%;
    display: block;
    cursor: pointer;
}

label.time input[type="checkbox"] {
    display: none;
}

label.time .time__wrap {
    border-radius: 20px;
    background-color: #ffffff;
    min-height: 72px;
    box-shadow: 2px 2px 0 0 #A7AEFF;
    color: #A7AEFF;
    display: flex;
    width: 100%;
    padding: 10px 24px;
    column-gap: 12px;
    align-items: center;
    transition: all .3s ease;
}

.time__check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 50%;
    border: solid 2px #A7AEFF;
    position: relative;
    transition: all .3s ease;
}

.time__check:before {
    content: "";
    background-image: url('../icons/check.svg');
    opacity: 0;
    transition: all .3s ease;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.time__content {
    color: inherit;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 12px;
    width: 100%;
}

.time__name {
    color: inherit;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.time__value {
    color: inherit;
    text-align: right;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

label.time.is-error .time__wrap {
    background-color: #fff1f1;
    color: #ffa7a7;
    box-shadow: 2px 2px 0 0 #ffa7a7;
}

label.time.is-error .time__wrap .time__check {
    border-color: #ffa7a7;
}

label.time input[type="checkbox"]:checked + .time__wrap {
    background-color: #7D84D9;
    color: #ffffff;
    box-shadow: 0 0 0 0 transparent;
}

label.time input[type="checkbox"]:checked + .time__wrap .time__check {
    border-color: #ffffff;
    background-color: #ffffff;
}

label.time input[type="checkbox"]:checked + .time__wrap .time__check:before {
    opacity: 1;
}

.screen__description {
    color: #B3B3B3;
    text-align: center;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: 0.28px;
    margin-top: 32px;
}

.screen__text {
    color: #1B3378;
    text-align: center;
    font-family: Nunito;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
    max-width: 320px;
    margin: 20px auto 0;
}

.price {
    border-radius: 16px;
    background-color: #F6EFFF;
    box-shadow: 2px 2px 0 0 #6D71C0;
    padding: 12px 16px;
}

.screen__prices {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    max-width: 480px;
    margin: 32px auto 0;
}

.price__title {
    color: #FF5833;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
}

.price__header {
    margin-bottom: 8px;
}

.price__options {
    display: flex;
    column-gap: 8px;
}

.price__option-value {
    color: #1B3378;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%;
}

.price__option-name {
    color: rgba(27, 51, 120, 0.60);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
}

.price__label {
    border-radius: 8px;
    background-color: #FF5833;
    display: inline-flex;
    align-self: center;
    padding: 4px 8px;
    color: rgba(246, 239, 255, 0.60);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    align-items: center;
    column-gap: 2px;
}

.price__body {
    display: flex;
    justify-content: space-between;
    column-gap: 12px;
}

.price__label b {
    color: #F6EFFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    letter-spacing: 0.32px;
}

.field__name {
    color: #1B3378;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    display: block;
    text-align: center;
    margin-bottom: 12px;
}

.field input[type="text"], .field input[type="phone"], .field input[type="email"] {
    border-radius: 12px;
    border: 1px solid rgba(167, 174, 255, 0.80);
    background-color: #ffffff;
    min-height: 46px;
    padding: 12px 16px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    outline: transparent;
    width: 100%;
}

label.field__label.is-error input {
    border-color: #ffa7a7;
    background-color: #fff1f1;
}

.screen__fields {
    display: flex;
    flex-direction: column;
    row-gap: 22px;
    margin-top: 24px;
}

.option__title {
    color: #1B3378;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    display: block;
    text-align: center;
    width: 100%;
}

.options {
    display: flex;
    flex-wrap: wrap;
    column-gap: 12px;
    row-gap: 12px;
}

.option__field {
    flex: 1;
}

label.radio {
    position: relative;
    width: 100%;
    display: block;
    cursor: pointer;
}

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

label.radio .radio__wrap {
    border-radius: 12px;
    background-color: #ffffff;
    min-height: 50px;
    box-shadow: 2px 2px 0 0 #A7AEFF;
    color: #A7AEFF;
    display: flex;
    width: 100%;
    padding: 10px 24px;
    column-gap: 12px;
    align-items: center;
    transition: all .3s ease;
}

label.radio.is-error .radio__wrap {
    background-color: #fff1f1;
    color: #ffa7a7;
    box-shadow: 2px 2px 0 0 #ffa7a7;
}

label.radio.is-error .radio__check {
    border-color: #ffa7a7;
}

label.radio .radio__check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    border: solid 2px #A7AEFF;
    position: relative;
    transition: all .3s ease;
}

label.radio .radio__name {
    color: inherit;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

label.radio input[type="radio"]:checked + .radio__wrap {
    background-color: #7D84D9;
    color: #ffffff;
    box-shadow: 0 0 0 0 transparent;
}

label.radio input[type="radio"]:checked + .radio__wrap .radio__check {
    border-color: #ffffff;
    border-width: 4px;
}


.screen__whatsapp-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen__whatsapp-title {
    color: #1B3378;
    text-align: center;
    font-family: Nunito;
    font-size: 26px;
    font-style: normal;
    font-weight: 800;
    line-height: 110%;
}

.screen__whatsapp {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
    margin-top: 80px;
}