/* Quote pop-up (includes/class-orfa-quote-popup.php). Form fields use the quick-form styles (.orfa-qf) from prefooter.css. */
html.orfa-qm-open, html.orfa-qm-open body { overflow: hidden; }
#top .orfa-qm[hidden] { display: none !important; }
#top .orfa-qm { position: fixed; inset: 0; z-index: 100100; display: grid; place-items: center; padding: 24px; }
#top .orfa-qm__scrim { position: absolute; inset: 0; background: rgba(6, 16, 34, .62); opacity: 0; transition: opacity .18s ease; }
#top .orfa-qm__panel { position: relative; width: min(640px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 34px 36px 30px; border-radius: 20px; background: #fff; box-shadow: 0 40px 100px -30px rgba(0, 6, 20, .6); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .18s ease, transform .18s ease; }
#top .orfa-qm.is-open .orfa-qm__scrim { opacity: 1; }
#top .orfa-qm.is-open .orfa-qm__panel { opacity: 1; transform: none; }
#top .orfa-qm__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 10px; background: #f1f4f8; color: #1b2638; cursor: pointer; }
#top .orfa-qm__close:hover, #top .orfa-qm__close:focus-visible { background: #e3e9f1; }
#top .orfa-qm__close svg { width: 20px; height: 20px; }
#top .orfa-qm__eyebrow { display: inline-block; margin-bottom: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--orfa-blue, #0a66ff); }
#top .orfa-qm__title { margin: 0 44px 8px 0; padding: 0; font-size: clamp(24px, 1vw + 18px, 30px) !important; line-height: 1.2 !important; font-weight: 800 !important; letter-spacing: -.02em; color: var(--orfa-ink, #0f1b2d) !important; }
#top .orfa-qm__text { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: #4a5b72; }
#top .orfa-qm__form .wpcf7 { margin: 0; }
#top .orfa-qm.is-sent .orfa-qf__grid, #top .orfa-qm.is-sent .orfa-qf__foot input[type="submit"] { opacity: .45; pointer-events: none; }
@media (max-width: 600px) {
	#top .orfa-qm { align-items: end; padding: 0; }
	#top .orfa-qm__panel { width: 100%; max-height: 92vh; padding: 26px 20px 22px; border-radius: 18px 18px 0 0; transform: translateY(30px); }
}
@media (prefers-reduced-motion: reduce) {
	#top .orfa-qm__scrim, #top .orfa-qm__panel { transition: none; }
}
