/* Manage Assist Repair — main stylesheet. Mobile-first, no external assets.
   Brand: red & black. Premium dark identity, conversion-focused, token-driven.
   Design system reference: design-system/manage-assist-repair/MASTER.md */

:root {
  /* Color tokens */
  --accent: #d21f2c;
  --accent-dark: #a8121e;
  --accent-glow: rgba(210, 31, 44, 0.28);
  --accent-tint: rgba(210, 31, 44, 0.08);
  --ink: #14161a;
  --ink-soft: #4c525b;
  --bg: #ffffff;
  --bg-alt: #f6f7f8;
  --dark: #0e1013;
  --dark-2: #16181d;
  --dark-soft: #22252c;
  --on-dark: #ffffff;
  --on-dark-soft: #a9aeb7;
  --border: #e3e5e9;
  --border-dark: #2a2e36;
  --success: #2e9e4f;
  --gold: #f5b301;

  /* Shape & elevation */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-1: 0 1px 2px rgba(14, 16, 19, 0.05), 0 4px 12px rgba(14, 16, 19, 0.05);
  --shadow-2: 0 4px 10px rgba(14, 16, 19, 0.07), 0 14px 34px rgba(14, 16, 19, 0.11);
  --shadow-red: 0 8px 22px rgba(210, 31, 44, 0.32);

  /* Layout & type */
  --max-width: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Motion: Corporate personality — decisive, no overshoot.
     One signature curve + a three-step duration palette. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-quick: 0.15s;
  --dur-standard: 0.25s;
  --dur-slow: 0.4s;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

/* Cross-page fade via the View Transitions API — progressive enhancement,
   older browsers simply navigate instantly. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: 0.15s; }
  ::view-transition-new(root) { animation-duration: 0.25s; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Section header pattern: eyebrow → heading → lead */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

/* Header / nav — transparent over the hero photo, solidifies on scroll */
.site-header {
  background: transparent;
  color: var(--on-dark);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(14, 16, 19, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--border-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 0.5rem;
}
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.01em;
}
.site-footer .brand { color: var(--on-dark); }
.brand img { display: block; height: 5.5rem; width: auto; }
.site-footer .brand img { height: 3.25rem; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-phone {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent); }

.nav-toggle {
  background: none;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  min-height: 44px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--on-dark);
}

.site-nav { display: none; width: 100%; }
.site-nav.open {
  display: block;
  /* solid panel so the dropdown stays readable over the hero photo */
  background: rgba(14, 16, 19, 0.97);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 0.5rem;
  margin: 0.5rem 0;
}
.site-nav ul {
  list-style: none;
  margin: 0.5rem 0 0.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.site-nav a {
  display: block;
  padding: 0.5rem 0.8rem;
  text-decoration: none;
  color: var(--on-dark-soft);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}
.site-nav a:hover { background: var(--dark-soft); color: var(--on-dark); }
.site-nav a[aria-current="page"] { color: var(--on-dark); }
.site-nav a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  margin-top: 2px;
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; width: auto; }
  .site-nav ul { flex-direction: row; margin: 0; gap: 0.25rem; }
  /* Desktop order: brand — nav — call button */
  .site-header .header-cta { order: 3; }
}

/* Hero — near-black canvas with red glow */
.hero {
  position: relative;
  background:
    radial-gradient(52rem 30rem at 85% -12%, var(--accent-glow), transparent 62%),
    radial-gradient(36rem 24rem at -10% 110%, rgba(210, 31, 44, 0.14), transparent 60%),
    linear-gradient(165deg, var(--dark) 0%, var(--dark-2) 70%, #1a1d23 100%);
  color: var(--on-dark);
  /* top padding clears the fixed transparent header */
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.hero::before {
  /* workshop photo layer — grayscaled and dimmed so text stays readable
     and the red accents carry the color (Ignition Garage treatment) */
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/photos/workshop.jpg") center / cover no-repeat;
  filter: grayscale(0.92) contrast(1.05);
  opacity: 0.22;
  pointer-events: none;
}
.hero::after {
  /* faint diagonal speed-lines for automotive energy */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, transparent 0 90px, rgba(255, 255, 255, 0.022) 90px 92px);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 46rem; margin: 0 auto; text-align: center; }

/* Home hero: copy left, eligibility checker right */
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }
.hero-copy { max-width: 36rem; }
.hero-copy .hero-sub { margin-left: 0; }
.hero-copy .hero-ctas { justify-content: flex-start; }
.hero h1 {
  font-size: clamp(2.1rem, 5.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}
/* Brighter than --accent: on the near-black hero, --accent itself falls under
   3:1 for large text (verified via rendered contrast, not just static analysis) */
.hero h1 .highlight { color: #ff5a45; }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--on-dark-soft);
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}
.hero-ctas { display: flex; gap: 0.85rem; flex-wrap: wrap; justify-content: center; }

/* Rating badge — gold stars in a translucent pill (reference hero pattern) */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.rating-badge .stars { color: var(--gold); letter-spacing: 0.12em; }
.rating-badge .count { color: var(--on-dark-soft); font-weight: 600; }

/* Compact hero for inner pages */
.hero--compact { padding: 7rem 0 3rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.7rem;
  border-radius: 10px;
  border: none;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--dark);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

/* Trust stat cards (reference "from setback to back on the road" pattern) */
.stats-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 1.75rem 1.25rem;
  text-align: center;
}
.stat-card strong {
  display: block;
  font-size: clamp(1.7rem, 3.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--accent);
}
.stat-card span { font-size: 0.92rem; color: var(--ink-soft); }

/* Centered section header (reference pattern) */
.section-head-center { text-align: center; }
.section-head-center .lead { margin-left: auto; margin-right: auto; }
.section-head-center .eyebrow::before { display: none; }

/* Eligibility quiz — elevated card overlapping the hero */
.quiz {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 2.25rem 2rem;
  max-width: 44rem;
  margin: -3.5rem auto 0;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-2);
  animation: quiz-enter 0.6s var(--ease-out) both;
}
/* The card sits inside the dark hero, which sets white text — reset to ink so
   legends and the result stay readable on the white card */
.quiz { color: var(--ink); }
/* Checker inside the hero: no overlap offset, slightly tighter */
.hero .quiz { margin: 0; padding: 1.75rem 1.5rem; width: 100%; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.hero .quiz h2 { font-size: 1.4rem; }
@keyframes quiz-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz h2 { margin: 0 0 0.25rem; font-size: 1.5rem; font-weight: 800; }
.quiz h2 .highlight { color: var(--accent); }
.quiz > p { margin: 0 0 1.25rem; color: var(--ink-soft); }

.quiz-progress {
  height: 8px;
  background: var(--bg-alt);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.quiz-progress-fill {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), #ff5a45);
  border-radius: 999px;
  transition: transform 0.5s var(--ease-out);
}

.quiz fieldset {
  border: none;
  padding: 1rem 0;
  margin: 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.3s ease;
}
/* Progressive disclosure: later questions stay hidden until the previous one
   is answered (JS-gated so all questions show without JS) */
.js .quiz fieldset.q-hidden { display: none; }
.quiz fieldset.q-enter { animation: q-in 0.35s var(--ease-out) both; }
@keyframes q-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz fieldset:last-of-type { border-bottom: none; }
.quiz legend {
  font-weight: 700;
  padding: 0;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.quiz legend .q-num {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.quiz fieldset.answered legend .q-num {
  background: var(--success);
  animation: pop 0.35s ease;
}
.quiz fieldset.answered legend .q-num::before { content: "\2713"; }
.quiz fieldset.answered legend .q-num span { display: none; }
@keyframes pop {
  0% { transform: scale(0.6); }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.quiz .choices { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.quiz .pill { position: relative; cursor: pointer; }
.quiz .pill input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.quiz .pill span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 1.4rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: border-color var(--dur-quick) ease, color var(--dur-quick) ease,
    background var(--dur-quick) ease, transform var(--dur-quick) var(--ease-out),
    box-shadow var(--dur-quick) ease;
  user-select: none;
}
.quiz .pill:hover span {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.quiz .pill input:checked + span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(210, 31, 44, 0.35);
}
.quiz .pill input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.quiz-result {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  display: none;
  text-align: center;
}
.quiz-result.show { display: block; animation: result-in 0.5s var(--ease-out) both; }
@keyframes result-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.quiz-result.eligible { background: #e8f6ec; border: 1px solid #57ad6c; }
.quiz-result.maybe { background: #fdf3e4; border: 1px solid #d99a3d; }
.quiz-result p { margin: 0 0 0.85rem; font-weight: 600; font-size: 1.05rem; }
.quiz-result .btn { animation: btn-pulse 1.8s ease-in-out infinite; }
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(210, 31, 44, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(210, 31, 44, 0); }
}

/* Media split — photo beside text (breaks up card monotony) */
.media-split {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .media-split { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .media-split.media-left .media-split-img { order: -1; }
}
.media-split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  margin: 0;
  max-height: 300px;
}
@media (min-width: 900px) { .media-split-img { max-height: 440px; height: 100%; } }
.media-split-img { position: relative; }
.media-split-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) contrast(1.04);
}
.media-split-img::after {
  /* faint red wash keeps the grayscale photos on-brand */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(210, 31, 44, 0.1), transparent 55%);
  pointer-events: none;
}
.media-split h3 { font-size: 1.35rem; margin: 0 0 0.5rem; }
.media-split .checklist { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 0.6rem; }
.media-split .checklist li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--ink-soft); }
.media-split .checklist svg { width: 1.2rem; height: 1.2rem; color: var(--accent); flex: none; margin-top: 0.2rem; }

/* Sections */
.section { padding: 3rem 0; }
@media (min-width: 900px) { .section { padding: 4.5rem 0; } }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.6rem;
}
.section .lead { color: var(--ink-soft); max-width: 62ch; margin-top: 0; font-size: 1.08rem; }

/* Card grid */
.grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(210, 31, 44, 0.35);
}
.card h3 { margin: 0.75rem 0 0.5rem; font-size: 1.25rem; }
.card p { margin: 0; color: var(--ink-soft); }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.card .card-link::after { content: "\2192"; transition: transform 0.2s var(--ease-out); }
.card .card-link:hover::after { transform: translateX(3px); }

/* Recent repairs — before/after comparison cards */
.repairs-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 700px) { .repairs-grid { grid-template-columns: repeat(3, 1fr); } }
.repair-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.repair-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.repair-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.repair-compare figure {
  margin: 0;
  position: relative;
  aspect-ratio: 6 / 5;
}
.repair-compare img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.repair-compare figcaption {
  position: absolute;
  left: 0.6rem;
  bottom: 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(14, 16, 19, 0.72);
  backdrop-filter: blur(2px);
}
.repair-compare .is-after figcaption { background: var(--accent); }
.repair-card-label {
  padding: 1rem 1.25rem 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

/* Icon tiles — rounded squares, red tint */
.icon-ring {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius);
  background: var(--accent-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s var(--ease-out), background 0.25s ease;
}
.icon-ring .icon, .card > .icon { width: 1.75rem; height: 1.75rem; color: var(--accent); }
.card > .icon { width: 2.1rem; height: 2.1rem; }
.card:hover .icon-ring { transform: scale(1.08); background: rgba(210, 31, 44, 0.15); }

/* Custom duotone icon system: 24px grid, 2px rounded ink strokes, red fill layer */
.icon-duo { color: var(--ink); }
.icon-duo .duo { fill: var(--accent); opacity: 0.14; stroke: none; }
.icon-duo .duo-solid { fill: var(--accent); stroke: none; }
.icon-duo .accent-stroke { stroke: var(--accent); }

.why-us .card { text-align: center; }
.why-us .card .icon-ring { margin: 0 auto 0.5rem; }

/* Steps — connected timeline */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: step; display: grid; gap: 1.75rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.steps li { counter-increment: step; padding-left: 3.25rem; position: relative; }
.steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-tint);
}
.steps li .step-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.5rem;
  color: #fff;
  z-index: 1;
}
.steps li::after {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 2.6rem;
  bottom: -1.4rem;
  width: 2px;
  background: linear-gradient(var(--accent) 0%, var(--border) 100%);
}
.steps li:last-child::after { display: none; }
@media (min-width: 860px) {
  .steps li { padding-left: 0; padding-top: 3.25rem; }
  .steps li::after {
    left: 2.7rem;
    right: -0.85rem;
    top: 1.05rem;
    bottom: auto;
    width: auto;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--border) 100%);
  }
}
.steps h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Insurer wordmark marquee — continuous scroll, pauses on hover */
.insurer-marquee {
  overflow: hidden;
  margin-top: 1.75rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  list-style: none;
  display: flex;
  gap: 0.9rem;
  width: max-content;
  padding: 0.25rem 0;
  margin: 0;
  animation: marquee 32s linear infinite;
}
.insurer-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 0.45rem)); } }
.insurer-mark {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: var(--shadow-1);
}
.im-aami { color: #d5002b; }
.im-allianz { color: #003781; }
.im-budget { color: #00205b; }
.im-gio { color: #6d2077; }
.im-nrma { color: #002f6c; }
.im-qbe { color: #003da5; }
.im-suncorp { color: #008733; }
.im-youi { color: #84bd00; }
.im-others { color: var(--ink-soft); }
.independence {
  margin-top: 1.75rem;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 65ch;
}

/* Testimonials */
.testimonials { display: grid; gap: 1.25rem; margin-top: 2rem; }
@media (min-width: 860px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 1.75rem 1.5rem;
  margin: 0;
  position: relative;
}
.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem;
  right: 1.1rem;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--accent-tint);
  font-family: Georgia, serif;
}
.testimonial .stars { color: var(--accent); letter-spacing: 0.15em; font-size: 1.05rem; }
.testimonial blockquote { margin: 0.6rem 0 0.85rem; font-style: italic; color: var(--ink-soft); }
.testimonial figcaption { font-weight: 700; }

/* FAQ accordion (native details/summary) */
.faq { max-width: 46rem; margin-top: 2rem; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq details:hover { border-color: rgba(210, 31, 44, 0.35); }
.faq details[open] { box-shadow: var(--shadow-1); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 1.2rem;
  list-style: none;
  position: relative;
  padding-right: 2.6rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.25s var(--ease-out);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }

/* CTA band — dark with red glow */
.cta-band {
  background:
    radial-gradient(42rem 22rem at 50% 130%, var(--accent-glow), transparent 65%),
    linear-gradient(165deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #fff;
  text-align: center;
  padding: 3.5rem 0;
}
.cta-band h2 { margin: 0 0 0.5rem; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; }
.cta-band p { margin: 0 0 1.25rem; color: var(--on-dark-soft); }
.cta-band .phone-big {
  display: inline-block;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  margin-bottom: 1.1rem;
  transition: color 0.2s ease;
}
.cta-band .phone-big:hover { color: var(--accent); }

/* Forms */
.form-grid { display: grid; gap: 1.1rem; margin-top: 2rem; max-width: 40rem; }
.form-grid label { font-weight: 600; display: block; margin-bottom: 0.35rem; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-grid input:focus-visible, .form-grid textarea:focus-visible, .form-grid select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.form-note { font-size: 0.9rem; color: var(--ink-soft); }
.form-status { font-weight: 600; }

.jotform-embed {
  margin-top: 2rem;
  max-width: 40rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.jotform-embed iframe { display: block; }

/* Contact info */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.75rem; }
.contact-list li { display: flex; gap: 0.6rem; align-items: baseline; }
.contact-list strong { min-width: 5.5rem; }

/* Floating call button (mobile) */
.call-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  box-shadow: var(--shadow-red);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s var(--ease-out), background 0.2s ease;
}
.call-fab:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.call-fab svg { width: 1.2em; height: 1.2em; }
@media (min-width: 860px) { .call-fab { display: none; } }

/* Footer — rich, three columns */
.site-footer {
  background: var(--dark);
  color: var(--on-dark-soft);
  margin-top: 4rem;
  font-size: 0.95rem;
  border-top: 1px solid var(--accent);
}
.footer-grid {
  display: grid;
  gap: 2rem;
  padding-top: 2.75rem;
  padding-bottom: 2rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; } }
.footer-brand .brand { margin-bottom: 0.75rem; }
.footer-brand p { margin: 0; max-width: 34rem; }
.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.85rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}
.footer-bottom p { margin: 0; font-size: 0.88rem; }

/* Scroll reveals — hidden only when JS is running; IntersectionObserver adds .in */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  /* Marquee falls back to a static wrapped list */
  .insurer-marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-track li[aria-hidden="true"] { display: none; }
}
