.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.39rem;
}
.home-contact__panel {
    position: relative;
    border-radius: 4.86rem; /* 70px */
    background: linear-gradient(-89.56deg, var(--home-blue) 0.2%, var(--home-blue-dark) 99.8%);
    padding: 4.17rem 5.6rem;
    /* overflow: hidden; */
    color: #fff;
}

.home-contact__head {
    position: relative;
    z-index: 1;
    max-width: 25rem;
    margin-bottom: 2rem;
}

.home-contact__label {
    display: block;
    font-family: "Libre Franklin", sans-serif;
    font-size: 1.389rem; /* 20px */
    margin-bottom: 0.5rem;
}

.home-contact__title {
    font-family: "Libre Franklin", sans-serif;
    font-size: 2.5rem; /* 36px */
    font-weight: 600;
    line-height: 1.15;
}

.home-contact__form-wrap {
    position: relative;
    z-index: 1;
    max-width: 39rem; /* 561px */
}

.home-contact__form {
    display: flex;
    flex-direction: column;
    gap: 1.389rem;
}

.home-contact__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.389rem;
}

.home-contact__field input,
.home-contact__field select,
.home-contact__field textarea {
    width: 100%;
    background: transparent;
    border: 0.7px solid rgba(255, 255, 255, 0.95);
    border-radius: 0.556rem;
    padding: 1.1rem 1.25rem;
    color: #fff;
    font-family: "Libre Franklin", sans-serif;
    font-size: 1.111rem;
}

.home-contact__field select {
    appearance: none;
    background-image: url('../../../assets/icon/home/shared/chevron-down.svg');
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1rem;
}

.home-contact__field select option {
    color: #000;
}

.home-contact__field input::placeholder,
.home-contact__field textarea::placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.home-contact__field--textarea textarea {
    min-height: 11.11rem; /* 160px */
    resize: vertical;
}

.home-contact__submit {
    align-self: flex-start;
    background: #fffbf5;
    border: 2px solid var(--home-blue);
    color: var(--home-blue);
}

.home-contact__submit:hover {
    background: var(--home-blue);
    color: #fff;
}

.home-contact__photo {
    position: absolute;
    max-width: 40%;
    height: auto;
    z-index: 0;
    pointer-events: none;
    width: 36.54014rem;
    height: 49.44444rem;
    aspect-ratio: 269 / 364;
    bottom: 0;
    right: 0;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .home-contact__photo {
        display: none;
    }
}

@media (max-width: 1024px) {
    .home-contact__panel {
        border-radius: 2.5rem;
        padding: 3rem 2rem;
    }

    .home-contact__head {
        max-width: none;
    }

    .home-contact__form-wrap {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .home-contact__panel {
        padding: 2.25rem 1.25rem;
    }

    .home-contact__title {
        font-size: 1.75rem;
    }

    .home-contact__row {
        grid-template-columns: 1fr;
    }

    .home-contact__submit {
        width: 100%;
    }
}
