.xd-request-info-hero {
    position: relative;
    width: 100%;
    border-radius: 0px 0px 60px 60px;
    min-height: 700px;
    max-height: 700px;
    padding-top: 200px;
    padding-bottom: 100px;
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, #190840 0%, #3d1a72 50%, #25124a 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.xd-request-info-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(25, 8, 64, 0.55);
    z-index: 1;
}

.xd-request-info-hero__inner {
    position: relative;
    z-index: 2;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: clamp(40px, 4vw, 80px);
    align-items: stretch;
    padding: 0 0 0 clamp(32px, 5vw, 80px);
    box-sizing: border-box;
}

.xd-request-info-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(60px, 6vw, 100px);
    padding-bottom: clamp(60px, 6vw, 100px);
}

.xd-request-info-hero__heading {
    margin: 0 0 20px;
    color: #ffffff !important;
    font-size: clamp(5rem, 5vw, 7.8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
}

.xd-request-info-hero__eyebrow {
    margin: 0 0 16px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
}

.xd-request-info-hero__form-panel {
    background: transparent;
    align-self: stretch;
    border-radius: 0 0 16px 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.xd-request-info-hero__form-heading {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
}

.xd-request-info-hero__gf-missing {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.xd-request-info-hero__gf-wrap {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    box-shadow: 0 4px 23px rgba(0, 0, 0, 1);
}

/* ── Gravity Forms reset & styling ─────────────────────────────────── */

.xd-request-info-hero__gf-wrap .gform_wrapper,
.xd-request-info-hero__gf-wrap .gform_wrapper form {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

.gform-theme--foundation .gform_fields {
row-gap: 10px !important;
}

.gfield--type-html {
    color: white !important;
    font-size: 10px !important;
}

.gform-grid-col input, .gfield input, .gfield select {
    height: 50px !important;
}

#gform_submit_button_1 {
    font-size: 18px !important;
}

#gform_fields_1 placeholder {
    font-size: 16px !important;
}

/* Hide GF's own title/description — we use our own form heading */
.xd-request-info-hero__gf-wrap .gform_heading {
    display: none !important;
}

/* Fields list */
.xd-request-info-hero__gf-wrap .gform_fields {
    margin: 0 !important;
    padding: 0 !important;
}

/* Individual field */
.xd-request-info-hero__gf-wrap .gfield {
    padding: 0 !important;
}

.xd-request-info-hero__gf-wrap .gfield:last-of-type {
    margin-bottom: 0 !important;
}

/* Field labels */
.xd-request-info-hero__gf-wrap .gfield_label {
    display: block !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

/* Validation message */
.xd-request-info-hero__gf-wrap .gfield_description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 4px;
}

.gform-theme--foundation .gform_fields {
    column-gap: 10px !important;
}

/* ── Inputs, selects, textareas ─────────────────────────────────────── */

.xd-request-info-hero__gf-wrap input[type="text"],
.xd-request-info-hero__gf-wrap input[type="email"],
.xd-request-info-hero__gf-wrap input[type="tel"],
.xd-request-info-hero__gf-wrap input[type="number"],
.xd-request-info-hero__gf-wrap input[type="url"],
.xd-request-info-hero__gf-wrap input[type="password"],
.xd-request-info-hero__gf-wrap textarea,
.xd-request-info-hero__gf-wrap select {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1.5px solid #d0c8e0 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #111111 !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.xd-request-info-hero__gf-wrap input::placeholder,
.xd-request-info-hero__gf-wrap textarea::placeholder {
    color: #000000 !important;
    font-size: 16px !important;
}

.xd-request-info-hero__gf-wrap input:focus,
.xd-request-info-hero__gf-wrap select:focus,
.xd-request-info-hero__gf-wrap textarea:focus {
    border-color: #5d23ad !important;
}

/* Select chevron */
.xd-request-info-hero__gf-wrap select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d23ad' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-color: #ffffff !important;
    padding-right: 40px !important;
    cursor: pointer !important;
    color: #000000 !important;
    font-size: 18px !important;
}

/* ── Submit button ───────────────────────────────────────────────────── */

.xd-request-info-hero__gf-wrap .gform_footer,
.xd-request-info-hero__gf-wrap .gform_page_footer {
    margin: 12px 0 0 !important;
    padding: 0 !important;
}

.xd-request-info-hero__gf-wrap .gform_button,
.xd-request-info-hero__gf-wrap input[type="submit"],
.xd-request-info-hero__gf-wrap button[type="submit"] {
    width: 100% !important;
    padding: 16px !important;
    border: none !important;
    border-radius: 8px !important;
    background: #f3bd45 !important;
    color: #111111 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.xd-request-info-hero__gf-wrap .gform_button:hover,
.xd-request-info-hero__gf-wrap input[type="submit"]:hover,
.xd-request-info-hero__gf-wrap button[type="submit"]:hover {
    background: #f7c44e !important;
}

/* ── Responsive ─────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .xd-request-info-hero__inner {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
        padding: 48px clamp(20px, 4vw, 40px);
        align-items: start;
        text-align: center;
    }

    .xd-request-info-hero {
        min-height: 900px;
        max-height: 900px;
        border-radius: 0px 0px 30px 30px;
    }

    .xd-request-info-hero__content {
        padding: 0px;
        justify-content: flex-start;
    }

    .xd-request-info-hero__form-panel {
        align-self: auto;
        border-radius: 16px;
        box-shadow: 0 8px 48px rgba(0, 0, 0, 0.28);
        padding: 32px clamp(20px, 4vw, 32px);
    }
}

@media (max-width: 767px) {
    .xd-request-info-hero__inner {
        padding: 0px;
    }

    .xd-request-info-hero__form-panel {
        padding: 0px;
    }

    .xd-request-info-hero {
        padding-top: 160px;
        padding-bottom: 50px;
    }
}
