.contact-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(7, 15, 36, .72);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.contact-modal {
    position: relative;
    width: min(100%, 600px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 36px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(7, 15, 36, .28);
    outline: none;
}

.contact-modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
}

.contact-modal-close:hover { color: #0b1f3a; }
.contact-modal-eyebrow { color: #b38f1d; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-modal h2 { margin: 7px 0 5px; color: #0b1f3a; font-size: 27px; }
.contact-modal-intro { margin: 0 0 24px; color: #64748b; font-size: 14px; }
.contact-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-modal-field { margin-bottom: 16px; }
.contact-modal-field label { display: block; margin-bottom: 7px; color: #1e293b; font-size: 13px; font-weight: 700; }
.contact-modal-field input, .contact-modal-field textarea {
    display: block;
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #1e293b;
    font: inherit;
    font-size: 14px;
    transition: border-color .2s, box-shadow .2s;
}
.contact-modal-field textarea { resize: vertical; min-height: 115px; }
.contact-modal-field input:focus, .contact-modal-field textarea:focus { outline: none; border-color: #d4af37; box-shadow: 0 0 0 3px rgba(212, 175, 55, .16); }
.contact-modal-field [aria-invalid="true"] { border-color: #b91c1c; }
.contact-modal-error { display: block; margin-top: 4px; color: #b91c1c; font-size: 12px; }
.contact-modal-status { margin: 0 0 15px; padding: 11px 13px; border-radius: 7px; background: #ecfdf5; color: #047857; font-size: 13px; }
.contact-modal-status.is-error { background: #fef2f2; color: #b91c1c; }
.contact-modal-submit { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 155px; padding: 12px 20px; border: 0; border-radius: 8px; background: #d4af37; color: #0b1f3a; font-size: 14px; font-weight: 800; cursor: pointer; }
.contact-modal-submit:hover:not(:disabled) { background: #e1be48; }
.contact-modal-submit:disabled { opacity: .65; cursor: wait; }
.contact-modal-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 600px) { .contact-modal { padding: 29px 20px; } .contact-modal-row { grid-template-columns: 1fr; gap: 0; } }
