/* ============================================================
   SAFETOUCH SA, Design System + Home page
   Black-dominant · Rivian structure · Times Sans (caps) + Inter
   ============================================================ */

@font-face {
  font-family: "Times Sans";
  src: url("../fonts/times-sans-serif.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* palette */
  --black:      #0A0A0A;
  --true-black: #000000;
  --panel:      #111317;
  --white:      #FAFAF8;
  --grey-1:     #c9c9c5;
  --grey-2:     #9a9a96;
  --grey-3:     #5c5e63;
  --line:       #23262b;
  --line-light: #e5e5e1;
  --green:      #6CDD4D;
  --green-dim:  #57c43b;
  --blue:       #00ADEF;
  /* themeable accent: green for client/general, blue for franchise (.theme-franchise) */
  --accent-color: var(--green);

  /* type */
  --display: "Times Sans", "Times New Roman", serif;
  --body: "Inter", system-ui, sans-serif;

  /* spacing */
  --pad: clamp(20px, 5vw, 96px);
  --maxw: 1320px;
  --radius: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --svc-overlap: clamp(56px, 8vh, 104px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- type helpers ---------- */
.display {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.035em;
  font-weight: 400;
  line-height: 0.98;
}
.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-2);
}
.accent { color: var(--accent-color); }
.accent-blue { color: var(--blue); }
/* Franchise audience theme: flips the accent to blue within any scoped element */
.theme-franchise { --accent-color: var(--blue); }
/* Franchise nav dropdown reads blue everywhere (franchise = blue audience) */
.mega--split { --accent-color: var(--blue); }
.mega--split .mega-card:hover { border-color: rgba(0,173,239,.4); }
.btn-blue { background: var(--blue); color: #052733; }
.btn-blue:hover { background: #2bbef5; }
.btn-blue-ghost { background: transparent; color: var(--blue); border-color: rgba(0,173,239,.45); }
.btn-blue-ghost:hover { border-color: var(--blue); background: rgba(0,173,239,.08); }
/* Franchise theme accent corrections: small UI accents that hardcode green
   (step numbers, FAQ toggles) follow the audience accent so they read blue
   on franchise pages while staying green on client pages. */
.theme-franchise .feature .num { color: var(--accent-color); }
.theme-franchise .faq__q::after { color: var(--accent-color); }

h1.display { font-size: clamp(40px, 7.2vw, 104px); }
h2.display { font-size: clamp(30px, 4.6vw, 66px); }
h3.display { font-size: clamp(22px, 2.4vw, 34px); }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
section { position: relative; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 14px;
  letter-spacing: 0.01em;
  padding: 14px 26px; border-radius: 100px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-green { background: var(--green); color: #06270f; }
.btn-green:hover { background: #7eef5e; }
.btn-light { background: var(--white); color: var(--black); }
.btn-light:hover { background: #fff; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(250,250,248,.28); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: #1c1f24; }
.link-arrow { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ============================================================
   NAV (Rivian floating pill model)
   ============================================================ */
.nav-wrap {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px var(--pad) 0;
  display: flex; justify-content: center;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  position: relative;
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px 12px 22px;
  background: rgba(12,13,16,.55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.nav.scrolled {
  background: rgba(10,11,13,.82);
  box-shadow: 0 14px 40px rgba(0,0,0,.5);
}
.nav__logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.nav__logo img { height: 52px; width: auto; border-radius: 4px; }
.nav__logo span {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .16em;
  font-size: 15px; color: var(--white);
}
.nav__links {
  display: flex; align-items: center; gap: 4px;
  margin: 0 auto;
}
.nav__item > button, .nav__item > a {
  font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--grey-1);
  background: none; border: none; cursor: pointer;
  padding: 10px 16px; border-radius: 100px;
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;
  transition: color .25s, background .25s;
}
.nav__item > button:hover, .nav__item > a:hover,
.nav__item.open > button { color: var(--white); background: rgba(255,255,255,.06); }
/* current page marker */
.nav__item > a.on { color: var(--green); background: rgba(108,221,77,.10); }
.nav__item > a.on:hover { color: var(--green); background: rgba(108,221,77,.16); }
.drawer > a.on { color: var(--green); }
.nav__item .chev { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; opacity:.7; }
.nav__item.open .chev { transform: rotate(225deg) translateY(-1px); }
.nav__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav__login {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 14px; color: var(--white);
  padding: 12px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,.16);
  transition: background .25s, border-color .25s;
}
.nav__login:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); }
.nav__login svg { width: 16px; height: 16px; }
.nav__cta { padding: 12px 22px; }
.nav__burger { display: none; }

/* mega menu */
.mega {
  position: absolute; top: calc(100% + 14px); left: 0; right: 0;
  transform: translateY(8px);
  background: rgba(15,16,20,.96);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 22px;
  padding: 22px; gap: 16px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
/* invisible bridge so the cursor can travel from button to panel without closing */
.mega::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav__item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.mega--cards { display: grid; grid-template-columns: repeat(3, 1fr); }
.mega--split { display: grid; grid-template-columns: repeat(3, 1fr); }
.mega-card {
  background: linear-gradient(160deg, #181b20, #0e1013);
  border: 1px solid rgba(255,255,255,.07); border-radius: 16px;
  padding: 20px; display: flex; flex-direction: column; gap: 8px; min-height: 220px;
  transition: border-color .3s, transform .3s var(--ease);
}
.mega-card:hover { border-color: rgba(108,221,77,.4); transform: translateY(-3px); }
.mega-card__img {
  height: 92px; border-radius: 10px; margin-bottom: 4px;
  background:
    radial-gradient(120% 100% at 70% 20%, rgba(0,173,239,.18), transparent 60%),
    radial-gradient(120% 120% at 20% 90%, rgba(108,221,77,.16), transparent 55%),
    linear-gradient(160deg, #20242b, #0c0e11);
  border: 1px solid rgba(255,255,255,.05);
  background-size: cover; background-position: center;
}
/* Franchise dropdown: real photo thumbnails (small nav crops of each page hero) */
.mega--split .mega-card__img { height: 190px; }
.mega--split .mega-card:nth-child(1) .mega-card__img { background-image: linear-gradient(180deg, rgba(8,10,13,0) 55%, rgba(8,10,13,.35)), url("../assets/safetouch-franchise-opportunity-thumb.webp"); }
.mega--split .mega-card:nth-child(2) .mega-card__img { background-image: linear-gradient(180deg, rgba(8,10,13,0) 55%, rgba(8,10,13,.35)), url("../assets/safetouch-franchise-investment-thumb.webp"); }
.mega--split .mega-card:nth-child(3) .mega-card__img { background-image: linear-gradient(180deg, rgba(8,10,13,0) 55%, rgba(8,10,13,.35)), url("../assets/safetouch-franchise-apply-thumb.webp"); }
.mega-card h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: 17px; font-weight: 400; }
.mega-card .price { color: var(--green); font-size: 13px; font-weight: 600; }
.mega-card p { font-size: 12.5px; color: var(--grey-2); line-height: 1.5; flex: 1; }
.mega-card__links { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.mega-card__links .primary { font-weight: 600; color: var(--white); }
.mega-list { padding: 8px 6px; }
.mega-list h5 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-3); margin-bottom: 14px; }
.mega-list a { display: block; font-size: 14px; color: var(--grey-1); padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05); transition: color .25s, padding .25s; }
.mega-list a:hover { color: var(--green); padding-left: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 70vh; position: relative; display: flex; align-items: flex-end; overflow: hidden; padding-top: clamp(96px, 12vh, 140px); }
.hero__bg { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.2s var(--ease), transform 7s linear;
  transform: scale(1.06);
}
.hero__slide.active { opacity: 1; transform: scale(1); }
/* AI-generated cinematic hero backgrounds */
.bg-1 { background: #0a0c0f url("../assets/safetouch-mobile-car-detailing-hero.webp") center/cover no-repeat; }
.bg-2 { background: #0a0c0f url("../assets/safetouch-luxury-car-detailing-hero.webp") center/cover no-repeat; }
.bg-3 { background: #0a0c0f url("../assets/safetouch-clinical-theatre-setup.webp") center/cover no-repeat; }
.hero__bg::after { /* bright-image scrim, darken bottom + centre for text, keep the photo bright */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 38%, rgba(6,7,9,.5) 70%, rgba(6,7,9,.96) 100%),
    radial-gradient(120% 88% at 50% 60%, rgba(6,7,9,.60) 0%, rgba(6,7,9,.34) 46%, transparent 78%);
}
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__inner { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(40px, 7vh, 90px); }
/* hero copy centred */
.hero__inner { text-align: center; }
.hero h1, .hero__sub { margin-left: auto; margin-right: auto; }
.hero__btns { justify-content: center; }
/* sizing matched to the page-hero pattern (.h1--long + .lead) used on franchise.html */
/* capped at 50px so the 33-char accent line clears the 1128px container inner width */
.hero h1 { margin-bottom: 22px; max-width: 40ch; font-size: clamp(28px, 3.9vw, 53px); text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 2px 12px rgba(0,0,0,.5), 0 4px 44px rgba(0,0,0,.45); }
/* both headline lines hold one line each; released to wrap before they can overflow */
.hero h1 .hero__l1, .hero h1 .hero__l2 { white-space: nowrap; }
@media (max-width: 820px) { .hero h1 .hero__l2 { white-space: normal; } }
@media (max-width: 640px) { .hero h1 .hero__l1 { white-space: normal; } }
/* Sub tracks the headline's rendered width so both share a right edge.
   Measured: the 33-char line renders at 20.4 x the h1 font-size in this face.
   NB: coupled to the h1 string - if the headline text changes, retune 21.7. */
.hero__sub { font-size: clamp(15px, 1.32vw, 17px); color: #eef0f0; max-width: calc(20.4 * clamp(28px, 3.9vw, 53px)); margin-bottom: 30px; text-shadow: 0 1px 2px rgba(0,0,0,.65), 0 1px 10px rgba(0,0,0,.5), 0 2px 28px rgba(0,0,0,.4); }
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 42px; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__trust span { font-size: 15.5px; font-weight: 500; color: #eef0f0; display: inline-flex; align-items: center; gap: 10px; text-shadow: 0 1px 16px rgba(0,0,0,.5); }
.hero__trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(108,221,77,.6); }
.hero__dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 9px; }
.hero__dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.3); cursor: pointer; transition: width .3s, background .3s; }
.hero__dots button.active { width: 26px; border-radius: 5px; background: var(--white); }
.img-tag { position: absolute; bottom: 14px; right: 18px; z-index: 4; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.15); padding: 5px 9px; border-radius: 6px; }

/* ============================================================
   SECTIONS
   ============================================================ */
.sec { padding: clamp(70px, 11vh, 140px) 0; }
.sec--light { background: var(--white); color: var(--black); }
.sec--light .eyebrow { color: var(--grey-3); }
.sec--light .lead { color: #44474c; }
.sec--panel { background: linear-gradient(180deg, #0c0e11, #080a0c); }
/* Reusable ambient depth glow — soft tone-on-tone bloom behind a dark section.
   Depth from light, not colour. Drop sec--glow on any dark .sec for consistency. */
.sec--glow::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(75% 72% at 50% 40%,
              rgba(255,255,255,.13) 0%, rgba(255,255,255,.055) 38%, transparent 74%);
  pointer-events: none; z-index: 0;
}
.sec--glow > .container { position: relative; z-index: 1; }
/* Diamond-quilt leather texture, subliminal luxury behind the Method cards +
   'Every detail. Every time.' Tone-on-tone, masked so it fades in from the dark
   above (behind the cards) and out into the dark below, one continuous backdrop. */
.quilt-band { position: relative; }
.quilt-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/safetouch-quilted-leather-texture.webp") center/cover no-repeat;
  opacity: .38;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 36%, #000 52%, #000 90%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, transparent 36%, #000 52%, #000 90%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.quilt-band > section { position: relative; z-index: 1; }
/* Photo-backed dark section: a real detail shot behind a heavy dark scrim so it
   reads as a textured, cinematic backdrop while text on top stays crisp. Drop
   .sec-photo on a dark .sec and add a .sec-photo__bg child with the image. */
.sec-photo { position: relative; overflow: hidden; }
.sec-photo__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.sec-photo__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,7,9,.74) 0%, rgba(6,7,9,.84) 42%, rgba(6,7,9,.94) 100%); }
.sec-photo > .container { position: relative; z-index: 1; }
/* 'Safe, by Design' lifestyle band — a real process scene (technician detailing
   under a gazebo) shown as a DEFINED block (franchise-band model: full-bleed
   image + dark scrim + hairline borders, no fade) so it separates from the dark
   sections above and below. Scrim is top-biased to protect the centred heading,
   eased in the middle so the scene reads behind the cards. */
.bg-safe {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(7,9,12,.9) 0%, rgba(7,9,12,.7) 34%,
      rgba(7,9,12,.62) 64%, rgba(7,9,12,.82) 100%),
    url("../assets/safetouch-login-background.webp") center/cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bg-safe > .container { position: relative; z-index: 1; }
/* 'Compliance & Ethics' documentation band — same defined-block treatment as
   .bg-safe, different scene (technician photographing the car = evidence motif). */
.bg-compliance {
  position: relative;
  background:
    linear-gradient(180deg,
      rgba(7,9,12,.9) 0%, rgba(7,9,12,.72) 34%,
      rgba(7,9,12,.64) 64%, rgba(7,9,12,.84) 100%),
    url("../assets/safetouch-detailing-standards.webp") center/cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bg-compliance > .container { position: relative; z-index: 1; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head--center { max-width: 1040px; margin-inline: auto; text-align: center; }
.sec-head--center .lead { margin-inline: auto; max-width: 82ch; font-size: clamp(17px, 1.6vw, 20px); }
.sec-head .eyebrow { margin-bottom: 18px; display: block; }
.sec-head .lead { font-size: clamp(15px, 1.4vw, 18px); color: var(--grey-1); margin-top: 20px; }
.sec--light .sec-head .lead { color: #3c3f45; }

/* contrast columns */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature { padding-top: 26px; border-top: 1px solid var(--line-light); text-align: center; }
.sec--light .feature { border-color: rgba(0,0,0,.12); }
.feature .num { font-family: var(--display); font-size: 21px; letter-spacing: .1em; color: var(--green-dim); margin-bottom: 16px; }
.feature h3 { font-family: var(--display); text-transform: uppercase; font-size: 21px; letter-spacing: .03em; font-weight: 400; margin-bottom: 12px; line-height: 1.1; }
.feature p { font-size: 14.5px; color: #54585e; }
.sec:not(.sec--light) .feature p { color: var(--grey-2); }
/* In the photo bands ('Safe, by Design' + 'Compliance & Ethics') the features
   become dark glass cards so they lift cleanly off the busy photo behind.
   Overrides the bare top-rule look. */
.bg-safe .feature,
.bg-compliance .feature {
  padding: 32px 26px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 5px;
  background: rgba(8,10,13,.58);
  -webkit-backdrop-filter: blur(7px);
          backdrop-filter: blur(7px);
  box-shadow: 0 18px 44px rgba(0,0,0,.4);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.bg-safe .feature:hover,
.bg-compliance .feature:hover {
  transform: translateY(-4px);
  border-color: rgba(108,221,77,.4);
  background: rgba(8,10,13,.66);
}
.bg-safe .feature p,
.bg-compliance .feature p { color: var(--grey-1); }

/* full-bleed cinematic image band */
.imgband { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.imgband__img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.imgband::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,7,9,.5) 72%, rgba(6,7,9,.95) 100%),
              linear-gradient(95deg, rgba(6,7,9,.72) 0%, rgba(6,7,9,.2) 38%, transparent 60%); }
.imgband__inner { position: relative; z-index: 2; width: 100%; }
.imgband__inner .eyebrow { display: block; margin-bottom: 16px; color: var(--grey-1); }
.imgband__inner h2 { margin-bottom: 20px; }
.imgband__inner p { max-width: 44ch; color: var(--grey-1); font-size: clamp(15px,1.3vw,17px); margin-bottom: 16px; }
.imgband__inner p:last-child { margin-bottom: 0; }

/* protocol phases */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.phase {
  background: linear-gradient(165deg, #14171c, #0b0d10);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative; overflow: hidden;
  transition: border-color .4s, transform .4s var(--ease);
}
.phase:hover { border-color: rgba(108,221,77,.35); transform: translateY(-4px); }
.phase__no { font-family: var(--display); font-size: 52px; color: rgba(255,255,255,.08); position: absolute; top: 12px; right: 18px; line-height: 1; }
.phase h3 { font-family: var(--display); text-transform: uppercase; font-size: 17px; letter-spacing: .03em; font-weight: 400; margin-bottom: 18px; white-space: nowrap; padding-right: 44px; }
.phase ul { list-style: none; }
.phase li { font-size: 13px; color: var(--grey-1); padding: 7px 0 7px 18px; position: relative; border-top: 1px solid rgba(255,255,255,.05); }
.phase li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* what you get, chips housed in one wide card (matches .phase styling) */
.getcard {
  background: linear-gradient(180deg, #111111, #000000);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
  padding: 40px 44px; transition: border-color .4s;
}
.getcard:hover { border-color: rgba(108,221,77,.22); }
.getrow { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 11px; padding: 16px 22px; border: 1px solid var(--line); border-radius: 100px; font-size: 14.5px; color: var(--white); transition: border-color .3s, background .3s; }
.chip:hover { border-color: rgba(108,221,77,.4); background: rgba(108,221,77,.04); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.sec--light .chip { color: var(--ink); border-color: var(--line-light); }
/* compact, single-line chip row (narrow split columns) */
.getrow--inline { flex-wrap: nowrap; justify-content: center; gap: 10px; }
.getrow--inline .chip { padding: 13px 16px; font-size: 13.5px; gap: 9px; white-space: nowrap; }

/* packages */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.packs--4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.packs--4 .pack h3 { min-height: 0; text-align: center; }
.packs--4 .pack__tag { text-align: center; }
.packs--4 .pack__price { text-align: center; margin: 14px 0 4px; line-height: 1; }
.packs--4 .pack__price small { display: block; margin-bottom: 6px; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.packs--4 .pack ul { margin-top: 14px; }
.pack li strong { color: var(--ink); font-weight: 700; }
.pack {
  border: 1px solid var(--line-light); border-radius: 18px; padding: 32px 30px;
  display: flex; flex-direction: column; gap: 8px; background: #fff;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.pack:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,0,0,.12); }
.pack__tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--green-dim); font-weight: 700; height: 16px; }
.pack h3 { font-family: var(--display); text-transform: uppercase; font-size: 24px; letter-spacing: .03em; font-weight: 400; line-height: 1; min-height: 2em; }
.pack__price { font-family: var(--display); font-size: 38px; margin: 10px 0 22px; }
.pack__price small { font-family: var(--body); font-size: 13px; color: var(--grey-2); font-weight: 500; }
.pack ul { list-style: none; margin-bottom: 24px; flex: 1; }
.pack li { font-size: 13.5px; padding: 9px 0 9px 22px; position: relative; border-top: 1px solid rgba(0,0,0,.08); color: #44474c; }
.pack li::before { content: "✓"; position: absolute; left: 0; color: var(--green-dim); font-weight: 700; }
.pack .btn { width: 100%; justify-content: center; }

/* social proof */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.stat { border-top: 1px solid var(--line); padding-top: 22px; text-align: center; }
.stat b { font-family: var(--display); font-size: clamp(40px, 5vw, 68px); display: block; line-height: 1; }
.stat span { font-size: 13px; color: var(--grey-2); text-transform: uppercase; letter-spacing: .12em; }
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quote { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; }
.quote p { font-family: var(--display); text-transform: none; font-size: 21px; letter-spacing: 0; line-height: 1.35; margin-bottom: 18px; }
.quote .who { font-size: 13px; color: var(--grey-2); }
.placeholder-note { font-size: 11px; color: var(--grey-3); letter-spacing: .1em; text-transform: uppercase; }

/* franchise band */
.franchise {
  background:
    linear-gradient(90deg, rgba(5,7,10,.97) 0%, rgba(5,7,10,.82) 42%, rgba(5,7,10,.45) 100%),
    url("../assets/safetouch-premium-detailing-franchise.webp") center/cover no-repeat;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.franchise__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.franchise h2 { margin-bottom: 24px; }
.franchise p { color: var(--grey-1); font-size: 16px; max-width: 50ch; margin-bottom: 30px; }
.franchise .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.franchise__stats { display: grid; gap: 2px; }
.franchise__stats div { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.franchise__stats b { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); }
.franchise__stats span { font-size: 16.5px; color: var(--white); text-align: right; white-space: nowrap; }

/* dual fork */
.fork { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.fork > div { padding: clamp(36px, 5vw, 64px); transition: background .4s; text-align: center; }
.fork > div:hover { background: rgba(255,255,255,.03); }
.fork .label { font-size: 13px; color: var(--grey-2); margin-bottom: 14px; }
.fork h3 { margin-bottom: 24px; margin-inline: auto; white-space: nowrap; }
.fork .fork-client { border-right: 1px solid var(--line); }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; bottom: 92px; right: 28px; z-index: 95;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(12,13,16,.7);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--white); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              visibility .35s, border-color .3s, background .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--green); background: rgba(108,221,77,.12); transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .to-top { bottom: 84px; right: 20px; width: 44px; height: 44px; } }

/* ---------- WhatsApp chat widget (injected by main.js) ---------- */
.wa-chat {
  position: fixed; bottom: 28px; right: 28px; z-index: 96;
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 22px 0 16px; border-radius: 999px; border: 0;
  background: var(--green); color: var(--ink); text-decoration: none; cursor: pointer;
  font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  box-shadow: 0 12px 32px rgba(0,0,0,.28), 0 0 0 1px rgba(0,0,0,.06);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, box-shadow .3s, filter .3s;
}
.wa-chat.show { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-chat:hover { transform: translateY(-3px); filter: brightness(1.04); }
.wa-chat:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wa-chat svg { width: 24px; height: 24px; flex: none; display: block; }
.wa-chat__ico, .wa-chat__x { display: grid; place-items: center; }
.wa-chat__x { display: none; }
.wa-chat.is-open .wa-chat__ico { display: none; }
.wa-chat.is-open .wa-chat__x { display: grid; }

.wa-panel {
  position: fixed; bottom: 92px; right: 28px; z-index: 96;
  width: 360px; max-width: calc(100vw - 40px); max-height: calc(100vh - 120px);
  display: flex; flex-direction: column; overflow: hidden;
  background: #0f1114; color: var(--white);
  border: 1px solid rgba(255,255,255,.12); border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(14px) scale(.98); transform-origin: bottom right;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wa-panel[hidden] { display: none; }
.wa-panel:not(.show) { pointer-events: none; }
.wa-panel.show { opacity: 1; transform: translateY(0) scale(1); }
.wa-panel__head {
  display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.wa-panel__avatar { width: 40px; height: 40px; border-radius: 50%; flex: none; background: #000; border: 1px solid rgba(255,255,255,.14); }
.wa-panel__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.wa-panel__who strong { font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.wa-panel__who span { font-size: 12px; color: var(--grey-2); }
.wa-panel__close {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04); color: var(--white); cursor: pointer; display: grid; place-items: center; flex: none;
  transition: border-color .25s, background .25s;
}
.wa-panel__close:hover { border-color: var(--green); background: rgba(108,221,77,.12); }
.wa-panel__close svg { width: 16px; height: 16px; }
.wa-panel__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.wa-bubble {
  align-self: flex-start; max-width: 88%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px 16px 16px 4px; padding: 11px 14px;
  font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.92);
}
.wa-picks { display: flex; flex-wrap: wrap; gap: 8px; }
.wa-chip {
  border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--white);
  border-radius: 999px; padding: 8px 13px; font-family: var(--body); font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: border-color .25s, background .25s, color .25s;
}
.wa-chip:hover { border-color: var(--green); }
.wa-chip.is-picked { background: var(--green); border-color: var(--green); color: var(--ink); }
.wa-panel__field { display: block; }
.wa-text {
  width: 100%; resize: none; display: block;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 12px;
  padding: 11px 13px; color: var(--white); font-family: var(--body); font-size: 14px; line-height: 1.5;
  transition: border-color .25s, background .25s;
}
.wa-text::placeholder { color: rgba(255,255,255,.4); }
.wa-text:focus { outline: none; border-color: var(--green); background: rgba(255,255,255,.08); }
.wa-send {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; border-radius: 999px; border: 0; width: 100%;
  background: var(--green); color: var(--ink); font-family: var(--body); font-size: 14px; font-weight: 700; cursor: pointer;
  transition: transform .25s var(--ease), filter .25s, box-shadow .25s;
}
.wa-send:hover { transform: translateY(-2px); filter: brightness(1.04); }
.wa-send svg { width: 18px; height: 18px; }
.wa-panel__note { margin: 0; font-size: 11.5px; color: var(--grey-2); text-align: center; line-height: 1.5; }
.wa-panel__note a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 640px) {
  .wa-chat { bottom: 20px; right: 20px; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-chat__label { display: none; }
  .wa-chat svg { width: 28px; height: 28px; }
  .wa-panel { right: 12px; left: 12px; bottom: 88px; width: auto; max-width: none; max-height: calc(100vh - 110px); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--true-black); padding-top: 80px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 56px; }
.footer__brand img { width: min(100%, 265px); height: auto; margin-bottom: 18px; border-radius: 6px; }
.footer__brand p { font-size: 14px; color: var(--grey-2); max-width: 30ch; }
.footer col, .footer__col h5 { }
.footer__partner { margin-top: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__col .footer__partner { margin-top: 0; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__legal a { font-size: 13px; color: var(--grey-3); transition: color .25s; }
.footer__legal a:hover { color: var(--grey-1); }
.footer__partner span { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-3); margin-bottom: 10px; }
.footer__partner img { display: block; background: #fff; border-radius: 10px; padding: 9px 14px; height: 48px; width: 190px; object-fit: contain; }
.footer__partner img.partner--dark { background: #16191C; }
.footer__col h5 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-3); margin-bottom: 18px; }
.footer__col a { display: block; font-size: 14px; color: var(--grey-1); padding: 7px 0; transition: color .25s; }
.footer__col a:hover { color: var(--green); }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer__base p { font-size: 13px; color: var(--grey-3); }
.footer__base .tag { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--grey-2); font-size: 13px; }

/* ============================================================
   scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s } .reveal[data-d="2"]{ transition-delay:.16s }
.reveal[data-d="3"]{ transition-delay:.24s } .reveal[data-d="4"]{ transition-delay:.32s }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 1080px) {
  .mega--split { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__logo img { height: 42px; } /* mobile-only: 20% smaller than desktop's 52px */
  /* clean mobile header: logo left, hamburger right; login + CTA live in the drawer */
  .nav__login, .nav__cta { display: none; }
  .nav__actions { margin-left: auto; gap: 0; }
  .nav__burger { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); border: none; cursor: pointer; }
  .nav__burger span { width: 18px; height: 1.5px; background: #fff; position: relative; display: block; }
  .nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: #fff; }
  .nav__burger span::before { top: -6px; } .nav__burger span::after { top: 6px; }
  .cols-3, .phases, .packs, .packs--4, .stats { grid-template-columns: 1fr; }
  .quotes, .franchise__grid, .fork { grid-template-columns: 1fr; }
  .fork .fork-client { border-right: none; border-bottom: 1px solid var(--line); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .phases { gap: 12px; }
  /* footer: tighter top, big centered logo, full-width brand line, 2 columns of links, centered base */
  .footer { padding-top: 18px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 26px 24px; padding-bottom: 26px; }
  .footer__brand { text-align: center; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
  .footer__brand img { height: 240px; margin: 0 auto 4px; display: block; }
  .footer__brand p { max-width: none; margin-left: auto; margin-right: auto; }
  .footer__partner { align-items: center; }
  .footer__partner img { height: 44px; margin: 0 auto; }
  .footer__legal { justify-content: center; }
  .footer__base { flex-direction: column; justify-content: center; text-align: center; gap: 10px; }
}
/* data tables: let cells wrap and shrink on small screens so they never force horizontal scroll */
@media (max-width: 768px) {
  .dtable { table-layout: fixed; }
  .dtable th, .dtable td { padding: 10px 9px; font-size: 12.5px; white-space: normal !important; overflow-wrap: anywhere; }
  .dtable td.r { font-size: 13.5px; }
}
/* phones: roomier gutters, tighter vertical rhythm, centered content — uniform across the site (nav/header unaffected) */
@media (max-width: 640px) {
  .container { padding-inline: 30px; }
  .sec { padding: 56px 0; }
  /* centered, balanced hero text */
  .page-hero .container, .hero__inner { text-align: center; }
  .page-hero h1, .page-hero .lead, .page-hero__sub, .hero h1, .hero__sub { margin-left: auto; margin-right: auto; }
  .page-hero .btns, .hero__btns { justify-content: center; }
  /* impactful but single-line hero headline + stronger legibility on phones */
  .hero h1 { font-size: clamp(34px, 9.5vw, 48px); line-height: 1.06; text-shadow: 0 2px 22px rgba(0,0,0,.85), 0 1px 5px rgba(0,0,0,.55); }
  .hero__sub { text-shadow: 0 1px 14px rgba(0,0,0,.85); }
  .hero__bg::after { background: linear-gradient(180deg, rgba(6,7,9,.52) 0%, rgba(6,7,9,.42) 42%, rgba(6,7,9,.93) 100%); }
  /* centered section content everywhere: eyebrow, heading, text */
  .sec-head { margin-bottom: 32px; margin-inline: auto; text-align: center; }
  .hd-break { display: block; }
  .split > div:not(.split__media) { text-align: center; }
  .phase__no { font-size: 38px; top: 14px; right: 16px; }
  .franchise__grid > div { text-align: center; }
  .franchise .btns { justify-content: center; }
  .imgband__inner { text-align: center; }
  .imgband__inner p { margin-left: auto; margin-right: auto; }
  .imgband::after { background: linear-gradient(180deg, rgba(6,7,9,.6) 0%, rgba(6,7,9,.5) 45%, rgba(6,7,9,.96) 100%); }
  .imgband__inner h2, .imgband__inner p { text-shadow: 0 2px 18px rgba(0,0,0,.8); }
}
/* short viewports, keep hero headline clear of the nav */
@media (max-height: 860px) {
  .hero h1 { font-size: clamp(34px, 4.2vw, 56px); }
  .hero__sub { margin-bottom: 22px; }
  .hero__btns { margin-bottom: 28px; }
  .hero__trust { padding-top: 18px; }
}
@media (max-height: 720px) {
  .hero h1 { font-size: clamp(28px, 4.4vw, 52px); }
  .hero__sub { font-size: 14px; margin-bottom: 18px; }
}

/* ============================================================
   SUB-PAGE SHARED COMPONENTS (used across all inner pages)
   ============================================================ */
/* page hero / banner (sits below fixed nav) */
.page-hero { position: relative; overflow: hidden; min-height: clamp(520px, 70vh, 820px); padding: clamp(140px, 20vh, 220px) 0 clamp(50px, 7vh, 92px); border-bottom: 1px solid var(--line); }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,7,9,.58) 0%, rgba(6,7,9,.38) 50%, rgba(6,7,9,.92) 100%),
              radial-gradient(120% 88% at 50% 55%, rgba(6,7,9,.58) 0%, rgba(6,7,9,.32) 46%, transparent 78%); }
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero h1, .page-hero .lead, .page-hero__sub { margin-left: auto; margin-right: auto; }
.page-hero .btns { justify-content: center; }
.page-hero .eyebrow { display: block; margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(28px, 3.9vw, 53px); margin-bottom: 22px; max-width: 40ch; text-shadow: 0 1px 2px rgba(0,0,0,.6), 0 2px 12px rgba(0,0,0,.5), 0 4px 44px rgba(0,0,0,.45); }
.page-hero__sub { color: var(--white); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: clamp(14px, 1.3vw, 17px); margin-bottom: 18px; max-width: calc(20.4 * clamp(28px, 3.9vw, 53px)); text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 1px 12px rgba(0,0,0,.55); }
/* ---------- site search ---------- */
.search-btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--white);
  height: 48px; padding: 0 16px; border-radius: 100px;
  background: transparent; border: 1px solid rgba(255,255,255,.16);
  cursor: pointer; transition: border-color .25s, background .25s;
}
.search-btn:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.4); }
.search-btn svg { width: 16px; height: 16px; }
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,7,9,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: none; padding: clamp(80px, 14vh, 140px) 20px 40px;
}
.search-overlay.open { display: block; animation: searchFade .25s var(--ease); }
@keyframes searchFade { from { opacity: 0; } to { opacity: 1; } }
.search-panel { max-width: 640px; margin: 0 auto; }
.search-logo { display: block; height: 74px; margin: 0 auto 56px; }
.search-bar { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid rgba(255,255,255,.3); padding-bottom: 12px; }
.search-bar input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--white); font-family: var(--body); font-size: clamp(20px, 3vw, 28px);
}
.search-bar input::placeholder { color: var(--grey-3); }
.search-bar input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-results::-webkit-scrollbar { width: 6px; }
.search-results::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 3px; }
.search-close { background: none; border: none; color: var(--grey-2); font-size: 34px; line-height: 1; cursor: pointer; padding: 0 4px; }
.search-close:hover { color: var(--white); }
.search-results { margin-top: 22px; max-height: 60vh; overflow-y: auto; }
.search-hit { display: block; padding: 16px 14px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.search-hit:hover { background: rgba(108,221,77,.14); }
.search-hit__title { display: block; color: var(--white); font-weight: 600; font-size: 16px; margin-bottom: 5px; }
.search-hit__snip { display: block; color: var(--grey-1); font-size: 13.5px; line-height: 1.55; }
.search-hit__snip mark { background: rgba(108,221,77,.25); color: var(--white); border-radius: 3px; padding: 0 2px; }
.search-empty { color: var(--grey-2); padding: 16px 14px; }
@media (max-width: 1400px) {
  .search-btn span { display: none; }
  .search-btn { padding: 0 15px; }
  .nav__item > button, .nav__item > a { padding: 10px 10px; }
}
@media (max-width: 860px) { .search-btn { margin-right: 8px; height: 40px; padding: 0 12px; } }

.shout { text-align: center; text-transform: uppercase; font-weight: 700; letter-spacing: .1em; font-size: clamp(14px, 1.5vw, 19px); margin: 0 auto 40px; max-width: 70ch; }
.shout--close { margin: 48px auto 0; }
.sec--light .shout { color: #1c1e22; }
.page-hero .lead { color: var(--grey-1); max-width: calc(20.4 * clamp(28px, 3.9vw, 53px)); font-size: clamp(15px, 1.32vw, 17px); text-shadow: 0 1px 2px rgba(0,0,0,.65), 0 1px 10px rgba(0,0,0,.5), 0 2px 28px rgba(0,0,0,.4); }
.page-hero .btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
/* image placeholder fill (until AI images are dropped in, apply to any image div) */
.ph { background:
  radial-gradient(115% 90% at 72% 22%, rgba(0,173,239,.16), transparent 60%),
  radial-gradient(115% 115% at 18% 92%, rgba(108,221,77,.13), transparent 55%),
  linear-gradient(160deg, #161a20, #0a0c0f); }
/* split: image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,72px); align-items: stretch; }
.split--rev .split__media { order: 2; }
.split__media { aspect-ratio: 4/3; width: 100%; min-width: 0; height: 100%; border-radius: var(--radius); overflow: hidden; background-size: cover; background-position: center; }
.split h2 { font-size: clamp(28px, 3.2vw, 48px); margin-bottom: 20px; }
.split > div:not(.split__media) { display: flex; flex-direction: column; justify-content: center; }
.split p { color: var(--grey-1); font-size: 16px; margin-bottom: 14px; }
.sec--light .split p { color: #44474c; }
/* centered CTA band */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 22px; }
.cta-band p { color: var(--grey-1); max-width: 56ch; margin: 0 auto 30px; font-size: 16px; }
.sec--light .cta-band p { color: #44474c; }
.cta-band .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* long-form prose (legal, about) */
.prose { max-width: none; }
.prose h2 { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: clamp(22px,2.4vw,32px); font-weight: 400; margin: 48px 0 16px; }
.prose h3 { font-size: 18px; font-weight: 600; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--grey-1); font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }
.sec--light .prose p, .sec--light .prose li { color: #3c3f45; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 18px; }
.prose strong { color: var(--white); } .sec--light .prose strong { color: var(--black); }
.prose a { color: var(--green-dim); text-decoration: underline; }
.prose .meta { font-size: 13px; color: var(--grey-3); margin-bottom: 8px; }
/* simple data table */
.dtable { width: 100%; border-collapse: collapse; margin: 8px 0 14px; }
.dtable th, .dtable td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.sec--light .dtable th, .sec--light .dtable td { border-color: var(--line-light); }
.dtable th { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-2); }
.dtable td.r { text-align: right; font-family: var(--display); font-size: 17px; }
/* faq */
.faq { max-width: none; }
.faq__item { border-top: 1px solid var(--line); }
.sec--light .faq__item { border-color: var(--line-light); }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 22px 40px 22px 0; font-family: var(--body); font-size: 17px; font-weight: 600; color: inherit; position: relative; }
.faq__q::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 24px; color: var(--green-dim); transition: transform .3s; }
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding-bottom: 24px; color: var(--grey-1); font-size: 15px; max-width: none; }
.sec--light .faq__a p { color: #44474c; }
/* multi-step form progress */
.steps { display: flex; gap: 8px; margin-bottom: 38px; flex-wrap: wrap; }
.steps span { flex: 1; min-width: 60px; height: 4px; border-radius: 3px; background: var(--line); transition: background .3s; }
.steps span.done { background: var(--accent-color); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 680px){ .split, .form-grid { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } .getrow--inline { flex-wrap: wrap; } }

/* ============================================================
   LOGIN PAGE (Rivian split model)
   ============================================================ */
.login-body { height: 100vh; overflow: hidden; }
.login-split { display: grid; grid-template-columns: 1.1fr 1fr; height: 100vh; }
.login-visual { position: relative; overflow: hidden; }
.login-visual__img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.login-visual::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,7,9,.35) 0%, transparent 40%, rgba(6,7,9,.9) 100%),
              linear-gradient(90deg, transparent 50%, rgba(6,7,9,.5) 100%); }
.login-visual__inner { position: absolute; inset: auto 0 0 0; z-index: 2; padding: clamp(34px,4vw,64px); }
.login-visual__inner .brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.login-visual__inner .brand img { height: 34px; border-radius: 5px; }
.login-visual__inner .brand span { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: 15px; }
.login-visual__inner h2 { margin-bottom: 16px; max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.login-visual__inner p { color: var(--grey-1); max-width: 40ch; font-size: 15px; }

.login-form-wrap { background: var(--black); display: flex; flex-direction: column; }
.login-form { margin: auto; width: min(420px, 86%); padding: 40px 0; }
.login-form .back { font-size: 13px; color: var(--grey-2); display: inline-flex; gap: 7px; margin-bottom: 40px; transition: color .25s; }
.login-form .back:hover { color: var(--white); }
.login-form .eyebrow { display: block; margin-bottom: 12px; }
.login-form h1 { font-size: clamp(30px,3.4vw,42px); margin-bottom: 8px; }
.login-form .intro { color: var(--grey-2); font-size: 14.5px; margin-bottom: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-2); margin-bottom: 9px; }
.field input { width: 100%; background: #141619; border: 1px solid var(--line); border-radius: 10px; padding: 15px 16px; color: var(--white); font-family: var(--body); font-size: 15px; transition: border-color .25s, background .25s; }
.field input::placeholder { color: var(--grey-3); }
.field input:focus { outline: none; border-color: var(--accent-color); background: #16191d; }
.login-row { display: flex; justify-content: flex-end; margin-bottom: 26px; }
.login-row a { font-size: 13px; color: var(--grey-1); }
.login-row a:hover { color: var(--green); }
.login-form .btn { width: 100%; justify-content: center; padding: 16px; }
.login-divider { display: flex; align-items: center; gap: 16px; margin: 30px 0; color: var(--grey-3); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.login-divider::before, .login-divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.login-alt { text-align: center; font-size: 14px; color: var(--grey-2); line-height: 2; }
.login-alt a { color: var(--white); font-weight: 600; }
.login-alt a:hover { color: var(--green); }
.login-roles { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--grey-3); line-height: 1.7; }

@media (max-width: 860px) {
  .login-body { overflow: auto; height: auto; }
  .login-split { grid-template-columns: 1fr; height: auto; }
  .login-visual { height: 38vh; min-height: 260px; }
  .login-form-wrap { min-height: 62vh; }
}

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; background: rgba(6,7,9,.98); backdrop-filter: blur(10px); transform: translateY(-100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; padding: 26px var(--pad) 40px; overflow-y: auto; }
.drawer.open { transform: none; }
.drawer__logo { display: flex; align-items: center; gap: 11px; margin-bottom: 30px; }
.drawer__logo img { height: 34px; width: auto; border-radius: 4px; }
.drawer__logo span { display: none; } /* wordmark now lives inside the logo SVG */
.drawer > a:not(.drawer__logo) { font-family: var(--display); text-transform: uppercase; font-size: 23px; letter-spacing: .04em; padding: 15px 0; border-bottom: 1px solid var(--line); text-align: center; }
.drawer > a:has(+ .drawer__sub) { border-bottom: none; padding-bottom: 4px; }
.drawer__sub { display: flex; flex-direction: column; padding: 0 0 14px; border-bottom: 1px solid var(--line); }
.drawer__sub a { font-family: var(--body); text-transform: none; letter-spacing: .01em; font-size: 16.5px; color: var(--grey-1); padding: 9px 0; text-align: center; transition: color .25s; }
.drawer__sub a:hover { color: var(--green); }
.drawer__close { position: absolute; top: 30px; right: var(--pad); background: none; border: none; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; z-index: 1; }
.drawer__actions { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.drawer__actions .btn { width: 100%; justify-content: center; }

/* ============ SERVICES BAND ============ */
/* Cards straddle the hero/white boundary: dark header bar over the hero photo,
   white card body landing on the light section below. Per Carl's mockup. */

/* hero makes room so its copy stack can never collide with the cards */
.hero{ padding-bottom: var(--svc-overlap); }
.hero__dots{ bottom: calc(var(--svc-overlap) + 44px); }

.svc-band{
  position:relative; z-index:5;
  margin-top: calc(-1 * var(--svc-overlap));
  padding-bottom: clamp(36px,5vh,64px);
  /* transparent for the overlap depth, then white — the boundary the cards cross */
  background: linear-gradient(180deg,
              transparent 0, transparent var(--svc-overlap),
              var(--white) var(--svc-overlap), var(--white) 100%);
}
/* the light section below already supplies the white, so it needs less top air */
.svc-band + .sec--light{ padding-top: clamp(34px,5vh,64px); }

/* three cards sit comfortably in the standard site container */
.svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }

.svc{
  container-type:inline-size;
  display:flex; flex-direction:column;
  background:#fff;
  border:none;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 22px 54px rgba(0,0,0,.22);
  transition:transform .4s var(--ease), box-shadow .4s;
}
.svc:hover{ transform:translateY(-6px); box-shadow:0 30px 70px rgba(0,0,0,.28); }

/* --- header bar: icon LEFT of heading, sits over the hero photo --- */
.svc__head{
  position:relative; display:flex; align-items:center; gap:13px;
  min-height:66px; padding:14px 18px 14px 20px;
  background:linear-gradient(180deg,#171b21,#0f1318);
  transition:background .4s;
}
.svc:hover .svc__head{ background:linear-gradient(180deg,#1c222a,#12171d); }

.svc__icon{ flex:0 0 auto; width:34px; height:34px; display:grid; place-items:center; color:var(--green); }
.svc__icon svg{ width:30px; height:30px; }

.svc h3{
  font-family:var(--display); text-transform:uppercase;
  font-size:20px; letter-spacing:.04em; font-weight:400;
  line-height:1.2; color:var(--white); margin:0;
}

.svc__img{ height:210px; background-size:cover; background-position:center; }

.svc__body{ padding:22px 22px 24px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:16px; flex:1; }
.svc p{ font-size:13.5px; line-height:1.6; color:var(--grey-3); flex:1; margin:0; }
.svc p strong{ font-weight:600; color:#1a1d22; }

.svc .btn{
  align-self:center; padding:10px 22px; font-size:12.5px;
  background:var(--black); border:1px solid var(--black); color:var(--white);
  transition:background .3s, border-color .3s, color .3s;
}
.svc:hover .btn{ background:var(--green); border-color:var(--green); color:#0A0A0A; }

@media(max-width:1000px){
  .svc-grid{ grid-template-columns:1fr; }
  .svc__img{ height:150px; }
  .svc__head{ min-height:0; }
}

/* contact page: centre the route intro (eyebrow + heading + lead) only —
   the form below stays left-aligned, centred labels/fields read as broken */
.route > .eyebrow, .route > h2, .route__lead { text-align: center; }
.route > .eyebrow { display: block; }
.route__lead { margin-left: auto; margin-right: auto; max-width: 72ch; }

/* ---------- training: master trainer band ---------- */
.trainer{ display:grid; grid-template-columns:minmax(240px,320px) 1fr; gap:clamp(28px,5vw,64px); align-items:center; }
.trainer__portrait{ position:relative; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); background:#14171c; }
.trainer__portrait img{ width:100%; height:auto; display:block; }
/* the source portrait carries a dark studio backdrop — fade its edges into the band */
.trainer__portrait::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(10,12,15,.35) 0%, transparent 22%, transparent 74%, rgba(10,12,15,.55) 100%);
}
.trainer__role{ display:block; margin:16px 0 18px; font-size:13px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--grey-2); }
.trainer__body p{ color:var(--grey-1); max-width:56ch; }
@media(max-width:860px){
  .trainer{ grid-template-columns:1fr; justify-items:center; text-align:center; }
  .trainer__portrait{ max-width:300px; }
  .trainer__body p{ margin-inline:auto; }
}

/* 3-up: heading scales to the card so the longest ("MOBILE DETAILING SERVICES",
   25 chars) always holds one line. 81px = icon + gap + bar padding;
   16.75 = 25 chars x ~0.67em per cap in this face. */
@media(min-width:1001px){
  .svc h3{ font-size:min(17px, calc((100cqi - 81px) / 16.75)); white-space:nowrap; }
}

/* ── Footer social icons (added 2026-08-18) ─────────────────────── */
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.footer__social a:hover { background: var(--green); border-color: var(--green); transform: translateY(-2px); }
.footer__social a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.footer__social svg { width: 17px; height: 17px; fill: var(--grey-1); transition: fill .25s var(--ease); }
.footer__social a:hover svg { fill: var(--true-black); }
@media (max-width: 560px) { .footer__social { justify-content: center; } }

/* ── Page heroes track the home hero's responsive h1 sizing (2026-08-18) ──────
   These MUST sit after the .page-hero h1 base rule. Media queries add no
   specificity, so on an equal-specificity tie source order decides, and the
   base rule appears later in this file than the shared .hero blocks above.
   Order of the two max-height rules is significant: 720 must follow 860. */
@media (max-width: 640px) {
  .page-hero h1 { font-size: clamp(34px, 9.5vw, 48px); line-height: 1.06; text-shadow: 0 2px 22px rgba(0,0,0,.85), 0 1px 5px rgba(0,0,0,.55); }
}
@media (max-height: 860px) { .page-hero h1 { font-size: clamp(34px, 4.2vw, 56px); } }
@media (max-height: 720px) { .page-hero h1 { font-size: clamp(28px, 4.4vw, 52px); } }
