/* ============================================================
   Durbanville Bodyworks — styles
   Standalone build. Dark/light automotive look after the "Exhaust"
   reference, on the client palette: blue #265CA2, red #BF312C, greys.
   ============================================================ */

:root {
  --blue: #265CA2;
  --blue-600: #1f4d87;
  --blue-300: #5b8bc8;
  --red: #BF312C;
  --red-600: #9f2621;

  --ink: #0f141c;      /* text on light / near-black */
  --dark: #12171f;     /* dark section bg */
  --darker: #0b0f15;   /* strip + footer base */
  --dark-2: #1a2230;   /* raised card on dark */
  --dark-line: rgba(255,255,255,.10);

  /* Neutrals carry a trace of the brand blue rather than sitting at pure white.
     An untinted white next to a blue-grey palette reads cold and detached. */
  --white: #fbfcfe;
  --light: var(--white);
  --on-dark-soft: #cdd6e2;   /* was repeated as a literal in 4 places */
  --tint: #eaeef5;     /* light-blue tinted section */
  --surface: #f4f6f9;
  --line: #e2e7ee;

  --on-dark: #f4f7fb;
  --on-dark-muted: #9aa7b8;
  --on-light: #17202b;
  --on-light-muted: #5a6673;

  --disp: 'Clash Display', system-ui, -apple-system, sans-serif;
  --body: 'General Sans', system-ui, -apple-system, sans-serif;

  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-pill: 999px;
  --sp: clamp(64px, 9vw, 128px);       /* section padding-y */
  --ease: cubic-bezier(.22,.61,.36,1);
  --wrap: 1200px;
}

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--dark);
  color: var(--on-light);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--disp); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em;
  /* balance evens the line lengths so headings stop stranding their last one or
     two words ("Guarantees you can hold / us to"). Unsupported browsers simply
     wrap as before. */
  text-wrap: balance; }
/* pretty only guards the last line, which is what long body copy needs */
p, li { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
@media (max-width:600px){ .wrap { width: min(var(--wrap), 100% - 36px); } }

/* Visually hidden until focused, first thing in the tab order, so a keyboard
   user can jump past the header/nav straight to the page content. */
.skip-link {
  position: absolute; top: -100%; left: 12px; z-index: 100;
  background: var(--blue); color: var(--white); font-family: var(--disp); font-weight: 600;
  font-size: 14px; padding: 12px 18px; border-radius: var(--r-sm);
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- reveal base (GSAP adds .is-in; noscript shows all) ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- shared bits ---------- */
.kicker {
  display: inline-block; font-family: var(--disp); font-weight: 600;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 18px;
  padding: 6px 14px; border-radius: var(--r-pill); background: rgba(38,92,162,.10);
}
.kicker--light { color: #bcd0ea; background: rgba(255,255,255,.10); }
/* The brand blue only clears AA on light ground (5.97:1 on --tint, 2.51:1 on
   --dark). Rather than rely on an author remembering .kicker--light, any dark
   section switches the kicker automatically — the modifier is now belt-and-braces. */
.section--dark .kicker, .section--darker .kicker, .hero .kicker, .reviews .kicker, .faq .kicker {
  color: #bcd0ea; background: rgba(255,255,255,.10);
}
.hl { color: var(--blue); }
.section--dark .hl, .section--darker .hl { color: var(--blue-300); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--disp); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: var(--r-sm); border: 2px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), background-color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(38,92,162,.7); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.section--dark .btn--ghost, .hero .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-2px); }
/* Press feedback: confirms the tap landed before the page navigates away.
   Scale only (no translateY) so it reads as a press, not a second hover. */
.btn:active { transform: scale(.97); }
.btn svg { flex: none; }

/* section heads */
.shead { display: grid; gap: 20px; margin-bottom: 52px; }
@media (min-width:900px){ .shead { grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; } }
.shead h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.shead__aside { color: var(--on-dark-muted); margin: 0; align-self: end; }
.section--light .shead__aside { color: var(--on-light-muted); }
.shead--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.shead--center > div { max-width: 640px; }

.section--dark { background: var(--dark); color: var(--on-dark); padding-block: var(--sp); }
/* Two dark sections in a row shared no boundary and stacked their padding into a
   256px void, so they read as one empty field. Halve the seam and mark it with a
   hairline inset to the content gutter. */
.section--dark + .section--dark { position: relative; padding-top: clamp(48px, 6vw, 80px); }
.section--dark + .section--dark::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--wrap), 100% - 48px); height: 1px; background: var(--dark-line);
}
.section--light { background: var(--light); color: var(--on-light); padding-block: var(--sp); }
.section--tint { background: var(--tint); color: var(--on-light); padding-block: var(--sp); }
.section--dark h2, .section--darker h2 { color: var(--white); }

/* ---------- ribbon ---------- */
.ribbon { background: var(--blue); color: var(--white); text-align: center; font-size: 13px; padding: 8px 16px; }
.ribbon strong { font-weight: 700; }

/* ---------- header ---------- */
.head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,16,22,.0); transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
  padding: 8px 0;
}
.head.is-stuck { background: rgba(11,15,21,.92); backdrop-filter: blur(10px); box-shadow: 0 8px 30px -18px rgba(11,15,21,.8); }
.head__in { display: flex; align-items: center; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: none; gap: 30px; margin-left: 26px; }
@media (min-width:1000px){ .nav { display: flex; } }
.nav a { font-family: var(--disp); font-weight: 500; font-size: 15px; color: #dfe6ef; padding: 6px 0; position: relative; }
/* scaleX rather than width: the underline is composited, not re-laid-out each frame */
.nav a::after { content:""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--blue-300);
  transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.head__cta { display: none; align-items: center; gap: 18px; margin-left: auto; }
@media (min-width:1000px){ .head__cta { display: flex; } }
/* header sits on dark, so its ghost button needs white text + a visible edge
   (otherwise it inherits the dark body text colour and vanishes) */
.head .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.55); }
.head .btn--ghost:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-family: var(--disp); font-weight: 600; font-size: 15px; }
.phone:hover { color: var(--blue-300); }
.burger { display: inline-flex; flex-direction: column; gap: 5px; justify-content: center; align-items: center; margin-left: auto; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; padding: 0; transition: transform .15s var(--ease); }
.burger:active { transform: scale(.9); }
@media (min-width:1000px){ .burger { display: none; } }
.burger span { width: 26px; height: 2.5px; background: var(--white); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7.5px) rotate(-45deg); }

/* mobile nav */
/* Full-viewport panel. The previous version was a partial drop-down that left
   the hero (and a duplicate "Get a free quote" button) visible underneath with
   no scrim. --mnav-top is set from the live header height by app.js so the
   first link always clears the logo, ribbon or no ribbon. */
.mnav {
  position: fixed; inset: 0; z-index: 49;
  background: var(--darker);
  padding: calc(var(--mnav-top, 92px) + 22px) 24px 32px;
  display: grid; gap: 4px; align-content: start;
  overflow-y: auto; overscroll-behavior: contain;
  animation: mdrop .28s var(--ease);
}
.mnav[hidden] { display: none; }
@keyframes mdrop { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
.mnav a { font-family: var(--disp); font-weight: 600; font-size: 20px; color: #eaeef4; padding: 14px 6px; border-bottom: 1px solid var(--dark-line); }
.mnav__call { color: var(--blue-300) !important; }
.mnav__cta { justify-content: center; margin-top: 16px; border: 0; }
.mnav .btn--primary { color: var(--white); }
body.nav-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; background: var(--ink); padding: 120px 0 90px; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content:""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9,12,17,.92) 0%, rgba(9,12,17,.72) 45%, rgba(9,12,17,.35) 100%);
}
/* Full-width wrap so the content aligns to the same left gutter as the logo,
   instead of margin-auto centring the narrow column inside the flex hero. */
.hero__in { position: relative; z-index: 2; }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6.4vw, 5.2rem); letter-spacing: -0.02em; max-width: 15ch; }
.hero__sub { color: var(--on-dark-soft); font-size: clamp(1.05rem, 1.7vw, 1.3rem); max-width: 42ch; margin: 22px 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 34px 0 0; }
.hero__badges li { position: relative; padding-left: 24px; color: var(--on-dark-soft); font-size: 14.5px; font-weight: 500; }
.hero__badges li::before { content:""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(38,92,162,.25); }
.hero__badges li:nth-child(2)::before { background: var(--red); box-shadow: 0 0 0 3px rgba(191,49,44,.25); }

/* ---------- about ---------- */
.about__grid { display: grid; gap: 44px; }
@media (min-width:960px){ .about__grid { grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; } }
.about__media { position: relative; }
.about__media > img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 9/10; object-fit: cover; }
.statcard { position: absolute; right: -8px; bottom: -22px; background: var(--white); color: var(--ink); border-radius: var(--r); padding: 20px 26px; box-shadow: 0 24px 50px -20px rgba(11,15,21,.6); text-align: left; }
.statcard__n { display: block; font-family: var(--disp); font-weight: 700; font-size: 46px; line-height: 1; color: var(--blue); }
.statcard__l { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #57616f; margin-top: 6px; }
.about__body h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 22px; }
/* :not(.kicker) — a bare descendant `p` selector out-specifies the .kicker
   component and silently repaints it grey. Exclude the component rather than
   escalating its specificity, so any future component dropped in here is safe. */
.about__body p:not(.kicker) { color: var(--on-dark-muted); margin: 0 0 18px; }
.about__actions { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.playlink { display: inline-flex; align-items: center; gap: 12px; color: var(--white); font-family: var(--disp); font-weight: 600; font-size: 15px; }
.playlink__ic { width: 44px; height: 44px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); display: grid; place-items: center; color: var(--white); transition: background-color .2s var(--ease), border-color .2s; }
.playlink:hover .playlink__ic { background: var(--blue); border-color: var(--blue); }

/* ---------- services ---------- */
.svcs__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media (min-width:920px){ .svcs__grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width:560px){ .svcs__grid { grid-template-columns: 1fr; } }
.svctile { position: relative; border-radius: var(--r); overflow: hidden; background: var(--dark-2); display: block; min-height: 320px; }
.svctile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svctile::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,20,.15) 30%, rgba(10,14,20,.92) 100%); }
.svctile__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px; }
.svctile__no { font-family: var(--disp); font-weight: 600; font-size: 13px; color: var(--blue-300); letter-spacing: .1em; }
.svctile h3 { color: var(--white); font-size: 1.35rem; margin: 4px 0 8px; }
.svctile p { color: #c3cddb; font-size: 14px; margin: 0; }
.svctile:hover img { transform: scale(1.07); }
/* Reveal-on-hover is an enhancement, not the delivery mechanism. Only devices
   that genuinely support hover get it — on touch there is no hover event, so
   hiding the copy by default loses it permanently. */
@media (hover: hover) and (pointer: fine) {
  /* grid 0fr -> 1fr rather than max-height: it animates to the copy's real
     height, so longer descriptions can't be silently clipped the way a fixed
     80px cap clipped them. */
  .svctile p { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s var(--ease), opacity .3s var(--ease); }
  .svctile p > * { overflow: hidden; }
  .svctile:hover p, .svctile:focus-visible p { grid-template-rows: 1fr; opacity: 1; }
}
.svcs__more { text-align: center; margin: 40px 0 0; color: var(--on-dark-muted); }
.svcs__more a { color: var(--blue-300); font-weight: 600; }
.svcs__more a:hover { text-decoration: underline; }

/* ---------- why us ---------- */
.why__grid { display: grid; gap: 48px; }
@media (min-width:960px){ .why__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; } }
.why__body h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 16px; }
.why__lead { color: var(--on-light-muted); font-size: 1.1rem; margin: 0 0 30px; }
.guar { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.guar li { display: flex; gap: 16px; }
.guar__ic { flex: none; width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; }
.guar__ic--blue { background: rgba(38,92,162,.12); color: var(--blue); }
.guar__ic--red { background: rgba(191,49,44,.12); color: var(--red); }
.guar h3 { font-size: 1.15rem; margin: 2px 0 4px; color: var(--ink); }
.guar p { margin: 0; color: var(--on-light-muted); font-size: 15px; }
.why__media { position: relative; }
.why__media > img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 10/11; object-fit: cover; }
.minicard { position: absolute; left: -8px; bottom: -20px; background: var(--white); border-radius: var(--r); padding: 18px 22px; max-width: 230px; box-shadow: 0 24px 50px -22px rgba(11,15,21,.35); display: grid; gap: 4px; }
.minicard__ic { color: var(--blue); }
.minicard strong { color: var(--ink); font-family: var(--disp); }
.minicard span { color: var(--on-light-muted); font-size: 13px; }

/* ---------- reviews ---------- */
.reviews { position: relative; overflow: hidden; background: var(--ink); padding-block: clamp(80px,10vw,150px); }
.reviews__media { position: absolute; inset: 0; z-index: 0; }
.reviews__media img { width: 100%; height: 100%; object-fit: cover; }
.reviews::after { content:""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,12,17,.95) 0%, rgba(9,12,17,.7) 55%, rgba(9,12,17,.4) 100%); }
.reviews__in { position: relative; z-index: 2; }
.reviews__card { max-width: 620px; }
.reviews__card h2 { color: var(--white); font-size: clamp(2rem,4vw,3rem); margin-bottom: 26px; }
.quote { margin: 0; position: relative; }
.quote__mark { color: var(--blue-300); opacity: .8; margin-bottom: 10px; }
.quote p { color: #e7edf4; font-size: clamp(1.15rem,2vw,1.5rem); line-height: 1.5; font-weight: 500; margin: 0 0 22px; }
.quote footer { display: flex; flex-direction: column; }
.quote__who { color: var(--white); font-family: var(--disp); font-weight: 600; }
.quote__src { color: var(--on-dark-muted); font-size: 14px; }
/* ---- Reviews carousel -----------------------------------------------------
   The heading stays inside the 620px column where the section's gradient is
   heaviest; the carousel is allowed to run wider so three cards fit. Scrolling
   is native CSS scroll-snap, so it works with JavaScript disabled and under
   reduced motion — the arrows only enhance it. */
.reviews__card { max-width: none; }
.reviews__card .kicker,
.reviews__card h2,
.reviews__rating { max-width: 620px; }

.rcar { position: relative; margin-top: 30px; }

.rcar__track {
  display: grid;
  grid-auto-flow: column;
  /* three across on desktop, accounting for the two 18px gaps */
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  margin: 0;
  padding: 0 0 4px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.rcar__track::-webkit-scrollbar { display: none; }
.rcar__track:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 4px; border-radius: 14px; }

/* Own surface, not bare text on the photo: the cards run past the gradient's
   dark end onto the brighter part of the image. */
.rcard {
  scroll-snap-align: start;
  background: rgba(10, 14, 20, .74);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
}
@supports (backdrop-filter: blur(6px)) {
  .rcard { background: rgba(10, 14, 20, .58); backdrop-filter: blur(8px); }
}

.rcard .quote { display: flex; flex-direction: column; height: 100%; }
.rcard .quote p { font-size: 1rem; line-height: 1.6; margin: 0 0 16px; font-weight: 400; }
.rcard .quote footer { margin-top: auto; flex-direction: row; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rcard .quote__src::before { content: "·"; margin-right: 10px; color: var(--on-dark-muted); }

.rcar__nav { display: flex; gap: 10px; margin-top: 18px; }
/* set by app.js when all cards fit — no point showing two dead buttons */
.rcar--static .rcar__nav { display: none; }
.rcar__btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
  cursor: pointer;
  transition: background .18s ease, opacity .18s ease;
}
.rcar__btn:hover { background: rgba(255,255,255,.18); }
.rcar__btn:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 3px; }
.rcar__btn[disabled] { opacity: .35; cursor: default; }
.rcar__btn[disabled]:hover { background: rgba(255,255,255,.08); }

@media (max-width: 900px) {
  /* one and a bit cards, so the cut-off edge signals there's more to scroll */
  .rcar__track { grid-auto-columns: 86%; }
}
@media (max-width: 640px) {
  /*
   * A PERCENTAGE peek lands wherever the arithmetic puts it, and on a phone
   * 86% left about 50px of the next card showing - which is 22px of its
   * padding plus ~28px of text, so the card's second column rendered as a
   * vertical strip of single letters running off the screen. It reads as a
   * broken layout rather than as "there is more to swipe".
   *
   * A FIXED peek cannot land mid-word: 22px is exactly the card's horizontal
   * padding, so what shows is the rounded edge and its background and the
   * text begins past the viewport. Same affordance, no sliced letters, and it
   * holds at every phone width instead of only the one it was tuned at.
   */
  .rcar__track { grid-auto-columns: calc(100% - 22px); }
}
@media (prefers-reduced-motion: reduce) {
  .rcar__btn { transition: none; }
}

.reviews__cta { margin-top: 34px; }

/* ---------- trust note (used standalone on Our Work as the placeholder-gallery disclaimer) ---------- */
.trust__note { text-align: center; color: #5a6473; font-size: 12px; margin: 26px 0 0; }

/* ---------- process ---------- */
.proc__steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; grid-template-columns: 1fr; counter-reset: p; }
@media (min-width:720px){ .proc__steps { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1000px){ .proc__steps { grid-template-columns: repeat(4,1fr); } }
.proc__steps li { position: relative; padding: 30px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.proc__no { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue); color: var(--white); font-family: var(--disp); font-weight: 700; font-size: 20px; margin-bottom: 16px; }
.proc__steps li:nth-child(4) .proc__no { background: var(--red); }
.proc h3 { font-size: 1.2rem; margin: 0 0 8px; color: var(--ink); }
.proc p:not(.kicker) { margin: 0; color: var(--on-light-muted); font-size: 15px; }

/* ---------- contact ---------- */
.contact__grid { display: grid; gap: 44px; }
@media (min-width:920px){ .contact__grid { grid-template-columns: 0.9fr 1.1fr; gap: 60px; } }
.contact__body h2 { font-size: clamp(2.1rem,4.4vw,3.3rem); margin-bottom: 16px; }
.contact__lead { color: var(--on-light-muted); margin: 0 0 30px; max-width: 42ch; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ic { flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--white); border: 1px solid var(--line); color: var(--blue); display: grid; place-items: center; }
.contact__k { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-light-muted); font-weight: 600; }
.contact__list a { color: var(--ink); font-weight: 600; }
.contact__list a:hover { color: var(--blue); }

.cform { scroll-margin-top: 90px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 30px 60px -40px rgba(15,20,28,.4); }
.cform__row { display: grid; gap: 16px; }
@media (min-width:560px){ .cform__row { grid-template-columns: 1fr 1fr; } }
.cform__row + .cform__row, .cform .field { margin-top: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--on-light); }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); transition: border-color .18s var(--ease), background-color .18s;
}
/* Keep a real focus-visible outline rather than replacing it with the border
   tint alone — a 1.5px border-color change is too weak to meet the site's own
   focus-visibility bar (see the global :focus-visible rule above). */
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 1px; border-color: var(--blue); background: var(--white); }
.field input:focus, .field textarea:focus { border-color: var(--blue); background: var(--white); }
.field textarea { resize: vertical; }
.cform__send { width: 100%; justify-content: center; margin-top: 22px; }
.cform__note { text-align: center; font-size: 12.5px; color: var(--on-light-muted); margin: 14px 0 0; }

/* ---------- footer ---------- */
.foot { position: relative; overflow: hidden; background: var(--darker); color: var(--on-dark); padding-block: clamp(56px,7vw,90px) 26px; }
.foot__media { position: absolute; inset: 0 0 auto auto; width: 55%; height: 100%; z-index: 0; opacity: .13; }
.foot__media img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.foot__in { position: relative; z-index: 2; }
.foot__top { display: grid; gap: 40px; }
@media (min-width:900px){ .foot__top { grid-template-columns: 1.1fr 2fr; gap: 60px; } }
.foot__brand img { height: 46px; width: auto; margin-bottom: 18px; }
.foot__brand p { color: var(--on-dark-muted); max-width: 34ch; margin: 0; }
.foot__cols { display: grid; gap: 32px; grid-template-columns: repeat(2,1fr); }
@media (min-width:640px){ .foot__cols { grid-template-columns: repeat(3,1fr); } }
.foot__cols h3 { font-family: var(--disp); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); margin: 0 0 16px; }
.foot__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot__cols a { color: #c3ccd8; font-size: 15px; }
.foot__cols a:hover { color: var(--white); }
.foot__cols li { color: #c3ccd8; font-size: 15px; }
.foot__bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--dark-line); }
/* Was #6b7787 (4.21:1 on --darker, fails WCAG AA) — the site's own
   established muted-on-dark token already clears it at 7.86:1. */
.foot__bar span { color: var(--on-dark-muted); font-size: 13px; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
/* padding-block brings the tap target up to the WCAG 2.2 24px minimum —
   13px text alone rendered a ~21px hit area. */
.foot__legal a { display: inline-block; padding-block: 3px; color: #8b97a8; font-size: 13px; }
.foot__legal a:hover { color: var(--white); text-decoration: underline; }

/* ---------- back to top ---------- */
.totop { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--white); display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s var(--ease), transform .25s var(--ease), background-color .2s; box-shadow: 0 12px 26px -12px rgba(38,92,162,.8); }
.totop.is-on { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { background: var(--blue-600); }
.totop.is-on:active { transform: scale(.92); }
/* Lifted clear of the sticky call/quote bar (68px + safe-area) wherever both
   can be on screen together, so one never sits on top of the other. */
@media (max-width: 999px) {
  .totop.is-on { bottom: calc(68px + env(safe-area-inset-bottom) + 14px); }
}

/* ---------- sticky mobile call / quote bar ----------
   The header's phone number + "Get a quote" button (.head__cta) only render
   at 1000px+, and the burger menu replaces them below that — so under 1000px
   there is otherwise no persistent path to call or quote once the hero's own
   buttons scroll out of view. Same show-after-scroll pattern as .totop
   (mirrors it exactly: a .is-on class toggled by app.js), and desktop-hidden
   outright rather than just visually hidden, so it never intercepts taps on
   a pointer device that happens to have a narrow window. */
.stickybar {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 45;
  display: flex; gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11,15,21,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--dark-line);
  transform: translateY(100%); transition: transform .28s var(--ease);
  box-shadow: 0 -12px 30px -18px rgba(11,15,21,.6);
}
.stickybar.is-on { transform: none; }
.stickybar .btn { flex: 1; justify-content: center; }
/* Same fix as .head .btn--ghost: the bar sits on a dark background, so the
   ghost button needs an explicit light colour instead of inheriting the
   page's default dark body text, which would be unreadable here. */
.stickybar .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.stickybar .btn--ghost:hover { background: var(--blue); border-color: var(--blue); }
@media (min-width: 1000px) { .stickybar { display: none; } }
@media (prefers-reduced-motion: reduce) { .stickybar { transition: none; } }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .mnav { animation: none; }
}

/* ============================================================
   Inner pages
   ============================================================ */

/* page hero — compact dark banner with breadcrumb + title */
.phero { position: relative; overflow: hidden; background: var(--ink); padding: 150px 0 66px; }
.phero__media { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content:""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,12,17,.95), rgba(9,12,17,.6)); }
.phero__in { position: relative; z-index: 2; }
.phero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.crumb { display: flex; gap: 8px; align-items: center; color: var(--on-dark-muted); font-size: 14px; margin-bottom: 16px; }
.crumb a { color: var(--blue-300); }
.crumb a:hover { text-decoration: underline; }
.crumb span { opacity: .6; }
.phero__lead { color: var(--on-dark-soft); max-width: 56ch; margin: 16px 0 0; font-size: 1.08rem; }

/* service detail — alternating image + text rows */
.svcrow { display: grid; gap: 40px; align-items: center; }
.svcrow + .svcrow { margin-top: clamp(48px, 7vw, 96px); }
@media (min-width:900px){ .svcrow { grid-template-columns: 1fr 1fr; gap: 64px; } .svcrow--flip .svcrow__media { order: 2; } }
.svcrow__media { position: relative; }
.svcrow__media img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 4/3; object-fit: cover; }
.svcrow__no { position: absolute; top: 16px; left: 16px; width: 52px; height: 52px; border-radius: 12px; background: var(--blue); color: var(--white); display: grid; place-items: center; font-family: var(--disp); font-weight: 700; font-size: 20px; }
.svcrow h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.svcrow > div > p { color: var(--on-light-muted); margin: 0 0 18px; }
.section--dark .svcrow > div > p { color: var(--on-dark-muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: inherit; font-size: 15px; }
.ticks svg { flex: none; color: var(--blue); margin-top: 3px; }
.section--dark .ticks svg { color: var(--blue-300); }

/* gallery grid */
.gallery { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width:680px){ .gallery { grid-template-columns: repeat(2,1fr); } }
.gitem { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/2; background: var(--dark-2); }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gitem::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(9,12,17,.85)); }
.gitem figcaption { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 16px 18px; color: var(--white); font-family: var(--disp); font-weight: 600; font-size: 15px; }
.gitem:hover img { transform: scale(1.06); }

/* CTA band */
.ctaband { background: var(--blue); color: var(--white); text-align: center; padding: clamp(56px,7vw,90px) 0; }
.ctaband h2 { color: var(--white); font-size: clamp(2rem,4vw,3rem); margin-bottom: 14px; }
.ctaband p { color: #e6eefb; max-width: 52ch; margin: 0 auto 28px; }
.ctaband .btn--primary { background: var(--white); color: var(--blue); }
.ctaband .btn--primary:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.ctaband .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.6); }
.ctaband .btn--ghost:hover { background: rgba(255,255,255,.14); border-color: var(--white); }
.ctaband__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* map */
.cmap { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); position: relative; aspect-ratio: 16/7; background: var(--surface); }

/* legal prose */
.legal { max-width: 70ch; }
.legal__updated { font-size: 14px; color: var(--on-light-muted); margin: 0 0 22px; }
.legal__intro { font-size: 1.12rem; color: var(--ink); margin: 0 0 34px; }
.legal section { margin-bottom: 30px; }
.legal h2 { font-size: clamp(1.3rem,2.4vw,1.7rem); margin-bottom: 12px; }
.legal p { color: var(--on-light-muted); margin: 0 0 12px; }
.legal a { color: var(--blue); }

/* ============================================================
   Google rating badge
   ============================================================ */
.grating { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.grating__stars { position: relative; display: inline-block; font-size: 19px; line-height: 1; letter-spacing: 3px; white-space: nowrap; }
.grating__stars::before { content: "\2605\2605\2605\2605\2605"; color: rgba(140,150,165,.35); }
.grating__stars::after { content: "\2605\2605\2605\2605\2605"; color: #f5a623; position: absolute; inset: 0; width: var(--pct,82%); overflow: hidden; }
.grating__num { font-family: var(--disp); font-weight: 700; font-size: 18px; }
.grating__txt { font-size: 14px; opacity: .85; }
.grating--dark .grating__num { color: var(--white); }
.grating--dark .grating__txt { color: var(--on-dark-soft); }
.grating:hover .grating__txt { text-decoration: underline; }
/* hero variant sits on its own line */
.hero__rating { margin: 26px 0 4px; }

/* ============================================================
   FAQ (native <details> accordion)
   ============================================================ */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.qa { border: 1px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--disp); font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 22px; height: 22px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23265CA2' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform .25s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa__a { padding: 0 22px 22px; color: var(--on-light-muted); }
.qa__a p { margin: 0; }

/* ============================================================
   Partner / callout (Naked partnership highlight)
   ============================================================ */
.callout { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; max-width: 820px; margin-inline: auto; }
.section--dark .callout { background: var(--dark-2); border-color: var(--dark-line); }
.callout__ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(38,92,162,.12); color: var(--blue); display: grid; place-items: center; }
.callout h3 { font-size: 1.15rem; margin: 0 0 4px; color: var(--ink); }
.section--dark .callout h3 { color: var(--white); }
.callout p { margin: 0; color: var(--on-light-muted); font-size: 15px; }
.section--dark .callout p { color: var(--on-dark-muted); }

/* claims page steps (numbered, vertical) */
.claimsteps { list-style: none; padding: 0; margin: 40px auto 0; counter-reset: c; display: grid; gap: 4px; max-width: 760px; }
.claimsteps li { position: relative; padding: 24px 0 24px 76px; border-top: 1px solid var(--line); }
.claimsteps li::before { counter-increment: c; content: counter(c); position: absolute; left: 0; top: 22px; width: 50px; height: 50px; border-radius: 13px; background: var(--blue); color: var(--white); font-family: var(--disp); font-weight: 700; font-size: 22px; display: grid; place-items: center; }
.claimsteps h3 { font-size: 1.2rem; margin: 4px 0 6px; color: var(--ink); }
.claimsteps p { margin: 0; color: var(--on-light-muted); }

.reviews__rating { margin: 20px 0 6px; }

.proc__more { text-align: center; margin: 40px 0 0; color: var(--on-light-muted); }
.proc__more a { color: var(--blue); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(38,92,162,.35); }
.proc__more a:hover { border-bottom-color: var(--blue); }

/* ============================================================
   Brand marquee — makes we work on
   ============================================================ */
.brands { padding-top: clamp(48px,6vw,74px); padding-bottom: clamp(48px,6vw,74px); overflow: hidden; }
.brands__label { text-align: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-light-muted); font-weight: 600; margin: 0 0 34px; }
.brandmq { position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.brandmq__track { display: flex; align-items: center; width: max-content; animation: brandscroll 42s linear infinite; }
.brandmq:hover .brandmq__track, .brandmq:focus-within .brandmq__track { animation-play-state: paused; }
/* per-item right margin (not flex gap) so translateX(-50%) loops seamlessly */
.brandmq__item { flex: none; height: 46px; display: grid; place-items: center; margin-right: clamp(40px, 6vw, 74px); }
.brandmq__item img { max-height: 40px; max-width: 150px; width: auto; height: auto; object-fit: contain; display: block;
  filter: grayscale(1); opacity: .6; transition: opacity .3s var(--ease), filter .3s var(--ease); }

/* Car-brand row only (the insurer carousel on Services keeps the base sizing).
   Constraining by height alone let wide marks render 150px against tall ones at
   38px — a 4x spread reading as four times the visual weight. A fixed optical
   box plus per-mark trims evens out the perceived area instead.
   Matched on src, not alt: the duplicated half of the loop carries alt="" so it
   stays out of the accessibility tree, and alt selectors would size only half. */
.brands .brandmq__item { width: 104px; margin-right: clamp(26px, 3.6vw, 48px); }
.brands .brandmq__item img { max-height: 34px; max-width: 100%; }
.brands .brandmq__item img[src*="KIA"]        { max-height: 24px; }
.brands .brandmq__item img[src*="Ford"]       { max-height: 29px; }
.brands .brandmq__item img[src*="Renault"],
.brands .brandmq__item img[src*="Chevrolet"],
.brands .brandmq__item img[src*="Citroen"]    { max-height: 29px; }
.brands .brandmq__item img[src*="Volkswagen"],
.brands .brandmq__item img[src*="audi"],
.brands .brandmq__item img[src*="Opel"],
.brands .brandmq__item img[src*="Nissan"],
.brands .brandmq__item img[src*="mazda"]      { max-height: 38px; }
.brandmq__item:hover img { filter: grayscale(0); opacity: 1; }
@keyframes brandscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .brandmq { overflow-x: auto; }
  .brandmq__track { animation: none; }
}

/* contact page — departmental email list */
.contact__emails { display: grid; gap: 8px; margin-top: 4px; }
.contact__emails a { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-weight: 500; }
.contact__emails .role { font-family: var(--disp); font-weight: 600; font-size: 13px; color: var(--ink); min-width: 86px; }
.contact__emails .addr { color: var(--blue); font-weight: 600; }
.contact__emails a:hover .addr { text-decoration: underline; }

.legal ul { margin: 4px 0 16px; padding-left: 22px; color: var(--on-light-muted); }
.legal li { margin: 0 0 7px; }

/* ============================================================
   Approvals — accreditation + insurer logos (real artwork, light bg)
   ============================================================ */
.approvals__label { text-align: center; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-light-muted); font-weight: 600; margin: 0 0 26px; }
.approvals__label--sep { margin-top: 6px; }
.logorow { list-style: none; padding: 0; margin: 0 auto 48px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 46px; }
.logorow img { display: block; width: auto; height: auto; object-fit: contain; }
.logorow--accred { max-width: 860px; }
.logorow--accred img { max-height: 58px; max-width: 168px; }
.logorow--insurers { max-width: 940px; gap: 24px 42px; }
.logorow--insurers img { max-height: 40px; max-width: 130px; }
.approvals__note { text-align: center; color: var(--on-light-muted); font-size: 14.5px; margin: 4px 0 0; }
@media (max-width: 600px) {
  .logorow { gap: 22px 30px; }
  .logorow--accred img { max-height: 46px; max-width: 130px; }
  .logorow--insurers img { max-height: 34px; max-width: 104px; }
}

/* wider real wordmark: ease header logo down on small screens so it clears the burger */
@media (max-width: 560px) { .brand img { height: 38px; } }

/* approvals: linked logos + emphasised partner + full-colour insurer marquee */
.logorow a { display: inline-flex; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.logorow a:hover { opacity: .72; }
.logorow--partner { margin-bottom: 40px; }
.logorow--partner img { max-height: 66px; max-width: 190px; }
.brandmq--color .brandmq__item img { filter: none; opacity: 1; }
@media (max-width: 600px) { .logorow--partner img { max-height: 52px; max-width: 150px; } }

/* ---------- mobile: compact, horizontal About/Why feature images ---------- */
@media (max-width: 959px) {
  /* About: text first, then the image + stat card */
  .about__body { order: 1; }
  .about__media { order: 2; max-width: 460px; margin-inline: auto; }
  /* Why: image + minicard */
  .why__media { max-width: 460px; margin-inline: auto; }
  /* landscape crop so they read as short banners, not long vertical blocks
     (height:auto lets aspect-ratio win over the width/height HTML attributes) */
  .about__media > img,
  .why__media > img { aspect-ratio: 16 / 10; height: auto; }
}
@media (max-width: 600px) {
  .statcard { padding: 14px 18px; right: -4px; bottom: -16px; }
  .statcard__n { font-size: 34px; }
  .minicard { padding: 14px 16px; max-width: 200px; left: -4px; }
}

/* desktop only: bring the About/Why portrait images down to a 4:5 ratio
   (they were rendering full-height because of the width/height HTML attributes) */
@media (min-width: 960px) {
  .about__media > img,
  .why__media > img { aspect-ratio: 4 / 5; height: auto; }
}

/* contact map is now a self-hosted static image linking to directions (no third-party iframe) */
/* The tile attribution baked into map.webp gets cropped by object-fit, so the
   OpenStreetMap credit is carried in real text instead. This is a licence
   requirement of the ODbL, not a styling preference. */
.cmap__credit { text-align: center; font-size: 12px; color: var(--on-light-muted); margin: 12px 0 0; }
.cmap__credit a { color: var(--on-light-muted); text-decoration: underline; }
.cmap__credit a:hover { color: var(--blue); }

.cmap a { display: block; width: 100%; height: 100%; }
.cmap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.cmap:hover img { transform: scale(1.04); }

/* ---------- form status (injected by app.js; the mailto hand-off is invisible
   on its own, so the visitor gets an explicit confirmation + a fallback) ---------- */
.cform__status { margin: 14px 0 0; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.5; }
.cform__status:empty { display: none; }
.cform__status--ok { background: rgba(38,92,162,.09); border: 1px solid rgba(38,92,162,.28); color: var(--ink); }
.cform__status a { color: var(--blue); font-weight: 600; text-decoration: underline; }

/* ---------- hero headline: per-line reveal (built by splitLines() in app.js) ---------- */
.hline { display: block; overflow: hidden; }
.hline__i { display: block; }

/* mobile-only line break inside headings (hidden on larger screens) */
.mbr { display: none; }
@media (max-width: 600px) {
  .mbr { display: inline; }
  /* map was a thin wide strip on phones; make it taller so it's readable */
  .cmap { aspect-ratio: 4 / 3; }
}
