/* Form. */

.form {
    position: relative;

    margin-block: calc(var(--section-gap) * 1.4) !important;
    z-index: -1;
}

.form-net {
    align-items: center;
}

.form-content {
    position: relative;

    max-width: clamp(340px, 30.5vw, 544px);
    z-index: 2;
}

.form-content .wpcf7 {
    --gap: var(--i4);
}

.form-content .wpcf7:not(:first-child) {
    margin-top: var(--i3);
}

.form-content .wpcf7 .button-wrapper {
    margin-top: calc(var(--i3) - var(--i4));
}

.form-title {
    position: relative;

    z-index: 1;
}

.form-title img {
    position: absolute;
    top: 50%;
    left: -.5em;

    width: 140%;
    z-index: -1;

    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}

/* Form. */

@media only screen and (min-width: 768px) {
    .form-net-reverse .form-content {
        justify-self: end;
        order: 1;
    }

    .programs-dec {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .programs {
        position: relative;
    }

    .form-net {
        display: flex;
        flex-direction: column-reverse !important;
    }

    .form-content {
        width: 100%;
        max-width: none;
    }

    .form-content .wpcf7 .button-wrapper {
        text-align: center;
    }

    .programs-dec {
        pointer-events: none;
        position: absolute;
        top: 450px;
        right: 0;

        width: 516px;
    }

    .programs-list {
        position: relative;
        z-index: 1;
    }
}