/* CONTACT — cap at 900px and fill it */
#contact .section-content.center-section {
    max-width: 900px;
    /* widen the page column for this section */
}

#contact .contact-form-container {
    background: #f9f9f9;
    border: 1px solid #f9f9f9;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    padding: var(--card-pad);
    max-width: 900px;
    /* <-- was 52rem */
    width: 100%;
    margin-inline: auto;
    /* keep centered */
}

#contact .contact-form {
    max-width: none;
    /* <-- was 40rem */
    width: 100%;
    /* fill the container */
    margin-inline: 0;
}

/* Layout: 1 column on mobile, 2 columns for first row on md+ */
#contact .form-row {
    display: grid;
    grid-template-columns: 1fr;
    /* mobile */
    gap: 1rem;
}

@media (min-width: 768px) {
    #contact .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Inputs */
#contact .input-field,
#contact .textarea-field {
    width: 100%;
    padding: .5rem 1rem;
    border: 1px solid #ccc;
    border-radius: .25rem;
    font-family: 'Prompt', sans-serif;
    font-size: var(--font-base);
    line-height: 1.5;
    margin-bottom: .8rem;
}

#contact .textarea-field {
    resize: none;
    height: 15rem;
    /* tweak if you want taller on big screens */
}

/* Submit */
#contact .button-wrapper {
    text-align: right;
}

#contact .submit-btn {
    background: #000;
    color: #fff;
    padding: .5rem 1.5rem;
    border: none;
    border-radius: .25rem;
    cursor: pointer;
    font-family: 'Prompt', sans-serif;
    font-size: var(--font-base);
}


/* ─── generic modal ─────────────────────────────────────────── */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
}

.modal[hidden] {
    display: none;
}

.modal-box {
    background: #fff;
    width: min(90%, 28rem);
    padding: 2rem 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .2);
}

.modal-close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: none;
    border: none;
    font-size: var(--fs-600);
    line-height: 1;
    cursor: pointer;
}


.grecaptcha-badge {
    display: none !important;
}

/* put in footer.css or a global sheet */
.recaptcha-disclaimer {
    display: block;
    margin-top: 1rem;
    font-size: .7rem;
    line-height: 1.3;
    color: #888;
    text-align: center;
}

.recaptcha-disclaimer a {
    color: inherit;
    text-decoration: underline;
}