/* ==========================================================================
   Fair Deals Auto Repairs — Design System & Stylesheet
   Concept: "The Honest Inspection" (Precision Diagnostic Telemetry)
   Palette: Deep Carbon (#0c0c0d), Charcoal Surface (#151518), Signal Red (#e10a14),
            Brushed Silver (#d4d4d8 / #f5f5f4), Full Light Mode Support.
   ========================================================================== */

/* 1. Self-hosted fonts (Barlow & Barlow Condensed Italic, SIL OFL) */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/barlow-400.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/barlow-500.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/barlow-600.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/barlow-condensed-600i.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/barlow-condensed-700i.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Tokens & Color Schemes (WCAG 2.2 AA verified >= 4.5:1) */
:root {
  color-scheme: dark;
  --bg: #0c0c0d;
  --bg-elevated: #121215;
  --surface: #16161a;
  --surface-hover: #1d1d22;
  --line: #2a2a30;
  --line-strong: #3d3d46;
  --fg: #f5f5f4;
  --silver: #d4d4d8;
  --muted: #a6a6ae;
  --red: #e10a14;
  --red-hover: #f5141f;
  --red-text: #ff5252;
  --red-tint: rgba(225, 10, 20, 0.12);
  --on-red: #ffffff;
  --car-stroke: #c8c8d0;
  --car-grid: rgba(255, 255, 255, 0.04);
  --gear-stroke: rgba(255, 255, 255, 0.07);
  --shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.55);
  --display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 0.375rem;
  --radius: 0.625rem;
  --radius-lg: 0.875rem;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f6f5f2;
    --bg-elevated: #efede8;
    --surface: #ffffff;
    --surface-hover: #faf9f6;
    --line: #dcd9d0;
    --line-strong: #bdb8ac;
    --fg: #121214;
    --silver: #3f3f46;
    --muted: #525259;
    --red: #c8000a;
    --red-hover: #a80008;
    --red-text: #b80009;
    --red-tint: rgba(200, 0, 10, 0.08);
    --on-red: #ffffff;
    --car-stroke: #323238;
    --car-grid: rgba(0, 0, 0, 0.045);
    --gear-stroke: rgba(0, 0, 0, 0.06);
    --shadow: 0 10px 28px -8px rgba(18, 18, 20, 0.08);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f5f2;
  --bg-elevated: #efede8;
  --surface: #ffffff;
  --surface-hover: #faf9f6;
  --line: #dcd9d0;
  --line-strong: #bdb8ac;
  --fg: #121214;
  --silver: #3f3f46;
  --muted: #525259;
  --red: #c8000a;
  --red-hover: #a80008;
  --red-text: #b80009;
  --red-tint: rgba(200, 0, 10, 0.08);
  --on-red: #ffffff;
  --car-stroke: #323238;
  --car-grid: rgba(0, 0, 0, 0.045);
  --gear-stroke: rgba(0, 0, 0, 0.06);
  --shadow: 0 10px 28px -8px rgba(18, 18, 20, 0.08);
}

/* 3. Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(ellipse 80% 50% at 50% -10%, var(--red-tint), transparent 70%);
  background-repeat: no-repeat;
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.03125rem;
  line-height: 1.55;
  padding-inline: 1rem;
  padding-block: 0 6.5rem;
  overflow-x: hidden;
}
img, svg {
  max-width: 100%;
  display: block;
}
[hidden] {
  display: none !important;
}
p, ul, ol, dl, figure {
  margin: 0;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
:focus-visible {
  outline: 3px solid var(--red-text);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -999px;
  left: 1rem;
  z-index: 100;
  background: var(--red);
  color: var(--on-red);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 0.75rem;
}

/* 4. Layout Container & Typography */
.wrap {
  max-width: 64rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  min-width: 0;
}

h1, h2, h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
h1 {
  font-size: clamp(2.15rem, 9.2vw, 4.1rem);
}
h2 {
  font-size: clamp(1.75rem, 6.5vw, 2.55rem);
}
h3 {
  font-size: 1.3rem;
  line-height: 1.08;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
}
.eyebrow .leaf {
  width: 0.9rem;
  height: 0.9rem;
  fill: currentColor;
  flex: none;
}
.muted {
  color: var(--muted);
}

/* 5. Header & Navigation */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--line);
  margin-inline: -1rem;
  padding-inline: 1rem;
  background: var(--bg);
}
.top a.home {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  min-width: 0;
  min-height: 44px;
}
.top .mark {
  width: 56px;
  height: 26px;
  flex: none;
  border-radius: 3px;
}
.top .brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.top .brand-text b {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.04rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.015em;
}
.top .brand-text small {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.top-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.top-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.75rem;
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--silver);
  border-radius: var(--radius-sm);
  transition: color 0.18s ease, background-color 0.18s ease;
}
.top-nav a:hover {
  color: var(--fg);
  background: var(--surface);
}
.top-nav a.nav-cta {
  background: var(--red-tint);
  color: var(--red-text);
  border: 1px solid var(--red);
  margin-left: 0.35rem;
}
.top-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding-inline: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.top-call:hover {
  border-color: var(--red);
  transform: translateY(-1px);
}
.top-call svg {
  width: 1rem;
  height: 1rem;
  color: var(--red-text);
}

/* 6. Promo Banner (Compact so CTAs stay above 375x812 fold) */
.promo-bar {
  margin: -1.95rem 0 -1.65rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--red);
  color: var(--on-red);
  font-size: 0.84rem;
  line-height: 1.3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 0.65rem;
  box-shadow: var(--shadow);
}
.promo-bar a {
  color: var(--on-red);
  font-weight: 700;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -0.45rem;
  padding-inline: 0.25rem;
}
.promo-only b {
  color: inherit;
}

/* 7. Hero & "The Honest Inspection" SVG Car Telemetry Stage */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.15rem;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hero-gear {
  position: absolute;
  top: -1.2rem;
  right: -1.5rem;
  width: 11rem;
  height: 11rem;
  color: var(--gear-stroke);
  pointer-events: none;
  z-index: 0;
  animation: gearRotate 24s cubic-bezier(0.22, 1, 0.36, 1) 0.2s 1 forwards;
}
@keyframes gearRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(180deg); }
}

.hero h1 em {
  font-style: italic;
  color: var(--red-text);
}
.hero .price-pill {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.55rem;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--silver);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.7rem;
}
.hero .price-pill b {
  color: var(--fg);
  font-weight: 600;
}
.hero p.lead {
  font-size: 0.96rem;
  color: var(--muted);
  max-width: 38rem;
  line-height: 1.4;
}

/* SVG Car Scanner Stage */
.scan-stage {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.4rem 0.55rem 0.35rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background-image:
    linear-gradient(to right, var(--car-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--car-grid) 1px, transparent 1px);
  background-size: 20px 20px;
}
.scan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.1rem;
}
.scan-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--red-text);
}
.scan-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}
.scan-svg {
  width: 100%;
  height: auto;
  max-height: 6.5rem;
  overflow: visible;
}
.car-body-line {
  fill: none;
  stroke: var(--car-stroke);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.car-detail-line {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.3;
  stroke-linecap: round;
  opacity: 0.65;
}
.car-wheel {
  fill: var(--bg);
  stroke: var(--car-stroke);
  stroke-width: 2.2;
}
.car-hub {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.4;
}

/* Scanning sweep beam (plays once on load, transform/opacity only) */
.scan-beam {
  opacity: 0;
  transform: translateX(0);
  animation: scanSweep 2.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s 1 forwards;
}
@keyframes scanSweep {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(620px);
  }
}

/* Checkpoint markers + labels */
.cp-dot {
  fill: var(--red);
  stroke: var(--bg);
  stroke-width: 2;
}
.cp-ring {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: cpPulse 1.8s ease-out 1 forwards;
}
.cp-group {
  opacity: 0;
  animation: cpReveal 0.45s ease-out 1 forwards;
}
.cp-1, .cp-1 .cp-ring { animation-delay: 0.55s; }
.cp-2, .cp-2 .cp-ring { animation-delay: 0.9s; }
.cp-3, .cp-3 .cp-ring { animation-delay: 1.25s; }
.cp-4, .cp-4 .cp-ring { animation-delay: 1.6s; }
.cp-5, .cp-5 .cp-ring { animation-delay: 1.95s; }

@keyframes cpReveal {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cpPulse {
  0% {
    opacity: 0.9;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(2.4);
  }
}

.scan-legend {
  list-style: none;
  padding: 0.35rem 0 0;
  margin: 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--silver);
}
.scan-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.scan-legend i {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

/* 8. CTA Buttons */
.btns {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.6rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding-inline: 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid var(--red);
  cursor: pointer;
  text-align: center;
  transition: transform 0.16s ease, opacity 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn.primary {
  background: var(--red);
  color: var(--on-red);
}
.btn.primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
}
.btn.ghost {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--line-strong);
}
.btn.ghost:hover {
  border-color: var(--red);
}
.btn svg {
  width: 1.2rem;
  height: 1.2rem;
  flex: none;
}
.numbers {
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.numbers b {
  color: var(--fg);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* 9. Trust Strip (4 items) */
.strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.strip > div {
  background: var(--surface);
  padding: 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.strip b {
  font-family: var(--display);
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.strip b::before {
  content: "";
  width: 0.4rem;
  height: 0.85rem;
  background: var(--red);
  transform: skewX(-16deg);
  flex: none;
}
.strip span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

/* 10. Sections & Scroll Reveal */
section {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Progressive enhancement: only hide/animate when JS adds .js-ready */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 11. How It Works (4 animated steps with connector line) */
.steps-wrap {
  position: relative;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  counter-reset: s;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.85rem;
  width: 2px;
  background: var(--line-strong);
  z-index: 0;
}
.steps::after {
  content: "";
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 1.85rem;
  width: 2px;
  background: var(--red);
  transform-origin: top;
  transform: scaleY(1);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}
.js-ready .steps:not(.line-drawn)::after {
  transform: scaleY(0);
}
.steps li {
  counter-increment: s;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.steps li:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--red);
  color: var(--red-text);
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--surface);
}
.steps h3 {
  margin-bottom: 0.3rem;
}
.steps p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* 12. Icon Grid: "Every service, through our partner shops" */
.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.service-grid li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.8rem;
  font-weight: 500;
  font-size: 0.93rem;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.service-grid li:hover {
  transform: translateY(-2px);
  border-color: var(--red);
}
.service-grid svg {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
  color: var(--red-text);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Standard checklist for inner pages */
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.checks li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem;
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.28;
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  min-width: 0;
}
.checks li::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.32rem;
  background: var(--red);
  transform: skewX(-20deg);
}

/* 13. Feature Cards (Rust, Pre-purchase, Commercial) */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.cards a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cards a:hover {
  transform: translateY(-3px);
  border-color: var(--red);
}
.card-top {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-text);
}
.card-badge svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
}
.cards a p {
  color: var(--muted);
  font-size: 0.96rem;
}
.cards a .card-cta {
  color: var(--fg);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cards a:hover .card-cta {
  color: var(--red-text);
}

/* 14. Areas We Serve (City Chips) */
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.chips a, .chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 44px;
  padding-inline: 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.chips a {
  border-color: var(--red);
  color: var(--fg);
}
.chips a::after {
  content: "\2192";
  color: var(--red-text);
  font-size: 0.9rem;
}
.chips a:hover {
  transform: translateY(-2px);
  background: var(--red-tint);
}
.chips span {
  color: var(--muted);
}

/* 15. WhatsApp Message Builder */
.builder {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  box-shadow: var(--shadow);
}
.builder label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--silver);
}
.builder input, .builder select {
  font: inherit;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  min-height: 3rem;
  padding-inline: 0.85rem;
  width: 100%;
  transition: border-color 0.16s ease;
}
.builder input:focus, .builder select:focus {
  border-color: var(--red);
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.hint {
  font-size: 0.9rem;
  color: var(--muted);
}
.hint a {
  color: var(--fg);
  font-weight: 600;
}

/* 16. FAQ Accordion */
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  min-height: 3.5rem;
  padding-block: 0.65rem;
  font-weight: 600;
  font-size: 1.03rem;
  transition: color 0.16s ease;
}
summary:hover {
  color: var(--red-text);
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--red-text);
  flex: none;
  line-height: 1;
}
details[open] summary::after {
  content: "\2212";
}
details p {
  color: var(--muted);
  padding-bottom: 1.1rem;
  max-width: 52rem;
}

/* 17. Inner Page Prose, Callout Notes & Photo Placeholders */
.crumbs {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.crumbs a {
  color: var(--fg);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.crumbs a:hover {
  color: var(--red-text);
}
.prose {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.prose p, .prose li {
  color: var(--muted);
}
.prose ul {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.prose b, .prose a {
  color: var(--fg);
}
.note {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  color: var(--muted);
  font-size: 0.96rem;
}
.note b {
  color: var(--fg);
}

/* 18. Structured 3-Column Footer */
footer {
  border-top: 1px solid var(--line);
  padding-block: 2.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  font-size: 0.94rem;
  color: var(--muted);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 36rem;
}
.footer-brand .name {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.55rem;
  color: var(--fg);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-col h2, .footer-col h3 {
  font-size: 0.85rem;
  font-family: var(--body);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 0.25rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.footer-col a, .footer-col button.link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-col a:hover, .footer-col button.link-btn:hover {
  color: var(--red-text);
}
.footer-col .unlinked-areas {
  font-size: 0.88rem;
  color: var(--muted);
  padding-top: 0.35rem;
  line-height: 1.45;
}
.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* 19. Sticky Mobile Bottom Dock */
.dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 0.6rem;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.4);
}
.dock .btn {
  min-height: 3.1rem;
}

/* 20. Cookie Consent Banner (Only rendered when GA_ID is set) */
.cookie-banner {
  position: fixed;
  inset-inline: 1rem;
  bottom: 5.2rem;
  z-index: 30;
  max-width: 36rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.cookie-banner p {
  font-size: 0.9rem;
  color: var(--silver);
}
.cookie-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.cookie-actions button {
  min-height: 44px;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
}
.cookie-actions button:hover {
  border-color: var(--red);
}

/* 21. Ultra-Narrow Viewport Guard (320px) */
@media (max-width: 365px) {
  body {
    padding-inline: 0.75rem;
  }
  .top {
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
  }
  .btns {
    grid-template-columns: 1fr;
  }
  .service-grid, .checks, .row, .strip {
    grid-template-columns: 1fr;
  }
}

/* 22. Tablet & Desktop Breakpoints */
@media (min-width: 640px) {
  body {
    font-size: 1.0625rem;
    padding-inline: 1.5rem;
    padding-block: 0 7rem;
  }
  .wrap {
    gap: 3.5rem;
  }
  .top {
    margin-inline: 0;
    padding-inline: 0;
  }
  .strip {
    grid-template-columns: repeat(4, 1fr);
  }
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .checks {
    grid-template-columns: repeat(3, 1fr);
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  body {
    padding-block: 0 3rem;
  }
  .top .mark {
    width: 83px;
    height: 38px;
  }
  .top .brand-text b {
    font-size: 1.35rem;
  }
  .top-nav {
    display: flex;
  }
  .hero.hero-split .hero-copy {
    display: grid;
    grid-template-columns: 1.1fr 0.95fr;
    column-gap: 2.25rem;
    row-gap: 0.85rem;
    align-items: start;
    padding-top: 0.75rem;
  }
  .hero.hero-split .hero-copy > :not(.scan-stage) {
    grid-column: 1;
  }
  .hero.hero-split .hero-copy > .scan-stage {
    grid-column: 2;
    grid-row: 1 / span 6;
    align-self: center;
  }
  .scan-svg {
    max-height: 13rem;
  }
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  .steps::before, .steps::after {
    top: 2.25rem;
    bottom: auto;
    left: 2rem;
    right: 2rem;
    width: auto;
    height: 2px;
    transform-origin: left;
  }
  .js-ready .steps:not(.line-drawn)::after {
    transform: scaleX(0);
  }
  .js-ready .steps.line-drawn::after {
    transform: scaleX(1);
  }
  .steps li {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .dock {
    display: none;
  }
  .cookie-banner {
    bottom: 1.5rem;
  }
}

/* 23. Reduced Motion Support (WCAG 2.2 AA) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .scan-beam {
    display: none !important;
  }
  .cp-group {
    opacity: 1 !important;
    transform: none !important;
  }
  .js-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .js-ready .steps::after {
    transform: none !important;
  }
}
