/* City Response Team — company website. Plain CSS, no build step. */

:root {
  --navy-950: #060f1a;
  --navy-900: #0b1b30;
  --navy-800: #112642;
  --navy-700: #1a3458;
  --ink: #0f1a2a;
  --text: #2c3a4f;
  --muted: #5a6880;
  --line: #dbe2ec;
  --bg: #ffffff;
  --bg-soft: #f3f6fa;
  --accent: #f26b1d;        /* signal orange: buttons, highlights on dark */
  --accent-ink: #b9480a;    /* orange text on white (AA) */
  --accent-hover: #d95a10;
  --sec: #3a7be0;           /* 01 Security */
  --med: #d93b3b;           /* 02 Medical */
  --int: #e3a51a;           /* 03 Integrated safety */
  --road: #f26b1d;          /* 04 Roadside & traffic */
  --ok: #1f8a4c;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(11, 27, 48, .06), 0 6px 20px rgba(11, 27, 48, .07);
  --wrap: 1180px;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--text); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy-900); color: #c9d4e3; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .8rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; }
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--accent); }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); }
.section-dark .lead { color: #b5c2d6; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-primary { background: var(--accent); color: #1b0b00; }
.btn-primary:hover { background: #ff7d33; color: #1b0b00; }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--navy-900); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 19, 34, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); width: min(1320px, 100% - 40px); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: #d5deea; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 11px; border-radius: 8px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px 8px 0 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-mobile-only { display: none; }

@media (max-width: 1439px) {
  .header-actions .btn-call { display: none; }
}
@media (max-width: 1180px) {
  :root { --header-h: 64px; }
  .brand img { height: 38px; }
  .nav-toggle { display: block; }
  .header-actions { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: var(--navy-950); border-bottom: 1px solid rgba(255,255,255,.1); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav:not(.is-open) { display: none; }
  .nav a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; border-radius: 0; }
  .nav-mobile-only { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
  .nav-mobile-only .btn { border-bottom: 0; padding: 12px 22px; border-radius: 999px; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; color: #c9d4e3; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1000px 500px at 85% 10%, rgba(242,107,29,.22), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(58,123,224,.20), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(56px, 9vw, 112px) 0 clamp(56px, 8vw, 96px); }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--accent); display: block; }
.hero .lead { color: #b9c6d9; max-width: 600px; margin-bottom: 28px; }
.hero-mark { justify-self: center; width: min(360px, 80%); filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; font: 700 .85rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #8ea0b9; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--division, var(--accent)); }

.page-hero { position: relative; background: var(--navy-900); color: #c9d4e3; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(900px 420px at 90% 0%, color-mix(in srgb, var(--division, var(--accent)) 30%, transparent), transparent 60%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.page-hero-inner { padding: clamp(48px, 8vw, 88px) 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); }
.page-hero .lead { color: #b9c6d9; max-width: 680px; margin: 0; }
.page-hero .eyebrow { color: var(--division, var(--accent)); }
.division-number { font: 800 clamp(5rem, 14vw, 9rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--division, var(--accent)) 70%, transparent); }
.code-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.code-list a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #e5ecf5; text-decoration: none; font-weight: 600; font-size: .9rem; }
.code-list a:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ------------------------------------------------------------------ status bar (live, from City Summon) */
.live-bar { background: var(--navy-950); color: #b6c3d6; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.live-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 10px 0; }
.live-dot { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.live-dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #2fbf6b; box-shadow: 0 0 0 0 rgba(47,191,107,.6); animation: pulse 2s infinite; }
.live-bar a { color: #fff; font-weight: 600; }
.live-bar .spacer { flex: 1; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47,191,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,191,107,0); } }
@media (prefers-reduced-motion: reduce) { .live-dot::before { animation: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }

/* ------------------------------------------------------------------ grids & cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.grid > * { min-width: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.section-dark .card { background: var(--navy-800); border-color: rgba(255,255,255,.08); box-shadow: none; }

.division-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); text-decoration: none; color: var(--text); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.division-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--division); }
.division-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--division) 50%, var(--line)); box-shadow: 0 14px 40px rgba(11,27,48,.12); color: var(--text); }
.division-card .num { font: 800 1rem/1 var(--display); letter-spacing: .12em; color: var(--muted); }
.division-card h3 { font-size: 1.75rem; text-transform: uppercase; margin: 6px 0 6px; }
.division-card p { margin: 0 0 14px; }
.division-card .codes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.division-card .more { margin-top: 16px; font-weight: 700; color: var(--accent-ink); }
.division-card.is-signature { background: linear-gradient(160deg, #fffaf0, #fff 55%); border-color: color-mix(in srgb, var(--int) 45%, var(--line)); }
.signature-flag { position: absolute; top: 18px; right: 18px; font: 700 .7rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: #fdf0d2; color: #7a5300; }

.code { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 28px; padding: 0 8px; border-radius: 6px; font: 800 .95rem/1 var(--display); letter-spacing: .1em;
  background: color-mix(in srgb, var(--division, var(--navy-900)) 14%, #fff); color: var(--ink); border: 1px solid color-mix(in srgb, var(--division, var(--navy-900)) 40%, transparent); }
.code-list .code, .section-dark .code { background: color-mix(in srgb, var(--division, var(--accent)) 26%, var(--navy-900)); color: #fff; border-color: transparent; }

.div-sec { --division: var(--sec); }
.div-med { --division: var(--med); }
.div-int { --division: var(--int); }
.div-road { --division: var(--road); }

/* value points */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.1); }
.value { padding: 28px 24px 4px 0; }
.value .vicon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(242,107,29,.14); color: var(--accent); margin-bottom: 16px; }
.value .vicon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.value h3 { font-size: 1.4rem; text-transform: uppercase; }
.value p { color: #aebbd0; margin: 0; }

/* story / intro */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-block { border-left: 4px solid var(--accent); padding: 4px 0 4px 22px; font-size: 1.1rem; color: var(--ink); }
.scenario { background: var(--navy-900); color: #d5deea; border-radius: var(--radius-lg); padding: 28px; position: relative; }
.scenario h4 { color: var(--int); margin-bottom: 10px; }
.scenario p { margin: 0; }

/* who we serve */
.audience { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.audience .aicon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--navy-700); }
.audience .aicon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.audience h3 { font-size: 1.25rem; margin-bottom: 4px; }
.audience p { margin: 0; color: var(--muted); font-size: .95rem; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.step .n { font: 800 2.6rem/1 var(--display); color: var(--accent); }
.step h3 { margin: 10px 0 8px; font-size: 1.5rem; text-transform: uppercase; }
.step p { margin: 0; color: #aebbd0; }

/* ------------------------------------------------------------------ service detail blocks */
.service { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(40px, 6vw, 64px) 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; padding-top: 0; }
.service-head .code { font-size: 1.15rem; height: 36px; min-width: 64px; margin-bottom: 14px; }
.service-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.service-head .status { margin-top: 6px; }
.service-body > p:first-child { font-size: 1.08rem; color: var(--ink); }
.service-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin-top: 22px; }
.service-lists > div { background: var(--bg-soft); border-radius: var(--radius); padding: 22px; min-width: 0; }
.service-lists h4 { font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.checks { list-style: none; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--division, var(--accent)) 18%, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1b30' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ideal { margin: 0; color: var(--text); }

.status { display: inline-flex; align-items: center; gap: 7px; font: 700 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: #eef1f6; color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-available { background: #e3f5ea; color: #136b39; }
.status-soon { background: #eef1f6; color: #4a5872; }
.status-online { background: #fff1e6; color: #9a3c06; }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 700 .75rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg-soft); }
tr:last-child td { border-bottom: 0; }
td .code { margin-right: 8px; }

.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.compare > div { border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--line); background: #fff; }
.compare h4 { margin-bottom: 8px; }
.compare p { margin: 0; color: var(--muted); }
.compare .is-best { background: var(--navy-900); border-color: var(--navy-900); }
.compare .is-best h4 { color: var(--int); }
.compare .is-best p { color: #d5deea; }

/* ------------------------------------------------------------------ City Summon / roadside band */
.summon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.summon-services { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; margin: 22px 0 26px; }
.summon-services a, .summon-services span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: var(--radius); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; font-weight: 600; }
.summon-services a:hover { border-color: var(--accent); background: rgba(242,107,29,.1); color: #fff; }
.summon-services small { color: #9fb0c8; font-weight: 500; white-space: nowrap; }
.coverage-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.coverage-map { height: 340px; background: #e8edf3; }
.coverage-form { padding: 20px; display: grid; gap: 12px; }
.coverage-form .row { display: flex; gap: 10px; }
.coverage-form .row input { flex: 1; min-width: 0; }
.coverage-result:empty { display: none; }
.result { border-radius: var(--radius); padding: 14px 16px; font-size: .95rem; }
.result strong { display: block; color: var(--ink); margin-bottom: 2px; }
.result p { margin: 0; }
.result .btn { margin-top: 10px; }
.result-ok { background: #e3f5ea; border: 1px solid #b6e2c6; }
.result-warn { background: #fff4e5; border: 1px solid #f6d3a6; }
.result-info { background: #eef3fb; border: 1px solid #cfdcf0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent-ink); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }

/* ------------------------------------------------------------------ CTA band */
.cta { background: var(--accent); color: #1b0b00; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(40px, 6vw, 64px) 0; }
.cta h2 { color: #1b0b00; margin: 0 0 6px; }
.cta p { margin: 0; max-width: 640px; color: #3a1a05; font-size: 1.05rem; }
.cta .btn-dark { background: var(--navy-900); }

/* ------------------------------------------------------------------ forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field .hint { font-size: .85rem; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid #c4cedb; border-radius: 10px; padding: 12px 14px; min-height: 48px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(26,52,88,.18); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 10px; margin-top: 6px; }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid #c4cedb; border-radius: 12px; cursor: pointer; background: #fff; }
.choice input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--navy-900); }
.choice strong { display: block; color: var(--ink); }
.choice span span { font-size: .85rem; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--navy-900); box-shadow: 0 0 0 1px var(--navy-900); background: #f6f8fc; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--radius); padding: 14px 16px; }
.form-status:empty { display: none; }
.form-status.ok { background: #e3f5ea; border: 1px solid #b6e2c6; color: #0f4d29; }
.form-status.err { background: #fdecec; border: 1px solid #f3c2c2; color: #7a1717; }
.contact-aside { display: grid; gap: 16px; align-content: start; }
.contact-aside .card h3 { font-size: 1.3rem; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.contact-line:first-of-type { border-top: 0; }
.contact-line svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.contact-line strong { display: block; color: var(--ink); }
.layout-form { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy-950); color: #93a3ba; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding: 64px 0 40px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 340px; }
.site-footer h4 { color: #fff; font-size: .85rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #c4d0e0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }
.footer-phone { font: 800 1.6rem/1 var(--display); color: #fff !important; letter-spacing: .02em; }
.footer-vanity { font: 700 1rem/1.6 var(--display); letter-spacing: .12em; color: var(--accent); }
.contact-line .small { display: block; }

/* ------------------------------------------------------------------ misc */
svg.icon { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.on-dark { color: #fff; }
.on-dark-muted { color: #8ea0b9; }
.ink { color: var(--ink); }
.eyebrow-gold { color: #8a5d00; }
.coverage-label { font-weight: 700; color: var(--ink); }
.card-dark { background: var(--navy-900); border-color: var(--navy-900); color: #c9d4e3; }
.card-dark h3 { color: #fff; }
.section-deep { background: var(--navy-950); }
.service-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 0; padding: 14px 16px; border-radius: var(--radius); background: #fff7ef; border: 1px solid #f6d3a6; color: #6b3a10; }
.service-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.howto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.howto > div { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.howto-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fff1e6; color: var(--accent-ink); margin-bottom: 14px; }
.howto-icon svg { width: 24px; height: 24px; }
.howto h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 6px; }
.howto p { margin: 0; color: var(--muted); }
.division-card .num .code { font-size: 1rem; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); background: #f6f8fc; border: 1px dashed #b7c3d4; color: var(--muted); font-size: .92rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }

/* Leaflet inside the page should not trap the page scroll and should sit under the header */
.leaflet-container { font: inherit; z-index: 0; }
.leaflet-control-attribution { font-size: 10px; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-inner, .split, .summon, .layout-form { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { display: none; }
  .service { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .page-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .division-number { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .btn-row .btn { flex: 1 1 100%; }
  .card, .division-card { padding: 22px; }
  .coverage-form .row { flex-direction: column; }
  .coverage-map { height: 260px; }
  .footer-top { grid-template-columns: minmax(0, 1fr); padding-top: 48px; }
  .cta .btn { width: 100%; }
  .live-bar .spacer { display: none; }
}
@media (hover: none) and (pointer: coarse) {
  input, select, textarea { font-size: 16px; }
}
@media print {
  .site-header, .live-bar, .cta, .site-footer, .coverage-card { display: none; }
  .hero, .page-hero, .section-dark { background: #fff; color: #000; }
}
