.s-form {
    position: relative;
    padding: 40px 0 54px;
}

.form-steps {
    position: absolute;
    top: 0;
    display: flex;
    transform: translateY(-100%);
}

.form-steps--step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 50px;
}

.form-steps--step.active {
    border-bottom: 2px solid rgba(47, 79, 112, 1);
}

.form-steps--icon,
.form-steps--num {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-steps--step:not(.success) .form-steps--icon,
.form-steps--step.success .form-steps--num {
    display: none;
}

.form-steps--num {
    color: #9eb6cf;
    border-radius: 50%;
    border: 1.5px solid #9eb6cf;
}

.form-steps--step.active .form-steps--num {
    font-weight: 600;
    color: #fff;
    border-color: #2f4f70;
    background: #2f4f70;
}

.form-steps--step p {
    margin: 0   ;
    font-weight: 500;
    font-size: 16px;
    color: rgba(144, 144, 144, 1);
}

.form-steps--step.success p,
.form-steps--step.active p {
    color: rgba(42, 47, 51, 1);
}

.hero-page {
    padding: 46px 0 80px;
}

.hero-page .container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero__txt--title {
    margin-bottom: 16px;
}

.hero__txt--title span {
    color: rgba(71, 171, 143, 1);
}

.hero__txt--description {
    color: rgba(42, 47, 51, 0.8);
}

.hero__txt--list {
    margin: 31px 0 0;
    padding: 0;
    list-style: none;
}

.hero__txt--list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(42, 47, 51, 1);
}

.hero__txt--list li:not(:nth-last-child(1)) {
    margin-bottom: 24px;
}

.hero__txt--list span {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: rgba(242, 251, 248, 1);
}

.hero__txt--list p {
    margin: 0;
}

.hero__media img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.s-form {
    background: #9eb6cf;
}

.s-form .container {
    max-width: 798px;
    margin: 0 auto;
    padding: 0 15px;
}

.form-wrap {
    position: relative;
}

.form-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 130px;
    height: 176px;
    background: url('../../images/from-bg-right.svg') no-repeat center / contain;
    transform: translate(41%, -48%);
}


.form-wrap .wpcf7 {
    position: relative;
    padding: 32px 24px 24px;
    border-radius: 16px;
    background: #f7f7f7;
    box-shadow: 0px 1px 6.6px 0px rgba(0, 0, 0, 0.05),0px 0px 1.2px 0px rgba(0, 0, 0, 0.1), 0px 0px 20.8px 0px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.form-row {
    margin-bottom: 32px;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    margin-bottom: 24px;
}

.field_label {
    margin-bottom: 24px;
}

.tab-header {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
}

.tab-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(47, 79, 112, 1);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-info--title {
    margin: 0 0 3px 0 !important;
    font-size: 24px;
    font-weight: 600;
    color: rgba(42, 47, 51, 1);
    line-height: 1.2;
}

.tab-info p {
    margin: 0 !important;
    font-size: 16px;
    color: rgba(42, 47, 51, 1);
    line-height: 1.6;
}

.selected-option-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
    padding: 13px 16px 11px;
    background: #d9e4ef;
    border-radius: 8px;
}

.banner-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #f7f7f7;
    flex-shrink: 0;
}

.banner-info--title {
    margin: 0 0 6px 0 !important;
    font-weight: 500;
    font-size: 20px;
    color: rgba(42, 47, 51, 1);
    line-height: 1.3;
}

.banner-info--description {
    margin: 0 !important;
    font-size: 16px;
    color: rgba(42, 47, 51, 0.8);
    line-height: 1.4;
}

.form-wrap .headline {
    margin: 0 0 24px;
    padding-bottom: 16px;
    font-size: 20px;
    font-weight: 600;
    color: rgba(47, 79, 112, 1);
    line-height: 1.2;
    border-bottom: 1px solid rgba(217, 228, 239, 1);
}

.muted {
    color: #888;
    font-size: 0.9em;
}

.buttons-row.grid-2-col {
    margin-top: 30px;
}

.field_label span:not(.wpcf7-form-control-wrap) {
    display: inline-block;
    margin-left: 10px;
    color: #f73144;
}

.fields_subtitle {
    margin: 8px 0 -9px;
    font-weight: 400;
    font-size: 16px;
    color: rgba(144, 144, 144, 1);
}

.fields_caption {
    margin: -1px 0 0;
    font-size: 12px;
    color: rgba(144, 144, 144, 1);
}
.form-wrap input,
.form-wrap select,
.form-wrap textarea {
    margin: 12px 0 0 !important;
}

.custom-radio-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: -12px 0 25px;
}

@media (max-width: 768px) {
    .custom-radio-cards {
        grid-template-columns: 1fr;
    }
}

.custom-card {
    position: relative;
    margin: 0;
    display: block;
    height: 100%;
}

.custom-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.card-ui {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 64px 44px 10px 16px;
    background: #ffffff;
    border-radius: 8px;
    cursor: pointer;
}

.card-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    color: rgba(42, 47, 51, 1);
}

.card-desc {
    width: 100%;
    display: inline-block;
    margin-top: 5px;
    font-weight: 400;
    letter-spacing: -0.3px;
    color: rgba(144, 144, 144, 1);
}

.card-ui::before {
    content: '';
    position: absolute;
    top: 21px;
    right: 19px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(158, 182, 207, 1);
    background-color: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.card-ui::after {
    content: '';
    position: absolute;
    top: 25.5px;
    right: 26px;
    display: none;
    transform: rotate(45deg);
    width: 3px;
    height: 6px;
    border-bottom: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
}

.custom-card input[type="radio"]:checked + .card-ui::before {
    border-color: #2f4f70;
    background: #2f4f70;
}

.custom-card input[type="radio"]:checked + .card-ui::after {
    display: inline-block;
}

.card-icon {
    position: absolute;
    top: 12px;
    left: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #f7f7f7;
    z-index: 2;
}

.form-wrap input[type="text"],
.form-wrap input[type="email"],
.form-wrap input[type="tel"],
.form-wrap input[type="password"] {
    margin-bottom: 19px;
    border: 1px solid transparent;
}

.form-wrap .wpcf7-not-valid,
.form-wrap input[type="text"].wpcf7-not-valid,
.form-wrap input[type="email"].wpcf7-not-valid,
.form-wrap input[type="tel"].wpcf7-not-valid,
.form-wrap input[type="password"].wpcf7-not-valid {
    border-color: #dc3232;
}

.form-wrap .wpcf7-spinner,
.form-wrap .wpcf7-validation-errors,
.form-wrap .wpcf7-not-valid-tip {
    display: none !important;
}

.choices {
    margin-top: 12px;
}

.choices__inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 8px 12px 6px !important;
    font-weight: 400;
    font-size: 16px;
    color: rgba(42, 47, 51, 0.8);
    border: 1px solid #fff;
    background-color: #ffffff;
    border-radius: 8px;
}

.choices[data-type*="select-one"]::after {
    top: 50%;
    right: 24px;
    width: 12px;
    height: 12px;
    margin: 0 !important;
    border: 0;
    background: url("../../images/icon-select-arrow.svg") no-repeat center/contain;
    transform: translateY(-50%);
    transition: 0.3s transform;
}

.choices.is-open[data-type*="select-one"]::after {
    transform: translateY(-50%) rotate(180deg);
}

.choices__list--dropdown {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}


.choices__list[aria-expanded] .choices__item--selectable.is-selected {
    background-color: #d9e4ef !important;
    color: rgba(42, 47, 51, 0.8);
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #2f4f70 !important;
    color: #fff;
}

.flatpickr-time input::selection {
    background-color: transparent;
    color: rgba(42, 47, 51, 1);
}

.flatpickr-time input:hover,
.flatpickr-time input:focus {
    background: #f1f5f9;
}

.flatpickr-time input {
    outline: none !important;
}

.wpcf7-form-control-wrap[data-name="time-from"]::before,
.wpcf7-form-control-wrap[data-name="time-to"]::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 20px;
    height: 20px;
    background: url("../../images/icon-clock.svg") no-repeat center/contain;
    transform: translateY(-50%);
}

.form-wrap .wpcf7-form .fieldset-cf7mls .cf7mls-btns {
    min-height: auto;
}

.form-wrap .cf7mls_back.action-button {
    width: 100%;
    margin: 0;
    padding: 12px 12px 11px;
    font-weight: 600;
    font-size: 16px;
    color: rgba(47, 79, 112, 1);
    border-radius: 8px !important;
    border: 1px solid rgba(158, 182, 207, 1);
    background: transparent;
    transition: 0.3s background-color;
}

.form-wrap .cf7mls_back.action-button:hover {
    opacity: 1;
    background: #2f4f70;
    color: #ffffff;
}

.form-step:not(.step-1) ~ .form-actions .wpcf7-submit,
.form-wrap .cf7mls_next.action-button {
    width: 100%;
    margin: 0;
    padding: 12px 12px 11px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    border-radius: 8px !important;
    background: #9eb6cf;
    transition: 0.3s background-color;
}

.form-step:not(.step-1) ~ .form-actions .wpcf7-submit:hover,
.form-wrap .cf7mls_next.action-button:hover {
    opacity: 1;
    background: #2f4f70;
    color: #ffffff;
}

.form-wrap .checkbox-group {
    margin-bottom: 18px;
}

.form-wrap .field_label + .checkbox-group {
    margin-top: -6px;
}

.checkbox-group .wpcf7-list-item {
    margin: 0;
}

.checkbox-group .wpcf7-list-item label {
    position: relative;
}

.checkbox-group .wpcf7-list-item label input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.checkbox-group .wpcf7-list-item  .wpcf7-list-item-label {
    display: inline-block;
    padding-left: 36px;
    font-weight: 400;
    font-size: 16px;
    color: #2a2f33;
}

.checkbox-group .wpcf7-list-item  .wpcf7-list-item-label::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(158, 182, 207, 1);
    background-color: #ffffff;
    box-sizing: border-box;
    transition: all 0.2s ease;
}
.checkbox-group .wpcf7-not-valid .wpcf7-list-item .wpcf7-list-item-label::before {
    border-color: #dc3232;
}

.checkbox-group .wpcf7-list-item .wpcf7-list-item-label::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 7.5px;
    display: none;
    transform: rotate(45deg);
    width: 3px;
    height: 6px;
    border-bottom: 1.5px solid #fff;
    border-right: 1.5px solid #fff;
}

.checkbox-group .wpcf7-list-item label input[type="checkbox"]:checked + .wpcf7-list-item-label::before {
    border-color: #2f4f70;
    background: #2f4f70;
}

.checkbox-group .wpcf7-list-item label input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    display: inline-block;
}

.thank-you-wrapper {
    display: none;
    text-align: center;
}

.thank-you--title {
    margin: 30px 0 22px;
    font-size: 44px;
    font-weight: 600;
    color: #fff;
}

.thank-you--description {
    max-width: 460px;
    margin: 0 auto 63px;
}

.thank-you--title-list {
    color: #fff;
}

.thank-you--list {
    width: 101%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 31px;
}

.info-box {
    display: flex;
    gap: 19px;
    padding: 16px 24px 12px;
    font-size: 16px;
    color: rgba(42, 47, 51, 0.8);
    border-radius: 8px;
    background: rgba(255, 255, 255, 1);
}
@media (min-width: 1320px) {
    .hero__media img {
        max-width: 113%;
    }
}

@media (min-width: 769px) {

    .grid-2-col .field_label {
        margin-bottom: 0;
    }

    .form-step:not(.step-1) ~ .form-actions {
        float: right;
    }

    .form-step:not(.step-1) ~ .form-actions,
    .form-step:not(.step-1) ~.cf7mls-btns {
        width: 48%;
        display: inline-block;
    }

    .form-step:not(.step-1) ~.cf7mls-btns {
        float: left;
    }

    .form-step:not(.step-1) ~ .form-actions .wpcf7-submit,
    .form-step:not(.step-1) ~.cf7mls-btns .action-button {
        margin: 0 !important;
    }
}

@media (min-width: 992px) {
    .s-form {
        padding: 80px 0 104px;
    }
    .hero-page {
        padding: 66px 0 133px;
    }

    .hero-page .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hero__txt {
        width: 46%;
    }

    .hero__txt--title {
        letter-spacing: -0.9px;
    }

    .hero__txt--description {
        max-width: 500px;
    }

    .hero__media {
        width: 54.5%;
    }


    .form-wrap::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 202px;
        height: 240px;
        background: url('../../images/from-bg-left.svg') no-repeat center / contain;
        transform: translate(-56%, 746px);
    }
}

@media (max-width: 991px) {
    .hero__media {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .grid-2-col {
        grid-template-columns: 1fr;
    }

    .info-box {
        width: 100%;
    }

    .form-steps {
        width: 100%;
        left: 0;
        padding: 0 15px;
    }

    .form-steps--step {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
    }

    .form-steps--step p {
        display: none;
    }
}

/*.fieldset-cf7mls {*/
/*    position: relative !important;*/
/*    left: 0 !important;*/
/*    top: 0  !important;*/
/*    transform: none  !important;*/
/*    -webkit-transform: none  !important;*/
/*    opacity: 1!important;*/
/*    visibility: visible!important;*/
/*}*/