/* =====================================================================
   MOBILE-CAR-REPAIR.XYZ — "Roadside Dispatch"
   Emergency red, asphalt charcoal and white, tow-truck chevron stripes, highway-sign lettering.
   Help is always one tap away: city pages keep a dispatch bar pinned to the bottom of the screen
   on every device. Overpass (highway-sign lettering) for everything, Overpass Mono for readouts.
   ===================================================================== */

:root {
  --white: #ffffff;
  --bg: #f2f3f5;
  --bg-2: #e8eaed;
  --asphalt: #1b1e23;
  --asphalt-2: #252a31;
  --asphalt-3: #313742;
  --text: #15181c;
  --muted: #59616c;
  --muted-2: #8a929c;
  --line: #dde1e6;
  --line-strong: #c4cad2;
  --on-dark: #c3c9d2;
  --dark-line: rgba(255, 255, 255, 0.12);
  --red: #e0312b;
  --red-dark: #b8231e;
  --red-soft: #fde9e8;
  --go: #1fae5b;
  --caution: #ffcc33;

  --font: "Overpass", "Helvetica Neue", Arial, sans-serif;
  --mono: "Overpass Mono", "SFMono-Regular", Consolas, monospace;

  --max: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --chevron: repeating-linear-gradient(-45deg, var(--red) 0 16px, #ffffff 16px 32px);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--caution); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- layout ---- */
.box { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.zone { padding: clamp(3rem, 7vw, 5.25rem) 0; }
.zone.tight { padding: clamp(2rem, 5vw, 3.25rem) 0; }
.zone.gray { background: var(--bg); }
.zone.dark { background: var(--asphalt); color: #fff; }
.zone.red { background: var(--red); color: #fff; }
.chevrons { height: 14px; background: var(--chevron); }
.chevrons.thin { height: 8px; }
.zone-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.zone-head > div { max-width: 48rem; }
.zone-head .sub { margin-top: 0.7rem; }
.jump-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 800; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red); }
.jump-link:hover { color: var(--red-dark); }
.dark .jump-link, .red .jump-link { color: #fff; }

/* ---- type ---- */
.tab { display: inline-block; margin-bottom: 0.9rem; padding: 0.3rem 0.85rem 0.25rem; background: var(--red); color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding-right: 1.4rem; }
.red .tab { background: var(--asphalt); }
.h-hero, .h-big, .h-mid { font-weight: 900; letter-spacing: -0.02em; line-height: 1.02; }
.h-hero { font-size: clamp(2.5rem, 6.2vw, 4.8rem); }
.h-big { font-size: clamp(1.9rem, 4vw, 3rem); }
.h-mid { font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.15; letter-spacing: -0.01em; }
.hot { color: var(--red); }
.dark .hot { color: #ff5a4f; }
.red .hot { color: var(--asphalt); }
.sub { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); line-height: 1.55; }
.dark .sub { color: var(--on-dark); }
.red .sub { color: #ffe1df; }
.readout { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-2); }
.dark .readout { color: var(--on-dark); }
.text p { margin-bottom: 1em; color: #31373f; }
.text p:last-child { margin-bottom: 0; }
.dark .text p { color: var(--on-dark); }
.text a, .u-link { color: var(--red-dark); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: color-mix(in srgb, var(--red) 35%, transparent); text-underline-offset: 3px; }
.text a:hover, .u-link:hover { text-decoration-color: var(--red); }
.dark .text a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.4); }
.text h2 { font-weight: 900; font-size: clamp(1.45rem, 2.6vw, 1.85rem); line-height: 1.15; letter-spacing: -0.01em; margin: 1.6em 0 0.55em; }
.text h3 { font-weight: 800; font-size: 1.15rem; margin: 1.4em 0 0.45em; }
.text ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1em; }
.text ol { list-style: decimal; padding-left: 1.25rem; margin-bottom: 1em; }
.text li { margin-bottom: 0.35em; color: #31373f; }
.text li::marker { color: var(--red); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 52px; padding: 0 1.4rem; border: 2px solid transparent; border-radius: 6px; font-weight: 800; font-size: 0.98rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.1; text-align: center; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-dark); }
.btn-red:hover { background: #ea3f39; }
.btn-dark { background: var(--asphalt); color: #fff; box-shadow: 0 4px 0 #000; }
.btn-dark:hover { background: var(--asphalt-3); }
.btn-line { border-color: var(--line-strong); color: var(--text); background: #fff; }
.btn-line:hover { border-color: var(--red); color: var(--red); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-white { background: #fff; color: var(--red); box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25); }
.btn-white:hover { background: #fff3f2; }
.btn-full { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---- header ---- */
.alertbar { background: var(--red); color: #fff; font-size: 0.86rem; font-weight: 700; }
.alertbar .box { display: flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 38px; text-align: center; }
.alertbar a { text-decoration: underline; text-underline-offset: 3px; }
.alertbar .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); animation: blink 1.6s infinite; flex-shrink: 0; }
@keyframes blink { 50% { opacity: 0.35; } }
.topbar { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 3px solid var(--asphalt); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.brand img { width: 36px; height: 36px; flex-shrink: 0; }
.wordmark { font-weight: 900; font-size: 1.35rem; letter-spacing: -0.02em; white-space: nowrap; color: var(--asphalt); }
.wordmark b { font-weight: 900; color: var(--red); }
.menu { display: flex; align-items: center; gap: 1.6rem; }
.menu-link { font-weight: 800; font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 0.45rem 0; border-bottom: 3px solid transparent; }
.menu-link:hover, .menu-link[aria-current="page"] { color: var(--asphalt); border-bottom-color: var(--red); }
.menu .btn { min-height: 44px; padding: 0 1.1rem; font-size: 0.88rem; }
.burger { display: none; width: 46px; height: 46px; margin-right: -6px; border-radius: 6px; background: var(--asphalt); color: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- heroes ---- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--asphalt); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 22, 26, 0.96) 0%, rgba(20, 22, 26, 0.86) 45%, rgba(20, 22, 26, 0.55) 100%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.75rem, 7vw, 5.5rem); }
.hero .sub { margin: 1.1rem 0 1.75rem; max-width: 38rem; color: var(--on-dark); }
.hero-plain { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero-plain .sub { margin-top: 1rem; max-width: 46rem; }
.hero-plain .btns { margin-top: 1.5rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; font-family: var(--mono); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--on-dark); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: ">"; margin-right: 0.4rem; color: #ff5a4f; }

/* home: "what's wrong?" quick buttons + "where are you?" search */
.triage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; max-width: 36rem; }
.triage a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 56px; padding: 0 1rem; border-radius: 6px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 800; transition: background 0.15s, border-color 0.15s; }
.triage a:hover { background: var(--red); border-color: var(--red); }
.triage a span { color: #ff5a4f; font-size: 1.2rem; }
.triage a:hover span { color: #fff; }
.locate { position: relative; max-width: 36rem; }
.locate-label { display: block; margin: 1.6rem 0 0.5rem; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.locate-row { display: flex; gap: 0.5rem; }
.locate-row input { flex: 1; min-width: 0; min-height: 54px; padding: 0 1rem; border: 2px solid #fff; border-radius: 6px; background: #fff; color: var(--text); font-weight: 700; outline: none; }
.locate-row input:focus { border-color: var(--caution); }
.locate-row input::placeholder { color: var(--muted-2); font-weight: 600; }
.locate-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; max-height: 320px; overflow: auto; background: #fff; color: var(--text); border-radius: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3); scrollbar-width: none; }
.locate-list::-webkit-scrollbar { display: none; }
.locate-list li a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); font-weight: 700; }
.locate-list li a small { font-family: var(--mono); font-weight: 600; color: var(--muted-2); }
.locate-list li a:hover, .locate-list li a.is-active { background: var(--red-soft); color: var(--red-dark); }
.locate-list .none { padding: 0.9rem 1rem; color: var(--muted); }
.locate-list[hidden] { display: none; }
.locate.on-light .locate-row input { border-color: var(--line-strong); }
.locate.on-light .locate-row input:focus { border-color: var(--red); }

/* the dispatch card (city hero) */
.dispatch { background: #fff; color: var(--text); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.dispatch-top { height: 10px; background: var(--chevron); }
.dispatch-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem 0.85rem; border-bottom: 1px solid var(--line); }
.dispatch-head strong { font-weight: 900; font-size: 1.1rem; }
.status { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: #e6f6ed; color: #127a3f; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--go); animation: blink 1.6s infinite; }
.dispatch-rows { padding: 0.35rem 1.3rem; }
.dispatch-rows > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 0.75rem; padding: 0.75rem 0; border-bottom: 1px dashed var(--line-strong); font-family: var(--mono); font-size: 0.74rem; font-weight: 600; text-transform: uppercase; color: var(--muted-2); align-items: baseline; }
.dispatch-rows > div:last-child { border-bottom: 0; }
.dispatch-rows strong { font-family: var(--font); font-size: 1rem; font-weight: 800; text-transform: none; color: var(--text); line-height: 1.35; overflow-wrap: anywhere; }
.dispatch-rows .row-phone strong { font-size: 1.55rem; font-weight: 900; letter-spacing: -0.01em; }
.dispatch-rows a:hover { color: var(--red); }
.dispatch-foot { padding: 0 1.3rem 1.3rem; }

/* ---- stat strip ---- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--asphalt); color: #fff; }
.stat { padding: 1.4rem 1.25rem; border-left: 1px solid var(--dark-line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-weight: 900; font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1; color: #fff; }
.stat b em { font-style: normal; color: #ff5a4f; }
.stat span { display: block; margin-top: 0.35rem; color: var(--on-dark); font-size: 0.92rem; }

/* ---- blocks ---- */
.grid { display: grid; gap: clamp(0.9rem, 2vw, 1.25rem); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel { position: relative; padding: clamp(1.25rem, 2.5vw, 1.6rem); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 8px; }
.gray .panel { border-color: var(--line); border-top-color: var(--red); }
.panel h3 { font-weight: 900; font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 0.45rem; }
.panel p { color: var(--muted); font-size: 0.98rem; }
.panel .readout { display: block; margin-bottom: 0.6rem; color: var(--red); }
.dark .panel { background: var(--asphalt-2); border-color: var(--dark-line); border-top-color: var(--red); }
.dark .panel p { color: var(--on-dark); }
.panel-link { display: flex; flex-direction: column; transition: transform 0.15s, box-shadow 0.15s; }
.panel-link:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); }
.panel-link .go { margin-top: auto; padding-top: 0.9rem; font-weight: 800; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--red); }
.bullets { margin-top: 0.85rem; display: grid; gap: 0.3rem; font-size: 0.92rem; color: var(--muted); }
.bullets li { display: flex; gap: 0.55rem; }
.bullets li::before { content: ""; width: 10px; height: 2px; margin-top: 0.75em; background: var(--red); flex-shrink: 0; }
.dark .bullets { color: var(--on-dark); }
.big-num { display: block; font-weight: 900; font-size: 2.3rem; line-height: 1; color: var(--red); margin-bottom: 0.35rem; }

/* triage rows: problem -> what happens */
.triage-rows { border-top: 3px solid var(--asphalt); }
.triage-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 0.5rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.triage-row h3 { font-weight: 900; font-size: 1.3rem; line-height: 1.2; }
.triage-row h3 small { display: block; margin-bottom: 0.25rem; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; color: var(--red); text-transform: uppercase; }
.triage-row p { color: var(--muted); }

/* alerts: warning signs */
.alerts { display: grid; gap: 0.7rem; }
.alert { padding: 1rem 1.15rem 1rem 1.35rem; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--caution); border-radius: 6px; }
.alert strong { display: block; font-weight: 900; margin-bottom: 0.2rem; }
.alert p, .alert span { color: var(--muted); }

/* steps: call -> quote -> fixed */
.route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: route; }
.route li { position: relative; padding: 1.4rem 1.5rem 1.4rem 1.4rem; background: #fff; border: 1px solid var(--line); margin-right: -1px; }
.route li::before { counter-increment: route; content: "0" counter(route); display: block; font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--red); margin-bottom: 0.6rem; }
.route li::after { content: ""; position: absolute; top: 50%; right: -15px; z-index: 2; width: 28px; height: 28px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); transform: translateY(-50%); }
.route li:last-child::after { display: none; }
.route h3 { font-weight: 900; font-size: 1.15rem; margin-bottom: 0.3rem; }
.route p { color: var(--muted); }
.dark .route li { background: var(--asphalt-2); border-color: var(--dark-line); }
.dark .route p { color: var(--on-dark); }

/* the road: a day on the job, zig-zag down a dashed center line */
.road { position: relative; display: grid; gap: 1.25rem; }
.road::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 6px; margin-left: -3px; background: repeating-linear-gradient(180deg, var(--caution) 0 24px, transparent 24px 44px); border-radius: 3px; }
.road li { position: relative; width: calc(50% - 2.25rem); }
.road li:nth-child(odd) { justify-self: start; }
.road li:nth-child(even) { justify-self: end; }
.road li::after { content: ""; position: absolute; top: 1.35rem; width: 16px; height: 16px; border-radius: 50%; background: var(--red); border: 3px solid var(--asphalt); }
.road li:nth-child(odd)::after { right: calc(-2.25rem - 8px); }
.road li:nth-child(even)::after { left: calc(-2.25rem - 8px); }
.road .time { display: inline-block; margin-bottom: 0.55rem; padding: 0.15rem 0.55rem; border-radius: 4px; background: var(--red); color: #fff; font-family: var(--mono); font-size: 0.8rem; font-weight: 700; }

/* versus: two columns side by side */
.versus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.versus-col { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.versus-col h3 { padding: 1rem 1.25rem; font-weight: 900; font-size: 1.2rem; background: var(--bg-2); }
.versus-col.win h3 { background: var(--red); color: #fff; }
.versus-col dl { padding: 0.25rem 1.25rem 0.75rem; }
.versus-col dl div { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.versus-col dl div:last-child { border-bottom: 0; }
.versus-col dt { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; color: var(--muted-2); }
.versus-col dd { font-weight: 700; }
.versus-col.win dd { color: var(--text); }
.versus-col:not(.win) dd { color: var(--muted); font-weight: 600; }

/* definitions (glossary), two columns, always open */
.defs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; }
.defs div { padding: 1.1rem 0; border-top: 1px solid var(--dark-line); }
.defs dt { font-weight: 900; font-size: 1.1rem; margin-bottom: 0.3rem; color: #fff; }
.defs dt::before { content: "// "; color: #ff5a4f; font-family: var(--mono); }
.defs dd { color: var(--on-dark); font-size: 0.97rem; }

/* plate tiles: states */
.plates { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 0.5rem; }
.plate { display: grid; place-items: center; aspect-ratio: 2 / 1.15; border-radius: 6px; background: #fff; border: 2px solid var(--asphalt); font-family: var(--mono); font-weight: 700; font-size: 1rem; color: var(--asphalt); transition: background 0.15s, color 0.15s, border-color 0.15s; }
.plate:hover { background: var(--red); border-color: var(--red); color: #fff; }

.tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tag { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.4rem 0.75rem; border-radius: 4px; background: var(--bg); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 700; color: var(--text); }
a.tag:hover { background: var(--red); border-color: var(--red); color: #fff; }
.tag small { font-family: var(--mono); font-size: 0.74rem; color: var(--muted-2); }
a.tag:hover small { color: #ffd7d4; }
.dark .tag { background: var(--asphalt-2); border-color: var(--dark-line); color: #fff; }
.tag.road-tag { background: var(--asphalt); border-color: var(--asphalt); color: #fff; font-family: var(--mono); font-size: 0.82rem; }

.warn { padding: 1.2rem 1.35rem; border-radius: 8px; background: #fff8e1; border: 2px solid var(--caution); }
.warn h3 { font-weight: 900; font-size: 1.08rem; margin-bottom: 0.3rem; }
.warn p { color: #5a4a12; }

/* ---- FAQ ---- */
.faq { display: grid; gap: 0.55rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.faq details[open] { border-color: var(--red); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: var(--asphalt); color: #fff; font-weight: 900; transition: transform 0.2s, background 0.2s; }
.faq details[open] summary::after { content: "\2212"; background: var(--red); }
.faq .answer { padding: 0 1.15rem 1.1rem; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.split.wide-left { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }

/* ---- review ---- */
.review { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: start; padding: clamp(1.5rem, 3.5vw, 2.25rem); border-radius: 10px; background: #fff; border: 1px solid var(--line); border-left: 8px solid var(--red); }
.review .stars { font-size: 1.15rem; color: #f5a400; letter-spacing: 0.1em; }
.review blockquote p { font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.35; margin: 0.4rem 0 0.8rem; }
.review cite { font-style: normal; font-family: var(--mono); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; color: var(--muted-2); }

/* ---- parent link band ---- */
.parent { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; }
.parent p { color: #ffe1df; margin-top: 0.35rem; max-width: 40rem; }

/* ---- service page jump bar ---- */
.jumpbar { position: sticky; top: 71px; z-index: 50; background: var(--asphalt); border-bottom: 4px solid var(--red); }
.jumpbar .box { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; padding-block: 0.65rem; }
.jumpbar a { font-family: var(--mono); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; color: var(--on-dark); padding: 0.2rem 0; }
.jumpbar a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.column { max-width: 820px; margin: 0 auto; }
.block { padding-top: clamp(2rem, 4vw, 2.75rem); margin-top: clamp(2rem, 4vw, 2.75rem); border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.block > .h-big { margin-bottom: 1rem; }

/* ---- state map ---- */
.map-frame { padding: 10px; background: var(--asphalt); border-radius: 10px; }
.statemap { width: 100%; height: auto; display: block; border-radius: 6px; }
.statemap-bg { fill: #262a31; }
.statemap-neighbors path { fill: #2f343c; stroke: #3b414b; stroke-width: 1; }
.statemap-shadow { fill: rgba(0, 0, 0, 0.35); transform: translate(4px, 6px); }
.statemap-shape { fill: #3a404a; }
.statemap-counties { fill: none; stroke: #464d58; stroke-width: 0.8; }
.statemap-route-casing { fill: none; stroke: #262a31; stroke-width: 6; stroke-linecap: round; }
.statemap-route { fill: none; stroke: var(--caution); stroke-width: 3; stroke-dasharray: 10 8; stroke-linecap: round; }
.statemap-outline { fill: none; stroke: #ffffff; stroke-width: 2; }
.statemap-city text { font-family: var(--font); font-weight: 900; font-size: 22px; fill: #ffffff; paint-order: stroke; stroke: #262a31; stroke-width: 6px; }
.statemap-dot { fill: var(--red); stroke: #fff; stroke-width: 3; }
.statemap-ring { fill: rgba(224, 49, 43, 0.25); stroke: none; }
.statemap-leader { stroke: #fff; stroke-width: 1.2; }
.statemap-hit { fill: transparent; }
.statemap-city:hover text { fill: #ff8a82; }
.statemap-plate rect { fill: var(--red); }
.statemap-plate-k { font-family: var(--mono); font-size: 12px; font-weight: 700; fill: #fff; }
.statemap-plate-v { font-family: var(--mono); font-size: 12px; font-weight: 700; fill: #ffe1df; }
.statemap-compass circle { fill: #262a31; stroke: #5b636e; }
.statemap-compass path { fill: #fff; }
.statemap-compass text, .statemap-scale text { font-family: var(--mono); font-size: 12px; font-weight: 700; fill: #c3c9d2; text-anchor: middle; }
.statemap-scale path { stroke: #c3c9d2; stroke-width: 1.5; fill: none; }
.statemap-corners path { display: none; }

/* ---- city lists ---- */
.citylist { border-top: 3px solid var(--asphalt); }
.citylist a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0.25rem; border-bottom: 1px solid var(--line); }
.citylist a strong { display: block; font-weight: 900; font-size: 1.2rem; }
.citylist a span { color: var(--muted); font-size: 0.95rem; }
.citylist a em { font-style: normal; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.citylist a:hover { background: var(--bg); }
.state-block { padding: 1.25rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.state-block h2 { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.65rem; font-weight: 900; font-size: 1.35rem; }
.state-block h2 .plate { width: 58px; aspect-ratio: 2 / 1.15; font-size: 0.85rem; }
.state-block h2 a:hover { color: var(--red); }
.state-cols { columns: 2; column-gap: 3rem; }
.state-cols .state-block { break-inside: avoid; }

/* ---- blog ---- */
.feature-post { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; border-radius: 10px; overflow: hidden; background: var(--asphalt); color: #fff; }
.feature-post .copy { padding: clamp(1.5rem, 4vw, 2.5rem); }
.feature-post .copy p { color: var(--on-dark); margin-top: 0.75rem; }
.feature-post img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.post-date { font-family: var(--mono); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; color: var(--red); }
.feature-post .post-date { color: #ff8a82; }
.article { max-width: 780px; margin: 0 auto; }
.article .text { font-size: 1.08rem; }

/* ---- partners ---- */
.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.5rem; }
.partners span { font-family: var(--mono); font-size: 0.76rem; font-weight: 700; text-transform: uppercase; color: var(--muted-2); }
.partners img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; background: #fff; border: 1px solid var(--line); }

/* ---- footer ---- */
.site-footer { background: var(--asphalt); color: #fff; }
.foot { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding: clamp(2.75rem, 6vw, 4rem) 0 2.25rem; border-bottom: 1px solid var(--dark-line); }
.foot .wordmark { color: #fff; }
.foot-brand p { margin-top: 0.9rem; color: var(--on-dark); font-size: 0.95rem; max-width: 30rem; }
.foot-h { margin-bottom: 0.75rem; font-family: var(--mono); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; color: #ff5a4f; }
.foot-col a { display: flex; align-items: center; min-height: 36px; color: var(--on-dark); font-weight: 600; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding: 1.5rem 0; font-size: 0.85rem; color: #8b929c; }

/* ---- the dispatch bar pinned to the bottom of city pages, every screen size ---- */
.dispatchbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--asphalt); color: #fff; border-top: 4px solid var(--red); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25); }
.dispatchbar .box { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; padding-block: 0.5rem; }
.dispatchbar-info { display: flex; align-items: center; gap: 0.75rem; min-width: 0; font-weight: 800; }
.dispatchbar-info .status { background: rgba(31, 174, 91, 0.16); color: #7be0a6; }
.dispatchbar-info span.city { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dispatchbar .btn { min-height: 48px; flex-shrink: 0; }
body.has-dispatchbar { padding-bottom: 72px; }

/* ---- reveal ---- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .alertbar .dot, .status::before { animation: none; }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
}
@media (max-width: 900px) {
  .burger { display: flex; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1rem; background: #fff; border-bottom: 3px solid var(--asphalt); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12); }
  .menu.open { display: flex; }
  .menu-link { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .menu-link:hover, .menu-link[aria-current="page"] { border-bottom-color: var(--line); color: var(--red); }
  .menu .btn { margin-top: 0.75rem; }
  .hero-in, .split, .split.wide-left { grid-template-columns: minmax(0, 1fr); }
  .hero::before { background: linear-gradient(180deg, rgba(20, 22, 26, 0.9), rgba(20, 22, 26, 0.95)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .route li { margin: 0 0 -1px 0; }
  .route li::after { top: auto; bottom: -15px; right: auto; left: 1.4rem; transform: rotate(90deg); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .feature-post { grid-template-columns: minmax(0, 1fr); }
  .state-cols { columns: 1; }
  .jumpbar { position: static; }
}
@media (max-width: 640px) {
  .alertbar { font-size: 0.8rem; }
  .wordmark { font-size: 1.08rem; }
  .brand img { width: 30px; height: 30px; }
  .g2, .g3, .g4, .versus, .defs { grid-template-columns: minmax(0, 1fr); }
  .triage { grid-template-columns: minmax(0, 1fr); }
  .locate-row { flex-direction: column; }
  .triage-row { grid-template-columns: minmax(0, 1fr); }
  .road::before { left: 10px; }
  .road li, .road li:nth-child(even) { width: auto; justify-self: stretch; margin-left: 2.25rem; }
  .road li:nth-child(odd)::after, .road li:nth-child(even)::after { left: calc(-2.25rem + 2px); right: auto; }
  .review { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .dispatch-rows > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .foot { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .dispatchbar-info .status { display: none; }
  .dispatchbar .btn { padding: 0 1rem; }
  .btns .btn, .parent .btn { width: 100%; }
}
