.half-form-half-text__content {
    text-align: center;
}

.half-form-half-text {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    padding: 0;
}

.half-form-half-text + .bg-white,
.half-form-half-text + .bg-blue {
    padding-top: var(--section-margins);
}

.half-form-half-text__right,
.half-form-half-text__left {
    padding: 0 22px;
    width: 100%;
    position: relative;
}

.half-form-half-text__content h2 {
    margin: 0 0 10px;
}

.half-form-half-text__form h2 {
    text-align: center;
    color: #fff;
}

.half-form-half-text__form {
    padding: 25px 22px 33px;
    background: #0073BA;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%, 0 5%);
}

.half-form-half-text__image {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: calc(100% - 128px);
}


.half-form-half-text__form:has(.form-col-btn p) {
    padding-bottom: 32px;
}

.half-form-half-text--contact {
    margin-top: 40px;
}

@media(min-width: 768px) {
    .half-form-half-text {
        gap: 32px;
    }

    .half-form-half-text__image {
        height: calc(100% - 159px);
        min-height: 343px;
    }

    .half-form-half-text__form {
        padding: 23px 23px 36px;
        margin-bottom: 70px;
        clip-path: unset;
    }


    .half-form-half-text__right,
    .half-form-half-text__left {
        padding: 0 52px;
    }

    .half-form-half-text__form h2 {
        margin: 0 0 32px;
    }

    .half-form-half-text__form .row {
        --bs-gutter-x: 16px;
    }

    .half-form-half-text__arrow-icon {
        width: 65px;
        right: 0;
        top: -100px;
        position: absolute;
        z-index: 1;
    }

    .half-form-half-text--contact {
        margin-top: 70px;
    }

    .half-form-half-text--individual-product .half-form-half-text__form {
        padding: 23px;
    }

    .half-form-half-text--individual-product .half-form-half-text__form {
        clip-path: unset;
    }

    .half-form-half-text--individual-product .half-form-half-text__arrow-icon,
    .half-form-half-text--contact .half-form-half-text__arrow-icon {
        top: -52px;
    }
}


@media(min-width: 1025px) {
    .half-form-half-text__right,
    .half-form-half-text__left {
        padding: 0 63px;
    }
}

@media(min-width: 1200px) {
    .half-form-half-text {
        gap: 32px;
        padding: 100px 0 100px !important;
        justify-content: space-between;
        align-items: center;
    }

    .half-form-half-text__right {
        width: calc(44% - 16px);
        padding-right: 108px;
    }

    .half-form-half-text__left {
        padding: 0;
        width: calc(56% - 16px);
    }

    .half-form-half-text.row-reverse {
        flex-direction: row-reverse;
    }

    .half-form-half-text.row-reverse .half-form-half-text__right {
        width: calc(44% - 16px);
        padding-left: 108px;
        padding-right: 0;
    }

    .half-form-half-text__image {
        height: calc(100% + 200px);
        width: calc(100% - 216px);
        left: unset;
        right: 0;
        top: -100px;
    }

    .half-form-half-text.row-reverse .half-form-half-text__image {
        left: 0;
        right: unset;
    }

    .half-form-half-text__form {
        padding: 50px 53px;
        clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%, 0 8%) !important;
        max-width: 723px;
        margin-bottom: 0;
    }

    .half-form-half-text.row-reverse .half-form-half-text__form {
        margin-left: auto;
        clip-path: polygon(94% 0, 100% 7%, 100% 100%, 0 100%, 0 0) !important;
    }

    .half-form-half-text__content {
        text-align: left;
        max-width: 400px;
        margin-left: auto;
    }

    .half-form-half-text.row-reverse .half-form-half-text__content {
        margin-left: 0;
    }

    .half-form-half-text__arrow-icon {
        width: auto;
        right: unset;
        left: -155px;
        transform: rotateY(180deg);
        top: -102px !important;
    }

    .half-form-half-text.row-reverse .half-form-half-text__arrow-icon {
        transform: translate(-50%, 0);
        left: unset;
        right: -243px;
    }

    .half-form-half-text--contact {
        margin-top: 0;
    }

    .half-form-half-text--individual-product .half-form-half-text__form {
        padding: 58px 53px;
    }

    .half-form-half-text--individual-product .half-form-half-text__form {
        clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%, 0 11%) !important;
    }
}