/* ==========================================================================
   HTS Health Care — Home X-Ray Service
   Design direction: "Trust & Authority", accessible-first.
   Signature element: the process section is styled as a radiograph viewing
   lightbox — light-on-dark, the way a radiographer actually reads a film.
   ========================================================================== */

/* --------------------------------- Tokens -------------------------------- */
:root {
  /* Colour */
  --ink:            #0F172A;
  --ink-2:          #1E293B;
  --ink-3:          #334155;
  --slate:          #475569;
  --slate-2:        #64748B;
  /* Sampled from the HTS logo artwork (#01358B) so the site and the mark agree. */
  --accent:         #01358B;
  --accent-hi:      #0A4BB5;
  --accent-soft:    #E5ECF8;
  --bg:             #F8FAFC;
  --surface:        #FFFFFF;
  --surface-2:      #F1F5F9;
  --border:         #E2E8F0;
  --border-2:       #CBD5E1;
  --whatsapp:       #25D366;
  --whatsapp-dk:    #128C7E;
  --danger:         #DC2626;
  --success:        #059669;

  /* Lightbox (radiograph viewer)
     Graphite rather than navy: a second blue field next to the brand blue read
     as flat and muddied the text. Neutral charcoal lets the type carry the
     contrast, and a single muted champagne accent does the rest. */
  --film-bg:        #0E1013;
  --film-panel:     #181B20;
  --film-line:      #2B3038;
  --film-text:      #F2F4F6;
  --film-dim:       #C6CBD3;
  --film-glow:      #D9C79F;
  --film-glow-dim:  rgba(217, 199, 159, .14);
  --film-glow-line: rgba(217, 199, 159, .3);

  /* Type */
  --font-display: 'Figtree', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Noto Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Spacing */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 24px;  --sp-6: 32px;  --sp-7: 48px;  --sp-8: 64px;
  --sp-9: 88px;  --sp-10: 120px;

  /* Shape */
  --r-sm: 8px;  --r-md: 12px;  --r-lg: 18px;  --r-xl: 26px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --sh-2: 0 4px 12px rgba(15,23,42,.07), 0 2px 4px rgba(15,23,42,.04);
  --sh-3: 0 12px 32px rgba(15,23,42,.10), 0 4px 8px rgba(15,23,42,.04);
  --sh-4: 0 24px 60px rgba(15,23,42,.16);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --dur:  220ms;

  /* Layers */
  --z-header: 100;
  --z-fab:    200;
}

/* --------------------------------- Reset --------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-3);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
}
p { margin: 0; }
button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--accent-hi);
  outline-offset: 3px;
  border-radius: 3px;
}

.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;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: var(--sp-3) var(--sp-5);
  z-index: 999; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* -------------------------------- Layout --------------------------------- */
.shell {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-5);
}
.shell-narrow { max-width: 820px; }

.section { padding-block: var(--sp-8); }
.section-alt { background: var(--surface); }

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head h2 { font-size: clamp(1.75rem, 4.4vw, 2.6rem); margin-bottom: var(--sp-4); }
.section-lede { font-size: 1.0625rem; color: var(--slate); }

.eyebrow {
  display: flex; align-items: baseline; gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.ico { width: 20px; height: 20px; flex-shrink: 0; }
.ico-lg { width: 28px; height: 28px; }

/* -------------------------------- Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2);
  min-height: 46px;
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: .9375rem; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-lg { min-height: 54px; padding: var(--sp-4) var(--sp-6); font-size: 1rem; }
.btn-sm { min-height: 42px; padding: var(--sp-2) var(--sp-4); font-size: .875rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--sh-2); }
.btn-primary:hover { background: var(--accent-hi); box-shadow: var(--sh-3); }

.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--slate-2); background: var(--surface-2); }

.btn-whatsapp { background: var(--whatsapp); color: #05341A; box-shadow: var(--sh-2); }
.btn-whatsapp:hover { background: #1FBE5A; box-shadow: var(--sh-3); }
.btn-whatsapp .ico { width: 22px; height: 22px; }

/* -------------------------------- Header --------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--border); box-shadow: var(--sh-1); }

.header-inner {
  display: flex; align-items: center; gap: var(--sp-5);
  min-height: 72px;
}

.brand { display: flex; align-items: center; gap: var(--sp-3); text-decoration: none; margin-right: auto; }
/* The logo is a reversed lock-up — white mark on solid brand blue — so it is
   mounted as a rounded tile with no padding or chip. The artwork supplies its
   own ground; adding one would frame it twice. */
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; color: var(--ink); letter-spacing: -.01em; }
/* The service line is the proposition, not a subtitle — it carries brand colour
   and weight so "Home X-Ray" registers before anything else in the header. */
.brand-tag {
  font-family: var(--font-display);
  font-size: .8125rem; font-weight: 700;
  color: var(--accent);
  letter-spacing: .01em;
}

.site-nav { display: none; gap: var(--sp-5); }
.site-nav a {
  font-family: var(--font-display); font-weight: 500; font-size: .9375rem;
  color: var(--ink-3); text-decoration: none;
  padding-block: var(--sp-2);
  border-bottom: 2px solid transparent;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: var(--sp-3); }
.link-phone {
  display: none; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display); font-weight: 600; font-size: .9375rem;
  color: var(--ink); text-decoration: none;
}
.link-phone:hover { color: var(--accent); }
.header-actions .btn-primary { display: none; }

.nav-toggle {
  display: grid; place-content: center; gap: 5px;
  width: 46px; height: 46px;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--r-sm); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.site-nav.is-open {
  display: flex; flex-direction: column; gap: 0;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-3);
  padding: var(--sp-2) var(--sp-5) var(--sp-5);
}
.site-nav.is-open a {
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}
.site-nav.is-open a:last-child { border-bottom: none; }

/* --------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  padding-block: var(--sp-7) var(--sp-8);
  background:
    radial-gradient(1100px 520px at 82% -12%, var(--accent-soft) 0%, rgba(224,242,254,0) 62%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; gap: var(--sp-7); align-items: center; }

.hero h1 {
  font-size: clamp(2.25rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin-bottom: var(--sp-5);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
}
/* Hand-drawn underline beneath the emphasised phrase */
.hero h1 em::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -.08em;
  height: .1em;
  background: var(--accent);
  opacity: .22;
  border-radius: 99px;
}

/* Label band above the headline: the service badge is the loud element, the
   coverage line stays quiet beside it so they don't compete. */
/* Stacked on purpose rather than left to wrap: the badge keeps its own line at
   every width, so it never sits shoulder-to-shoulder with the coverage note. */
.hero-labels {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.service-badge {
  display: inline-flex; align-items: center;
  padding: var(--sp-2) var(--sp-4);
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .875rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(1,53,139,.28);
}

/* Inside the label band the eyebrow is a sibling, not a section header, so it
   drops the stacked bottom margin it carries elsewhere. */
.hero-labels .eyebrow { margin-bottom: 0; }

.hero-lede {
  font-size: 1.0625rem;
  color: var(--slate);
  max-width: 54ch;
  margin-bottom: var(--sp-6);
}

/* Response promise: the single operational commitment worth pulling out of the
   body copy, so it gets a tinted rail rather than another paragraph. */
.hero-promise {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4);
  margin-bottom: var(--sp-6);
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .9375rem; color: var(--ink-2);
}
.hero-promise .ico { color: var(--accent); margin-top: 1px; }
.hero-promise strong { font-family: var(--font-display); color: var(--ink); }

.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }

.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  align-self: center;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(5,150,105,.55);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(5,150,105,.5); }
  70%  { box-shadow: 0 0 0 9px rgba(5,150,105,0); }
  100% { box-shadow: 0 0 0 0 rgba(5,150,105,0); }
}

.hero-proof {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}
.hero-proof li {
  display: flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-display); font-weight: 600; font-size: .875rem;
  color: var(--ink-3);
}
.hero-proof .ico { width: 17px; height: 17px; color: var(--success); }

.hero-media { position: relative; }
.hero-figure {
  position: relative; margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-4);
  aspect-ratio: 4 / 5;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

/* Quiet disclosure that the hero photograph is a generated illustration rather
   than a picture of the actual team. Deliberately understated — honest without
   drawing the eye away from the subject. */
.hero-disclosure {
  position: absolute; top: var(--sp-4); right: var(--sp-4);
  padding: 5px var(--sp-3);
  /* Opacity is set so white text clears 4.5:1 even where the pill sits over
     the brightest part of the photograph. */
  background: rgba(15, 23, 42, .72);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .6875rem; font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
}

.hero-badge {
  position: absolute; left: var(--sp-4); bottom: var(--sp-4);
  right: var(--sp-4);
  display: flex; flex-direction: column;
  padding: var(--sp-4) var(--sp-5);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-2);
}
.hero-badge-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.5rem; color: var(--ink); line-height: 1.1;
  letter-spacing: -.02em;
}
.hero-badge-label { font-size: .8125rem; color: var(--slate); }

/* ------------------------------ Trust strip ------------------------------ */
.strip {
  background: var(--surface);
  border-block: 1px solid var(--border);
  padding-block: var(--sp-7);
}
.strip-grid { display: grid; gap: var(--sp-6); }
.strip-item .ico-lg { color: var(--accent); margin-bottom: var(--sp-3); }
.strip-item h3 { font-size: 1.0625rem; margin-bottom: var(--sp-2); }
.strip-item p { font-size: .9375rem; color: var(--slate); }

/* --------------------------------- Cards --------------------------------- */
.card-grid { display: grid; gap: var(--sp-4); }
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.card:hover {
  border-color: var(--border-2);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
/* A fixed band keeps every card the same height regardless of whether the
   source photo is portrait or landscape. */
.card-photo {
  width: 100%; height: 160px;
  object-fit: cover;
  object-position: center 35%;   /* faces sit above centre in most of these */
  background: var(--surface-2);
}
.card-body { padding: var(--sp-5); }
.card h3 { font-size: 1.0625rem; margin-bottom: var(--sp-2); }
.card p { font-size: .9375rem; color: var(--slate); }

/* ============================ SIGNATURE: LIGHTBOX ========================= *
   The process section, presented the way a radiographer reads film: bright
   content floated on a dark viewing panel.
   ------------------------------------------------------------------------- */
.lightbox {
  position: relative;
  padding-block: var(--sp-9);
  background: var(--film-bg);
  color: var(--film-text);
  overflow: hidden;
}
/* Faint scan-line wash, like the backlight of a viewing box */
.lightbox::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 460px at 18% -5%, rgba(217,199,159,.07) 0%, rgba(217,199,159,0) 68%),
    repeating-linear-gradient(180deg, rgba(255,255,255,.028) 0 1px, transparent 1px 4px);
  pointer-events: none;
}
.lightbox > .shell { position: relative; }

.section-head-invert h2 { color: #fff; }
.section-head-invert .eyebrow { color: var(--film-glow); }
.section-head-invert .section-lede { color: var(--film-dim); }

.steps { display: grid; gap: var(--sp-4); counter-reset: step; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  align-items: start;
  padding: var(--sp-5);
  background: var(--film-panel);
  border: 1px solid var(--film-line);
  border-radius: var(--r-lg);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.step:hover { border-color: var(--film-glow-line); background: #1D2127; }

/* The marker mimics a lead letter marker: chunky, high contrast, and never
   perfectly straight, because a radiographer places it on the plate by hand. */
.step-marker {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1rem;
  letter-spacing: -.02em;
  color: #14171B;
  /* Bone rather than cold white — reads like an actual lead marker, and picks
     up the champagne accent instead of fighting it. */
  background: linear-gradient(155deg, #F6F2E8 0%, #D6CDBB 100%);
  border-radius: 5px;
  transform: rotate(-4deg);
  box-shadow: 0 2px 0 rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.85);
}
.step:nth-child(even) .step-marker { transform: rotate(3deg); }

.step-body h3 { color: #fff; font-size: 1.125rem; margin-bottom: var(--sp-2); }
.step-body p { color: var(--film-dim); font-size: .9375rem; }
/* Specificity note: `.step-body p` above is (0,1,1), so a bare `.step-meta`
   (0,1,0) would lose the colour battle. Qualifying with the element keeps
   the accent colour without resorting to !important. */
.step-body p.step-meta {
  display: inline-block;
  margin-top: var(--sp-3);
  padding: var(--sp-1) var(--sp-3);
  font-family: var(--font-display); font-weight: 600; font-size: .75rem;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--film-glow);
  background: var(--film-glow-dim);
  border: 1px solid var(--film-glow-line);
  border-radius: 99px;
}

.lightbox-figure { margin-top: var(--sp-7); text-align: center; }
.lightbox-figure img {
  width: 100%; max-width: 460px;
  margin-inline: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--film-line);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.lightbox-figure p {
  margin-top: var(--sp-4);
  font-size: .875rem; color: var(--film-dim);
  max-width: 46ch; margin-inline: auto;
}

/* ------------------------------- Equipment ------------------------------- */
/* Quality guarantee sits above the kit cards: it answers the objection the
   photographs themselves raise — "that looks small, is it any good?" */
.quality-note {
  display: flex; align-items: flex-start; gap: var(--sp-4);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
  background: var(--film-bg);
  color: var(--film-dim);
  border: 1px solid var(--film-line);
  border-radius: var(--r-lg);
}
.quality-note > .ico-lg { color: var(--film-glow); flex-shrink: 0; }
.quality-note h3 { color: #fff; font-size: 1.125rem; margin-bottom: var(--sp-2); }
.quality-note p { font-size: .9375rem; }
.quality-note p + p { margin-top: var(--sp-3); }
.quality-note strong { color: #fff; }

.kit-grid { display: grid; gap: var(--sp-5); }
.kit {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
/* Product shots ship on a white ground, so the tile stays white and the image
   is given room to breathe rather than being cropped to fill. */
.kit-media {
  display: grid; place-items: center;
  padding: var(--sp-6);
  background: linear-gradient(160deg, #FFFFFF 0%, var(--surface-2) 100%);
  border-bottom: 1px solid var(--border);
}
.kit-media img { width: 100%; max-width: 260px; height: auto; mix-blend-mode: multiply; }
.kit-body { padding: var(--sp-5); }
.kit-body h3 { font-size: 1.125rem; margin-bottom: var(--sp-2); }
.kit-body p { font-size: .9375rem; color: var(--slate); }

/* --------------------------------- Scans --------------------------------- */
.scan-layout { display: grid; gap: var(--sp-6); }

.scan-list { display: grid; gap: var(--sp-3); }
.scan-list li {
  display: flex; flex-direction: column; gap: 2px;
  padding: var(--sp-4) var(--sp-5);
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
}
.scan-list strong { font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.scan-list span { font-size: .875rem; color: var(--slate); }

/* Same graphite as the other dark surfaces — one dark used consistently
   rather than two near-identical ones, which reads as an accident. */
.scan-note {
  padding: var(--sp-6);
  background: var(--film-bg);
  color: var(--film-dim);
  border: 1px solid var(--film-line);
  border-radius: var(--r-lg);
  align-self: start;
}
.scan-note h3 { color: #fff; font-size: 1.125rem; margin-bottom: var(--sp-3); }
.scan-note p { font-size: .9375rem; margin-bottom: var(--sp-4); }
.scan-note-foot { color: #9BA3AE; }

/* -------------------------------- Safety --------------------------------- */
.safety-grid { display: grid; gap: var(--sp-7); align-items: center; }
.safety-media img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.safety-copy h2 { font-size: clamp(1.75rem, 4.4vw, 2.4rem); margin-bottom: var(--sp-4); }

.safety-list { display: grid; gap: var(--sp-4); margin: var(--sp-6) 0 0; }
.safety-list > div {
  padding-left: var(--sp-5);
  border-left: 2px solid var(--accent-soft);
}
.safety-list dt {
  font-family: var(--font-display); font-weight: 600;
  color: var(--ink); font-size: .9375rem;
  margin-bottom: 2px;
}
.safety-list dd { margin: 0; font-size: .9375rem; color: var(--slate); }

/* -------------------------------- Reviews -------------------------------- */
.reviews { background: var(--surface); }

.rating-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.rating-score {
  font-family: var(--font-display); font-weight: 800;
  font-size: 2rem; color: var(--ink); line-height: 1;
}
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 20px; height: 20px; color: #F5A623; }
.rating-count { font-size: .9375rem; color: var(--slate); }

.review-grid { display: grid; gap: var(--sp-4); }

.review {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.review-stars { display: inline-flex; gap: 2px; }
.review-stars svg { width: 16px; height: 16px; color: #F5A623; }
.review-text { font-size: .9375rem; color: var(--ink-3); flex: 1; }
.review-meta {
  display: flex; align-items: baseline; gap: var(--sp-2);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border);
  font-size: .875rem;
}
.review-name { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.review-date { color: var(--slate-2); }

.review-cta { margin-top: var(--sp-6); }
.review-cta .ico { width: 20px; height: 20px; }

/* --------------------------------- Book ---------------------------------- */
.book {
  padding-block: var(--sp-8);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
}
.book-grid { display: grid; gap: var(--sp-7); align-items: start; }
.book-copy h2 { font-size: clamp(1.6rem, 4.2vw, 2.3rem); margin-bottom: var(--sp-4); }

.book-assure { display: grid; gap: var(--sp-3); margin: var(--sp-6) 0; }
.book-assure li {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  font-size: .9375rem; color: var(--ink-3);
}
.book-assure .ico { color: var(--success); margin-top: 3px; }

.book-hours {
  padding: var(--sp-4);
  background: var(--accent-soft);
  border-radius: var(--r-sm);
  font-size: .9375rem; color: var(--ink-2);
}

.book-form-wrap { position: relative; }
.book-form {
  padding: var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-3);
}
.form-title { font-size: 1.25rem; margin-bottom: var(--sp-5); }

.field { margin-bottom: var(--sp-5); }
.field label {
  display: block;
  font-family: var(--font-display); font-weight: 600; font-size: .875rem;
  color: var(--ink); margin-bottom: var(--sp-2);
}
.req { color: var(--danger); }
.opt { font-weight: 400; color: var(--slate-2); }

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-body); font-size: 16px; /* 16px avoids iOS zoom-on-focus */
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field textarea { min-height: 88px; resize: vertical; line-height: 1.55; }
.field input::placeholder,
.field textarea::placeholder { color: #94A3B8; }
.field input:hover,
.field textarea:hover { border-color: var(--slate-2); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(1,53,139,.16);
}
.field.has-error input,
.field.has-error textarea { border-color: var(--danger); }
.field.has-error input:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(220,38,38,.14); }

.help { margin-top: var(--sp-2); font-size: .8125rem; color: var(--slate-2); }
.err {
  margin-top: var(--sp-2);
  display: flex; align-items: center; gap: 6px;
  font-size: .8125rem; font-weight: 500; color: var(--danger);
}
/* An author `display` declaration outranks the UA stylesheet's
   `[hidden] { display: none }`, so the empty error row — and its "!" marker —
   would render on a clean page load. Restore the hidden behaviour explicitly. */
.err[hidden] { display: none; }
.err::before { content: '!'; display: grid; place-items: center; width: 15px; height: 15px; background: var(--danger); color: #fff; border-radius: 50%; font-size: 10px; font-weight: 700; flex-shrink: 0; }

.form-foot { margin-top: var(--sp-4); font-size: .8125rem; color: var(--slate-2); text-align: center; }

.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading .spinner { display: block; }
.btn.is-loading { opacity: .85; cursor: progress; }

.form-status { margin-top: var(--sp-4); }
.form-status:empty { margin-top: 0; }
.status-box {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-sm);
  font-size: .9375rem;
}
.status-box.ok  { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.status-box.bad { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.status-box .ico { margin-top: 2px; }
.status-box strong { display: block; font-family: var(--font-display); margin-bottom: 2px; }
.status-box a { color: inherit; font-weight: 600; }

/* ---------------------------------- FAQ ---------------------------------- */
.faq { display: grid; gap: var(--sp-3); }
.faq details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq details[open] { border-color: var(--border-2); box-shadow: var(--sh-1); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  min-height: 56px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: 11px; height: 11px;
  border-right: 2px solid var(--slate-2);
  border-bottom: 2px solid var(--slate-2);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:hover { color: var(--accent); }
.faq-body { padding: 0 var(--sp-5) var(--sp-5); }
.faq-body p { font-size: .9375rem; color: var(--slate); }

/* -------------------------------- Footer --------------------------------- */
.site-footer {
  background: var(--film-bg);
  color: var(--film-dim);
  padding-top: var(--sp-8);
  margin-top: 0;
}
.footer-grid { display: grid; gap: var(--sp-6); padding-bottom: var(--sp-7); }
.footer-logo {
  width: 68px; height: 68px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: var(--sp-4);
  /* Brand blue against the near-black footer needs a hairline to read as a
     deliberate tile rather than a colour bleed. */
  box-shadow: 0 0 0 1px rgba(255,255,255,.14);
}
.footer-name { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: #fff; margin-bottom: var(--sp-2); }
.footer-blurb { font-size: .9375rem; max-width: 42ch; }

.footer-col h3 {
  font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin-bottom: var(--sp-4);
}
.footer-col ul { display: grid; gap: var(--sp-3); }
.footer-col a { color: #CBD5E1; text-decoration: none; font-size: .9375rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-hours { margin-top: var(--sp-4); font-size: .875rem; line-height: 1.8; }

.footer-base {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: space-between; align-items: center;
  padding-block: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8125rem;
}
/* Lightened against the graphite footer — the old slate failed AA at 4.00:1. */
.footer-legal { color: #8B94A2; }

/* ----------------------------- WhatsApp FAB ------------------------------ */
.wa-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: var(--z-fab);
  display: inline-flex; align-items: center; gap: var(--sp-3);
  height: 58px;
  padding: 0 var(--sp-4);
  background: var(--whatsapp);
  /* Dark green, not white: white on WhatsApp green is only 1.98:1 and fails
     AA. This matches the inline WhatsApp buttons, which sit at 7:1. */
  color: #05341A;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(37,211,102,.4), 0 2px 8px rgba(15,23,42,.16);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.wa-fab svg { width: 30px; height: 30px; flex-shrink: 0; }
.wa-fab-text {
  font-family: var(--font-display); font-weight: 700; font-size: .9375rem;
  padding-right: var(--sp-2);
  white-space: nowrap;
}
.wa-fab:hover { background: #1FBE5A; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,.5); }
.wa-fab:active { transform: translateY(0); }

/* ============================== BREAKPOINTS ============================== */

/* --- 600px: comfortable phones / small tablets --- */
@media (min-width: 600px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid  { grid-template-columns: repeat(2, 1fr); }
  .scan-list  { grid-template-columns: repeat(2, 1fr); }
  .hero-badge { right: auto; min-width: 260px; }
}

/* --- 860px: tablets --- */
@media (min-width: 860px) {
  .section { padding-block: var(--sp-9); }
  .hero { padding-block: var(--sp-8) var(--sp-9); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--sp-8); }
  .hero-figure { aspect-ratio: 3 / 4; }
  .safety-grid { grid-template-columns: .9fr 1.1fr; }
  .book-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .scan-layout { grid-template-columns: 1.4fr 1fr; }
  .kit-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .scan-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-7); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
  .lightbox-figure { margin-top: var(--sp-8); }
}

/* --- 1024px: desktop --- */
@media (min-width: 1024px) {
  html { scroll-padding-top: 96px; }
  .site-nav { display: flex; }
  .link-phone { display: inline-flex; }
  .header-actions .btn-primary { display: inline-flex; }
  .nav-toggle { display: none; }
  .strip-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .book-grid { grid-template-columns: 1fr 1.05fr; }
}

/* --- Mobile-only FAB collapse: icon stays, label hides on tiny screens --- */
@media (max-width: 420px) {
  .wa-fab { height: 56px; width: 56px; padding: 0; justify-content: center; }
  .wa-fab-text { display: none; }
}

/* ============================== PREFERENCES ============================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .card:hover, .wa-fab:hover { transform: none; }
}

@media print {
  .site-header, .wa-fab, .hero-cta, .book-form-wrap { display: none !important; }
  body { background: #fff; color: #000; }
  .lightbox { background: #fff; color: #000; }
  .lightbox::before { display: none; }
  .step, .step-body h3, .step-body p, .section-head-invert h2 { background: #fff; color: #000; }
}
