.call-to-action {
    margin-top: 150px;
}

.call-to-action__wrapper {
    display: flex;
}

.call-to-action__content {
    padding: 80px 60px 60px 80px;
    background: #FF5A46;
    border-radius: 40px 0 0 40px;
    flex-basis: 859px;
}

.contacts-form__image-wrapper {
    flex-basis: 500px;
    background: #202029;
    position: relative;
    border-radius: 0 40px 40px 0;
}

.contacts-form__image {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: calc(100% + 40px);
    margin-left: -40px;
    object-fit: cover;
}

.call-to-action__heading {
    margin-bottom: 20px;
    max-width: 550px;
}

.call-to-action__text {
    color: #FFF;
    margin-bottom: 40px;
}

.call-to-action .contact-form-fields-wrapper {
    margin-bottom: 26px;
}

.contacts-form__contact-form .contact-form-fields-wrapper > p {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.contacts-form__contact-form .contact-form-fields-wrapper .wpcf7-form-control-wrap:first-child {
flex-basis: 220px;
}

.contacts-form__contact-form .contact-form-fields-wrapper .wpcf7-form-control-wrap {
    flex-basis: 235px;
}

.contacts-form__contact-form .contact-form-fields-wrapper .wpcf7-form-control-wrap input {
    width: 100%;
}

.contacts-form__contact-form .contact-form-fields-wrapper .wpcf7-submit {
    flex-basis: 225px;
    min-width: fit-content;
}

.contacts-form__contact-form  input {
    background: #FFF;
}

.contacts-form__contact-form p:has(.wpcf7-acceptance) {
    margin-bottom: 0;
}

.wpcf7-acceptance {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #FFF;
    padding-left: 36px;
    position: relative;
}

.wpcf7-acceptance input {
    margin: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    left: 0;
    z-index: 10000;
    cursor: pointer;
}

.wpcf7-acceptance::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 26px;
    background: url('data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 width%3D%2226%22 height%3D%2226%22 viewBox%3D%220 0 26 26%22 fill%3D%22none%22%3E%3Cmask id%3D%22mask0_2752_9212%22 style%3D%22mask-type%3Aluminance%22 maskUnits%3D%22userSpaceOnUse%22 x%3D%220%22 y%3D%220%22 width%3D%2226%22 height%3D%2226%22%3E%3Cpath d%3D%22M23 0H3C1.34315 0 0 1.34315 0 3V23C0 24.6569 1.34315 26 3 26H23C24.6569 26 26 24.6569 26 23V3C26 1.34315 24.6569 0 23 0Z%22 fill%3D%22white%22/%3E%3C/mask%3E%3Cg mask%3D%22url(%23mask0_2752_9212)%22%3E%3Cpath d%3D%22M23 0H3C1.34315 0 0 1.34315 0 3V23C0 24.6569 1.34315 26 3 26H23C24.6569 26 26 24.6569 26 23V3C26 1.34315 24.6569 0 23 0Z%22 fill%3D%22%23202029%22/%3E%3Cpath d%3D%22M22.9167 0.25H3.08333C1.525 0.25 0.25 1.525 0.25 3.08333V22.9167C0.25 24.475 1.525 25.75 3.08333 25.75H22.9167C24.475 25.75 25.75 24.475 25.75 22.9167V3.08333C25.75 1.525 24.475 0.25 22.9167 0.25ZM11.1725 19.0775C10.62 19.63 9.7275 19.63 9.175 19.0775L4.08917 13.9917C3.53667 13.4392 3.53667 12.5467 4.08917 11.9942C4.64167 11.4417 5.53417 11.4417 6.08667 11.9942L10.1667 16.0742L19.9133 6.3275C20.4658 5.775 21.3583 5.775 21.9108 6.3275C22.4633 6.88 22.4633 7.7725 21.9108 8.325L11.1725 19.0775Z%22 fill%3D%22%23202029%22/%3E%3C/g%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.wpcf7-acceptance::after {
    position: absolute;
    left: 0;
    top: 0;
    content: '';
    width: 26px;
    height: 26px;
    background: url('data:image/svg+xml,%3Csvg xmlns%3D%22http%3A//www.w3.org/2000/svg%22 width%3D%2226%22 height%3D%2226%22 viewBox%3D%220 0 26 26%22 fill%3D%22none%22%3E%3Cg clip-path%3D%22url(%23clip0_1038_1434)%22%3E%3Cpath d%3D%22M22.9167 0.25H3.08333C1.525 0.25 0.25 1.525 0.25 3.08333V22.9167C0.25 24.475 1.525 25.75 3.08333 25.75H22.9167C24.475 25.75 25.75 24.475 25.75 22.9167V3.08333C25.75 1.525 24.475 0.25 22.9167 0.25ZM11.1725 19.0775C10.62 19.63 9.7275 19.63 9.175 19.0775L4.08917 13.9917C3.53667 13.4392 3.53667 12.5467 4.08917 11.9942C4.64167 11.4417 5.53417 11.4417 6.08667 11.9942L10.1667 16.0742L19.9133 6.3275C20.4658 5.775 21.3583 5.775 21.9108 6.3275C22.4633 6.88 22.4633 7.7725 21.9108 8.325L11.1725 19.0775Z%22 fill%3D%22%23202029%22/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id%3D%22clip0_1038_1434%22%3E%3Crect width%3D%2226%22 height%3D%2226%22 rx%3D%223%22 fill%3D%22white%22/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 3px;
}

.wpcf7-acceptance:has(input:checked)::before {
    opacity: 0;
}

.contacts-form__contact-form .wpcf7-list-item {
    margin-left: 0;
    min-height: 27px;
    display: flex;
    align-items: center;
}

.wpcf7-not-valid-tip {
    display: none;
}

.call-to-action .wpcf7-form input {
    color: #202029;
}

.call-to-action .wpcf7-form input.wpcf7-submit {
    color: #FFF;
}

body .call-to-action .wpcf7 form.invalid .wpcf7-response-output,
body .call-to-action .wpcf7 form.sent .wpcf7-response-output{
    color: #000;
}

body .call-to-action input.wpcf7-not-valid {
    border-color: #000!important;
}

@media screen and (max-width: 1199.98px) {
    .call-to-action__content {
        padding: 50px;
    }

    .contacts-form__image {
        min-width: calc(100% + 30px);
    }

    .wpcf7-acceptance::before,
    .wpcf7-acceptance::after {
        width: 20px;
        height: 20px;
        transform: translateY(-50%);
        top: 50%;
    }

    .wpcf7-acceptance {
        padding-left: 30px;
        font-size: 14px;
    }
}

@media screen and (max-width: 1023.98px) {
    .call-to-action__wrapper {
        flex-direction: column-reverse;
    }

    .call-to-action__content,
    .contacts-form__image-wrapper {
        flex-basis: fit-content;
    }

    .contacts-form__image {
        min-width: unset;
        position: relative;
        margin-left: 0;
        width: 100%;
        max-width: 500px;
        margin-top: -71px;
    }

    .contacts-form__image-wrapper {
        text-align: end;
        border-radius: 20px 20px 0 0;
    }

    .call-to-action__content {
        border-radius: 0 0 20px 20px;
    }

    .call-to-action__content {
        padding: 40px;
    }

    .call-to-action__text {
        margin-bottom: 20px;
    }

    .contacts-form__image-wrapper {
        display: flex;
        justify-content: flex-end;
    }

    .call-to-action__heading {
        max-width: 100%;
    }
    .contacts-form__contact-form .contact-form-fields-wrapper .wpcf7-form-control-wrap:first-child,
    .contacts-form__contact-form .contact-form-fields-wrapper .wpcf7-form-control-wrap,
    .contacts-form__contact-form .contact-form-fields-wrapper .wpcf7-submit {
        flex-basis: 100%;
        width: 100%;
    }

    .contacts-form__contact-form .contact-form-fields-wrapper > p {
        width: 100%;
    }
}

@media screen and (max-width: 767.98px) {
    .call-to-action {
        margin-top: 111px;
    }

    .contacts-form__contact-form .contact-form-fields-wrapper > p {
        flex-direction: column;
        gap: 10px;
    }


    .contacts-form__contact-form .contact-form-fields-wrapper .wpcf7-submit {
        margin-top: 15px;
    }

    .call-to-action__content {
        padding: 30px 25px 40px 25px;
    }

    .call-to-action__heading {
        margin-bottom: 10px;
    }

    .contacts-form__image {
        height: 400px;
        width: 336px;
    }
}