.contact-modal[hidden] { display: none !important; }
.contact-modal { align-items: center; box-sizing: border-box; display: flex; inset: 0; justify-content: center; padding: 24px; position: fixed; z-index: 10000; }
.contact-modal *, .contact-modal *::before, .contact-modal *::after { box-sizing: border-box; }
.contact-modal__backdrop { background: rgba(4, 19, 55, .72); inset: 0; position: absolute; }
.contact-modal__dialog { background: #fff; border: 2px solid #16a6e3; border-radius: 20px; box-shadow: 0 24px 70px rgba(2, 15, 46, .42); color: #102858; max-height: min(760px, calc(100vh - 48px)); overflow: auto; padding: 30px; position: relative; width: min(590px, 100%); z-index: 1; }
.contact-modal__close { align-items: center; background: transparent; border: 0; color: #1553ee; cursor: pointer; display: inline-flex; font-size: 32px; font-weight: 300; height: 38px; justify-content: center; line-height: 1; padding: 0; position: absolute; right: 20px; top: 18px; width: 38px; }
.contact-modal__close:hover, .contact-modal__close:focus-visible { color: #082d96; }
.contact-modal__eyebrow { color: #078ac7; font-size: .72rem; font-weight: 800; letter-spacing: .13em; margin: 0 48px 8px 0; }
.contact-modal h2 { color: #102858; font-size: clamp(1.45rem, 3vw, 1.85rem); letter-spacing: -.03em; line-height: 1.12; margin: 0; }
.contact-modal__intro { color: #5b6d94; font-size: .95rem; line-height: 1.5; margin: 10px 0 22px; }
.contact-form { display: grid; gap: 10px; }
.contact-form input, .contact-form select, .contact-form textarea { appearance: none; background: #fff; border: 1.5px solid #4a88ff; border-radius: 9px; color: #1d315d; font: inherit; min-height: 46px; outline: none; padding: 11px 13px; transition: border-color 160ms ease, box-shadow 160ms ease; width: 100%; }
.contact-form select { background-image: linear-gradient(45deg, transparent 50%, #6d7fa6 50%), linear-gradient(135deg, #6d7fa6 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; cursor: pointer; padding-right: 38px; }
.contact-form textarea { min-height: 78px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #7082ac; opacity: 1; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #0758ff; box-shadow: 0 0 0 3px rgba(7, 88, 255, .12); }
.contact-form__pair { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.contact-form button[type='submit'] { align-items: center; background: #0a4dff; border: 1px solid #0a4dff; border-radius: 10px; color: #fff; cursor: pointer; display: inline-flex; font: inherit; font-weight: 800; justify-content: center; min-height: 50px; padding: 12px 18px; transition: background 160ms ease, transform 160ms ease; }
.contact-form button[type='submit']:hover, .contact-form button[type='submit']:focus-visible { background: #083bc4; transform: translateY(-1px); }
.contact-form button[type='submit'] span { font-size: 1.25em; margin-left: 8px; }
.contact-form__note { color: #687ba3; font-size: .82rem; line-height: 1.4; margin: 0; text-align: center; }
.contact-form__honeypot { height: 1px !important; left: -9999px !important; opacity: 0 !important; position: absolute !important; width: 1px !important; }
.contact-form button[disabled] { cursor: wait; opacity: .7; }
.contact-modal-open { overflow: hidden; }
.sr-only { clip: rect(0, 0, 0, 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
@media (max-width: 560px) { .contact-modal { align-items: flex-end; padding: 10px; } .contact-modal__dialog { border-radius: 16px; max-height: calc(100vh - 20px); padding: 26px 18px 20px; } .contact-form__pair { grid-template-columns: 1fr; } }
