/* =========================================================================
   FLAWLESS TOWING — styles.css
   Direction: "blacked-out premium" — Studio City flatbed towing & transport.
   One accent (amber marker-light). One emergency color (hazard orange, call only).
   Display: Bricolage Grotesque · Body: Inter · Labels: Space Mono
   ========================================================================= */

/* ----- Tokens ----------------------------------------------------------- */
:root {
  /* surfaces */
  --bg:            #0A0A0B;
  --bg-elev:       #131316;
  --bg-elev-2:     #1B1B1F;
  --bg-inset:      #060607;

  /* ink */
  --text:          #F4F4F5;
  --text-dim:      #9A9AA2;
  --text-faint:    #6A6A72;

  /* lines */
  --hairline:      rgba(255,255,255,.09);
  --hairline-2:    rgba(255,255,255,.16);

  /* brand */
  --silver-1:      #ECEFF2;
  --silver-2:      #B9BFC6;
  --silver-3:      #868D95;

  --accent:        #FFB020;   /* amber marker-light — the ONE accent */
  --accent-ink:    #0A0A0B;   /* text on amber */
  --hot:           #FF4A1C;   /* hazard orange — emergency call only */
  --hot-ink:       #0A0A0B;   /* text on hazard */

  --ok:            #37C978;

  /* type */
  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* scale */
  --step--1: clamp(.78rem, .74rem + .18vw, .875rem);
  --step-0:  clamp(1rem, .96rem + .2vw, 1.0625rem);
  --step-1:  clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.15rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.25rem);
  --step-4:  clamp(2.7rem, 1.9rem + 4vw, 5rem);
  --step-5:  clamp(2.75rem, 1rem + 7.2vw, 7.5rem);

  /* space */
  --sp-1: 8px;  --sp-2: 12px; --sp-3: 16px; --sp-4: 24px;
  --sp-5: 32px; --sp-6: 48px; --sp-7: 64px; --sp-8: 96px; --sp-9: 140px;

  --container: 1240px;
  --radius: 14px;
  --radius-sm: 9px;

  --ease: cubic-bezier(.22,1,.36,1);
  --dur: .5s;
}

/* ----- Reset-ish ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ----- Layout helpers ------------------------------------------------- */
.container {
  width: min(100% - 2 * var(--sp-4), var(--container));
  margin-inline: auto;
}
.section { padding-block: var(--sp-8); position: relative; scroll-margin-top: 84px; }
#booking-form { scroll-margin-top: 92px; }
.step-panel h3 { scroll-margin-top: 96px; }
.section--tight { padding-block: var(--sp-7); }
@media (max-width: 640px) { .section { padding-block: var(--sp-7); } }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--plain::before { display: none; }

h1, h2, h3, .h {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.section-title { font-size: var(--step-3); margin-top: var(--sp-3); }

/* trying all-caps on the big page-level headers only (h1 + section headlines) —
   card/pillar/step headings (h3/h4) stay sentence case so dense grids don't shout */
h1, h2 { text-transform: uppercase; letter-spacing: .005em; }
.section-lead { color: var(--text-dim); max-width: 52ch; margin-top: var(--sp-3); font-size: var(--step-1); line-height: 1.45; }

.mono { font-family: var(--font-mono); }

/* ----- Buttons ------------------------------------------------------- */
.btn {
  --_bg: var(--silver-1);
  --_fg: #0A0A0B;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  background: var(--_bg);
  color: var(--_fg);
  font-weight: 600;
  font-size: var(--step-0);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  --_bg: transparent;
  --_fg: var(--text);
  border-color: var(--hairline-2);
}
.btn--ghost:hover { border-color: var(--silver-2); background: rgba(255,255,255,.04); }

.btn--hot {
  --_bg: var(--hot);
  --_fg: var(--hot-ink);
  box-shadow: 0 0 0 0 rgba(255,74,28,.5);
}
.btn--hot:hover { box-shadow: 0 10px 30px -10px rgba(255,74,28,.7); }

.btn--lg { min-height: 60px; padding-inline: 32px; font-size: var(--step-1); }
.btn--block { display: flex; width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: var(--sp-5); }
.cta-row--left { justify-content: flex-start; }
@media (max-width: 560px) { .cta-row { gap: 10px; } .cta-row .btn { width: 100%; } }

/* pulsing ring on the emergency button, once, subtle */
@media (prefers-reduced-motion: no-preference) {
  .btn--hot.is-live { animation: ring 2.4s var(--ease) 1s 2; }
  @keyframes ring {
    0%   { box-shadow: 0 0 0 0 rgba(255,74,28,.45); }
    70%  { box-shadow: 0 0 0 16px rgba(255,74,28,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,74,28,0); }
  }
}

/* ----- Marker-light rule (brand motif) ------------------------------ */
.marker-rule {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 12%, var(--accent) 88%, transparent);
  opacity: .9;
}

/* ============================ HEADER ============================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent);
  opacity: .8;
}
.site-header.is-stuck {
  background: rgba(10,10,11,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--hairline);
}
.header-inner {
  display: flex; align-items: center; gap: var(--sp-4);
  padding-block: 18px;
  transition: padding-block .3s var(--ease);
}
.is-stuck .header-inner { padding-block: 11px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo {
  height: 40px; width: auto; display: block;
  transition: height .3s var(--ease);
  filter: drop-shadow(0 1px 10px rgba(0,0,0,.35));
}
.is-stuck .brand__logo { height: 34px; }
.site-footer .brand__logo { height: 42px; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  padding: 10px 14px;
  font-size: var(--step--1);
  letter-spacing: .04em;
  color: var(--text-dim);
  border-radius: 8px;
  transition: color .18s, background-color .18s;
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  color: var(--text);
  padding: 8px 6px;
  white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; color: var(--accent); }
.header-phone span { border-bottom: 1px solid var(--hairline-2); padding-bottom: 2px; }

.menu-toggle { display: none; }

@media (max-width: 980px) {
  .nav, .header-actions .btn { display: none; }
  .header-inner { gap: 12px; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    margin-left: auto;
    width: 46px; height: 46px;
    background: var(--bg-elev); border: 1px solid var(--hairline);
    border-radius: 10px; cursor: pointer;
  }
  .menu-toggle svg { width: 20px; height: 20px; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  padding: 96px var(--sp-4) var(--sp-5);
  display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer a {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--step-2);
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.drawer .btn { margin-top: var(--sp-4); }
.drawer__close {
  position: absolute; top: 26px; right: var(--sp-4);
  width: 46px; height: 46px;
  background: var(--bg-elev); border: 1px solid var(--hairline); border-radius: 10px;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.drawer__close svg { width: 20px; height: 20px; }

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 116px 0 76px;
  overflow: hidden;
}
@media (min-height: 900px) { .hero { padding-top: 132px; } }

/* ambient background clip — desktop only, bleeds off the left, heavily darkened */
.hero__video { position: absolute; inset: 0; z-index: 0; background: #000; }
.hero__video video {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 34%;
  opacity: .72;
}
.hero__video::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,11,.1) 0%, rgba(10,10,11,.48) 42%, rgba(10,10,11,.84) 72%, var(--bg) 96%),
    linear-gradient(180deg, rgba(10,10,11,.32), rgba(10,10,11,.08) 38%, rgba(10,10,11,.8) 100%);
}
/* hide the video on phones only (data/battery) — tablets and up still get it,
   even once the hero grid itself stacks to one column at 900px */
@media (max-width: 640px), (prefers-reduced-motion: reduce) {
  .hero__video video { display: none; }
  .hero__video { background: #0b0b0d; }
}

.hero__grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; gap: 26px; } }

.hero__lede { max-width: 620px; }
.hero h1 {
  font-size: clamp(2.9rem, 1.6rem + 5vw, 5.5rem);
  margin-top: var(--sp-3);
  line-height: .95;
}
.reveal-line { display: block; overflow: hidden; padding-bottom: .06em; }
.reveal-line > span { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .reveal-line > span { animation: word-in .8s var(--ease) backwards; animation-delay: .1s; }
  @keyframes word-in { from { transform: translateY(115%); } }
}

.hero__sub {
  margin-top: var(--sp-3);
  max-width: 46ch;
  color: var(--text-dim);
  font-size: var(--step-1);
  line-height: 1.5;
}

/* action block: Call + callback form */
.hero__act { margin-top: var(--sp-5); max-width: 460px; }
.btn--xl { min-height: 66px; font-size: var(--step-1); width: 100%; letter-spacing: .01em; }

.callback {
  margin-top: var(--sp-3);
  background: rgba(19,19,22,.72);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius);
  padding: var(--sp-4);
}
.callback__or {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-faint);
  display: flex; align-items: center; gap: 12px; margin-bottom: var(--sp-3);
}
.callback__or::before, .callback__or::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.callback .field { margin-top: 0; }
.callback .field + .field { margin-top: 10px; }
.callback label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.callback .req { color: var(--accent); }
.callback input[type=tel], .callback input[type=text] {
  width: 100%; min-height: 48px;
  background: var(--bg-inset); border: 1px solid var(--hairline-2);
  border-radius: var(--radius-sm); padding: 12px 13px; color: var(--text);
  transition: border-color .16s, box-shadow .16s;
}
.callback input::placeholder { color: var(--text-faint); }
.callback input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,176,32,.18); }
.callback input[aria-invalid="true"] { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(255,74,28,.16); }
.callback .err { color: #FF9576; font-size: 12px; margin-top: 5px; display: none; }
.callback .err.is-shown { display: block; }
.callback__when { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.callback__when .chip { position: relative; }
.callback__when input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.callback__when span {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 8px; text-align: center;
  border: 1px solid var(--hairline-2); border-radius: var(--radius-sm);
  background: var(--bg-inset); font-size: 12px; font-weight: 500;
  transition: border-color .16s, background-color .16s;
}
.callback__when input:checked + span { border-color: var(--accent); background: rgba(255,176,32,.09); }
.callback__when input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.callback .btn { margin-top: 2px; }
.callback .hp { position: absolute; left: -9999px; }

.callback__done {
  margin-top: var(--sp-3);
  background: rgba(55,201,120,.08); border: 1px solid rgba(55,201,120,.4);
  border-radius: var(--radius); padding: var(--sp-4);
  font-size: var(--step-0); line-height: 1.5;
}
.callback__done strong { color: var(--ok); }
.callback__done a { color: var(--text); border-bottom: 1px solid var(--accent); }

.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin-top: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .08em;
  color: var(--text-dim); text-transform: uppercase;
}
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust em { font-style: normal; color: var(--text-faint); }
.hero__trust span:not(:last-child)::after {
  content: ""; width: 3px; height: 3px; border-radius: 50%;
  background: var(--accent); margin-left: 10px;
}

/* ---- hero map: cinematic 3D MapLibre territory, no box, fades into the page ---- */
.hero__map { position: relative; }
.tacmap {
  position: relative;
  height: clamp(380px, 58vh, 620px);
  background: #0a0a0b; /* matches the page — the mask below does the rest */
  /* no border, no border-radius, no card background: the map itself fades to
     transparent well before its own edge so there is nothing box-shaped to see */
  -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 46%, #000 38%, rgba(0,0,0,.5) 62%, transparent 88%);
  mask-image: radial-gradient(ellipse 72% 68% at 50% 46%, #000 38%, rgba(0,0,0,.5) 62%, transparent 88%);
}
.tacmap .maplibregl-canvas { outline: none; }
.tacmap .maplibregl-ctrl-attrib {
  background: rgba(10,10,11,.55); color: var(--text-faint); font-size: 9px;
}
.tacmap .maplibregl-ctrl-attrib a { color: var(--text-dim); }
.tacmap .maplibregl-ctrl-bottom-right { opacity: .7; }

/* the HQ beacon — a small pulsing dot, not a pin */
.hq-beacon { position: relative; width: 14px; height: 14px; }
.hq-beacon__halo {
  position: absolute; inset: -13px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,106,60,.4), transparent 70%);
}
.hq-beacon__dot {
  position: absolute; inset: 4px; border-radius: 50%;
  background: #FF6A3C; box-shadow: 0 0 7px 1px rgba(255,106,60,.85);
}
.hq-beacon__pulse { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255,106,60,.75); }
@media (prefers-reduced-motion: no-preference) {
  .hq-beacon__pulse { animation: beacon-pulse 2.8s ease-out infinite; }
  @keyframes beacon-pulse { 0% { transform: scale(.8); opacity: .85; } 100% { transform: scale(3); opacity: 0; } }
}
/* sits outside the halo/pulse's own box (position:absolute, out of flow) so it never shifts
   where the beacon graphic itself anchors to the map coordinate — it just rides along */
.hq-beacon__label {
  position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text); white-space: nowrap; pointer-events: none;
  text-shadow: 0 1px 6px rgba(0,0,0,.9), 0 0 10px rgba(0,0,0,.6);
}

.hero__map-cap {
  margin-top: var(--sp-3);
  font-size: var(--step--1); color: var(--text-dim); line-height: 1.5;
  position: relative; z-index: 1;
}
.hero__map-cap b { color: var(--text); }

@media (prefers-reduced-motion: no-preference) {
  .hero__sub, .hero__act, .hero__trust, .hero__map { animation: fade-up .7s var(--ease) backwards; }
  .hero__sub  { animation-delay: .32s; }
  .hero__act  { animation-delay: .42s; }
  .hero__map  { animation-delay: .5s; }
  .hero__trust{ animation-delay: .56s; }
  @keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
}

@media (max-width: 900px) {
  .hero { padding-top: 108px; padding-bottom: 56px; }
  .hero__lede { max-width: none; }
  .hero__act { max-width: none; }
  .tacmap { height: 340px; -webkit-mask-image: radial-gradient(ellipse 78% 72% at 50% 46%, #000 34%, rgba(0,0,0,.5) 60%, transparent 90%); mask-image: radial-gradient(ellipse 78% 72% at 50% 46%, #000 34%, rgba(0,0,0,.5) 60%, transparent 90%); }
  .hero h1 { font-size: clamp(2.6rem, 1.5rem + 8vw, 4rem); }
}
@media (max-width: 430px) { .header-phone span { display: none; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em;
  color: var(--text-faint); text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint::after {
  content: ""; width: 1px; height: 30px;
  background: linear-gradient(var(--text-faint), transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .scroll-hint::after { animation: drop 1.8s var(--ease) infinite; }
  @keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }
}
@media (max-width: 1100px) { .scroll-hint { display: none; } }

/* ============================ TICKER ============================ */
.ticker {
  border-block: 1px solid var(--hairline);
  background: var(--bg-inset);
  overflow: hidden;
  padding-block: 14px;
}
.ticker__track {
  display: flex; gap: 0; width: max-content;
  font-family: var(--font-mono); font-size: var(--step--1);
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim);
}
.ticker__track span { padding-inline: 26px; display: inline-flex; align-items: center; gap: 26px; }
.ticker__track span::after { content: "◆"; color: var(--accent); font-size: 8px; }
@media (prefers-reduced-motion: no-preference) {
  .ticker__track { animation: marquee 38s linear infinite; }
  .ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
  @keyframes marquee { to { transform: translateX(-50%); } }
}

/* ============================ HOW IT WORKS ============================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: var(--sp-7); background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--bg); padding: var(--sp-6) var(--sp-5); position: relative; }
.step__num { font-family: var(--font-mono); font-size: var(--step--1); color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: var(--step-1); margin-top: var(--sp-4); }
.step p { color: var(--text-dim); margin-top: var(--sp-2); font-size: var(--step-0); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ============================ SERVICES ============================ */
.svc-group { margin-top: var(--sp-8); }
.svc-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; padding-bottom: var(--sp-4); border-bottom: 1px solid var(--hairline); }
.svc-group__head h3 { font-size: var(--step-2); }
.svc-group__head p { font-family: var(--font-mono); font-size: var(--step--1); color: var(--text-dim); letter-spacing: .06em; text-transform: uppercase; }
.svc-group__head p span { color: var(--text-faint); text-transform: none; letter-spacing: normal; }
.svc-group__note {
  margin-top: var(--sp-3); font-size: 12.5px; color: var(--text-faint); line-height: 1.6; max-width: 72ch;
}

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px; margin-top: 2px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 1080px) { .svc-grid { grid-template-columns: repeat(5, 1fr); } }
.svc {
  background: var(--bg);
  padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-3);
  min-height: 210px;
  transition: background-color .2s var(--ease);
}
.svc:hover { background: var(--bg-elev); }
.svc__icon { width: 30px; height: 30px; color: var(--silver-2); }
.svc:hover .svc__icon { color: var(--accent); }
.svc h4 { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -.01em; }
.svc p { color: var(--text-dim); font-size: var(--step--1); line-height: 1.5; }
.svc__price {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--font-mono); font-size: var(--step--1); color: var(--text); letter-spacing: .04em;
  padding-top: var(--sp-3); margin-top: auto; border-top: 1px solid var(--hairline);
  cursor: pointer; transition: color .16s var(--ease);
}
.svc__price b { color: var(--accent); font-weight: 700; }
.svc__price:hover, .svc__price:focus-visible { color: var(--accent); }

/* ============================ ACCIDENT CALLOUT ============================ */
.accident-callout {
  background: linear-gradient(180deg, rgba(255,74,28,.08), rgba(255,74,28,.02));
  border-block: 1px solid rgba(255,74,28,.3);
  padding-block: var(--sp-6);
}
.accident-callout__inner {
  display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap;
}
.accident-callout__icon {
  width: 40px; height: 40px; flex-shrink: 0; color: var(--hot);
}
.accident-callout__copy { flex: 1 1 360px; }
.accident-callout__copy h2 {
  font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); letter-spacing: -.01em;
}
.accident-callout__copy p { color: var(--text-dim); margin-top: 8px; max-width: 62ch; line-height: 1.55; }
@media (max-width: 720px) {
  .accident-callout__inner { flex-direction: column; align-items: flex-start; }
  .accident-callout .btn { width: 100%; }
}

/* ============================ GALLERY / PROOF ============================ */
.proof__head { max-width: 60ch; }
.gallery {
  margin-top: var(--sp-6);
  display: flex; gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-3);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.gallery::-webkit-scrollbar { height: 6px; }
.gallery::-webkit-scrollbar-thumb { background: var(--hairline-2); border-radius: 3px; }
.gallery figure {
  position: relative; flex: 0 0 auto;
  width: min(78vw, 460px); aspect-ratio: 3 / 2;
  scroll-snap-align: start;
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg-elev);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(10,10,11,.7); backdrop-filter: blur(6px);
  padding: 6px 10px; border-radius: 6px; border: 1px solid var(--hairline);
}
.gallery__hint { margin-top: var(--sp-2); font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); }

/* ============================ WHY / PILLARS + STATS ============================ */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; margin-top: var(--sp-7); background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.pillar { background: var(--bg); padding: var(--sp-5); }
.pillar__icon { width: 26px; height: 26px; color: var(--accent); }
.pillar h3 { font-size: var(--step-1); margin-top: var(--sp-3); }
.pillar p { color: var(--text-dim); font-size: var(--step--1); margin-top: var(--sp-2); line-height: 1.55; }
@media (max-width: 720px) { .pillars { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); margin-top: 2px; }
.stat { padding: var(--sp-5) var(--sp-4); border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--bg-inset); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); letter-spacing: -.03em; line-height: 1; }
.stat__num sub { font-size: .4em; color: var(--accent); vertical-align: baseline; margin-left: 2px; font-family: var(--font-mono); font-weight: 400; }
.stat__label { font-family: var(--font-mono); font-size: var(--step--1); color: var(--text-dim); letter-spacing: .08em; text-transform: uppercase; margin-top: var(--sp-2); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

/* ============================ REVIEWS ============================ */
.reviews__top { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; margin-top: var(--sp-5); justify-content: space-between; }
.g-badge { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--bg-inset); }
.g-badge strong { font-family: var(--font-display); font-size: var(--step-1); }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 15px; height: 15px; }
.g-badge span:not(.stars) { font-size: var(--step--1); color: var(--text-dim); }
.reviews__cta { display: flex; gap: 10px; flex-wrap: wrap; }

.reviews-embed {
  margin-top: var(--sp-5); padding: var(--sp-7) var(--sp-5);
  border: 1px dashed var(--hairline-2); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-3);
  text-align: center; background: var(--bg-inset);
}
.reviews-embed__icon { width: 30px; height: 30px; color: var(--text-faint); }
.reviews-embed p { color: var(--text-dim); max-width: 42ch; }

.reviews-grid {
  margin-top: var(--sp-6);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2px;
  background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden;
}
.review-card { background: var(--bg); padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); }
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-elev-2); color: var(--silver-2);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px;
}
.review-card__who { flex: 1; min-width: 0; }
.review-card__name { font-size: var(--step--1); font-weight: 600; }
.review-card__date { font-size: 11px; color: var(--text-faint); font-family: var(--font-mono); }
.review-card__stars svg { width: 13px; height: 13px; }
.review-card__text { color: var(--text-dim); font-size: var(--step--1); line-height: 1.6; }
.review-card__g {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: var(--sp-2);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint);
}

/* ============================ PARTNERS ============================ */
.partner-types { margin-top: var(--sp-6); }

/* ============================ CAREERS TEASER ============================ */
.careers-teaser { background: var(--bg-inset); border-block: 1px solid var(--hairline); }
.careers-teaser__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); flex-wrap: wrap; }
.careers-teaser__copy { max-width: 62ch; }
.section-title--sm { font-size: var(--step-2); }
@media (max-width: 720px) { .careers-teaser .btn { width: 100%; } }

/* ============================ SERVICE AREA ============================ */
.area { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2px; margin-top: var(--sp-6); background: var(--hairline); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.area__panel { background: var(--bg); padding: var(--sp-6); }
.area__panel h3 { font-size: var(--step-1); }
.area__list { list-style: none; padding: 0; margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: 8px; }
.area__list li { font-family: var(--font-mono); font-size: var(--step--1); color: var(--text-dim); border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 12px; }
.area__hq dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: var(--sp-4); }
.area__hq dd { margin: 4px 0 0; color: var(--text); }
.area__hq { margin: 0; }
@media (max-width: 820px) { .area { grid-template-columns: 1fr; } }

/* ============================ BOOKING FORM ============================ */
.booking { background: var(--bg-inset); border-block: 1px solid var(--hairline); }
.booking .eyebrow, .booking .section-title { justify-content: center; text-align: center; width: 100%; }
.section-lead--center { margin-inline: auto; text-align: center; max-width: 56ch; }
.lead-phone { display: inline-block; white-space: nowrap; color: var(--text); border-bottom: 1px solid var(--accent); }
.form-shell {
  margin-top: var(--sp-6);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  max-width: 780px;
}
.form-progress { display: flex; gap: 4px; padding: var(--sp-3); background: var(--bg-inset); border-bottom: 1px solid var(--hairline); }
.form-progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--hairline-2); transition: background-color .3s var(--ease); }
.form-progress i.is-done { background: var(--accent); }
.form-progress i.is-current { background: var(--silver-1); }

.form-body { padding: var(--sp-6); }
@media (max-width: 560px) { .form-body { padding: var(--sp-4); } }

.step-panel { display: none; }
.step-panel.is-active { display: block; }
.step-panel__kicker { font-family: var(--font-mono); font-size: var(--step--1); color: var(--accent); letter-spacing: .1em; }
.step-panel h3 { font-size: var(--step-2); margin-top: var(--sp-2); }
.step-panel > p.hint { color: var(--text-dim); font-size: var(--step--1); margin-top: var(--sp-2); }

.field { margin-top: var(--sp-4); }
.field label, .field .label { display: block; font-size: var(--step--1); font-weight: 600; letter-spacing: .02em; margin-bottom: 8px; }
.field .req { color: var(--accent); }
.field .opt { color: var(--text-faint); font-weight: 400; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-left: 6px; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field input[type=number], .field input[type=date], .field input[type=time], .field textarea, .field select {
  width: 100%;
  background: var(--bg-inset);
  border: 1px solid var(--hairline-2);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
  color: var(--text);
  transition: border-color .18s, box-shadow .18s;
  min-height: 50px;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,176,32,.18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(255,74,28,.16); }
.field .err { color: #FF9576; font-size: var(--step--1); margin-top: 6px; display: none; }
.field .err.is-shown { display: block; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* choice chips / radio cards */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: var(--sp-3); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: 10px;
  padding: 14px; min-height: 54px;
  border: 1px solid var(--hairline-2); border-radius: var(--radius-sm);
  background: var(--bg-inset); font-size: var(--step--1); font-weight: 500;
  transition: border-color .16s, background-color .16s;
}
.choice svg { width: 18px; height: 18px; color: var(--text-dim); flex-shrink: 0; }
.choice input:hover + span { border-color: var(--silver-3); }
.choice input:checked + span { border-color: var(--accent); background: rgba(255,176,32,.08); }
.choice input:checked + span svg { color: var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* urgency segmented */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: var(--sp-3); }
.segmented .choice span { justify-content: center; min-height: 64px; flex-direction: column; gap: 4px; text-align: center; }
.segmented .choice small { color: var(--text-dim); font-size: 11px; font-family: var(--font-mono); }
.segmented .choice input:checked + span { border-color: var(--hot); background: rgba(255,74,28,.08); }

/* photo upload */
.dropzone {
  margin-top: var(--sp-3);
  border: 1px dashed var(--hairline-2); border-radius: var(--radius-sm);
  padding: var(--sp-5); text-align: center; cursor: pointer;
  transition: border-color .16s, background-color .16s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--accent); background: rgba(255,176,32,.05); }
.dropzone svg { width: 22px; height: 22px; color: var(--text-dim); margin: 0 auto 8px; }
.dropzone p { font-size: var(--step--1); color: var(--text-dim); }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--sp-3); }
.thumb { position: relative; width: 74px; height: 74px; border-radius: 8px; overflow: hidden; border: 1px solid var(--hairline-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(10,10,11,.85); border: none; cursor: pointer; display: grid; place-items: center; }
.thumb button svg { width: 11px; height: 11px; }

/* form nav */
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3); margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--hairline); }
.form-nav .btn--link { background: none; border: none; color: var(--text-dim); min-height: 44px; padding: 0 6px; cursor: pointer; }
.form-nav .btn--link:hover { color: var(--text); }
.form-nav .btn--link[hidden] { visibility: hidden; }

/* error summary */
.err-summary { display: none; margin-top: var(--sp-4); border: 1px solid var(--hot); background: rgba(255,74,28,.08); border-radius: var(--radius-sm); padding: var(--sp-3) var(--sp-4); }
.err-summary.is-shown { display: block; }
.err-summary p { font-weight: 600; font-size: var(--step--1); }
.err-summary ul { margin: 8px 0 0; padding-left: 18px; }
.err-summary a { color: #FF9576; font-size: var(--step--1); }

/* review step */
.summary-list { margin-top: var(--sp-4); border: 1px solid var(--hairline); border-radius: var(--radius-sm); overflow: hidden; }
.summary-list div { display: flex; gap: var(--sp-3); padding: 12px var(--sp-4); border-bottom: 1px solid var(--hairline); font-size: var(--step--1); }
.summary-list div:last-child { border-bottom: none; }
.summary-list dt { flex: 0 0 40%; color: var(--text-dim); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.summary-list dd { margin: 0; color: var(--text); }

/* success / fail states */
.form-result { display: none; padding: var(--sp-7) var(--sp-6); text-align: center; }
.form-result.is-shown { display: block; }
.form-result__mark { width: 58px; height: 58px; margin: 0 auto var(--sp-4); border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ok); color: var(--ok); }
.form-result--fail .form-result__mark { border-color: var(--hot); color: var(--hot); }
.form-result h3 { font-size: var(--step-2); }
.form-result p { color: var(--text-dim); margin-top: var(--sp-3); max-width: 44ch; margin-inline: auto; }
.form-result .btn { margin-top: var(--sp-5); }

/* ============================ FAQ ============================ */
.faq { margin-top: var(--sp-6); border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: var(--sp-4) 0;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: var(--step-2); color: var(--accent); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-dim); padding-bottom: var(--sp-4); max-width: 68ch; line-height: 1.6; }

/* ============================ FINAL CTA ============================ */
.final-cta { text-align: center; padding-block: var(--sp-9); position: relative; overflow: hidden; }
.final-cta h2 { font-size: var(--step-4); }
.final-cta p { color: var(--text-dim); margin-top: var(--sp-3); font-size: var(--step-1); }
.final-cta .hero__cta { justify-content: center; margin-top: var(--sp-5); }
.final-cta::before {
  content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 60%; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ============================ FOOTER ============================ */
.site-footer { border-top: 1px solid var(--hairline); background: var(--bg-inset); padding-block: var(--sp-7) var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: var(--sp-5); }
.footer-brand p { color: var(--text-dim); font-size: var(--step--1); margin-top: var(--sp-3); max-width: 34ch; }
.site-footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: var(--sp-3); }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--text-dim); font-size: var(--step--1); }
.site-footer a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid var(--hairline); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; color: var(--text-faint); text-transform: uppercase; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: auto; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================ MOBILE ACTION BAR ============================ */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10,10,11,.9); backdrop-filter: blur(12px);
  border-top: 1px solid var(--hairline);
}
.action-bar .btn { flex: 1; min-height: 50px; }
@media (max-width: 980px) { .action-bar { display: flex; } body { padding-bottom: 74px; } }

/* ============================ REVEAL ANIMATION HOOKS ============================ */
/* Scroll reveals — only hidden once JS confirms it can reveal them (html.js).
   No JS / no IntersectionObserver => content simply shows with no animation. */
@media (prefers-reduced-motion: no-preference) {
  html.js .anim { opacity: 0; transform: translateY(24px); }
  html.js .anim.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
  html.js [data-stagger] > * { opacity: 0; transform: translateY(16px) scale(.98); }
  html.js [data-stagger].is-in > * { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
}

/* skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* utility */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
