/* ==========================================================================
   Roadside directory — base stylesheet
   Tokens first; every color/radius/shadow comes from here.
   ========================================================================== */
:root {
  --asphalt: #11161c;
  --asphalt-2: #1a2129;
  --asphalt-3: #252e38;
  --paper: #f5f3ee;
  --card: #ffffff;
  --ink: #14181d;
  --muted: #5b6470;
  --muted-on-dark: #a9b2bd;
  --line: #e4e0d7;
  --line-dark: #2e3843;
  --amber: #ffb81c;
  --amber-deep: #e89c00;
  --amber-soft: #fff3d6;
  --green: #0b7a4b;
  --green-deep: #08603b;
  --green-soft: #e3f3ea;
  --red: #c8372a;
  --red-soft: #fbe7e4;

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(17, 22, 28, .06), 0 2px 6px rgba(17, 22, 28, .05);
  --shadow: 0 2px 4px rgba(17, 22, 28, .05), 0 12px 32px rgba(17, 22, 28, .09);
  --shadow-lg: 0 24px 60px rgba(17, 22, 28, .18);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .4em; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: 48px 0; }
.section--dark { background: var(--asphalt); color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 .82rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: 14px;
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--amber); }
.eyebrow::before { content: ""; width: 22px; height: 3px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.section--dark .lead { color: var(--muted-on-dark); }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--asphalt); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--amber { --bg: var(--amber); --fg: var(--asphalt); }
.btn--amber:hover { --bg: #ffc444; }
.btn--call { --bg: var(--green); --fg: #fff; }
.btn--call:hover { --bg: var(--green-deep); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost-dark { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 2px var(--line-dark); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: .9rem; }

/* ---------- Insurance partner (Robertson Ryan) ---------- */
.partner-bar { background: #fff; border-bottom: 1px solid var(--line); font-size: .86rem; }
.partner-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 62px; }
.partner-id { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--muted); }
.partner-id span { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; white-space: nowrap; }
/* Logo is 4:1 (400x100); explicit width + height so no browser stretches or squeezes it inside flex rows. */
.partner-logo { height: 34px; width: 136px; display: block; flex: none; max-width: none; }
.partner-bar .partner-logo { height: 44px; width: 176px; }
.partner-cta { font-weight: 700; color: #a31f44; text-decoration: none; white-space: nowrap; padding: 8px 16px; border: 2px solid #a31f44; border-radius: 999px; transition: background .2s, color .2s; }
.partner-cta:hover { background: #a31f44; color: #fff; }
@media (max-width: 640px) {
  .partner-bar .wrap { height: 52px; }
  .partner-cta { padding: 5px 12px; font-size: .8rem; }
  .partner-cta-long { display: none; }
  .partner-id { gap: 8px; }
  .partner-id span { font-size: .62rem; letter-spacing: .05em; }
  .partner-bar .partner-logo { height: 32px; width: 128px; }
}
@media (max-width: 400px) { .partner-id span { max-width: 6.5em; white-space: normal; line-height: 1.15; } }
@media (max-width: 340px) { .partner-id span { display: none; } }
.partner-badge { display: inline-flex; flex: none; width: max-content; max-width: 100%; align-items: center; gap: 12px; padding: 8px 16px 8px 14px; background: #fff; border-radius: 14px; text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); margin-top: 18px; }
.partner-badge:hover { transform: translateY(-2px); }
.partner-badge span { color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; line-height: 1.2; max-width: 9em; }
.partner-badge .partner-logo { height: 38px; width: 152px; }
@media (max-width: 360px) { .partner-badge span { display: none; } }
.trust .partner-badge--hero { margin-top: 0; }
.partner-card { display: grid; grid-template-columns: 220px 1fr auto; gap: 30px; align-items: center; padding: clamp(22px, 4vw, 36px); }
.partner-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 4px 0 8px; }
.partner-card p.muted { margin: 0; }
.partner-card-logo img { width: 100%; height: auto; }
@media (max-width: 800px) { .partner-card { grid-template-columns: 1fr; gap: 16px; } .partner-card-logo img { width: 200px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 22, 28, .92); backdrop-filter: saturate(140%) blur(10px);
  color: #fff; border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.45rem/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--amber); display: grid; place-items: center; color: var(--asphalt); }
.logo-mark svg { width: 22px; height: 22px; }
.logo b { color: var(--amber); font-weight: 800; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 8px; color: var(--muted-on-dark); font-weight: 600; font-size: .96rem; transition: color .2s, background .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--asphalt-3); }
.nav .btn { margin-left: 8px; color: var(--asphalt); }
.nav .btn:hover { background: #ffc444; color: var(--asphalt); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; margin: auto; }
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--asphalt); padding: 12px 16px 20px; border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow-x: clip; isolation: isolate;
  background: radial-gradient(1200px 500px at 80% -10%, #2a3542 0%, transparent 60%), var(--asphalt);
  color: #fff; padding: clamp(28px, 4.5vw, 55px) 0 clamp(72px, 10vw, 130px);
}
.hero h1 { max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { color: var(--muted-on-dark); margin-bottom: 34px; }
/* Home: compact hero so both finder steps ("What do you need?" + "Where are you?") are on the first screen */
.hero--home { padding-top: clamp(22px, 3.2vw, 42px); }
.hero--home h1 { font-size: clamp(2.1rem, 4.3vw, 3.5rem); max-width: 16ch; margin-bottom: 14px; }
.hero--home .eyebrow { margin-bottom: 10px; }
.hero--home .hero-grid { gap: 32px; margin-bottom: 22px; }
.hero--home .hero-scene { max-width: 460px; width: 100%; justify-self: end; }
.hero--home .finder-step { margin-bottom: 10px; }
.hero--home .services { margin-bottom: 16px; }
.hero--home .service-opt label { min-height: 92px; }
@media (min-width: 901px) and (max-height: 820px) {   /* short laptop screens */
  .hero--home { padding-top: 16px; }
  .hero--home h1 { font-size: 3rem; margin-bottom: 10px; }
  .hero--home .hero-grid { margin-bottom: 16px; }
  .hero--home .hero-scene { max-width: 380px; }
  .hero--home .finder { padding: 18px; }
  .hero--home .service-opt label { min-height: 78px; gap: 6px; }
  .hero--home .service-opt label svg { width: 30px; height: 30px; }
}
@media (max-width: 720px) {
  .hero--home h1 { font-size: 2.15rem; }
  .hero--home .lead { font-size: 1rem; }
  .hero--home { padding-top: 14px; }
  .hero--home .hero-grid { margin-bottom: 16px; }
  .hero--home .services { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
  .hero--home .service-opt label { min-height: 64px; padding: 7px 2px; gap: 4px; font-size: .74rem; }
  .hero--home .service-opt label .svc-note { font-size: .64rem; }
  .hero--home .service-opt label svg { width: 26px; height: 26px; }
}
/* moving lane-line motif */
.road {
  position: absolute; inset: auto 0 0 0; height: 46px; z-index: -1;
  background: linear-gradient(#0c1015, #0c1015);
  border-top: 2px solid #2b343e;
}
.road::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 5px; margin-top: -2px;
  background: repeating-linear-gradient(90deg, var(--amber) 0 56px, transparent 56px 112px);
  opacity: .85; animation: lane 2.4s linear infinite;
}
@keyframes lane { to { background-position: -112px 0; } }

/* ---------- Finder (service + city) ---------- */
.finder {
  background: var(--card); color: var(--ink); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-lg); max-width: 880px;
}
.service-opt label .svc-note { display: block; margin-top: -2px; font: 500 .72rem/1.15 var(--font-body); text-transform: none; letter-spacing: 0; color: var(--muted); }
.service-opt label .svc-note .note-short { display: none; }
@media (max-width: 600px) { .service-opt label .svc-note .note-long { display: none; } .service-opt label .svc-note .note-short { display: inline; } }
.spare-note { color: #fff; font-weight: 600; }
.finder-safety { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; padding: 8px 12px; border-radius: 10px; background: var(--amber-soft); color: var(--ink); font-size: .92rem; line-height: 1.35; }
.finder-safety svg { width: 20px; height: 20px; flex: none; }
.finder-safety b { font-weight: 700; }
@media (max-width: 720px) { .finder-safety { font-size: .84rem; padding: 7px 10px; margin: -2px 0 12px; } }
.finder-step { font: 700 .8rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; display: flex; gap: 8px; align-items: center; }
.finder-step span { width: 22px; height: 22px; border-radius: 50%; background: var(--asphalt); color: var(--amber); display: grid; place-items: center; font-size: .75rem; letter-spacing: 0; }
.services { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-rows: 1fr; gap: 10px; margin-bottom: 22px; border: 0; padding: 0; }
/* 5 services on narrow screens: 3 on top, the last 2 centered below */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(6, 1fr) !important; }
  .services .service-opt { grid-column: span 2; }
  .services .service-opt:nth-of-type(4):nth-last-of-type(2) { grid-column: 2 / span 2; }
}
.services legend { padding: 0; }
.service-opt { position: relative; display: flex; }
.service-opt label { flex: 1; }
.service-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.service-opt label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 110px; padding: 14px 8px; border-radius: var(--r); border: 2px solid var(--line);
  font: 700 1.12rem/1.1 var(--font-head); text-transform: uppercase; letter-spacing: .02em;
  cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.service-opt label svg { width: 38px; height: 38px; color: var(--muted); transition: color .2s, transform .3s var(--ease); }
.service-opt label:hover { border-color: #cfc8b8; transform: translateY(-2px); }
.service-opt input:checked + label { border-color: var(--amber); background: var(--amber-soft); }
.service-opt input:checked + label svg { color: var(--asphalt); transform: scale(1.08); }
.service-opt input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }
.city-row { display: flex; gap: 10px; }
.field { position: relative; flex: 1; }
.field > svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; color: var(--muted); pointer-events: none; }
.input {
  width: 100%; min-height: 58px; padding: 0 16px 0 48px; border-radius: var(--r);
  border: 2px solid var(--line); background: #fff; color: var(--ink); font: 500 1.08rem var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--asphalt); box-shadow: 0 0 0 4px rgba(255, 184, 28, .35); }
/* "Use my location" button inside the city field */
.field .input { padding-right: 186px; }
.locate-btn {
  position: absolute; right: 8px; top: 50%; translate: 0 -50%; display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px; border: 0; border-radius: 10px; background: var(--amber-soft); color: var(--ink);
  font: 700 .9rem/1 var(--font-body); cursor: pointer; white-space: nowrap; transition: background .2s;
}
.locate-btn:hover { background: #ffe3a1; }
.locate-btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.locate-btn svg { width: 18px; height: 18px; flex: none; }
.locate-btn.is-busy svg { animation: locate-spin 1s linear infinite; }
@keyframes locate-spin { to { transform: rotate(360deg); } }
.locate-btn .lb-short { display: none; }
@media (max-width: 420px) { .field .input { padding-right: 124px; } .locate-btn .lb-long { display: none; } .locate-btn .lb-short { display: inline; } }
.suggest .suggest-note { display: block; cursor: default; font-weight: 500; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.suggest .suggest-note:hover { background: none; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; list-style: none; margin: 0; padding: 6px;
  background: #fff; border-radius: var(--r); box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  max-height: 320px; overflow: auto; display: none;
}
.suggest.is-open { display: block; animation: pop .18s var(--ease); }
.suggest li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 10px; cursor: pointer; font-weight: 600; }
.suggest li small { color: var(--muted); font-weight: 500; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--amber-soft); }
.suggest mark { background: none; color: var(--amber-deep); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.99); } }
@media (max-width: 720px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .service-opt label { min-height: 92px; font-size: 1.02rem; }
  .city-row { flex-direction: column; }
  .finder { padding: 16px; }
}

.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; color: var(--muted-on-dark); font-weight: 600; font-size: .98rem; }
.trust span { display: inline-flex; gap: 8px; align-items: center; }
.trust svg { width: 18px; height: 18px; color: var(--amber); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.card--hover { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; text-decoration: none; display: block; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6d0c3; }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; background: var(--asphalt); color: var(--amber); display: grid; place-items: center; margin-bottom: 16px; }
.icon-badge svg { width: 28px; height: 28px; }
.step-num { font: 800 3.2rem/1 var(--font-head); color: var(--amber); margin-bottom: 6px; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head p { margin: 0; }

/* State browser */
.states { columns: 4 220px; column-gap: 28px; }
.state { break-inside: avoid; margin-bottom: 22px; }
.state h3 { font-size: 1.15rem; text-transform: uppercase; display: flex; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 6px; margin-bottom: 8px; }
.state h3 small { font: 600 .82rem var(--font-body); color: var(--muted); align-self: end; }
.state ul { list-style: none; margin: 0; padding: 0; }
.state a { display: block; padding: 4px 0; text-decoration: none; color: var(--muted); font-weight: 500; transition: color .15s, padding .2s var(--ease); }
.state a:hover { color: var(--ink); padding-left: 6px; }

/* CTA band */
.cta-band { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band--agents { grid-template-columns: 1fr 1.2fr; }
@media (max-width: 860px) { .cta-band, .cta-band--agents { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311161c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/13px no-repeat; }
.mock-listing { background: var(--asphalt-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 22px; transform: rotate(-1.5deg); box-shadow: var(--shadow-lg); }
.mock-listing .bar { height: 10px; border-radius: 6px; background: var(--asphalt-3); margin-bottom: 10px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 700 1.25rem/1.25 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 400 2rem/1 var(--font-body); color: var(--amber-deep); transition: rotate .25s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details > div { padding: 0 0 20px; color: var(--muted); animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- City page ---------- */
.city-hero { padding: 44px 0 40px; background: var(--asphalt); color: #fff; position: relative; overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted-on-dark); margin-bottom: 18px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.city-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); max-width: 20ch; }
.city-hero .lead { color: var(--muted-on-dark); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(11, 122, 75, .18); color: #6fe0a9; font-weight: 700; font-size: .88rem; margin-bottom: 14px; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d27f; box-shadow: 0 0 0 0 rgba(52, 210, 127, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(52, 210, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 210, 127, 0); } }

.svc-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 2px; margin-top: 26px; scrollbar-width: none; }
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-tab {
  display: inline-flex; align-items: center; gap: 8px; flex: none; text-decoration: none;
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line-dark); color: var(--muted-on-dark);
  font-weight: 700; font-size: .95rem; transition: .2s;
}
.svc-tab svg { width: 18px; height: 18px; }
.svc-tab:hover { color: #fff; border-color: #4a5664; }
.svc-tab[aria-current="page"] { background: var(--amber); border-color: var(--amber); color: var(--asphalt); }

.city-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding: 40px 0 80px; align-items: start; }
@media (max-width: 980px) { .city-layout { grid-template-columns: 1fr; } }
.aside-sticky { position: sticky; top: 88px; display: grid; gap: 20px; }

.provider {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px 24px; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.provider:hover { box-shadow: var(--shadow); }
.provider + .provider { margin-top: 16px; }
.provider--featured { border: 2px solid var(--amber); box-shadow: 0 0 0 6px var(--amber-soft), var(--shadow-sm); }
.provider h3 { margin: 0 0 4px; font-size: 1.6rem; }
.provider h3 a { text-decoration: none; }
.provider h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.provider-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .95rem; font-weight: 500; }
.provider-meta span { display: inline-flex; gap: 6px; align-items: center; }
.provider-meta svg { width: 16px; height: 16px; }
.provider-actions { display: flex; flex-direction: column; gap: 8px; min-width: 190px; }
.provider-body { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .provider { grid-template-columns: 1fr; padding: 20px; }
  .provider-actions { flex-direction: row; min-width: 0; }
  .provider-actions .btn { flex: 1; }
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.tag b { font-weight: 700; color: var(--green-deep); }
.tag--on { background: var(--amber-soft); border-color: #f5d68a; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 6px; font: 700 .74rem/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.badge svg { width: 13px; height: 13px; }
.badge--amber { background: var(--amber); color: var(--asphalt); }
.badge--green { background: var(--green-soft); color: var(--green-deep); }
.badge--dark { background: var(--asphalt); color: #fff; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

.info-card h3 { font-size: 1.25rem; text-transform: uppercase; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.info-list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.info-list li:last-child { border: 0; }
.info-list span:first-child { color: var(--muted); }
.info-list a { font-weight: 600; word-break: break-all; text-align: right; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); transition: .2s; }
.socials a:hover { background: var(--asphalt); color: var(--amber); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }

.empty {
  border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 28px; text-align: center; color: var(--muted);
}
.empty strong { display: block; font: 700 1.3rem var(--font-head); color: var(--ink); margin-bottom: 4px; }

.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose p, .prose li { color: #343b44; }
.prose ul { padding-left: 1.2em; }

.chip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-links a { text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: .94rem; transition: .2s; }
.chip-links a:hover { border-color: var(--asphalt); transform: translateY(-1px); }

/* Mobile sticky call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(17, 22, 28, .96); border-top: 1px solid var(--line-dark);
  transform: translateY(100%); transition: transform .35s var(--ease);
}
.callbar.is-visible { transform: none; }
.callbar .btn { flex: 1; }
@media (max-width: 760px) { .callbar { display: flex; } body.has-callbar { padding-bottom: 76px; } }

/* ---------- Search results ---------- */
.results-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.result-count { font-weight: 600; color: var(--muted); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.select { min-height: 44px; padding: 0 38px 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314181d' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat; font: 600 .95rem var(--font-body); appearance: none; cursor: pointer; }
.result {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease); margin-bottom: 12px;
}
.result:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.result-pin { width: 54px; height: 54px; border-radius: 14px; background: var(--asphalt); color: var(--amber); display: grid; place-items: center; font: 800 1.15rem var(--font-head); }
.result h3 { margin: 0 0 4px; font-size: 1.5rem; }
.result h3 a { text-decoration: none; }
.result h3 a::after { content: ""; position: absolute; inset: 0; }
.result { position: relative; }
.result .btn { position: relative; z-index: 1; }
.result-actions { display: flex; gap: 8px; }
@media (max-width: 680px) {
  .result { grid-template-columns: auto 1fr; }
  .result-actions { grid-column: 1 / -1; }
  .result-actions .btn { flex: 1; }
}
.search-bar { background: var(--asphalt); padding: 28px 0 32px; }
.search-bar .finder { max-width: none; padding: 16px; }
.search-bar .services { margin-bottom: 14px; }
.search-bar .service-opt label { min-height: 0; flex-direction: row; padding: 12px; font-size: 1rem; }
.search-bar .service-opt label svg { width: 24px; height: 24px; flex: none; }
/* Narrow screens: icon above the name (side by side doesn't fit in a third of the width) */
@media (max-width: 960px) {
  .search-bar .service-opt { min-width: 0; }
  .search-bar .service-opt label { flex-direction: column; gap: 4px; padding: 8px 4px; min-height: 64px; font-size: .78rem; }
  .search-bar .service-opt label .svc-note { font-size: .64rem; }
}

/* ---------- Pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .price { font: 800 3.4rem/1 var(--font-head); margin: 10px 0 4px; }
.price-card .price small { font: 600 1rem var(--font-body); color: var(--muted); }
.price-card .check-list { flex: 1; margin-top: 18px; }
.price-card--pop { border: 2px solid var(--amber); box-shadow: var(--shadow); }
.price-card--pop .badge { position: absolute; top: -12px; left: 26px; }
.price-card--dark { background: var(--asphalt); color: #fff; border-color: var(--asphalt); }
.price-card--dark .price small, .price-card--dark .muted { color: var(--muted-on-dark); }

/* ---------- Forms / signup wizard ---------- */
.wizard { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .wizard { grid-template-columns: 1fr; } }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: sticky; top: 92px; }
.stepper li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; color: var(--muted); font-weight: 600; transition: .2s; }
.stepper li span { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); font-weight: 700; font-size: .9rem; transition: .25s; }
.stepper li.is-active { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.stepper li.is-active span { border-color: var(--amber); background: var(--amber); color: var(--asphalt); }
.stepper li.is-done span { border-color: var(--green); background: var(--green); color: #fff; }
@media (max-width: 900px) {
  .stepper { position: static; display: flex; overflow-x: auto; gap: 6px; }
  .stepper li { flex: none; padding: 8px 10px; font-size: .9rem; }
  .stepper li:not(.is-active) b { display: none; }
}
.panel { display: none; }
.panel.is-active { display: block; animation: slidein .35s var(--ease); }
@keyframes slidein { from { opacity: 0; transform: translateX(12px); } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-field label, .label { display: block; font-weight: 700; font-size: .94rem; margin-bottom: 6px; }
.form-field .hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.ctrl {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; font: 500 1rem var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea.ctrl { min-height: 110px; resize: vertical; }
.ctrl:focus { outline: none; border-color: var(--asphalt); box-shadow: 0 0 0 4px rgba(255, 184, 28, .3); }
.ctrl[aria-invalid="true"] { border-color: var(--red); background: var(--red-soft); }
.svc-row { display: grid; grid-template-columns: 1fr 200px; gap: 12px; align-items: center; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: #fff; transition: border-color .2s, background .2s; }
.svc-row.is-on { border-color: var(--amber); background: var(--amber-soft); }
.svc-row label.check { display: flex; gap: 12px; align-items: center; font-weight: 700; cursor: pointer; }
.svc-row label.check svg { width: 26px; height: 26px; }
.svc-row input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--asphalt); }
.svc-price { display: flex; gap: 6px; }
.svc-price .ctrl { min-height: 42px; }
@media (max-width: 560px) { .svc-row { grid-template-columns: 1fr; } }
.range-wrap { display: flex; align-items: center; gap: 16px; }
.range-wrap input { flex: 1; accent-color: var(--amber-deep); height: 6px; }
.range-out { font: 800 1.6rem var(--font-head); min-width: 90px; text-align: right; }
.plan-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 760px) { .plan-opts { grid-template-columns: 1fr; } }
.plan-opt input { position: absolute; opacity: 0; }
.plan-opt { position: relative; }
.plan-opt label { display: block; padding: 18px; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; background: #fff; transition: .2s; height: 100%; }
.plan-opt label strong { display: block; font: 800 1.4rem var(--font-head); text-transform: uppercase; }
.plan-opt label .amt { font: 800 2rem var(--font-head); }
.plan-opt input:checked + label { border-color: var(--amber); background: var(--amber-soft); box-shadow: 0 0 0 4px var(--amber-soft); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.pay-box { border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; }
.pay-box .fake { min-height: 50px; border-radius: 10px; border: 1.5px dashed #cdc6b6; display: flex; align-items: center; padding: 0 14px; color: var(--muted); font-size: .95rem; background: var(--paper); }
.notice { padding: 14px 16px; border-radius: 12px; background: var(--amber-soft); border: 1px solid #f3d58a; font-size: .95rem; }
.notice--green { background: var(--green-soft); border-color: #b8e0c9; }
.summary-list { list-style: none; padding: 0; margin: 0; }
.summary-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.success-burst { width: 84px; height: 84px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin-bottom: 18px; animation: burst .6s var(--ease); }
.success-burst svg { width: 44px; height: 44px; }
@keyframes burst { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.1); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--asphalt); color: var(--muted-on-dark); padding: 64px 0 32px; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
.site-footer h4 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .88rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* refinements */
.city-hero { padding-bottom: 84px; isolation: isolate; }
.provider--partner { border: 2px solid var(--asphalt); box-shadow: 0 0 0 6px rgba(17, 22, 28, .06), var(--shadow-sm); }
.info-list .svc-name { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; white-space: nowrap; }
.info-list .svc-name svg { width: 22px; height: 22px; flex: none; color: var(--amber-deep); }

/* ---------- Hero dispatch scene (10s loop) ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 34px; }
.hero-grid .lead { margin-bottom: 0; }
.hero-scene { position: relative; animation: float 7s ease-in-out infinite; }
.hero-scene::before { content: ""; position: absolute; inset: 8% 6% -6%; background: rgba(255, 184, 28, .14); filter: blur(50px); border-radius: 50%; z-index: -1; }
.scene { width: 100%; height: auto; border-radius: 26px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px var(--line-dark); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-scene { display: none; } }
@keyframes float { 50% { transform: translateY(-8px); } }

.sc-streets path { stroke: #1f2730; stroke-width: 10; }
.sc-blocks rect { fill: #1c232b; stroke: #26303a; }
.sc-route-base { fill: none; stroke: #3a4552; stroke-width: 4; stroke-dasharray: 2 10; stroke-linecap: round; }
.sc-route { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sc-route 10s infinite; }
@keyframes sc-route { 0%, 14% { stroke-dashoffset: 1; opacity: 1; } 62%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

.sc-pin { fill: var(--amber); stroke: #11161c; stroke-width: 2; }
.sc-haz { fill: var(--amber); animation: sc-blink 1s steps(1) infinite; }
@keyframes sc-blink { 50% { fill: #5a3d00; } }
.sc-ring { fill: none; stroke: var(--amber); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: sc-ring 2.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.sc-ring--2 { animation-delay: 1.2s; }
@keyframes sc-ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.sc-glow { animation: sc-glow 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes sc-glow { 50% { opacity: .55; transform: scale(.9); } }

.sc-truck-halo { fill: rgba(255, 184, 28, .18); }
.sc-truck-body { fill: #fff; stroke: var(--amber); stroke-width: 3; }
.sc-truck-icon { color: #11161c; }
.sc-lightbar { fill: var(--amber); animation: sc-light .5s steps(1) infinite; }
@keyframes sc-light { 50% { fill: #ff5a3c; } }

.sc-card { opacity: 0; transform-box: fill-box; }
.sc-card-bg { fill: #fff; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.sc-t1 { font: 700 15px var(--font-body); fill: #14181d; }
.sc-t2 { font: 500 12.5px var(--font-body); fill: #5b6470; }
.sc-t3 { font: 800 14px var(--font-body); fill: var(--green); }
.sc-ico-dark { color: #11161c; }
.sc-card--req { animation: sc-req 10s var(--ease) infinite; }
.sc-card--eta { animation: sc-eta 10s var(--ease) infinite; }
.sc-card--done { animation: sc-done 10s var(--ease) infinite; }
@keyframes sc-req { 0%, 2% { opacity: 0; translate: 0 -10px; } 7%, 90% { opacity: 1; translate: 0 0; } 96%, 100% { opacity: 0; translate: 0 -6px; } }
@keyframes sc-eta { 0%, 13% { opacity: 0; translate: 0 12px; } 18%, 61% { opacity: 1; translate: 0 0; } 65%, 100% { opacity: 0; translate: 0 -8px; } }
@keyframes sc-done { 0%, 63% { opacity: 0; translate: 0 12px; scale: .96; } 68%, 91% { opacity: 1; translate: 0 0; scale: 1; } 96%, 100% { opacity: 0; } }
.sc-bar { fill: var(--amber); transform-box: fill-box; transform-origin: left center; animation: sc-bar 10s infinite; }
@keyframes sc-bar { 0%, 14% { transform: scaleX(.02); } 62%, 100% { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .sc-card--req, .sc-card--done { opacity: 1; }
  .sc-route { stroke-dashoffset: 0; }
}

/* ---------- Inner hero scenes (city/service pages, locations, providers, agents) ----------
   Base styles = the final "solved" frame (what reduced-motion users see); keyframes add the story. */
.hero-grid--sub { align-items: center; margin-bottom: 0; }
.hero-grid--sub .lead { margin-bottom: 28px; }
.hero-scene--sub { max-width: 500px; justify-self: end; width: 100%; }
@media (min-width: 901px) { .city-hero .hero-grid--sub h1 { max-width: 16ch; } }
@media (max-width: 900px) { .hero-grid--sub { display: block; } }

.sc-headlight { fill: #fff6d6; }
.sc-taillight { fill: #ff5a3c; }
.st-c1, .js-c1, .cu-c1, .fd-c1, .tw-c1 { animation: sc-c1 10s var(--ease) infinite; }
.st-c2, .js-c2, .cu-c2, .fd-c2, .tw-c2 { opacity: 1; animation: sc-c2 10s var(--ease) infinite; }

/* towing: truck backs in, hooks up, lifts the front and drives off */
.scene--tw .sc-headlight, .scene--tw .sc-taillight { animation: sc-hazard 1s steps(1) infinite; }
.tw-truck { animation: tw-truck 10s var(--ease) infinite; }
@keyframes tw-truck { 0%, 6% { transform: translateX(260px); } 26%, 100% { transform: translateX(0); } }
.tw-cable { fill: none; stroke: #c9d1d9; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: tw-cable 10s var(--ease) infinite; }
@keyframes tw-cable { 0%, 28% { stroke-dashoffset: 1; } 38%, 100% { stroke-dashoffset: 0; } }
.tw-lift { transform-origin: 122px 336px; transform: rotate(-5deg); animation: tw-lift 10s var(--ease) infinite; }
@keyframes tw-lift { 0%, 40% { transform: rotate(0); } 48%, 100% { transform: rotate(-5deg); } }
.tw-convoy { animation: tw-convoy 10s cubic-bezier(.5, 0, .7, 1) infinite; }
@keyframes tw-convoy { 0% { opacity: 0; transform: translateX(0); } 3% { opacity: 1; } 52% { transform: translateX(0); } 86% { opacity: 1; transform: translateX(620px); } 87%, 100% { opacity: 0; transform: translateX(620px); } }

@keyframes sc-c1 { 0%, 2% { opacity: 0; translate: 0 -10px; } 6%, 66% { opacity: 1; translate: 0 0; } 70%, 100% { opacity: 0; translate: 0 -6px; } }
@keyframes sc-c2 { 0%, 70% { opacity: 0; translate: 0 12px; } 74%, 93% { opacity: 1; translate: 0 0; } 98%, 100% { opacity: 0; } }

/* flat tire: jack up, swap the wheel, lower */
.scene--st .sc-headlight, .scene--st .sc-taillight { animation: sc-hazard 1s steps(1) infinite; }
@keyframes sc-hazard { 50% { fill: #ffb81c; } }
.st-lift { transform-origin: 180px 336px; animation: st-lift 10s var(--ease) infinite; }
@keyframes st-lift { 0%, 8% { transform: rotate(0); } 15%, 64% { transform: rotate(-4deg); } 72%, 100% { transform: rotate(0); } }
.st-jack { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: st-jack 10s var(--ease) infinite; }
@keyframes st-jack { 0%, 4% { opacity: 0; transform: scaleY(.35); } 8% { opacity: 1; transform: scaleY(.35); } 15%, 64% { opacity: 1; transform: scaleY(1); } 72% { opacity: 1; transform: scaleY(.35); } 76%, 100% { opacity: 0; transform: scaleY(.35); } }
.st-flat { opacity: 0; animation: st-flat 10s var(--ease) infinite; }
@keyframes st-flat { 0%, 28% { opacity: 1; transform: translateX(0); } 40% { opacity: 0; transform: translateX(250px); } 41%, 95% { opacity: 0; transform: translateX(0); } 100% { opacity: 1; transform: translateX(0); } }
.st-roll { transform-box: fill-box; transform-origin: center; }
.st-flat .st-roll { animation: st-roll-out 10s var(--ease) infinite; }
@keyframes st-roll-out { 0%, 28% { transform: rotate(0); } 40% { transform: rotate(340deg); } 41%, 100% { transform: rotate(0); } }
.st-spare { animation: st-spare 10s var(--ease) infinite; }
@keyframes st-spare { 0%, 40% { opacity: 0; transform: translateX(250px); } 41% { opacity: 1; transform: translateX(250px); } 52%, 95% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(0); } }
.st-spare .st-roll { animation: st-roll-in 10s var(--ease) infinite; }
@keyframes st-roll-in { 0%, 41% { transform: rotate(340deg); } 52%, 100% { transform: rotate(0); } }
.st-nut { fill: #5b6470; animation: st-nut 10s infinite backwards; animation-delay: calc(var(--n) * .12s); }
@keyframes st-nut { 0%, 18% { opacity: 1; } 24%, 54% { opacity: 0; } 60%, 100% { opacity: 1; } }
.st-wrench { opacity: 0; animation: st-wrench 10s infinite; }
@keyframes st-wrench { 0%, 15% { opacity: 0; } 18%, 27% { opacity: 1; } 30%, 52% { opacity: 0; } 55%, 63% { opacity: 1; } 66%, 100% { opacity: 0; } }
.st-spin { transform-box: fill-box; transform-origin: center; animation: st-spin .9s linear infinite; }
@keyframes st-spin { to { transform: rotate(360deg); } }

/* jump start: clamp on, charge flows, engine starts */
.js-sign { font: 800 30px var(--font-head); fill: #e8e3d8; }
.js-volts { font: 800 20px var(--font-head); fill: #34d27f; letter-spacing: .03em; }
.js-level { fill: #34d27f; transform-box: fill-box; transform-origin: left center; animation: js-level 10s var(--ease) infinite; }
@keyframes js-level { 0%, 24% { transform: scaleX(.12); fill: #c8453a; } 45% { fill: #ffb81c; } 66%, 100% { transform: scaleX(1); fill: #34d27f; } }
.js-warn { opacity: 0; animation: js-warn 10s infinite; }
@keyframes js-warn { 0%, 1% { opacity: 0; } 3%, 7%, 11%, 15%, 19% { opacity: 1; } 5%, 9%, 13%, 17%, 22%, 100% { opacity: 0; } }
.js-cable { fill: none; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: js-cable 10s var(--ease) infinite; }
.js-cable--red { stroke: #c8453a; }
.js-cable--black { stroke: #4b5560; }
@keyframes js-cable { 0%, 8% { stroke-dashoffset: 1; } 20%, 92% { stroke-dashoffset: 0; } 99%, 100% { stroke-dashoffset: 1; } }
.js-clamp { animation: js-clamp 10s var(--ease) infinite; }
@keyframes js-clamp { 0%, 12% { opacity: 0; transform: translateY(-26px); } 20%, 92% { opacity: 1; transform: translateY(0); } 98%, 100% { opacity: 0; transform: translateY(-26px); } }
.js-pulse { fill: none; stroke: #ffe39a; stroke-width: 4; stroke-linecap: round; stroke-dasharray: .06 .94; opacity: 0; animation: js-run 1.1s linear infinite, js-flow 10s infinite; }
.js-pulse--2 { animation-delay: -.5s, 0s; }
@keyframes js-run { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes js-flow { 0%, 22% { opacity: 0; } 25%, 64% { opacity: 1; } 68%, 100% { opacity: 0; } }
.js-spark { opacity: 0; transform-box: fill-box; transform-origin: center; animation: js-spark 10s infinite; }
@keyframes js-spark { 0%, 18% { opacity: 0; transform: scale(.4); } 21% { opacity: 1; transform: scale(1.1); } 26%, 100% { opacity: 0; transform: scale(1.3); } }
.js-bolt { opacity: 0; transform-box: fill-box; transform-origin: center; animation: js-bolt 10s var(--ease) infinite; }
.js-bolt-ico { color: #ffd36b; }
@keyframes js-bolt { 0%, 64% { opacity: 0; transform: scale(.5); } 68% { opacity: 1; transform: scale(1.15); } 72%, 88% { opacity: 1; transform: scale(1); } 94%, 100% { opacity: 0; } }

/* car unlock: wedge + reach tool, lock pops, lights flash */
.cu-button { fill: #34d27f; transform: translateY(-7px); animation: cu-button 10s var(--ease) infinite; }
@keyframes cu-button { 0%, 44% { fill: #3a434d; transform: translateY(0); } 48%, 100% { fill: #34d27f; transform: translateY(-7px); } }
.cu-wedge { fill: #ffb81c; opacity: 0; transform-box: fill-box; transform-origin: 50% 0; animation: cu-wedge 10s var(--ease) infinite; }
@keyframes cu-wedge { 0%, 10% { opacity: 0; transform: scale(.2); } 18%, 56% { opacity: 1; transform: scale(1); } 64%, 100% { opacity: 0; transform: scale(.2); } }
.cu-rod { fill: none; stroke: #c9d1d9; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: cu-rod 10s var(--ease) infinite; }
@keyframes cu-rod { 0%, 20% { stroke-dashoffset: 1; } 42%, 52% { stroke-dashoffset: 0; } 60%, 100% { stroke-dashoffset: 1; } }
.cu-badge, .cu-hole { fill: #0b7a4b; animation: cu-badge 10s infinite; }
@keyframes cu-badge { 0%, 46% { fill: #c8453a; } 50%, 100% { fill: #0b7a4b; } }
.cu-badge { filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .4)); }
.cu-shackle { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; transform: translateY(-8px); animation: cu-shackle 10s var(--ease) infinite; }
@keyframes cu-shackle { 0%, 46% { transform: translateY(0); } 50%, 100% { transform: translateY(-8px); } }
.cu-ring { opacity: 0; transform-box: fill-box; transform-origin: center; animation: cu-ring 10s ease-out infinite; }
@keyframes cu-ring { 0%, 48% { opacity: 0; transform: scale(1); } 50% { opacity: 1; } 62%, 100% { opacity: 0; transform: scale(1.7); } }
.scene--cu .sc-headlight { animation: cu-flash-h 10s infinite; }
.scene--cu .sc-taillight { animation: cu-flash-t 10s infinite; }
@keyframes cu-flash-h { 0%, 51%, 55%, 58%, 100% { fill: #fff6d6; } 52%, 54%, 56%, 57% { fill: #ffb81c; } }
@keyframes cu-flash-t { 0%, 51%, 55%, 58%, 100% { fill: #ff5a3c; } 52%, 54%, 56%, 57% { fill: #ffb81c; } }
.cu-keys { animation: cu-keys 1.6s ease-in-out infinite; }
@keyframes cu-keys { 50% { opacity: .45; } }

/* fuel delivery: can pours, needle climbs off E */
.fd-lbl { font: 800 24px var(--font-head); fill: #e8e3d8; }
.fd-lbl--sm { font-size: 20px; }
.fd-needle { transform-origin: 190px 300px; transform: rotate(-40deg); animation: fd-needle 10s var(--ease) infinite; }
@keyframes fd-needle { 0%, 20% { transform: rotate(-84deg); } 66%, 92% { transform: rotate(-40deg); } 100% { transform: rotate(-84deg); } }
.fd-low { opacity: .2; animation: fd-low 10s infinite; }
@keyframes fd-low { 0%, 38% { opacity: 1; } 44%, 100% { opacity: .2; } }
.fd-low-ico { color: #ffb81c; animation: fd-blink 1s steps(1) infinite; }
@keyframes fd-blink { 50% { opacity: .3; } }
.fd-can { animation: fd-can 10s var(--ease) infinite; }
@keyframes fd-can { 0%, 8% { opacity: 0; transform: translateX(140px); } 16%, 80% { opacity: 1; transform: translateX(0); } 90%, 100% { opacity: 0; transform: translateX(140px); } }
.fd-tilt { transform-origin: 470px 220px; animation: fd-tilt 10s var(--ease) infinite; }
@keyframes fd-tilt { 0%, 16% { transform: rotate(0); } 23%, 66% { transform: rotate(-38deg); } 74%, 100% { transform: rotate(0); } }
.fd-pour { opacity: 0; animation: fd-pour 10s infinite; }
@keyframes fd-pour { 0%, 23% { opacity: 0; } 26%, 64% { opacity: 1; } 67%, 100% { opacity: 0; } }
.fd-drop { fill: #ffb81c; animation: fd-drop .9s linear infinite backwards; animation-delay: calc(var(--k) * .3s); }
@keyframes fd-drop { 0% { opacity: 0; transform: translateY(0); } 12%, 80% { opacity: 1; } 100% { opacity: 0; transform: translateY(124px); } }

/* locations: pins drop on every state with cities */
.lc-off { fill: #1f262e; stroke: #161c23; stroke-width: 1.5; }
.lc-on { fill: #3a3218; stroke: #161c23; stroke-width: 1.5; }
.lc-card { opacity: 1; }
.lc-pin { transform-box: fill-box; transform-origin: 50% 100%; animation: lc-pin 8s var(--ease) infinite backwards; animation-delay: calc(var(--i) * .08s); }
@keyframes lc-pin { 0% { opacity: 0; transform: translateY(-40px) scale(.6); } 6% { opacity: 1; transform: translateY(0) scale(1); } 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
.lc-ping { fill: none; stroke: #ffb81c; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: lc-ping 2.4s ease-out infinite backwards; animation-delay: calc(var(--i) * .15s); }
@keyframes lc-ping { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.7); } }

/* list your business: calls and texts come in */
.lb-badge { font: 800 8.5px var(--font-body); fill: #11161c; letter-spacing: .04em; }
.lb-name { font: 800 17px var(--font-head); fill: #fff; text-transform: uppercase; }
.lb-sub { font: 500 11px var(--font-body); fill: #9aa3ad; }
.lb-call { font: 700 14px var(--font-body); fill: #fff; }
.lb-in1 { font: 700 14px var(--font-body); fill: #fff; }
.lb-in2 { font: 500 12px var(--font-body); fill: #9aa3ad; }
.lb-ico { color: #fff; }
.lb-star { color: #ffb81c; }
.lb-toast { opacity: 1; animation: lb-toast 10s var(--ease) infinite backwards; animation-delay: calc(var(--i) * 1.6s); }
@keyframes lb-toast { 0%, 4% { opacity: 0; translate: -18px 0; } 9%, 70% { opacity: 1; translate: 0 0; } 76%, 100% { opacity: 0; translate: 0 0; } }
.lb-sum { opacity: 1; animation: lb-sum 10s var(--ease) infinite; }
@keyframes lb-sum { 0%, 58% { opacity: 0; translate: 0 12px; } 63%, 92% { opacity: 1; translate: 0 0; } 97%, 100% { opacity: 0; } }
.lb-phone { transform-origin: 400px 200px; animation: lb-ring 10s infinite; }
@keyframes lb-ring { 0%, 5%, 11%, 100% { transform: rotate(0); } 6%, 8%, 10% { transform: rotate(-2deg); } 7%, 9% { transform: rotate(2deg); } }
.lb-incoming { opacity: 0; animation: lb-in 10s var(--ease) infinite; }
@keyframes lb-in { 0%, 4% { opacity: 0; transform: translateY(30px); } 8%, 30% { opacity: 1; transform: translateY(0); } 34%, 100% { opacity: 0; transform: translateY(30px); } }
.lb-answer-ring { fill: none; stroke: #34d27f; stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: sc-ring 1.4s cubic-bezier(.2, .6, .3, 1) infinite; }

/* insurance agents: certificate verified, insured badge stamped */
.ag-cert-t { font: 800 15px var(--font-head); fill: #11161c; letter-spacing: .04em; }
.ag-stamp { font: 800 17px var(--font-head); fill: #0b7a4b; letter-spacing: .1em; }
.ag-name { font: 800 19px var(--font-head); fill: #11161c; text-transform: uppercase; }
.ag-via-t { font: 700 13px var(--font-body); fill: #0b7a4b; }
.ag-btn { font: 700 14px var(--font-body); fill: #fff; }
.ag-shield { color: #0b7a4b; }
.ag-badge-ico { color: #fff; }
.ag-cert { animation: ag-cert 10s var(--ease) infinite; }
@keyframes ag-cert { 0%, 6% { opacity: 0; transform: translateX(120px); } 16%, 92% { opacity: 1; transform: translateX(0); } 98%, 100% { opacity: 0; transform: translateX(0); } }
.ag-verified { transform-box: fill-box; transform-origin: center; animation: ag-stamp 10s var(--ease) infinite; }
@keyframes ag-stamp { 0%, 26% { opacity: 0; transform: scale(1.8); } 30% { opacity: 1; transform: scale(.94); } 33%, 92% { opacity: 1; transform: scale(1); } 98%, 100% { opacity: 0; } }
.ag-pop { transform-box: fill-box; transform-origin: center; animation: ag-pop 10s var(--ease) infinite; }
@keyframes ag-pop { 0%, 40% { opacity: 0; transform: scale(2); } 45% { opacity: 1; transform: scale(.9); } 48%, 92% { opacity: 1; transform: scale(1); } 98%, 100% { opacity: 0; } }
.ag-via { animation: ag-via 10s var(--ease) infinite; }
@keyframes ag-via { 0%, 50% { opacity: 0; transform: translateX(-10px); } 56%, 92% { opacity: 1; transform: translateX(0); } 98%, 100% { opacity: 0; } }
.ag-c1 { opacity: 1; animation: sc-c2 10s var(--ease) infinite; }

@media (prefers-reduced-motion: reduce) {
  .st-c1, .js-c1, .cu-c1, .fd-c1, .tw-c1 { opacity: 0; }
  .st-spare, .st-nut { opacity: 1; }
}

/* Spam trap: hidden from people (not display:none, which some bots detect) */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- US map ---------- */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 960px) { .map-wrap { grid-template-columns: 1fr; } }
.usmap { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(10px, 2.5vw, 26px); box-shadow: var(--shadow-sm); }
.usmap svg { width: 100%; height: auto; overflow: visible; }
.st { fill: #e3dfd5; stroke: #fff; stroke-width: 1; stroke-linejoin: round; transition: fill .2s, opacity .2s; }
.st--on { cursor: pointer; }
.st.lvl1, .map-legend .lvl1 { fill: #ffe3a1; background: #ffe3a1; }
.st.lvl2, .map-legend .lvl2 { fill: #ffcd57; background: #ffcd57; }
.st.lvl3, .map-legend .lvl3 { fill: #ffb81c; background: #ffb81c; }
.st.lvl4, .map-legend .lvl4 { fill: #e08f00; background: #e08f00; }
.map-legend .none { background: #e3dfd5; }
.st--on:hover, .st--on:focus-visible { fill: var(--asphalt-3); outline: none; }
.st--on.is-sel { fill: var(--asphalt); }
.usmap svg:has(.is-sel) .st:not(.is-sel) { opacity: .55; }
.st-label { font: 700 13px var(--font-body); fill: var(--asphalt); text-anchor: middle; dominant-baseline: middle; pointer-events: none; opacity: .75; }
.st-label.is-sel, .st-label.is-hot { fill: #fff; opacity: 1; }   /* on the dark selected / hovered state */
.map-tip {
  position: absolute; left: 0; top: 0; pointer-events: none; z-index: 5; white-space: nowrap;
  background: var(--asphalt); color: #fff; padding: 7px 11px; border-radius: 8px; font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, -130%); transition: opacity .15s;
}
.map-tip.show { opacity: 1; }
.map-tip small { color: var(--amber); font-weight: 600; margin-left: 6px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.state-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: 88px; }
.state-panel .select { width: 100%; margin-bottom: 18px; }
.sp { animation: fade .3s var(--ease); }
.sp h3 { font-size: 2rem; text-transform: uppercase; margin-bottom: 12px; }
.sp .eyebrow { margin-bottom: 8px; }
.sp-cities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; max-height: 360px; overflow: auto; }
.sp-cities a { display: block; padding: 7px 0; border-bottom: 1px dashed var(--line); text-decoration: none; font-weight: 600; transition: color .15s, padding .2s var(--ease); }
.sp-cities a:hover { color: var(--amber-deep); padding-left: 4px; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-chips button { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 13px; font: 600 .92rem var(--font-body); cursor: pointer; transition: .2s; }
.sp-chips button:hover { border-color: var(--asphalt); }
.sp-chips small { color: var(--amber-deep); font-weight: 700; }
@media (max-width: 960px) { .state-panel { position: static; } .st-label { font-size: 15px; } .sp-cities { max-height: none; } }

/* ---------- "Coming soon" states + "Notify me" form ---------- */
.st--soon[role="button"] { cursor: pointer; }
.st--soon[role="button"]:hover, .st--soon[role="button"]:focus-visible { fill: #cfc9bc; outline: none; }
.notify-card {
  margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 24px;
  box-shadow: var(--shadow-sm); display: grid; grid-template-columns: minmax(240px, .9fr) 2fr; gap: 14px 28px; align-items: end; scroll-margin: 110px;
}
.notify-copy { display: flex; gap: 16px; align-items: flex-start; align-self: center; }
.notify-copy .icon-badge, .notify-copy .success-burst { flex: none; width: 48px; height: 48px; margin: 0; }
.notify-copy .success-burst svg { width: 26px; height: 26px; }
.notify-copy h3 { font-size: 1.5rem; text-transform: uppercase; margin: 0 0 4px; }
.notify-copy p { margin: 0; font-size: .95rem; }
.notify-fields { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr auto; gap: 10px; align-items: end; }
.notify-fields .form-field { margin: 0; }
.notify-fields .ctrl { min-height: 48px; }
.notify-fields .btn { min-height: 48px; }
.notify-card [data-form-error], .notify-fine { grid-column: 1 / -1; margin: 0; }
.notify-fine { font-size: .82rem; color: var(--muted); text-align: right; margin-top: -4px; }
.notify-card.is-done { display: block; }
@media (max-width: 1100px) { .notify-card { grid-template-columns: 1fr; } .notify-fine { text-align: left; } }
@media (max-width: 720px) { .notify-fields { grid-template-columns: 1fr 1fr; } .notify-fields .form-field:last-of-type, .notify-fields .btn { grid-column: 1 / -1; } }
@media (max-width: 420px) { .notify-fields { grid-template-columns: 1fr; } .notify-card { padding: 18px; } }

/* ---------- Sample listing (List your business + /provider/?id=sample) ---------- */
.sample-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 34px; align-items: center; }
.sample-demo { position: relative; background: var(--paper); border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 30px 22px 22px; }
.sample-demo .btn { margin-top: 18px; }
.sample-tag {
  position: absolute; top: -13px; left: 22px; background: var(--asphalt); color: var(--amber); font: 700 .78rem var(--font-body);
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
}
.sample-card .btn { pointer-events: none; }
.sample-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.sample-points li { display: flex; gap: 16px; align-items: flex-start; }
.sample-points .icon-badge { flex: none; width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.sample-points .icon-badge svg { width: 23px; height: 23px; }
.sample-points b { font-size: 1.08rem; }
.sample-points p { margin: 4px 0 0; }
.sample-banner { background: var(--amber); color: var(--asphalt); font-size: .95rem; padding: 11px 0; }
.sample-banner a { color: inherit; font-weight: 700; }
a[aria-disabled="true"] { cursor: not-allowed; }
@media (max-width: 900px) { .sample-grid { grid-template-columns: 1fr; gap: 26px; } }
