/* =========================================================================
   KO Auto Detailing: styles for every page
   Colours come from the logo (near-black, silver, light blue).
   All text/background pairs below are checked to WCAG AA contrast (4.5:1+).
   ========================================================================= */

:root {
  /* Colours */
  --black: #050507;        /* matches the logo background */
  --charcoal: #121419;
  --line-dark: #262A31;
  --ink: #16191E;          /* main text on light backgrounds */
  --muted: #555D69;        /* secondary text on light backgrounds */
  --paper: #FFFFFF;
  --mist: #F3F4F6;         /* alternate light section background */
  --line: #DFE2E6;
  --on-dark: #EEF0F2;      /* main text on dark backgrounds */
  --on-dark-muted: #A7AEB7;
  --silver: #C9CDD2;
  --blue: #5AACEB;         /* logo blue: for dark backgrounds only */
  --link: #1D5E96;         /* darker blue: for links on light backgrounds */
  --green: #0B7A55;        /* WhatsApp button (darker than WhatsApp's own green so white text passes) */
  --green-hover: #086445;

  /* Spacing and shape */
  --gutter: 16px;
  --radius: 10px;
  --max: 1120px;
  --bar-h: 72px;           /* height of the fixed WhatsApp bar on phones */

  /* Type: the device's own fonts, no downloads */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
  scroll-padding-bottom: calc(var(--bar-h) + 16px + env(safe-area-inset-bottom)); }   /* keyboard focus never hides behind the WhatsApp bar */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  /* room for the fixed WhatsApp bar so it never covers the footer (phones only, see below) */
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
}

img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 5vw, 2.25rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; text-wrap: pretty; }   /* "pretty" avoids a single word alone on the last line */
a { color: var(--link); text-underline-offset: 3px; }

/* Visible keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 12px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Content-section colours ----------
   One switch on <html data-colour="..."> sets every content section:
   "light" (option B): dark header, hero, bands and footer, with one calm off-white for all
                       content in between (no white/grey alternating).
   "dark"  (option A): the whole site stays dark; content sits on slightly lighter dark cards. */
:root, html[data-colour="light"] {
  --sec-bg: #F4F5F7;  --sec-bg-alt: #F4F5F7;
  --card-bg: #FFFFFF; --card-line: #DFE2E6;
  --sec-ink: var(--ink); --sec-muted: var(--muted); --sec-link: var(--link);
  --sec-tick: #1D5E96;
  --outline: #7A828E; --outline-hover: rgba(22, 25, 30, .05);
}
html[data-colour="dark"] {
  --sec-bg: #050507;  --sec-bg-alt: #0B0D11;
  --card-bg: #121419; --card-line: #262A31;
  --sec-ink: var(--on-dark); --sec-muted: var(--on-dark-muted); --sec-link: var(--blue);
  --sec-tick: var(--blue);
  --outline: #7E8792; --outline-hover: rgba(238, 240, 242, .07);
}
html[data-colour="dark"] body { background: var(--black); }   /* no white strip behind the WhatsApp bar */
.section { padding: 64px 0; background: var(--sec-bg); color: var(--sec-ink); }
.section--mist { background: var(--sec-bg-alt); }
.section a:not(.btn) { color: var(--sec-link); }
.eyebrow {
  font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sec-muted); margin-bottom: .75em;
}
.section-lead { font-size: 1.1rem; color: var(--sec-muted); max-width: 46ch; margin-bottom: 32px; }
.small-print { font-size: .92rem; color: var(--sec-muted); margin-top: 14px; }

/* ---------- Packages ---------- */
.packages { display: grid; gap: 16px; }
.package {
  background: var(--card-bg); border: 1px solid var(--card-line); border-radius: 14px;
  padding: 24px 20px; display: flex; flex-direction: column;
}
.package-head { border-bottom: 1px solid var(--card-line); padding-bottom: 16px; margin-bottom: 4px; }
.package h3 { margin: 0; }
.package-price { font-size: 2.1rem; font-weight: 700; margin: 6px 0 4px; line-height: 1.1; }
.package-price span { font-size: .95rem; font-weight: 500; color: var(--sec-muted); margin-right: 2px; }
.package-sum { color: var(--sec-muted); margin: 0; font-size: .97rem; }
.package-group {
  font-size: .78rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sec-muted); margin: 18px 0 8px;
}
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 0 0 7px; line-height: 1.45; font-size: .97rem; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px;
  border-left: 2px solid var(--sec-tick); border-bottom: 2px solid var(--sec-tick); transform: rotate(-45deg);
}
.ticks small { display: block; color: var(--sec-muted); font-size: .85rem; margin-top: 2px; }
.package-builds { font-weight: 600; margin: 18px 0 0; }
.package-builds + .package-group { margin-top: 12px; }
.package-builds + .ticks { margin-top: 12px; }
/* margin-top:auto pushes the button to the bottom, so all three line up */
.package-cta { margin-top: auto; width: 100%; }
.package .ticks:last-of-type { margin-bottom: 24px; }
/* Outlined button: clearly visible border so it reads as a button (3:1+ against the card) */
.btn.btn--outline { border-color: var(--outline); color: var(--sec-ink); background: transparent; }
.btn.btn--outline:hover { border-color: var(--sec-ink); background: var(--outline-hover); }

.finishing-touch {
  display: flex; gap: 14px; align-items: flex-start; max-width: none;
  background: var(--card-bg); border: 1px solid var(--card-line); border-radius: 14px;
  padding: 18px 20px; margin: 16px 0 0;
}
.finishing-touch svg { width: 26px; height: 26px; flex: none; color: var(--sec-tick); margin-top: 1px; }

/* ---------- Price table and add-ons ---------- */
.table-title { margin-top: 48px; }
.table-wrap { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: 14px; overflow: hidden; }
.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.price-table th, .price-table td { padding: 14px 12px; text-align: right; border-bottom: 1px solid var(--card-line); }
.price-table th:first-child { text-align: left; }
.price-table thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sec-muted); font-weight: 650; }
.price-table tbody th { font-weight: 600; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td { font-variant-numeric: tabular-nums; font-weight: 600; }

/* ---------- Regular maintenance ---------- */
/* Phone: a short, wide crop above the heading (2:1, so it adds little length) */
.maint-media { margin-bottom: 28px; border-radius: 14px; overflow: hidden; }
.maint-media img {
  width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover;
  object-position: 50% 30%;   /* strip showing face, hand and the green microfibre cloth */
}
.maint-table td.usual { color: var(--sec-muted); font-weight: 500; }
/* Table headers: short on phones so they don't stack, full on wider screens.
   The full text stays readable to screen readers on phones too. */
.hdr-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hdr-short { display: inline; }
@media (min-width: 640px) {
  .hdr-long { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .hdr-short { display: none; }
}
.steps { list-style: none; counter-reset: step; margin: 0 0 8px; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; min-height: 36px; color: var(--sec-muted); }
.steps li strong { display: block; color: var(--sec-ink); font-weight: 650; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--outline); color: var(--sec-ink); font-weight: 700; font-size: .95rem;
}
.maint-table th, .maint-table td { width: 25%; }
.maint-table thead th .off { display: block; color: var(--sec-tick); letter-spacing: .06em; margin-top: 3px; }
.maint-table td { font-size: 1.1rem; }
.maint-cta { margin-top: 24px; }

/* ---------- My work ---------- */
.ba-grid { display: grid; gap: 12px; }
.ba-card { margin: 0; background: var(--card-bg); border: 1px solid var(--card-line); border-radius: 14px; overflow: hidden; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--card-line); }
.ba-half { position: relative; margin: 0; }
.ba-half img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-label {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 6px;
  background: rgba(5, 5, 7, .78); color: #fff; font-size: .8rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
}

/* Featured row (phone): video full width, then the two before & afters */
.work-feature { display: grid; gap: 12px; margin-top: 24px; }
.feature-video { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--charcoal); }
.feature-video video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; }

/* Gallery. Phone: 2 columns, square tiles; wide photos span both columns. */
.gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px;
  grid-auto-rows: calc((min(100vw, var(--max)) - 2 * var(--gutter) - 8px) / 2);
}
.tile { margin: 0; border-radius: 12px; overflow: hidden; background: var(--card-bg); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--wide { grid-column: span 2; }
.tile--audi { grid-column: span 2; }   /* phone: wide, so the grid has no gaps */
.tile--audi img { object-position: 30% 50%; }   /* desktop square crop centred on the car */

/* Small text links (to Good to know, Google reviews): plain links, not buttons */
.text-link { margin: 10px 0 0; font-size: .95rem; }
.text-link a { display: inline-block; padding: 10px 0; min-height: 44px; font-weight: 600; text-decoration: none; }
.text-link a:hover { text-decoration: underline; }
.reviews-more { margin-top: 12px; }
.reviews-leave { margin-top: -6px; }
.section .reviews-leave a { font-weight: 500; color: var(--sec-muted); text-decoration: underline; text-underline-offset: 4px; }   /* second line: quieter */
.section .reviews-leave a:hover { color: var(--sec-ink); }
.nowrap { white-space: nowrap; }

/* Instagram line under the grid */
.work-more { margin: 20px 0 0; text-align: center; max-width: none; }
.work-more a { display: inline-block; padding: 10px 0; min-height: 44px; font-weight: 600; text-decoration: none; line-height: 1.5; }   /* wraps naturally as one line of text */
.work-more a:hover { text-decoration: underline; }
.work-more svg { width: 20px; height: 20px; vertical-align: -4px; margin-right: 8px; }
.work-more span { display: block; color: var(--sec-muted); font-weight: 500; }   /* phone: handle on its own line */
@media (min-width: 640px) { .work-more span { display: inline; margin-left: 6px; } }

/* ---------- Split sections (booking, areas): photo + text ---------- */
.split-media { margin-bottom: 28px; border-radius: 14px; overflow: hidden; }
.split-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 55%; }
.split-media--desktop { display: none; }
#areas .split-media img { object-position: 45% 55%; }   /* glove and wheel */   /* booking photo on desktop only */
.split-cta { margin-top: 20px; }
.steps + .small-print { margin-top: 18px; }

/* ---------- Reviews: swipe sideways on phones ---------- */
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: 85%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin-top: 24px;
  scrollbar-width: thin;
}
.review {
  margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between;
  background: var(--card-bg); border: 1px solid var(--card-line); border-radius: 14px; padding: 22px 20px;
}
.review blockquote { margin: 0 0 18px; font-size: .98rem; line-height: 1.6; }
.review blockquote::before { content: "\201C"; display: block; font-size: 2.4rem; line-height: 1; color: var(--sec-tick); margin-bottom: 4px; }
.review figcaption { color: var(--sec-muted); font-size: .92rem; }
.review figcaption strong { color: var(--sec-ink); margin-right: 8px; }
.reviews-hint { color: var(--sec-muted); font-size: .88rem; text-align: right; margin: 8px 0 0; max-width: none; }

/* ---------- Areas ---------- */
.area-list { font-weight: 600; margin-bottom: 8px; }   /* plain text: these are not buttons */
.needs { margin-top: 4px; }

/* Main video tile: big play button and a small label; plays only when tapped */
.film-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85);
  background: rgba(5, 5, 7, .6); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.film-play svg { width: 34px; height: 34px; margin-left: 4px; }
.film-play:hover { background: rgba(5, 5, 7, .8); }
.film-play[hidden], .film-label[hidden] { display: none; }
.film-label {
  position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 6px;
  background: rgba(5, 5, 7, .78); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .03em;
}

.addons { list-style: none; margin: 0; padding: 0; background: var(--card-bg); border: 1px solid var(--card-line); border-radius: 14px; }
.addons li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 14px 18px; border-bottom: 1px solid var(--card-line);
}
.addons li:last-child { border-bottom: 0; }
.addons small { display: block; color: var(--sec-muted); font-size: .85rem; }
.addons b { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- Buttons (all at least 48px tall: easy to tap) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--radius); border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--whatsapp { background: var(--green); color: #fff; }
.btn--whatsapp:hover { background: var(--green-hover); }
.btn--ghost-dark { border-color: rgba(238, 240, 242, .55); color: var(--on-dark); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--on-dark); }

/* ---------- Header ---------- */
.site-header { background: var(--black); color: var(--on-dark); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--on-dark); text-decoration: none; }
.brand img { width: 56px; height: 56px; }
.brand-name { font-weight: 700; letter-spacing: .02em; font-size: 1.05rem; line-height: 1.2; }
.brand-name small { display: block; font-weight: 500; color: var(--on-dark-muted); font-size: .8rem; letter-spacing: .04em; }

.header-nav { display: none; }   /* shown on wider screens */
.header-nav a {
  color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 12px 10px; min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center;
}
.header-nav a:hover { color: var(--blue); }
.header-nav a[aria-current="page"] { color: var(--blue); }   /* the page you are on */

.header-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 48px; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.header-call svg { width: 20px; height: 20px; }
.header-whatsapp { display: none; }  /* desktop only */

/* ---------- Hero ---------- */
.hero { background: var(--black); color: var(--on-dark); overflow: hidden; }
.hero-media { position: relative; margin: 0 calc(-1 * var(--gutter)); }  /* photo runs edge to edge on phones */
.hero-media img {
  width: 100%; height: max(min(72svh, 133vw), 420px); object-fit: cover; object-position: 50% 30%;   /* at least 420px, so on short screens (or 200% zoom) the headline sits below the face */
}
/* fade the photo into black where the text sits, so text stays readable */
.hero-media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
  background: linear-gradient(to bottom, rgba(5, 5, 7, 0) 0%, rgba(5, 5, 7, .85) 70%, var(--black) 100%);
}
.hero-text { position: relative; margin-top: -6.5rem; padding-bottom: 48px; }
.hero-text h1 { color: #fff; max-width: 14ch; }
.hero-lead { font-size: 1.15rem; color: var(--on-dark); max-width: 34ch; }
.hero-note { color: var(--on-dark-muted); font-size: .95rem; margin-top: 18px; margin-bottom: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-actions .btn { flex: 1 1 auto; }

/* ---------- Reassurance strip ---------- */
.reassure { background: var(--charcoal); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.reassure ul {
  list-style: none; margin: 0; padding: 28px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px;
}
.reassure li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; line-height: 1.35; }
.reassure li span { display: block; font-weight: 400; color: var(--on-dark-muted); font-size: .9rem; margin-top: 2px; }
.reassure svg { width: 26px; height: 26px; flex: none; color: var(--blue); margin-top: 1px; }

/* ---------- Background video bands ----------
   Phones: one loop fills the band, text sits at the bottom over a dark gradient
   (keeps the footage crisp at the top, and the text at AA contrast).
   Desktop (see "Wider screens"): foam band = three portrait reels; closing band = split. */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--black); color: #fff;
  min-height: 460px; height: 75svh; max-height: 660px;
  display: flex; align-items: flex-end;
}
.band-inner, .close-grid { width: 100%; }
/* Foam band on phones: about two-thirds of the screen, so the headline and video are seen together */
.band--foam { height: 66svh; min-height: 380px; max-height: 560px; }
.band-media { position: absolute; inset: 0; z-index: -1; }
/* brightness/contrast stop bright foam looking washed-out grey under the tint */
.band-media video { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) contrast(1.15) saturate(1.1); }
.band-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(5, 5, 7, .97) 0%, rgba(5, 5, 7, .9) 28%, rgba(5, 5, 7, .55) 58%, rgba(5, 5, 7, .3) 100%);
}
.band-title { font-size: clamp(1.75rem, 6.5vw, 2.6rem); font-weight: 700; color: #fff; margin: 0; text-wrap: balance; }
.band--foam .band-inner { padding-bottom: 40px; }
.close-text { padding-bottom: 40px; }
.close-text p { color: var(--on-dark); font-size: 1.1rem; margin: 14px 0 0; max-width: 34ch; }
.close-text .btn { margin-top: 24px; }
.reels { display: none; }   /* desktop only */
.band-toggle {
  position: absolute; right: 12px; top: 12px; z-index: 1;   /* top on phones: clear of the text */
  min-width: 48px; min-height: 48px; padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 24px;
  background: rgba(5, 5, 7, .55); color: #fff; font: 600 .85rem var(--font); cursor: pointer;
}
.band-toggle[hidden] { display: none; }
/* "Reduce motion": script.js never loads the videos, so each shows its still image (poster). */

/* ---------- Good to know page ---------- */
.page-hero { position: relative; background: var(--black); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.page-hero-media::after {   /* dark fade so the text stays readable */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,5,7,.97) 0%, rgba(5,5,7,.85) 45%, rgba(5,5,7,.45) 100%);
}
.page-hero-text { padding-top: 120px; padding-bottom: 40px; }
.page-hero-text h1 { color: #fff; margin-bottom: .3em; }
.page-hero-text .eyebrow { color: var(--on-dark-muted); }
.page-hero-text .section-lead { color: var(--on-dark); margin-bottom: 0; }

.gtk-container { max-width: 820px; }
.gtk-group { font-size: 1.3rem; margin: 40px 0 14px; }
.gtk-group:first-child { margin-top: 0; }

.faq { background: var(--card-bg); border: 1px solid var(--card-line); border-radius: 14px; }
.faq details { border-bottom: 1px solid var(--card-line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; padding: 16px 52px 16px 20px; position: relative;
  font-weight: 600; line-height: 1.4; display: flex; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {   /* plus sign that turns into a minus when open */
  content: ""; position: absolute; right: 20px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--sec-tick), var(--sec-tick)) center / 14px 2px no-repeat,
    linear-gradient(var(--sec-tick), var(--sec-tick)) center / 2px 14px no-repeat;
}
.faq details[open] summary::after { background: linear-gradient(var(--sec-tick), var(--sec-tick)) center / 14px 2px no-repeat; }
.faq summary:hover { color: var(--sec-tick); }
.faq details > p, .faq details > ul { margin: 0; padding: 0 20px 18px; color: var(--sec-muted); }
.faq details > ul { padding-left: 20px; }
.faq details > ul + p { padding-top: 6px; }
.faq .ticks li { color: var(--sec-ink); }

.privacy {
  margin-top: 40px; padding: 24px 20px; border-radius: 14px;
  border: 1px solid var(--card-line); background: var(--sec-bg-alt);
}
.privacy h2 { font-size: 1.3rem; }
.privacy p { color: var(--sec-muted); }
.privacy p:last-child { margin-bottom: 0; }

.gtk-cta { margin-top: 40px; text-align: center; }
.gtk-cta p { margin: 0 auto 14px; font-weight: 600; }

@media (min-width: 900px) {
  .page-hero-text { padding-top: 160px; padding-bottom: 56px; }
  .page-hero-media img { object-position: 50% 40%; }
  .privacy { padding: 28px 32px; }
}

/* ---------- 404 page ---------- */
.notfound { min-height: 60svh; display: flex; align-items: center; }
.notfound h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--on-dark-muted); padding: 48px 0 32px; font-size: .95rem; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--blue); }
.footer-grid { display: grid; gap: 28px; }
.footer-brand { display: flex; gap: 14px; align-items: center; color: var(--on-dark); }
.footer-brand img { width: 64px; height: 64px; }
.footer-brand strong { display: block; font-size: 1.05rem; }
.footer-about { margin-top: 16px; }
.footer-title { color: var(--on-dark); font-weight: 650; margin-bottom: .5em; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin: 0; }
.footer-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; text-decoration: none; }
.footer-list svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.footer-base {
  border-top: 1px solid var(--line-dark); margin-top: 32px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}

/* ---------- Fixed WhatsApp bar (phones) ---------- */
.whatsapp-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(5, 5, 7, .94); border-top: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.whatsapp-bar .btn { width: 100%; min-height: 48px; }
/* With JavaScript on, the bar starts hidden and slides in once the hero's own WhatsApp button
   has scrolled away (so two identical green buttons never sit on screen together).
   Without JavaScript the bar simply stays visible. */
.whatsapp-bar { transition: transform .25s ease, visibility .25s; }
.js .whatsapp-bar:not(.is-shown) { transform: translateY(110%); visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .whatsapp-bar { transition: none; } }

/* Very narrow phones: drop the header subtitle so it doesn't wrap (the headline says it) */
@media (max-width: 419px) { .brand-name small { display: none; } }

/* =========================================================================
   Wider screens
   ========================================================================= */
@media (min-width: 640px) {
  .reassure ul { grid-template-columns: repeat(4, 1fr); }
  .hero-actions .btn { flex: 0 0 auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 900px) {
  /* no fixed bar on desktop: the WhatsApp button is in the header instead */
  body { padding-bottom: 0; }
  html { scroll-padding-bottom: 0; }   /* no bar on desktop */
  .whatsapp-bar { display: none; }
  .header-nav { display: flex; gap: 4px; }
  .header-call { display: none; }
  .header-whatsapp { display: inline-flex; min-height: 44px; padding: 10px 18px; }

  /* Hero: 50/50 split. Text on the left lines up with the page content; the photo fills the
     whole right half, edge to edge. The photo column never gets wider than the photo itself
     (900 px), so it is never enlarged beyond its real size. */
  .hero .container.hero-grid {
    max-width: none; padding: 0;
    display: grid; grid-template-columns: 1fr min(50%, 900px);
    min-height: clamp(560px, calc(100svh - 72px), 820px);
  }
  .hero-media { order: 2; margin: 0; position: relative; }
  .hero-media::after { display: none; }
  .hero-media img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: 50% 30%;
  }
  .hero-text {
    margin-top: 0; align-self: center;
    padding: 56px 56px 56px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
  .hero-text h1 { max-width: 13ch; }

  .section { padding: 72px 0; }
  .packages { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .package { padding: 28px 24px; }
  /* table and add-ons side by side under the cards */
  .price-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }

  /* Maintenance: portrait photo on the left, everything else on the right */
  /* Play button sits a little higher on desktop, over the spray rather than the plate */
  .feature-video .film-play { top: 38%; }

  /* Split sections: photo column + text column, equal height */
  .split { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 620px); gap: 64px; justify-content: center; align-items: stretch; }
  .split--reverse { grid-template-columns: minmax(0, 620px) minmax(0, 380px); }
  .split--reverse .split-media { order: 2; }
  .split-media, .split-media--desktop { display: block; margin: 0; position: relative; min-height: 480px; }
  .split-media img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-position: 50% 50%; }

  /* Reviews: 3 columns, no swiping */
  .reviews { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; gap: 20px; }
  .reviews-hint { display: none; }

  /* Featured row: video about 40% on the left, before & afters stacked on the right.
     The video stretches to the height of the right column. */
  .work-feature { grid-template-columns: 40% 1fr; gap: 20px; align-items: stretch; margin-top: 32px; }
  .feature-video video { height: 100%; aspect-ratio: auto; }
  .work-feature .ba-grid { grid-template-columns: 1fr; gap: 20px; }
  /* Gallery: 3 columns */
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; grid-auto-rows: 330px; margin-top: 20px; }
  .tile--audi { grid-column: auto; }


  /* columns stretch to the same height; the photo fills its whole column */
  .maint-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 620px); gap: 64px; justify-content: center; align-items: stretch; }
  .maint-media { margin: 0; position: relative; min-height: 520px; }
  .maint-media img {
    position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto;
    object-position: 62% 40%;   /* keeps face, hand and cloth in frame */
  }

  /* Bands: no full-screen background video on desktop */
  .band, .band--foam { height: auto; max-height: none; min-height: 0; display: block; padding: 72px 0; }
  /* Foam band pause button: on the bottom-right corner of the last reel
     (the reel row is at most 960 px wide, centred, and ends 72 px above the band's bottom) */
  .band--foam .band-toggle { top: auto; bottom: calc(72px + 12px); right: calc(max((100% - 960px) / 2, 16px) + 12px); }

  /* Snow-foam band: headline above three portrait reels, like Instagram Reels */
  .band--foam .band-media { display: none; }
  .band--foam .band-inner { padding-bottom: 0; text-align: center; }
  .band--foam .band-title { margin: 0 auto; max-width: none; }
  .reels {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    max-width: 960px; margin: 36px auto 0;
  }
  .reel { margin: 0; }
  .reels video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: var(--charcoal); }
  .reel figcaption {
    margin-top: 12px; text-align: center; color: var(--on-dark-muted);
    font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  }
  /* the foam band's pause button: bottom-right of the last reel, above its label */
  .band--foam .band-toggle { bottom: calc(72px + 12px + 34px); }

  /* Closing band: portrait clip on the left, text on the right */
  .close-grid {
    display: grid; grid-template-columns: auto minmax(0, 520px); gap: 64px;
    align-items: center; justify-content: center;   /* clip and text sit together in the middle */
  }
  .close-media { position: relative; inset: auto; z-index: auto; }
  .close-media::after { display: none; }
  .close-media video { width: auto; height: min(640px, 70svh); aspect-ratio: 9 / 16; border-radius: 12px; filter: none; }
  .close-media .band-toggle { top: auto; bottom: 12px; right: 12px; }   /* on the clip's corner */
  .close-text { padding-bottom: 0; }
  .close-text .band-title { font-size: clamp(2.2rem, 3.4vw, 2.75rem); white-space: nowrap; }
  .close-text p { max-width: none; }
}

/* Comfortable reading width on large screens */
p { max-width: 70ch; }
