.image-content-form {
    position: relative;
    overflow: hidden;
}

.image-content-form-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.image-content-form__text {
    position: relative;
    padding: 75px 22px 80px;
    color: var(--white);

}

.image-content-form__text:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(9, 7, 13, 0.325) 0%, rgba(9, 7, 13, 0.5) 99.89%);
}

.image-content-form__text__wrapper {
    position: relative;
    z-index: 2;
}

.image-content-form__text h2 {
    color: var(--white);
    text-transform: none;
}

.image-content-form__text h1 {
    color: var(--white);
    text-transform: none;
}

.image-content-form__form {
    position: relative;
    z-index: 2;
    background: var(--white);
    padding: 50px 22px;
    border-radius: 50px 0 0 50px;
    margin: -50px 0 0;
}

.image-content-form-wrapper {
    margin: 0 -22px;
}

.image-content-form:has(+ .page-footer):after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 200px;
    background: var(--primary);
    z-index: 1;
}

.image-content-form__text__wrapper p {
    margin: 0 0 20px;
}

.image-content-form__text__wrapper p:last-child {
    margin-bottom: 0;
}


.wpcf7-not-valid-tip {
    color: red;
    margin-top: 10px;
    display: inline-block;
}

@media(min-width: 768px) {
    .image-content-form-wrapper {
        margin: 0;

    }

    .image-content-form {
        padding: 90px 0;
    }

    .image-content-form__form {
        padding: 50px 35px;
        border-radius: 50px;
        margin: 0;
    }

    .image-content-form__text {
        position: unset;
        padding: 0 110px 0 0;
        margin: 0 0 40px;
    }

    .image-content-form:has(+ .page-footer):after {
        display: none;
    }
}

@media(min-width: 1200px) {
    .image-content-form {
        padding: 150px 0;
    }

    .image-content-form-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .image-content-form__text {
        width: 40%;
        margin: 0;
        padding: 0;
    }

    .image-content-form__form {
        width: calc(60% - 50px);
        padding: 90px 0 90px 90px;
        border-radius: 80px;
    }

    .image-content-form__form:after {
        content: "";
        position: absolute;
        right: -1900px;
        top: 0;
        width: 2000px;
        background: var(--white);
        height: 100%;
        z-index: -1;
    }

    .image-content-form__text:after {
    background: linear-gradient(270deg, rgba(9, 7, 13, 0) 0%, rgba(9, 7, 13, 1) 99.89%);
    opacity: 0.6;
}
}



