/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    background: linear-gradient(180deg, rgba(15, 19, 51, 0.27) 0%, rgba(15, 19, 51, 0.72) 100%), url(../images/main-bg.jpg) lightgray center center / 150% no-repeat;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    font-family: "Sora", sans-serif;
}

header {
    background: url("../images/header-bg.png") repeat-x;
    height: 136px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

main {
    flex-grow: 1;
    position: relative;
    z-index: 9;
}

footer {
    background: #030219;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 21px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav a {
    color: #969696;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    margin-right: 64px;
}

.footer-nav a:hover {
    color: #1A46DA;
}

.rights {
    color: #969696;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.questions-wrapper-container {
    max-width: 1330px;
    margin: 0 auto;
    padding: 23px 15px;
}

h1 {
    color: #FFF;
    text-align: center;
    font-family: Gloock;
    font-size: 72px;
    font-style: normal;
    font-weight: 400;
    line-height: 87px; /* 120.833% */
    letter-spacing: 2.16px;
    padding-bottom: 36px;
}

.bottom-block {
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.50);
    background: linear-gradient(180deg, rgba(3, 15, 46, 0.84) 0%, rgba(11, 47, 148, 0.00) 100%);
    padding: 30px;
    display: flex;
    justify-content: space-between;
}

.bottom-block-item {
    display: flex;
    align-items: flex-start;
    width: 19%;
}

.bottom-block-item img {
    flex-shrink: 0;
    margin-right: 10px;
}

.bottom-block-item p {
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 28px */
    letter-spacing: 0.6px;
}

.step-form-wrapper {
    border-radius: 40px;
    background: #FFF;
    max-width: 852px;
    padding: 40px 60px;
    margin: 0 auto 33px;
}

.step-form-wrapper h2 {
    color: #02021A;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 38.4px */
    letter-spacing: 0.96px;
    padding-bottom: 14px;
}

.step-form-wrapper p {
    color: #02021A;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 28px */
    letter-spacing: 0.6px;
    padding-bottom: 26px;
}

.form-group input[type='text'] {
    border-radius: 10px;
    background: #E7EDFF;
    height: 52px;
    padding: 15px 20px;
    width: 100%;
    font-size:16px;
    border: none;
}

.form-group .btn {
    border-radius: 15px;
    background: var(--blue-accent, linear-gradient(90deg, #0E89C2 0%, #1A40DC 100%));
    width: 100%;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 22px */
    letter-spacing: 0.66px;
    text-transform: uppercase;
    border: none;
    margin-top: 24px;
    cursor: pointer;
}

.form-group .btn:hover {
    background: radial-gradient(50% 50% at 50% 50%, #0E89C2 0%, #1A40DC 100%);
}

.form-group .btn:focus, .form-group .btn:active {
    background: #1B41DC;
}

.form-group-zip {
    max-width: 386px;
    margin: 0 auto;
}

.form-tooltip {
    border-radius: 8px;
    background: #E5F4FF;
    padding: 12px;
    max-width: 320px;
    margin: 26px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    position: relative;
}

.form-tooltip:before {
    width: 16px;
    height: 16px;
    background: #E5F4FF;
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    transform: rotate(45deg) translateX(-50%);
    top: -2px;
}

.form-tooltip p {
    color: #02021A;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
    padding-bottom: 0;
}

.form-group-option {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.form-group-option input {
    display: none;
}

.form-group-option label {
    border-radius: 10px;
    background: #E7EDFF;
    width: 100%;
    max-width: 228px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px;
    margin: 0 7px 14px;
    cursor: pointer;

}

.form-group-option h6 {
    color: #02021A;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%; /* 22.4px */
    letter-spacing: 0.48px;
    padding-bottom: 7px;
    min-height: 52px;
}

.form-group-option p {
    color: #184ED7;
    text-align: center;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 12px */
    padding-bottom: 0;
}

.form-group-option .icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group-option .icon img {
    width: 100%;
    display: block;
}

.form-group-option label:hover {
    background: var(--blue-accent, linear-gradient(90deg, #0E89C2 0%, #1A40DC 100%));
}

.form-group-option label:hover h6,
.form-group-option label:hover p {
    color: #fff;
}

.form-group-option input[type='radio']:checked + label {
    background: #1B41DC;
}

.form-group-option input[type='radio']:checked + label h6,
.form-group-option input[type='radio']:checked + label p {
    color: #fff;
}

.form-group-owner input[type='radio'] {
    display: none;
}

.form-group-owner input + label {
    border-radius: 15px;
    background: #E7EDFF;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #02021A;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 22px */
    letter-spacing: 0.66px;
    margin-bottom: 26px;
    cursor: pointer;
}

.form-group-owner input + label:hover {
    color: #fff;
    background: var(--blue-accent, linear-gradient(90deg, #0E89C2 0%, #1A40DC 100%));
}

.form-group-owner input:checked + label {
    background: #1B41DC;
    color: #fff;
}

.form-group-budget label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 15px;
    background: #E7EDFF;
    padding: 20px;
    margin-bottom: 26px;
    cursor: pointer;
}

.form-group-budget label .price {
    color: #02021A;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 100%; /* 22px */
    letter-spacing: 0.66px;
}

.form-group-budget label span {
    color: #184ED7;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 14.4px */
}

.form-group-budget input {
    display: none;
}

.form-group-budget input:checked + label .price {
    color: #fff;
}

.form-group-budget input:checked + label span {
    color: #fff;
}

.form-group-budget input:checked + label {
    background: #1B41DC;
}

.form-group-budget input + label:hover {
    background: var(--blue-accent, linear-gradient(90deg, #0E89C2 0%, #1A40DC 100%));
}

.form-group-budget input + label:hover .price {
    color: #fff;
}

.form-group-budget input + label:hover span {
    color: #fff;
}

.form-group-info {
    max-width: 386px;
    margin: 0 auto;
}

.form-group-info > div {
    margin-bottom: 24px;
}

.step-form-wrapper .location-address {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 0;
    color: #02021A;
    text-align: right;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
}


.back {
    background: transparent;
    border: none;
    color: #52528B;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 28px */
    letter-spacing: 0.6px;
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-top: 20px;
}

.back svg {
    flex-shrink: 0;
    margin-right: 10px;
}

.disclaimer {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.step-form-wrapper .disclaimer p {
    color: #949494;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
    padding-top: 5px;
    letter-spacing: 0;
}

.disclaimer p a {
    color: #949494;
    text-decoration: underline;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

.progress-bar-wrapper {
    border-radius: 20px;
    background: #EEF8FF;
    padding: 11px;
}

.progress-bar {
    border-radius: 40px;
    background: linear-gradient(90deg, #0E85C3 0%, #1A43DB 100%);
    height: 6px;
}

input::placeholder {
    color: #52528B;
    font-family: Sora;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
    letter-spacing: 0.48px;
}

span.error {
    color: #FF4F58;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.form-group > div {
    position: relative;
}

.form-group input.valid {
    background: url("../images/valid-icon.png") no-repeat 97% center, #E7EDFF;
}

.animation-wrapper {
    display: flex;
    justify-content: center;
}

.what-happens {
    border-top: 1px solid #DFDFDF;
    padding: 26px 40px 40px;
}

.what-happens h3 {
    color: #02021A;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 28px */
    letter-spacing: 0.6px;
    padding-bottom: 20px;
}

.what-happens-list {
    display: flex;
    justify-content: space-between;
}

.what-happens-item {
    width: 32%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.what-happens-item p {
    color: #02021A;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
    letter-spacing: 0.48px;
    padding-top: 8px;
}

.progress-bar {
    position: relative;
}

.progress-bar > div {
    color: #02021A;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 16.8px */
    letter-spacing: 0.36px;
    position: absolute;
    right: -34px;
    top: 50%;
    transform: translateY(-50%);
}

.step-ty.step-form-wrapper {
    padding: 0;
}

.step-ty.step-form-wrapper h2 + p {
    max-width: 732px;
    margin: 0 auto;
}

@media (max-width: 1280px) {
    .bottom-block {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .bottom-block-item {
        width: 30%;
        padding-bottom: 34px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 42px;
        line-height: 46px;
    }

    .step-form-wrapper {
        padding: 30px;
    }

    .step-form-wrapper h2 {
        font-size: 28px;
    }

    .step-form-wrapper p {
        font-size: 16px;
    }

    .bottom-block-item p {
        font-size: 16px;
    }

    .form-tooltip p {
        font-size: 12px;
    }

    .bottom-block-item {
        flex-direction: column;
    }

    .bottom-block-item img {
        margin: 0 0 16px 0;
    }

    .footer-nav a {
        font-size: 14px;
    }

    .header__logo img {
        width: 176px;
    }

    header {
        height: 96px;
        background: url("../images/header-bg-tab.png") repeat-x;
    }

    .form-group-owner input + label,
    .form-group-budget label .price {
        font-size: 16px;
    }

    .form-group-budget label {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group-budget label .price {
        padding-bottom: 12px;
    }
}

@media (max-width: 640px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-nav a {
        margin: 0 22px;
    }

    .rights {
        padding-top: 14px;
    }
}

@media (max-width: 450px) {
    h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .step-form-wrapper {
        padding: 40px 16px;
    }

    .step-form-wrapper h2 {
        font-size: 24px;
    }

    .step-form-wrapper p {
        font-size: 14px;
    }

    .step-form-wrapper .disclaimer p {
        font-size: 11px;
    }

    .bottom-block-item {
        width: 100%;
    }

    .questions-wrapper-container {
        padding-top: 37px;
    }

    .what-happens {
        padding: 26px 16px 40px;
    }

    .what-happens-list {
        flex-direction: column;
    }

    .what-happens-item {
        width: 100%;
        flex-direction: row;
    }

    .what-happens-item p {
        text-align: left;
    }

    body {
        background: linear-gradient(180deg, rgba(15, 19, 51, 0.27) 0%, rgba(15, 19, 51, 0.72) 100%),
        url(../images/body-bg-mob.png) lightgray center center / 250% no-repeat;
    }

    .form-group-option label {
        max-width: 100%;
        margin: 0 0 14px 0;
    }

    .form-group-option h6 {
        line-height: 24px;
        min-height: auto;
    }

    .back {
        font-size: 16px;
    }

    input::placeholder {
        font-size: 14px;
    }

    .step-ty.step-form-wrapper h2 + p {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.edit {
    cursor: pointer;
}