:root { --red: #C8102E; --red-soft: #fef2f2; --ink: #0F172A; --text: var(--ink); --blue: #1D4ED8; --light: #F8FAFC; --muted: #475569; --border: #CBD5E1; --page: #fff; --surface: rgba(255,255,255,.97); --tooltip-bg: #0F172A; --tooltip-text: #fff; --tips-control-right: 24px; --tips-control-bottom: 24px; --control-shadow: 0 4px 18px rgba(0,0,0,.08); --control-shadow-hover: 0 8px 24px rgba(15,23,42,.12); color-scheme: light; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; color: var(--ink); }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100svh; background: #fff; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.issue-cloud { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; user-select: none; }
.issue-cloud span { position: absolute; left: var(--x); top: var(--y); padding: 4px; color: var(--ink); font-size: var(--size); font-weight: 700; line-height: 1; text-align: center; white-space: nowrap; opacity: var(--opacity); transform: translate(-50%, -50%); }
.site-mark { position: fixed; z-index: 40; top: 16px; left: 20px; display: flex; align-items: center; gap: 7px; padding: 7px; border: 1px solid var(--border); border-radius: 100px; color: var(--red); background: rgba(255,255,255,.95); box-shadow: var(--control-shadow); backdrop-filter: blur(20px); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.site-mark:hover { transform: translateY(-1px); box-shadow: var(--control-shadow-hover); }
.site-mark:focus-visible { outline: 3px solid rgba(200,16,46,.3); outline-offset: 3px; }
.site-mark .home-planet { width: 1.92rem; height: 1.92rem; flex-shrink: 0; }
.site-mark .home-planet img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.site-mark .home-logo-text { display: flex; flex-direction: column; margin: 0; }
.site-mark .home-logo-text span { display: block; color: var(--ink); font-size: .68rem; font-weight: 900; line-height: .94; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.site-mark .home-logo-text > .logo-emergency { color: var(--red) !important; }
.stage { position: relative; z-index: 1; min-height: 100svh; display: grid; place-items: center; padding: 88px 24px 44px; }
.page-footer { position: fixed; right: clamp(24px, 4vw, 48px); bottom: max(8px, env(safe-area-inset-bottom)); left: clamp(24px, 4vw, 48px); z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; transition: opacity .2s ease; }
.page-footer p { margin: 0; color: #94a3b8; font-size: .54rem; font-weight: 600; line-height: 1.35; text-align: center; }
.page-footer-links { display: flex; align-items: center; gap: 12px; }
.page-footer-links a { color: #64748b; font-size: .6rem; font-weight: 600; line-height: 1.35; text-decoration: none; }
.page-footer-links a:hover { color: var(--red); text-decoration: underline; }
.page-footer-links a:focus-visible { outline: 2px solid rgba(200,16,46,.4); outline-offset: 2px; }
body.is-map-active .page-footer { opacity: 0; pointer-events: none; }
.contact-component { width: min(920px, 100%); position: relative; }
.contact-pill { width: fit-content; max-width: 100%; min-height: 88px; margin-inline: auto; display: flex; align-items: center; gap: 20px; padding: 9px 9px 9px 30px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--control-shadow); backdrop-filter: blur(20px); transition: opacity .45s ease, transform .65s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, background .3s ease; }
.contact-pill:hover { box-shadow: var(--control-shadow-hover); }
.contact-copy { flex: 0 1 auto; margin: 0; text-align: center; font-size: clamp(16px, 2vw, 21px); letter-spacing: -.025em; line-height: 1.35; white-space: nowrap; }
.loading-dots { display: inline-flex; width: 1.15em; justify-content: space-between; margin-left: .08em; }
.loading-dots span { display: inline-block; animation: loading-dot 1.15s ease-in-out infinite; }
.loading-dots span:nth-child(2) { animation-delay: .16s; }
.loading-dots span:nth-child(3) { animation-delay: .32s; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.county-link { position: relative; display: inline-block; padding: 0; border: 0; border-bottom: 1.5px solid currentColor; color: var(--red); background: none; cursor: pointer; font-weight: 700; }
.location-tooltip { position: absolute; left: 50%; bottom: calc(100% + 13px); z-index: 30; width: max-content; max-width: 220px; padding: 8px 11px; border-radius: 9px; color: var(--tooltip-text); background: var(--tooltip-bg); box-shadow: 0 7px 20px rgba(15,23,42,.18); opacity: 0; pointer-events: none; transform: translate(-50%, 5px); transition: opacity .3s ease, transform .3s ease, color .3s ease, background .3s ease; font-size: 12px; font-weight: 700; letter-spacing: 0; line-height: 1.2; white-space: nowrap; }
.location-tooltip::after { content: ""; position: absolute; top: 100%; left: 50%; border: 5px solid transparent; border-top-color: var(--tooltip-bg); transform: translateX(-50%); transition: border-top-color .3s ease; }
.location-tooltip.is-visible { opacity: 1; transform: translate(-50%, 0); }
.non-emergency-text { color: var(--red); font-weight: 700; }
.icon-button { width: 54px; height: 54px; flex: 0 0 54px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--red); box-shadow: var(--control-shadow); cursor: pointer; text-decoration: none; transition: color .25s, background .25s, transform .25s, box-shadow .25s; }
.icon-button:hover { color: #fff; background: #a80d27; transform: translateY(-1px) scale(1.04); box-shadow: var(--control-shadow-hover); }
.icon-button:focus-visible, .county-link:focus-visible, .field:focus-visible { outline: 3px solid rgba(200,16,46,.3); outline-offset: 3px; }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.action-stack { --option-size: 68px; --option-gap: 12px; position: relative; z-index: 12; width: var(--option-size); height: var(--option-size); flex: 0 0 var(--option-size); }
.action-stack .icon-button { position: absolute; inset: 0; width: var(--option-size); height: var(--option-size); flex-basis: var(--option-size); }
.action-toggle { z-index: 3; border-radius: 50%; display: block; font-size: 15px; font-weight: 800; letter-spacing: -.05em; opacity: 1; transform: scale(1); transition: color .25s, background .25s, transform .25s, box-shadow .25s, opacity .2s ease; }
.action-toggle .solid-phone-icon { position: absolute; left: 9px; bottom: 8px; width: 41px; height: 41px; fill: currentColor; stroke: none; transform: rotate(-7deg); }
.action-toggle .phone-number { position: absolute; top: 17px; right: 14px; line-height: 1; }
.action-option { z-index: 2; opacity: 0; pointer-events: none; transform: translateY(0) scale(.88); transition: color .25s, background .25s, transform .25s, box-shadow .25s, opacity .2s ease; }
.action-stack.is-open .action-form { opacity: 1; pointer-events: auto; transform: translateY(calc(0px - var(--option-size) - var(--option-gap))) scale(1); }
.action-stack.is-open[data-has-phone="true"] .action-call { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.action-stack.is-open[data-has-phone="true"] .action-toggle { opacity: 0; pointer-events: none; transform: scale(.88); }
.action-stack::before { content: ""; position: absolute; z-index: 1; right: -8px; bottom: 0; left: -8px; height: calc(200% + var(--option-gap)); pointer-events: none; }
.action-stack.is-open::before { pointer-events: auto; }
.icon-button--dark { color: #fff; background: var(--red); }
.icon-button--dark:hover { color: #fff; background: #a80d27; }
.is-hidden { display: none !important; }
.map-panel { position: absolute; inset: 50% 0 auto; height: min(620px, 78svh); overflow: hidden; visibility: hidden; opacity: 0; border: 1px solid var(--border); border-radius: 39px; background: var(--page); box-shadow: 0 20px 70px rgba(15,23,42,.16), 0 8px 30px rgba(200,16,46,.10); transform: translateY(-50%) scale(.88); transform-origin: center; transition: opacity .35s ease, transform .75s cubic-bezier(.22,1,.36,1), visibility 0s linear .75s, background .3s ease; }
.contact-component.is-map-open .contact-pill { opacity: 0; transform: scale(.88); pointer-events: none; }
.contact-component.is-map-open .map-panel { visibility: visible; opacity: 1; transform: translateY(-50%) scale(1); transition-delay: 0s; }
.map-toolbar { position: absolute; z-index: 8; right: 28px; bottom: 46px; left: 28px; min-height: 70px; display: flex; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--control-shadow); backdrop-filter: blur(18px); }
.address-bar { flex: 1; min-width: 0; height: 52px; padding: 0 16px; overflow: hidden; border: 0; border-radius: 999px; outline: 0; color: var(--ink); background: transparent; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.address-bar::placeholder { color: #64748b; }
.address-bar:focus { background: var(--red-soft); box-shadow: inset 0 0 0 1px rgba(200,16,46,.18); }
.map-canvas { position: absolute; inset: 9px; width: auto; height: auto; overflow: hidden; border-radius: 30px; background: #f4f4f4; }
.pac-container { margin-top: 8px; overflow: hidden; border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 14px 40px rgba(15,23,42,.18); font-family: "Segoe UI", system-ui, sans-serif; }
.pac-item { padding: 10px 14px; border-top: 1px solid #eef2f7; cursor: pointer; font-size: 13px; }
.pac-item:first-child { border-top: 0; }
.pac-item:hover, .pac-item-selected { background: var(--red-soft); }
.pac-icon { display: none; }
.pac-item-query { color: var(--ink); font-size: 14px; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); animation: fade-in .35s ease; }
.form-card { width: min(680px, 100%); max-height: 90svh; overflow: hidden; padding: 30px; border: 1px solid var(--border); border-radius: 28px; background: var(--page); box-shadow: 0 24px 80px rgba(15,23,42,.18), 0 8px 28px rgba(200,16,46,.10); animation: rise-in .6s cubic-bezier(.22,1,.36,1); }
.form-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.form-head h2 { margin: 0 0 5px; font-size: 27px; letter-spacing: -.04em; }
.form-head p { margin: 0; color: #666; font-size: 14px; }
.close-button { padding: 6px; border: 0; background: none; cursor: pointer; font-size: 27px; line-height: 1; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-height: calc(90svh - 132px); overflow-y: auto; overscroll-behavior: contain; padding: 10px 16px 22px 10px; margin: -7px -8px -18px -7px; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.form-grid::-webkit-scrollbar { width: 7px; }
.form-grid::-webkit-scrollbar-track { background: transparent; }
.form-grid::-webkit-scrollbar-thumb { background: var(--red); border-radius: 999px; }
.form-group { display: grid; gap: 7px; }
.form-group--wide { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 700; }
.field { width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 12px; color: var(--ink); background: var(--surface); box-shadow: 0 2px 8px rgba(15,23,42,.05); transition: border-color .2s ease, box-shadow .2s ease, background .3s ease; }
.field:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.12), 0 4px 14px rgba(15,23,42,.08); outline: none; }
textarea.field { min-height: 120px; resize: vertical; }
.file-field { padding: 8px 10px; border-style: dashed; color: var(--muted); cursor: pointer; }
.file-field::file-selector-button { margin-right: 12px; padding: 10px 15px; border: 0; border-radius: 999px; color: #fff; background: var(--red); box-shadow: 0 3px 10px rgba(200,16,46,.25); cursor: pointer; font-weight: 700; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.file-field::file-selector-button:hover { background: #a80d27; box-shadow: 0 5px 14px rgba(200,16,46,.34); }
.submit-button { grid-column: 1 / -1; min-height: 52px; margin: 2px 1px 4px; border: 0; border-radius: 999px; color: #fff; background: var(--red); box-shadow: 0 6px 18px rgba(200,16,46,.30); cursor: pointer; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.submit-button:hover:not(:disabled) { background: #a80d27; transform: translateY(-1px); box-shadow: 0 9px 24px rgba(200,16,46,.36); }
.submit-button:disabled { opacity: .45; cursor: wait; }
.form-message { grid-column: 1 / -1; margin: 0; font-size: 13px; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes loading-dot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-.18em); } }
@media (max-width: 960px) { .tips-wrap { width: min(calc(100vw - 24px), 360px); right: 0; bottom: 56px; } }
@media (max-width: 680px) { :root { --tips-control-right: 14px; --tips-control-bottom: max(72px, calc(64px + env(safe-area-inset-bottom))); } .site-mark { top: 14px; left: 14px; } .stage { padding: 76px 14px 68px; } .page-footer { right: 4%; left: 4%; } .contact-pill { gap: 10px; min-height: 70px; padding-left: 20px; } .icon-button { width: 48px; height: 48px; flex-basis: 48px; } .contact-copy { font-size: 15px; white-space: normal; } .map-panel { height: 72svh; border-radius: 28px; } .map-canvas { inset: 7px; border-radius: 21px; } .map-toolbar { right: 16px; bottom: 42px; left: 16px; } .form-grid { grid-template-columns: 1fr; } .form-group--wide, .submit-button { grid-column: 1; } .action-stack { --option-size: 60px; --option-gap: 10px; } .action-toggle { font-size: 13px; } .action-toggle .solid-phone-icon { left: 8px; bottom: 7px; width: 36px; height: 36px; } .action-toggle .phone-number { top: 15px; right: 12px; } .tips-wrap { height: min(420px, calc(100svh - 190px - env(safe-area-inset-bottom))); } }
@media (orientation: landscape) and (max-height: 520px) { :root { --tips-control-right: max(12px, env(safe-area-inset-right)); --tips-control-bottom: max(12px, env(safe-area-inset-bottom)); } .stage { padding-top: 70px; padding-bottom: 44px; } .page-footer { right: 80px; left: 80px; } .tips-wrap { height: min(300px, calc(100svh - 84px)); } .map-panel { height: calc(100svh - 28px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
