/* Hawk Glide — site-wide contact modal */
.hg-contact-modal[hidden]{display:none!important}
.hg-contact-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:20px}
.hg-contact-modal__backdrop{position:absolute;inset:0;background:rgba(7,7,13,.78);backdrop-filter:blur(8px)}
.hg-contact-modal__panel{position:relative;isolation:isolate;width:min(100%,590px);max-height:min(90dvh,850px);overflow:auto;background:#141418;color:#fff;border:1px solid rgba(255,255,255,.13);border-radius:24px;box-shadow:0 28px 100px rgba(0,0,0,.5);padding:clamp(24px,4vw,38px);outline:none}
.hg-contact-modal__panel:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#ff557a,#d62657)}
.hg-contact-modal__close{position:absolute;right:16px;top:14px;border:1px solid rgba(255,255,255,.15);border-radius:50%;height:38px;width:38px;background:#27272d;color:white;font-size:25px;cursor:pointer;line-height:1}
.hg-contact-modal__close:hover,.hg-contact-modal__close:focus-visible{background:#ee4265;outline:2px solid white;outline-offset:2px}
.hg-contact-modal__eyebrow{font-size:11px;letter-spacing:.16em;color:#ff6987;font-weight:800}
.hg-contact-modal__intro h2{color:#fff;font-size:clamp(24px,4vw,31px);line-height:1.2;margin:12px 40px 10px 0}
.hg-contact-modal__intro p{color:#c7c6cf;font-size:14px;margin:0 0 26px}
.hg-contact-modal__form{color:#f5f5f7}
.hg-contact-modal__form input:not([type=checkbox]):not([type=radio]),.hg-contact-modal__form textarea,.hg-contact-modal__form select{max-width:100%}
.hg-contact-modal__form button[type=submit],.hg-contact-modal__form input[type=submit]{background:linear-gradient(100deg,#ff557a,#c92856);color:white;border:0;border-radius:12px;cursor:pointer}
.hg-contact-open{overflow:hidden}
@media(max-width:600px){.hg-contact-modal{padding:12px}.hg-contact-modal__panel{border-radius:18px;max-height:94dvh}}
@media(prefers-reduced-motion:no-preference){.hg-contact-modal__panel{animation:hgModalIn .22s ease-out}@keyframes hgModalIn{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:none}}}


/* Shortcode renders its own full design: never nest inside the theme's dark form card. */
.hg-shortcode-shell.fa-form-card,
.hg-shortcode-shell.sp-hero-form {
 background:transparent!important;border:0!important;box-shadow:none!important;
 border-radius:0!important;padding:0!important;overflow:visible!important;
 max-width:none!important;min-height:0!important;
}
.hg-shortcode-shell.fa-form-card::before,
.hg-shortcode-shell.sp-hero-form::before {display:none!important;content:none!important}
.hg-shortcode-shell .hg-lead-form-embed {background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;max-width:100%;overflow:visible!important}
.hg-shortcode-shell .fa-form-head,.hg-shortcode-shell .fa-worth,
.hg-shortcode-shell .sp-hero-form-head {position:relative;z-index:1}
.hg-shortcode-shell .hg-lead-form-embed > :first-child{max-width:100%}
/* Original enquiry popup layout (different from [lead-form] chatbot). */
.hg-contact-modal__form .contact-form{display:block;width:100%}
.hg-contact-modal__form .field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
.hg-contact-modal__form .field{min-width:0;margin-bottom:14px}
.hg-contact-modal__form .field-row .field{margin-bottom:0}
.hg-contact-modal__form label{display:block;color:#fff;font-size:13px;font-weight:700;margin-bottom:8px}
.hg-contact-modal__form input:not([type=hidden]),.hg-contact-modal__form textarea{display:block;width:100%;box-sizing:border-box;background:#202026!important;border:1px solid #34343e!important;border-radius:10px!important;color:#fff!important;padding:13px 14px;min-height:46px;font:inherit}
.hg-contact-modal__form input:focus,.hg-contact-modal__form textarea:focus{outline:2px solid #f34a70;outline-offset:1px}
.hg-contact-modal__form .btn[type=submit]{width:100%;min-height:48px;margin-top:6px;background:linear-gradient(95deg,#fa5275,#ce2757)!important;border:0!important;color:white!important;border-radius:13px;font-weight:750;cursor:pointer}
.hg-contact-modal__form .form-note{font-size:13px;margin-top:12px}
@media(max-width:480px){.hg-contact-modal__form .field-row{grid-template-columns:1fr;gap:12px}}
