/* === Section (block root) === */
.contact_us_form_steps_list {
    background: #000;
}
.contact_us_form_steps_list.white_bg,
.contact_us_form_steps_list .popup-form-main.white_bg {
    background: #fff;
}
.contact_us_form_steps_list a {
    color: inherit;
    text-decoration: underline;
    font-weight: 400;
}
.contact_us_form_steps_list.white_bg a,
.contact_us_form_steps_list.white_bg .title_columns .h1,
.contact_us_form_steps_list.white_bg .title_columns .title-with-line,
.contact_us_form_steps_list.grey a,
.contact_us_form_steps_list.grey .title_columns .h1,
.contact_us_form_steps_list.grey .title_columns .title-with-line,
.contact_us_form_steps_list .white_bg a,
.contact_us_form_steps_list .white_bg .title_columns .h1,
.contact_us_form_steps_list .white_bg .title_columns .title-with-line,
.contact_us_form_steps_list .grey a,
.contact_us_form_steps_list .grey .title_columns .h1,
.contact_us_form_steps_list .grey .title_columns .title-with-line {
    color: #000;
}
.contact_us_form_steps_list:not(.white_bg):not(.grey) a:hover,
.contact_us_form_steps_list .black_bg a:hover {
    color: #CDFF3A !important;
}

/* === Form layout === */
.contact_us_form_steps_list .form_and_testimonial_wrap {
    display: flex;
    flex-direction: row;
    gap: 3em;
}
.contact_us_form_steps_list .form_wrap {
    flex: 1 0 calc(60% - 1.5em);
}
.contact_us_form_steps_list form {

}
.contact_us_form_steps_list .popup-form-main form textarea {
   resize: none;
}
.contact_us_form_steps_list form.clone_contact label .error_message {
    bottom: 0.4em;
}
.contact_us_form_steps_list .form_and_testimonial_wrap form.clone_contact label {
    font-size: 0.8em;
}

/* === Submit button === */
.contact_us_form_steps_list .form_sub,
.contact_us_form_steps_list .free_sub,
.contact_us_form_steps_list .form_sub.h1,
.contact_us_form_steps_list .free_sub.h1 {
    background: transparent;
    border: 0;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #000;
    font-family: "CT2020", serif;
    margin: 40px 0 24px;
    cursor: pointer;
    text-decoration: none;
    text-decoration-color: initial;
    transition: 0.7s;
    padding: 0;
    display: block;
    line-height: 1.5;
}
.black_bg .form_sub,
.black_bg .free_sub,
.black_bg .form_sub.h1,
.black_bg .free_sub.h1 {
    color: #CDFF3A !important;
}
.contact_us_form_steps_list.white_bg .form_sub:hover,
.contact_us_form_steps_list.white_bg .free_sub:hover,
.contact_us_form_steps_list.grey .form_sub:hover,
.contact_us_form_steps_list.grey .free_sub:hover,
.contact_us_form_steps_list .white_bg .form_sub:hover,
.contact_us_form_steps_list .white_bg .free_sub:hover,
.contact_us_form_steps_list .grey .form_sub:hover,
.contact_us_form_steps_list .grey .free_sub:hover {
    color: #000;
}
.contact_us_form_steps_list .form_sub:hover,
.contact_us_form_steps_list .free_sub:hover,
.contact_us_form_steps_list .form_sub.h1:hover,
.contact_us_form_steps_list .free_sub.h1:hover {
    text-decoration: underline;
    text-underline-position: from-font;
}

/* === Checkbox variants === */
.contact_us_form_steps_list.black_bg .checkbox_agree input:checked + label:after,
.contact_us_form_steps_list .black_bg .checkbox_agree input:checked + label:after {
    background-color: #fff;
}
.contact_us_form_steps_list.grey .checkbox.checkbox_agree input:checked + label:after,
.contact_us_form_steps_list .grey .checkbox.checkbox_agree input:checked + label:after {
    background: #000;
    border: 5px solid #ededed;
}

/* === Popup overlay === */
.contact_us_form_steps_list.popup-form-main-overlay {
    display: none;
}
.contact_us_form_steps_list.popup-form-main-overlay.active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8) !important;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}
body:has(.contact_us_form_steps_list.popup-form-main-overlay.active) {
    overflow: hidden;
}
.contact_us_form_steps_list .popup-form-main {
    position: relative;
    padding: 4.35em;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}
.contact_us_form_steps_list .popup-form-main.animate-in {
    transform: translateY(0);
    opacity: 1;
}
.contact_us_form_steps_list .popup-form-main.animate-out {
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.6s ease;
}
.contact_us_form_steps_list .popup-close {
    background: url(../img/close.svg) no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: auto;
    position: absolute;
    top: clamp(24px, 48 * (100vw / 1920), 48px);
    right: clamp(24px, 48 * (100vw / 1920), 48px);
}
.contact_us_form_steps_list .popup-form-main.black_bg .popup-close {
    background: url(../img/close-white.svg) no-repeat center center;
}

/* === "What happens next?" steps panel === */
.contact_us_form_steps_list .what-next {
    color: #000;
    background: #ededed;
    padding: clamp(12px, 28 * (100vw / 1920), 28px);
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 54 * (100vw / 1920), 54px);
}
.contact_us_form_steps_list.grey .what-next,
.contact_us_form_steps_list .grey .what-next {
    background: #fff;
}
.contact_us_form_steps_list .what-next h2 {
    font-weight: 500;
}
.contact_us_form_steps_list.black_bg .what-next h2,
.contact_us_form_steps_list .black_bg .what-next h2 {
    color: #000 !important;
}
.contact_us_form_steps_list .steps {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: calc(1.25em + 5px);
}
.contact_us_form_steps_list .vertical-line {
    position: absolute;
    left: 4px;
    width: 2px;
    background: repeating-linear-gradient(
            to bottom,
            #d1d1d1,
            #d1d1d1 4px,
            transparent 4px,
            transparent 8px
    );
    z-index: 0;
}
.contact_us_form_steps_list .step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1em;
    line-height: 1.25;
    padding-bottom: clamp(12px, 16 * (100vw / 1920), 16px);
    border-bottom: 2px solid #d1d1d1;
}
.contact_us_form_steps_list .step:not(:first-of-type) {
    padding-top: clamp(12px, 16 * (100vw / 1920), 16px);
}
.contact_us_form_steps_list .step * {
    font-size: inherit;
    line-height: inherit;
}
.contact_us_form_steps_list .step-marker {
    position: relative;
    text-align: center;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact_us_form_steps_list .step-marker .bullet {
    width: 10px;
    height: 10px;
    background-color: #000;
    z-index: 1;
    position: absolute;
    left: calc(-1.25em - 5px);
}
.contact_us_form_steps_list .step-marker strong {
    font-weight: 500;
    position: relative;
    z-index: 2;
    display: inline-block;
}
.contact_us_form_steps_list .content {

}
.contact_us_form_steps_list .content strong {
    font-weight: 500;
    margin-right: 8px;
}
.contact_us_form_steps_list .block-with-img .imb-box {
    display: flex;
    display: -webkit-flex;
    align-items: flex-end;
    -webkit-align-items: flex-end;
    justify-content: space-between;
}

/* === Checkbox inside form_and_steps_wrap === */
.contact_us_form_steps_list .form_and_steps_wrap .checkbox .input-span:before {
    content: "";
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #000;
    box-sizing: border-box;
    width: 1.25em;
    height: 1.25em;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 12px;
    z-index: 1;
    top: 0;
    left: 0;
    position: absolute;
}
.contact_us_form_steps_list .form_and_steps_wrap .checkbox {
    position: relative;
    margin-bottom: clamp(8px, 16 * (100vw / 1920), 16px);
}
.contact_us_form_steps_list .form_and_steps_wrap .checkbox:last-of-type {
    margin-bottom: 0;
}
.contact_us_form_steps_list .form_and_steps_wrap .checkbox label:before,
.contact_us_form_steps_list .form_and_steps_wrap .checkbox label:after {
    width: 20px;
    height: 20px;
    display: none !important;
}
.contact_us_form_steps_list .form_and_steps_wrap .checkbox .input-span {
    display: flex;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.contact_us_form_steps_list .form_and_steps_wrap .checkbox label {
    display: flex;
    line-height: 20px !important;
    align-items: center;
    padding-left: 12px;
}
.contact_us_form_steps_list .form_and_steps_wrap .checkbox label span {
    line-height: clamp(11px, 16 * (100vw / 1920), 16px);
}
.contact_us_form_steps_list.black_bg .form_and_steps_wrap .checkbox .input-span:before,
.contact_us_form_steps_list.black_bg .form_and_steps_wrap .checkbox .input-span:after,
.contact_us_form_steps_list .black_bg .form_and_steps_wrap .checkbox .input-span:before,
.contact_us_form_steps_list .black_bg .form_and_steps_wrap .checkbox .input-span:after {
    border-color: #fff;
}
.contact_us_form_steps_list .form_and_steps_wrap .checkbox:has(input:checked) .input-span:after {
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    border: 4px solid #000;
    background: #CDFF3A;
    width: 1.25em;
    height: 1.25em;
    z-index: 0;
    box-sizing: border-box;
}
.contact_us_form_steps_list .form_and_steps_wrap .checkbox .input-span:before,
.contact_us_form_steps_list .form_and_steps_wrap .checkbox:has(input:checked) .input-span:after {
    content: "";
    width: 20px;
    height: 20px;
    margin-right: 0;
}
.contact_us_form_steps_list .form_and_steps_wrap .checkbox:has(input:checked) .input-span:after {
    background: #000;
    border-color: #fff;
}
.contact_us_form_steps_list.black_bg .form_and_steps_wrap .checkbox:has(input:checked) .input-span:after,
.contact_us_form_steps_list .black_bg .form_and_steps_wrap .checkbox:has(input:checked) .input-span:after {
    background: #fff;
    border-color: #000;
}

/* === Shared form globals (scoped) === */
.contact_us_form_steps_list .clone_contact,
.contact_us_form_steps_list .form_container {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}
.contact_us_form_steps_list form.clone_contact > div {
    flex: 0 0 100%;
    -webkit-flex: 0 0 100%;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
}
.contact_us_form_steps_list .clone_contact div.half_col {
    flex: 0 0 calc( 50% - 5px );
    -webkit-flex: 0 0 calc( 50% - 5px );
}
.contact_us_form_steps_list .clone_contact div.half_col:nth-child(2n+1) {
    margin-right: 10px;
}
.contact_us_form_steps_list .clone_contact > div.checkbox {
    flex-direction: row;
    -webkit-flex-direction: row;
    margin-top: 10px;
}
.contact_us_form_steps_list .clone_contact .checkbox label {
    text-transform: unset;
    font-weight: 400;
    max-width: 480px;
    position: relative;
    cursor: pointer;
    padding-left: 32px;
    display: block;
}
.contact_us_form_steps_list .clone_contact .checkbox_agree label {
    max-width: 100%;
}
.contact_us_form_steps_list .clone_contact label,
.contact_us_form_steps_list .label > span {
    color: #000;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.contact_us_form_steps_list.black_bg .clone_contact label,
.contact_us_form_steps_list.black_bg .label > span,
.contact_us_form_steps_list .black_bg .clone_contact label,
.contact_us_form_steps_list .black_bg .label > span {
    color: #fff;
}
.contact_us_form_steps_list.white_bg .clone_contact label,
.contact_us_form_steps_list.white_bg form .input,
.contact_us_form_steps_list.white_bg .form_sub,
.contact_us_form_steps_list .white_bg .clone_contact label,
.contact_us_form_steps_list .white_bg form .input,
.contact_us_form_steps_list .white_bg .form_sub {
    color: #000;
}
.contact_us_form_steps_list form .input {
    margin-bottom: 1.45em;
    font-family: "CT2020", serif;
    color: #000;
    width: 100%;
    font-size: 1.4em;
    background: transparent;
    border: none;
    padding: 13px 0;
    border-bottom: 1px solid #818181;
    border-radius: 0;
}
.contact_us_form_steps_list.black_bg form .input,
.contact_us_form_steps_list .black_bg form .input {
    color: #fff;
}
.contact_us_form_steps_list form .input:focus {
    border-color: #000;
}
.contact_us_form_steps_list.black_bg form .input:focus,
.contact_us_form_steps_list .black_bg form .input:focus {
    border-color: #fff;
}
.contact_us_form_steps_list form .input option {
    color: #000;
    font-size: 0.8em;
}
.contact_us_form_steps_list form .input.error_input,
.contact_us_form_steps_list .checkbox .error_input + label:before {
    border-color: red;
}
.contact_us_form_steps_list form.clone_contact label {
    position: relative;
}
.contact_us_form_steps_list form.clone_contact label .error_message {
    position: absolute;
    left: 0;
    bottom: 0.8em;
    color: red;
    text-transform: initial;
    font-size: 0.8em;
}
.contact_us_form_steps_list .checkbox label:before {
    content: "";
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #000;
    box-sizing: border-box;
    width: 1.25em;
    height: 1.25em;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 12px;
    z-index: 1;
    top: 0;
    left: 0;
    position: absolute;
}
.contact_us_form_steps_list.black_bg .checkbox label:before,
.contact_us_form_steps_list .black_bg .checkbox label:before {
    border-color: #fff;
}
.contact_us_form_steps_list.white_bg .checkbox label:before,
.contact_us_form_steps_list .white_bg .checkbox label:before {
    border: 2px solid #000;
}
.contact_us_form_steps_list .checkbox_agree label:before {
    top: 0px;
}
.contact_us_form_steps_list .checkbox input:checked + label:after {
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    border: 4px solid #000;
    background: #CDFF3A;
    width: 1.25em;
    height: 1.25em;
    z-index: 0;
    box-sizing: border-box;
}
.contact_us_form_steps_list.white_bg .checkbox input:checked + label:after,
.contact_us_form_steps_list .white_bg .checkbox input:checked + label:after {
    background: #000;
    border: 5px solid #fff;
}
.contact_us_form_steps_list .checkbox input {
    height: initial;
    width: initial;
    margin-bottom: 0;
    display: none;
    cursor: pointer;
    padding: 13px 0;
}
.contact_us_form_steps_list .success_message {
    display: none;
    box-sizing: border-box;
    margin-top: 7em;
    width: 60%;
    margin-right: 0;
    margin-left: auto;
}
.contact_us_form_steps_list:not(.white_bg) .success_message p,
.contact_us_form_steps_list .black_bg .success_message p {
    color: #fff;
}

/* === Media queries === */
@media only screen and (max-width: 960px) {
    .contact_us_form_steps_list .form_and_testimonial_wrap {
        flex-direction: column;
    }
    .contact_us_form_steps_list .form_and_testimonial_wrap .clone_contact div.half_col {
        flex: 0 0 calc( 50% - 5px );
        -webkit-flex: 0 0 calc( 50% - 5px );
    }
    .contact_us_form_steps_list .form_and_testimonial_wrap .clone_contact div.half_col:nth-child(2n+1) {
        margin-right: 10px !important;
    }
}
@media only screen and (max-width: 767px) {
    .contact_us_form_steps_list .form_and_testimonial_wrap .clone_contact div.half_col {
        flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
    }
    .contact_us_form_steps_list .form_and_testimonial_wrap .clone_contact div.half_col:nth-child(2n+1) {
        margin-right: 0 !important;
    }
}
@media screen and (max-width: 1024px) and (orientation: landscape) {
    body:has(.contact_us_form_steps_list.popup-form-main-overlay.active) {
        /*overflow: visible !important;*/
    }
    .contact_us_form_steps_list.popup-form-main-overlay.active {

    }
    .contact_us_form_steps_list .popup-form-main {
        height: auto;
        overflow: auto;
        max-height: 100vh;
    }
}
@media only screen and (max-width: 1024px) {
    .contact_us_form_steps_list .popup-form-main.animate-in {
        transform: translateY(0);
        opacity: 1;
    }
}
@media only screen and (max-width: 768px) {
    .contact_us_form_steps_list .popup-close {
        width: 30px;
        height: 30px;
        right: 20px;
        background-size: 10px;
    }
}
@media (max-width: 600px) {
    .contact_us_form_steps_list.popup-form-main-overlay.active {
        justify-content: flex-start;
        align-items: flex-start;
    }
    .contact_us_form_steps_list.popup-form-main-overlay.active .container {
        padding-top: 4.3vw;
        padding-bottom: 4.3vw;
    }
}
@media (max-width: 560px) {
    .contact_us_form_steps_list .popup-form-main {
        padding: 4.35em 4vw;
    }
}
@media only screen and (max-width: 1039px) {
    .contact_us_form_steps_list .clone_contact > div.half_col {
        flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
        margin-right: 0 !important;
    }
    .contact_us_form_steps_list form .input {
        padding: 5px 0;
    }
    .contact_us_form_steps_list .form_sub {
        margin-top: 36px;
    }
    .contact_us_form_steps_list .clone_contact label {
        min-height: unset !important;
    }
    .contact_us_form_steps_list .clone_contact > div.checkbox {
        margin-top: 0px;
    }
}
