/* ==========================================================================
   SAR Driving School — design system
   Near-monochrome, one accent (SAR red #b3121a, 6.96:1 on white).
   Type: 17 / 21 / 40 / 80.  Weights: 400 / 600 / 700.  Spacing: 8pt grid.
   ========================================================================== */

:root {
  /* colour — light */
  --ink:            #1d1d1f;
  --ink-2:          #6e6e73;
  --hairline:       #d2d2d7;
  --surface:        #ffffff;
  --surface-2:      #f5f5f7;
  --accent:         #b3121a;
  --accent-ink:     #ffffff;
  --focus:          #0071e3;

  /* type */
  --f-body:  17px;
  --f-lead:  21px;
  --f-head:  40px;
  --f-display: clamp(40px, 7vw, 80px);
  --stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Inter, system-ui, sans-serif;

  /* space (8pt) */
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 48px; --s6: 64px; --s7: 96px; --s8: 128px;

  /* radii */
  --r-card: 12px;
  --r-panel: 18px;

  --measure: 68ch;
  --gutter: 24px;
  --maxw: 1120px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:        #f5f5f7;
    --ink-2:      #98989d;
    --hairline:   #38383a;
    --surface:    #000000;
    --surface-2:  #1d1d1f;
    --accent:     #ff6b63;   /* 7.54:1 on black */
    --accent-ink: #1d1d1f;
    --focus:      #6ab7ff;
    color-scheme: dark;
  }
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--stack);
  font-size: var(--f-body);
  line-height: 1.47;
  font-weight: 400;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-weight: 700; }
h1 { font-size: var(--f-display); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 4.4vw, var(--f-head)); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: var(--f-lead); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
p  { margin: 0; }
h3 + p { margin-top: var(--s1); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.lead { font-size: var(--f-lead); line-height: 1.42; color: var(--ink-2); max-width: var(--measure); }
.muted { color: var(--ink-2); }
.prose { max-width: var(--measure); }

section { padding: var(--s7) 0; }
@media (max-width: 768px) { section { padding: var(--s6) 0; } }
.section-alt { background: var(--surface-2); }

.head { margin-bottom: var(--s5); }
.head h2 + p { margin-top: var(--s2); }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 24px;
  font: inherit; font-size: var(--f-body); font-weight: 600;
  border-radius: 999px; border: 0; cursor: pointer;
  transition: opacity .3s var(--ease), background-color .3s var(--ease);
}
.btn:hover { text-decoration: none; opacity: .85; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-quiet   { background: transparent; color: var(--accent); padding-left: 0; padding-right: 0; }
.btn-quiet:hover { text-decoration: underline; opacity: 1; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }

.arrow::after { content: " \203A"; font-weight: 400; }

/* --------------------------------------------------------------- header -- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.site-head .wrap { display: flex; align-items: center; gap: var(--s3); min-height: 56px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 30px; width: auto; }
.site-head .nav { display: flex; align-items: center; gap: var(--s3); list-style: none; margin: 0; padding: 0; }
.site-head .nav a {
  font-size: 14px; font-weight: 400; color: var(--ink);
  display: inline-flex; align-items: center; min-height: 44px;
}
.site-head .nav a:hover { color: var(--ink-2); text-decoration: none; }
.site-head .nav .nav-cta { color: var(--accent); font-weight: 600; }
.menu-btn {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: var(--ink);
}
.menu-btn span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: currentColor; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .site-head .nav {
    position: fixed; inset: 56px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s2) var(--gutter) var(--s4);
    background: var(--surface); border-bottom: 1px solid var(--hairline);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    max-height: calc(100vh - 56px); overflow-y: auto;
  }
  .site-head .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .site-head .nav a { font-size: var(--f-body); min-height: 48px; }
}

/* ----------------------------------------------------------------- hero -- */
.hero { padding: var(--s8) 0 var(--s7); }
@media (max-width: 768px) { .hero { padding: var(--s6) 0; } }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: var(--s3); }
.hero .btn-row { margin-top: var(--s5); }
.rating { margin-top: var(--s4); font-size: 14px; color: var(--ink-2); }
.rating strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- grids -- */
.grid { display: grid; gap: var(--s5); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface-2); border-radius: var(--r-card);
  padding: var(--s4); display: flex; flex-direction: column; gap: var(--s1);
}
/* on a tinted section the card flips to the page ground, so it still reads
   as a raised surface rather than disappearing into the background */
.section-alt .card, .soft .card { background: var(--surface); }
.card h3 + p { margin-top: 0; }
.card .price { margin-top: var(--s1); font-weight: 600; }
.card .go { margin-top: auto; padding-top: var(--s3); color: var(--accent); font-weight: 600; }
a.card { color: inherit; }
a.card:hover { text-decoration: none; }
a.card:hover .go { text-decoration: underline; }

/* --------------------------------------------------------------- passes -- */
.passes { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s2); margin-top: var(--s5); }
.passes img { aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-card); }
@media (max-width: 900px) { .passes { grid-template-columns: repeat(3, 1fr); } }

/* -------------------------------------------------------------- reviews -- */
/* No card chrome — space separates the quotes, which buys ~64px of measure
   back per column and stops the text wrapping four words to a line. */
.stars { color: var(--ink-2); font-size: 14px; letter-spacing: 0.08em; }
.review { display: flex; flex-direction: column; gap: var(--s2); margin: 0; }
.review p { max-width: none; }
.review cite { font-style: normal; font-weight: 600; }
.review small { display: block; margin-top: 2px; color: var(--ink-2); font-size: 14px; }

/* ---------------------------------------------------------------- steps -- */
.step-n {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  padding-bottom: var(--s2); border-bottom: 1px solid var(--hairline); margin-bottom: var(--s3);
}

/* ------------------------------------------------------------------ faq -- */
.faq { display: grid; gap: 0; margin-top: 0; }
.faq details { border-top: 1px solid var(--hairline); }
.faq details:last-of-type { border-bottom: 1px solid var(--hairline); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
  padding: var(--s3) 0; min-height: 44px;
  font-size: var(--f-lead); font-weight: 600; letter-spacing: -0.01em;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 24px; font-weight: 400; color: var(--ink-2);
  transition: transform .3s var(--ease); flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 var(--s3); color: var(--ink-2); max-width: var(--measure); }

/* -------------------------------------------------------------- contact -- */
.routes { display: grid; gap: 0; margin-top: var(--s5); }
.route {
  display: flex; align-items: baseline; gap: var(--s3);
  padding: var(--s3) 0; border-top: 1px solid var(--hairline);
  color: inherit; min-height: 44px;
}
.route:last-child { border-bottom: 1px solid var(--hairline); }
.route:hover { text-decoration: none; }
.route .r-name { font-size: var(--f-lead); font-weight: 600; letter-spacing: -0.01em; }
.route .r-sub { color: var(--ink-2); font-size: var(--f-body); margin-right: auto; }
.route .r-go { color: var(--accent); font-weight: 600; flex: none; }
.route:hover .r-go { text-decoration: underline; }
@media (max-width: 640px) { .route { flex-direction: column; align-items: flex-start; gap: 4px; } }

.msg-preview {
  margin-top: var(--s5); padding: var(--s4);
  background: var(--surface-2); border-radius: var(--r-panel);
  color: var(--ink-2); max-width: var(--measure);
}
.msg-preview strong { display: block; color: var(--ink); margin-bottom: var(--s2); font-weight: 600; }

/* ------------------------------------------------------------- closing -- */
.closing { text-align: center; }
.closing .lead { margin: var(--s3) auto 0; }
.closing .btn-row { justify-content: center; margin-top: var(--s5); }

/* --------------------------------------------------------------- areas -- */
.area-list { display: grid; gap: 0; margin-top: var(--s5); }
.area-list a {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
  padding: var(--s3) 0; min-height: 44px;
  border-top: 1px solid var(--hairline); color: var(--ink);
  font-size: var(--f-lead); font-weight: 600; letter-spacing: -0.01em;
}
.area-list a:last-child { border-bottom: 1px solid var(--hairline); }
.area-list a:hover { text-decoration: none; color: var(--accent); }
.area-list span { color: var(--ink-2); font-size: var(--f-body); font-weight: 400; }

/* -------------------------------------------------------------- footer -- */
.site-foot { border-top: 1px solid var(--hairline); padding: var(--s6) 0 var(--s5); font-size: 14px; color: var(--ink-2); }
.site-foot h2 { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: var(--s3); }
.foot-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-bottom: var(--s5); }
.foot-links a { color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.foot-legal { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); padding-top: var(--s3); border-top: 1px solid var(--hairline); }
.foot-legal a, .foot-legal button {
  color: var(--ink-2); font: inherit; background: none; border: 0; padding: 0; cursor: pointer;
}
.foot-legal a:hover, .foot-legal button:hover { color: var(--ink); text-decoration: underline; }
.foot-fine { margin-top: var(--s3); line-height: 1.6; }
.foot-fine a { color: var(--ink-2); text-decoration: underline; }

/* ------------------------------------------------------------ floating -- */
.float {
  position: fixed; right: var(--s3); bottom: var(--s3); z-index: 60;
  display: flex; flex-direction: row; gap: var(--s1);
}
.float a {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.float a:hover { opacity: .85; text-decoration: none; }
.float svg { width: 22px; height: 22px; fill: currentColor; }
@media (min-width: 901px) { .float { display: none; } }

/* --------------------------------------------------------------- misc -- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 24px; background: var(--surface); color: var(--ink);
}
.skip:focus { left: var(--gutter); top: var(--s1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* -------------------------------------------------------- cookie banner -- */
/* Markup is injected by cookie-consent.js; styled here so it belongs to the
   same system as the rest of the page. */
#cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  /* opaque on purpose: a translucent bar composites differently depending on
     what scrolls behind it, which pushed the body copy under 4.5:1 */
  background: var(--surface);
  border-top: 1px solid var(--hairline);
}
.cookie-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: var(--s3) var(--gutter);
  display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap;
}
.cookie-copy { flex: 1 1 320px; min-width: 0; }
.cookie-copy strong { display: block; font-weight: 600; margin-bottom: 4px; }
.cookie-copy p { font-size: 14px; line-height: 1.5; color: var(--ink); max-width: var(--measure); }
.cookie-actions { display: flex; gap: var(--s2); flex: none; }
.cookie-btn {
  min-height: 44px; padding: 12px 24px;
  font: inherit; font-size: var(--f-body); font-weight: 600;
  border-radius: 999px; border: 0; cursor: pointer;
  transition: opacity .3s var(--ease);
}
.cookie-btn:hover { opacity: .85; }
.cookie-accept { background: var(--accent); color: var(--accent-ink); }
.cookie-reject { background: transparent; color: var(--ink); }
@media (max-width: 640px) {
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* ==========================================================================
   LEGACY MARKUP LAYER
   The other pages keep their original HTML — not a word of copy is touched.
   These rules map their existing class names onto the system above, so the
   whole site shares one visual language without rewriting 30,000 lines.
   ========================================================================== */

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

/* alternating section grounds (were #0c0c0c / #101010) */
section.dark, section.soft, section.callback, section.cta, section.faq,
section.areas, section.reviews, section.why, section.how-it-works,
section.local-seo, section.quick-message, section.pass-preview,
section.trust-strip { padding: var(--s7) 0; }
@media (max-width: 768px) {
  section.dark, section.soft, section.callback, section.cta, section.faq,
  section.areas, section.reviews, section.why, section.how-it-works,
  section.local-seo, section.quick-message, section.pass-preview,
  section.trust-strip { padding: var(--s6) 0; }
}
section.dark  { background: var(--surface); color: var(--ink); }
section.soft  { background: var(--surface-2); color: var(--ink); }
section.callback, section.areas, section.reviews, section.how-it-works { background: var(--surface-2); }
section.faq, section.why, section.local-seo, section.pass-preview,
section.quick-message, section.cta { background: var(--surface); }

/* hero — was a photo with a dark scrim; now plain, like the homepage */
section.hero, main .hero {
  background: var(--surface) !important;
  color: var(--ink);
  padding: var(--s8) 0 var(--s7);
  min-height: 0;
}
@media (max-width: 768px) { section.hero, main .hero { padding: var(--s6) 0; } }
.hero h1, .hero h1 span { color: var(--ink) !important; }
.hero p, .hero-content p { color: var(--ink-2) !important; font-size: var(--f-lead); line-height: 1.42; max-width: var(--measure); }
.hero p + p { margin-top: var(--s3); }
.hero-content { max-width: 100%; }

/* eyebrow labels — kept for search, quietened */
.label, .section-label, .hero-label, .label.hero-label, main .hero-label {
  display: block; width: fit-content;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2) !important;
  background: none !important; border: 0 !important; padding: 0 !important;
  margin: 0 0 var(--s2) !important;
}

.section-head, .areas-head, .reviews-head, .why-head { margin-bottom: var(--s5); }
.section-head p, .areas-head p, .reviews-head p { margin-top: var(--s2); font-size: var(--f-lead); color: var(--ink-2); max-width: var(--measure); }
.text { max-width: var(--measure); color: var(--ink-2); }
.center { text-align: center; }
.center .label, .center .section-label { margin-left: auto !important; margin-right: auto !important; }

/* cards */
.grid-2, .grid-3, .cards, .why-grid, .steps-grid, .faq-grid, .areas-grid, .review-grid, .stats {
  display: grid; gap: var(--s5); margin-top: var(--s5);
}
.grid-3, .cards, .why-grid, .steps-grid, .faq-grid, .areas-grid, .review-grid { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.stats, .trust-strip-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s4); }
@media (max-width: 900px) { .grid-3, .cards, .why-grid, .steps-grid, .faq-grid, .areas-grid, .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .cards, .why-grid, .steps-grid, .faq-grid, .areas-grid, .review-grid { grid-template-columns: 1fr; } }

.card, .stat-card, .why-card, .step-card, .faq-item, .area-card, .review-card,
.service-card, .trust-card, .social-card, .payment-card {
  background: var(--surface-2); color: var(--ink);
  border: 0; border-radius: var(--r-card); padding: var(--s4);
  display: flex; flex-direction: column; gap: var(--s1);
}
.soft .card, .soft .stat-card, .soft .step-card, .soft .faq-item, .soft .area-card,
.section-alt .card, .callback .card, .areas .area-card, .reviews .review-card,
.how-it-works .step-card { background: var(--surface); }
.card p, .stat-card span, .why-card p, .step-card p, .faq-item p,
.area-card p, .review-card p, .service-card p { color: var(--ink-2); }
.card h3, .card strong, .stat-card strong { color: var(--ink); }
.price, .price-line, .payment-price { font-weight: 600; color: var(--ink); }
a.card, a.area-card, a.social-card { color: inherit; }
a.card:hover, a.area-card:hover, a.social-card:hover { text-decoration: none; }
.card-link, .area-link, .go { color: var(--accent); font-weight: 600; margin-top: auto; padding-top: var(--s3); }
.card-badge { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--accent); }
.area-icon, .why-icon, .social-icon, .step-number, .num, .fault-dot { color: var(--ink-2); font-size: 14px; font-weight: 600; }

/* area pills */
.area-list { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s4); }
.area-pill {
  display: inline-flex; align-items: center; min-height: 32px; padding: 6px 16px;
  background: var(--surface-2); color: var(--ink-2);
  border: 0; border-radius: 999px; font-size: 14px;
}
.soft .area-pill, .section-alt .area-pill { background: var(--surface); }
.area-rate-note { font-size: var(--f-body) !important; color: var(--ink-2) !important; }
.area-rate-note strong { color: var(--ink); font-weight: 600; }

/* buttons */
.actions, .hero-actions, .reviews-cta, .dual-cta, .btn-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s5);
}
.btn, .btn-primary, .btn-secondary, .btn-whatsapp, .btn-hero-main, .btn-hero-alt {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 24px;
  font-size: var(--f-body); font-weight: 600; line-height: 1.2;
  border-radius: 999px; border: 0; cursor: pointer;
  transition: opacity .3s var(--ease);
}
.btn:hover { text-decoration: none; opacity: .85; }
.btn-primary, .btn-whatsapp { background: var(--accent) !important; color: var(--accent-ink) !important; border: 0 !important; }
.btn-secondary, .btn-hero-alt {
  background: transparent !important; color: var(--accent) !important;
  border: 0 !important; padding-left: 0; padding-right: 0;
}
.btn-secondary:hover, .btn-hero-alt:hover { text-decoration: underline; opacity: 1; }

/* header */
header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
/* the legacy header wraps its contents in <div class="container nav"> — the
   element selector keeps it a row and stops it matching the new .nav menu */
header > .container.nav, header > .nav-inner, header .nav-inner {
  display: flex; align-items: center; gap: var(--s3); min-height: 56px;
}
.logo { display: flex; align-items: center; margin-right: auto; }
.logo-img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--s3); list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover { color: var(--ink-2); text-decoration: none; }
.nav-links .btn-nav {
  color: var(--accent); font-weight: 600;
  background: none !important; border: 0 !important; padding: 0 !important; min-height: 44px;
}
.hamburger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.hamburger span { display: block; width: 18px; height: 1.5px; margin: 4px auto; background: currentColor; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed; inset: 56px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s2) var(--gutter) var(--s4);
    background: var(--surface); border-bottom: 1px solid var(--hairline);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    max-height: calc(100vh - 56px); overflow-y: auto;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: var(--f-body); min-height: 48px; }
}

/* callback / contact blocks -> the route list pattern */
.callback-inner, .quick-message-panel, .pass-inner-new, .cta-panel, .local-seo-box {
  display: grid; gap: var(--s6); align-items: start;
}
@media (min-width: 901px) { .callback-inner, .quick-message-panel, .pass-inner-new, .cta-panel { grid-template-columns: 1fr 1fr; } }
.callback-points { margin: var(--s3) 0 0; padding-left: 20px; color: var(--ink-2); }
.callback-points li { margin-bottom: var(--s1); }
.callback-card, .message-card, .cta-box, .callback-preview, .msg-preview {
  background: var(--surface); border: 0; border-radius: var(--r-panel); padding: var(--s4); color: var(--ink-2);
}
.soft .callback-card, .callback .callback-card { background: var(--surface); }
.callback-choose { display: grid; gap: 0; }
.callback-action {
  display: flex; flex-direction: column; gap: 4px;
  padding: var(--s3) 0; min-height: 44px;
  border-top: 1px solid var(--hairline); color: var(--ink);
}
.callback-action:last-child { border-bottom: 1px solid var(--hairline); }
.callback-action:hover { text-decoration: none; }
.callback-action-label { font-size: var(--f-lead); font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.callback-action:hover .callback-action-label { color: var(--accent); }
.callback-action-sub { font-size: var(--f-body); color: var(--ink-2); }
.callback-hours { margin-top: var(--s3); font-size: 14px; color: var(--ink-2); }
.cta-box strong, .message-card strong, .callback-preview strong, .msg-preview strong {
  display: block; color: var(--ink); font-weight: 600; margin-bottom: var(--s2);
}

/* footer */
/* direct child only — a bare `footer` selector also catches the <footer>
   inside each review blockquote and boxes the attribution */
body > footer {
  border-top: 1px solid var(--hairline); padding: var(--s6) var(--gutter) var(--s5);
  font-size: 14px; color: var(--ink-2); background: var(--surface);
  max-width: var(--maxw); margin: 0 auto; text-align: left;
}
body > footer a { color: var(--ink-2); }
body > footer a:hover { color: var(--ink); }
.review footer { display: block; margin-top: var(--s1); }
.footer-local h3 { font-size: 14px; font-weight: 600; color: var(--ink); letter-spacing: 0; margin-bottom: var(--s3); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin-bottom: var(--s5); }
.trader-identity { margin-top: var(--s3); line-height: 1.6; }
.trader-identity a { text-decoration: underline; }

/* floating actions */
.floating-actions {
  position: fixed; right: var(--s3); bottom: var(--s3); z-index: 60;
  display: flex; flex-direction: row; gap: var(--s1);
}
.float-btn {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.float-btn:hover { opacity: .85; text-decoration: none; }
.float-btn svg { width: 22px; height: 22px; fill: currentColor; }
.float-label { display: none; }
@media (min-width: 901px) { .floating-actions { display: none; } }

/* misc legacy bits */
.stars { color: var(--ink-2); }
.google-logo, .review-google-logo { height: 16px; width: auto; }
.rating-row, .review-summary, .review-score, .review-score-meta, .pass-proof-row, .trust-strip-grid {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2);
  font-size: 14px; color: var(--ink-2);
}
.review-score strong { font-size: var(--f-lead); color: var(--ink); }
.availability-pill, .hero-reply-note, .hero-trust-stats, .hero-choice-label { font-size: 14px; color: var(--ink-2); }
.pass-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.pass-showcase img { aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-card); }
.terms-block { margin-bottom: var(--s5); max-width: var(--measure); }
.terms-block h2, .terms-block h3 { margin-bottom: var(--s2); }
.terms-block p, .terms-block li { color: var(--ink-2); }
.terms-block p + p, .terms-block ul { margin-top: var(--s2); }
.terms-link, .card p a, .section-head p a, .terms-block p a { color: var(--accent); text-decoration: underline; }

/* a quoted block (the statutory cancellation form in the terms) — token-based
   so it follows the theme instead of staying light in dark mode */
.quote-panel {
  background: var(--surface-2); color: var(--ink);
  border: 0; border-radius: var(--r-panel); padding: var(--s3);
  max-width: var(--measure); line-height: 1.7;
}
/* legacy single floating WhatsApp button (terms + privacy) */
.whatsapp-float {
  position: fixed; right: var(--s3); bottom: var(--s3); z-index: 60;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
.whatsapp-float:hover { opacity: .85; text-decoration: none; }
.whatsapp-float svg, .whatsapp-float img { width: 22px; height: 22px; fill: currentColor; }
@media (min-width: 901px) { .whatsapp-float { display: none; } }

/* --------------------------------------------------------- hero imagery --
   The photography sits BELOW the hero copy rather than behind it: no scrim,
   no white-on-photo contrast risk, and the image is shown at full strength
   instead of being darkened to make text readable over it. */
.hero-media { margin: 0; padding: 0 var(--gutter) var(--s7); background: var(--surface); }
@media (max-width: 768px) { .hero-media { padding-bottom: var(--s6); } }
.hero-media picture, .hero-media img {
  display: block; width: 100%; max-width: var(--maxw); margin: 0 auto;
}
.hero-media img {
  /* no forced aspect-ratio: the mobile montage is a wide 2.2:1 crop and the
     page photos are 16:9, so each is left at its own proportions */
  height: auto; border-radius: var(--r-panel); background: var(--surface-2);
}
section.hero:has(+ .hero-media), main .hero:has(+ .hero-media) { padding-bottom: var(--s5); }


/* the floating buttons overlay the page, so the footer's final lines need
   room underneath to stay readable on a phone */
@media (max-width: 900px) {
  body > footer { padding-bottom: calc(var(--s5) + 56px); }
}

/* ------------------------------------------------------------- features --
   A photograph paired with its copy. Alternates side on desktop so a run of
   them doesn't read as a list of identical rows; stacks on mobile. */
.feature { display: grid; gap: var(--s5); align-items: center; }
.feature + .feature { margin-top: var(--s7); }
@media (min-width: 901px) {
  .feature { grid-template-columns: 1fr 1fr; gap: var(--s6); }
  .feature:nth-child(even) .feature-media { order: 2; }
}
.feature-media img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-panel); background: var(--surface-2);
}
.feature h2 + .meta { margin-top: var(--s1); }
.feature .meta { color: var(--ink-2); font-weight: 600; }
.feature > div > p { margin-top: var(--s2); color: var(--ink-2); max-width: var(--measure); }

/* tick lists — the marker is the only decoration, so keep it quiet */
.checks { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.checks li { position: relative; padding-left: 26px; margin-bottom: var(--s1); color: var(--ink-2); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--ink-2); font-weight: 600;
}

/* a short row of figures used as proof */
.stat-row { display: grid; gap: var(--s5); margin-top: var(--s5); }
@media (min-width: 641px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat-row div { display: flex; flex-direction: column; gap: 4px; }
.stat-row dt, .stat-row .figure { font-size: var(--f-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.stat-row dd, .stat-row .label-sm { margin: 0; color: var(--ink-2); }

/* -------------------------------------------------- prose / legal pages --
   terms, privacy, app-privacy, app-support, thank-you. Their body markup is
   kept exactly as written; these rules give it the system's typography. */
section.page-hero { padding: var(--s8) 0 var(--s5); background: var(--surface); }
@media (max-width: 768px) { section.page-hero { padding: var(--s6) 0 var(--s4); } }
.page-hero-inner, .header-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
}
.page-hero h1 { max-width: 18ch; }
.page-hero p, .subtitle { margin-top: var(--s3); font-size: var(--f-lead); color: var(--ink-2); max-width: var(--measure); }

.last-updated, .updated, .status {
  display: inline-block; margin-top: var(--s3); padding: 6px 16px;
  background: var(--surface-2); color: var(--ink-2);
  border-radius: 999px; font-size: 14px; font-weight: 600;
}

main .card, .highlight-box, .contact-box, .note, .support-option, .next-steps {
  background: var(--surface-2); color: var(--ink);
  border: 0; border-radius: var(--r-panel); padding: var(--s4);
  margin-bottom: var(--s3); max-width: none;
}
main .card h2, main .card h3, .highlight-box h2, .highlight-box h3 { margin-bottom: var(--s2); }
main .card p, main .card li, .highlight-box p, .contact-box p, .note p, .support-option p { color: var(--ink-2); }
main .card p + p, main .card ul, main .card ol { margin-top: var(--s2); }
main .card h3, .support-option h3 { margin-top: var(--s3); }
main .card > :first-child, .support-option > :first-child { margin-top: 0; }
main ul, main ol { padding-left: 22px; }
main li { margin-bottom: 6px; }
main h2 { margin-top: var(--s5); }
main h3 { margin-top: var(--s3); }
main p + p, main h2 + p, main h3 + p { margin-top: var(--s2); }
main section > .wrap > p, main .page-hero-inner > p { max-width: var(--measure); }

.num { color: var(--ink-2); font-weight: 600; }
.check-circle { font-size: var(--f-head); line-height: 1; color: var(--accent); }
.footer-note { color: var(--ink-2); font-size: 14px; margin-top: var(--s3); }
.buttons { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.button, .button-primary, .button-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 24px; font-weight: 600;
  border-radius: 999px; border: 0;
}
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-secondary { background: transparent; color: var(--accent); padding-left: 0; padding-right: 0; }
.button:hover { text-decoration: none; opacity: .85; }

/* ============================ REMAINING PAGE COMPONENTS ===================
   contact, book, about, gallery and socials keep their own markup; these map
   their component names onto the same primitives used everywhere else. Named
   explicitly rather than by wildcard so nothing is styled by accident. */

section.areas-section, section.booking-section, section.contact-main-section,
section.contact-options-section, section.cta-section, section.difference-section,
section.faq-section, section.featured-section, section.final-cta-section,
section.gallery-section, section.links-section, section.payment-section,
section.promise-section, section.service-links-section, section.service-section,
section.steps-section, section.story-section, section.timeline-section,
section.book-hero, section.find-hero, section.gallery-hero { padding: var(--s7) 0; }
@media (max-width: 768px) {
  section.areas-section, section.booking-section, section.contact-main-section,
  section.contact-options-section, section.cta-section, section.difference-section,
  section.faq-section, section.featured-section, section.final-cta-section,
  section.gallery-section, section.links-section, section.payment-section,
  section.promise-section, section.service-links-section, section.service-section,
  section.steps-section, section.story-section, section.timeline-section,
  section.book-hero, section.find-hero, section.gallery-hero { padding: var(--s6) 0; }
}
section.booking-section, section.contact-options-section, section.difference-section,
section.featured-section, section.payment-section, section.service-section,
section.steps-section, section.timeline-section { background: var(--surface-2); }

/* content wrappers */
.areas-inner, .contact-inner, .faq-inner, .featured-inner, .gallery-hero-inner,
.story-inner, .timeline-inner, .trust-inner, .booking-wrap, .gallery-intro {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
}
.book-hero, .find-hero, .gallery-hero { background: var(--surface); }
.book-hero h1, .find-hero h1, .gallery-hero h1 { max-width: 16ch; }

/* section headings */
.booking-head, .difference-head, .faq-head, .links-head, .options-head,
.payment-head, .promise-head, .service-head, .steps-head { margin-bottom: var(--s5); }
.booking-head p, .difference-head p, .faq-head p, .links-head p, .options-head p,
.payment-head p, .promise-head p, .service-head p, .steps-head p {
  margin-top: var(--s2); font-size: var(--f-lead); color: var(--ink-2); max-width: var(--measure);
}
.areas-copy, .faq-copy, .featured-copy, .story-copy, .timeline-copy { max-width: var(--measure); }
.areas-copy p, .faq-copy p, .featured-copy p, .story-copy p, .timeline-copy p { color: var(--ink-2); }
.hero-card { max-width: var(--maxw); }
.hero-note { margin-top: var(--s3); font-size: 14px; color: var(--ink-2); }

/* grids */
.difference-grid, .featured-panel-grid, .options-grid, .payment-grid,
.promise-grid, .service-grid, .social-grid, .stats-grid, .trust-grid {
  display: grid; gap: var(--s5); margin-top: var(--s5);
  grid-template-columns: repeat(3, 1fr);
}
.stats-grid, .trust-grid { grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: var(--s4); }
.payment-grid, .featured-panel-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .difference-grid, .options-grid, .promise-grid, .service-grid, .social-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .difference-grid, .featured-panel-grid, .options-grid, .payment-grid, .promise-grid,
  .service-grid, .social-grid, .stats-grid, .trust-grid { grid-template-columns: 1fr; }
}

/* card-shaped things */
.contact-card, .cta-card, .difference-card, .faq-card, .final-cta-card,
.info-card, .option-card, .promise-card, .featured-panel, .tally-panel,
.fast-reply-box, .payment-note-box, .info-strip, .quick-contact, .mini-stat {
  background: var(--surface-2); color: var(--ink);
  border: 0; border-radius: var(--r-card); padding: var(--s4);
  display: flex; flex-direction: column; gap: var(--s1);
}
.section-alt .contact-card, .section-alt .option-card, .booking-section .info-card,
.difference-section .difference-card, .payment-section .payment-note-box,
.service-section .service-grid > *, .steps-section .info-card,
.timeline-section .timeline-item, .featured-section .featured-panel { background: var(--surface); }
.contact-card p, .cta-card p, .difference-card p, .faq-card p, .info-card p,
.option-card p, .promise-card p, .featured-panel p, .mini-stat span { color: var(--ink-2); }
.contact-card-intro { color: var(--ink-2); margin-bottom: var(--s3); }
.contact-icon, .difference-icon, .option-icon, .promise-icon, .social-icon,
.timeline-number, .social-arrow { color: var(--ink-2); font-size: 14px; font-weight: 600; }

/* lists */
.contact-list, .faq-list, .featured-list, .timeline-list { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.contact-item, .timeline-item { padding: var(--s3) 0; border-top: 1px solid var(--hairline); }
.contact-list .contact-item:last-child, .timeline-list .timeline-item:last-child { border-bottom: 1px solid var(--hairline); }
.featured-list li { margin-bottom: var(--s1); color: var(--ink-2); }
.faq-question { font-size: var(--f-lead); font-weight: 600; letter-spacing: -.01em; margin-bottom: var(--s1); }
.faq-answer { color: var(--ink-2); max-width: var(--measure); }
.social-text { color: var(--ink-2); }
.brand-rating { font-size: 14px; color: var(--ink-2); }
.hero-logo-wrap img { max-height: 56px; width: auto; }

/* action rows */
.cta-actions, .quick-actions, .story-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s5);
}
.btn-call { background: transparent !important; color: var(--accent) !important; padding-left: 0; padding-right: 0; }

/* gallery */
.gallery-controls, .gallery-toolbar { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s4); }
.filter-btn {
  min-height: 40px; padding: 8px 18px; font: inherit; font-size: 14px; font-weight: 600;
  background: var(--surface-2); color: var(--ink-2);
  border: 0; border-radius: 999px; cursor: pointer;
}
.filter-btn:hover { color: var(--ink); }
.filter-btn.active { background: var(--accent); color: var(--accent-ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); margin-top: var(--s5); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-card); background: var(--surface-2); }
.gallery-cta { margin-top: var(--s5); }

/* social link icons — decorative, so they never carry meaning alone */
.icon-book, .icon-email, .icon-facebook, .icon-instagram, .icon-phone,
.icon-review, .icon-tiktok, .icon-web, .icon-whatsapp, .icon-youtube {
  color: var(--ink-2); flex: none;
}

/* gallery lightbox */
.gallery-modal {
  position: fixed; inset: 0; z-index: 90;
  display: none; align-items: center; justify-content: center;
  padding: var(--s4); background: rgba(0,0,0,.92);
}
.gallery-modal.open, .gallery-modal[aria-hidden="false"] { display: flex; }
.modal-box { display: flex; flex-direction: column; gap: var(--s3); max-width: 900px; width: 100%; }
.modal-img-wrap { display: flex; justify-content: center; }
.modal-img-wrap img { max-height: 76vh; width: auto; border-radius: var(--r-card); }
.modal-controls { display: flex; align-items: center; justify-content: center; gap: var(--s4); }
.modal-counter { color: #f5f5f7; font-size: 14px; font-variant-numeric: tabular-nums; }
.modal-arrow, .modal-close {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; font-size: 24px; line-height: 1;
  background: rgba(255,255,255,.14); color: #ffffff;
  border: 0; border-radius: 999px; cursor: pointer;
}
.modal-arrow:hover, .modal-close:hover { background: rgba(255,255,255,.26); }
.modal-close { position: fixed; top: var(--s3); right: var(--s3); }

/* ================================ PRICING PAGE ===========================
   Prices, badges and package cards. Figures use tabular numerals so columns
   of money line up, and the accent marks only the recommended option. */

.hero-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.hero-inner h1 + p, .hero-inner > p { margin-top: var(--s3); }
.hero-price-row { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s4); }
.hero-price-pill {
  display: inline-flex; align-items: center; min-height: 32px; padding: 6px 16px;
  background: var(--surface-2); color: var(--ink-2);
  border-radius: 999px; font-size: 14px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* in-page jump links */
section.price-nav { padding: var(--s4) 0; background: var(--surface-2); }
.price-nav-row { display: flex; flex-wrap: wrap; gap: var(--s1); }
.price-nav-row a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px;
  background: var(--surface); color: var(--ink-2);
  border-radius: 999px; font-size: 14px; font-weight: 600;
}
.price-nav-row a:hover { color: var(--accent); text-decoration: none; }

/* the two payment routes */
section.pay-routes { padding: var(--s7) 0; }
@media (max-width: 768px) { section.pay-routes { padding: var(--s6) 0; } }
.pay-grid, .other-grid { display: grid; gap: var(--s5); margin-top: var(--s5); grid-template-columns: repeat(2, 1fr); }
.single-grid, .choose-grid { display: grid; gap: var(--s5); margin-top: var(--s5); grid-template-columns: repeat(3, 1fr); }
.block-grid { display: grid; gap: var(--s5); margin-top: var(--s5); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .block-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px)  { .single-grid, .choose-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .pay-grid, .other-grid, .single-grid, .choose-grid, .block-grid { grid-template-columns: 1fr; } }

.pay-card, .lesson-card, .price-card, .other-card, .choose-card {
  position: relative;
  background: var(--surface-2); color: var(--ink);
  border: 0; border-radius: var(--r-panel); padding: var(--s4);
  display: flex; flex-direction: column; gap: var(--s1);
}
.section-alt .pay-card, .section-alt .lesson-card, .section-alt .price-card,
.section-alt .other-card, .section-alt .choose-card,
section.block-section .price-card, section.choose-section .choose-card { background: var(--surface); }
.pay-card p, .lesson-card p, .price-card p, .other-card p, .choose-card p { color: var(--ink-2); }

/* badges — one idea each, so they stay quiet unless they mark the pick */
.card-tag, .pay-tag, .save-badge, .top-badge {
  align-self: flex-start; display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--surface); color: var(--ink-2);
}
.section-alt .card-tag, .section-alt .save-badge, .section-alt .top-badge,
section.block-section .save-badge, section.block-section .top-badge { background: var(--surface-2); }
.top-badge.best, .top-badge.gold, .card-tag.best { background: var(--accent); color: var(--accent-ink); }

/* figures */
.main-price, .card-price, .pay-rate, .mini-price, .ask-price, .price-area {
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.main-price, .card-price, .pay-rate { font-size: var(--f-lead); font-weight: 700; letter-spacing: -.01em; }
.was-price { color: var(--ink-2); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.per-hour, .online-note, .pay-note, .pay-foot, .mini-price, .ask-price, .price-area {
  font-size: 14px; color: var(--ink-2);
}
.online-note { display: block; margin-top: 4px; }
.pay-foot { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--hairline); }
.pay-note { max-width: var(--measure); margin-top: var(--s4); }

/* tick / cross lists inside the payment routes */
/* the ✓ and — already sit in the markup, so no pseudo-element marker here —
   just hang them in the margin so the text lines up */
.pay-list { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.pay-list li {
  padding-left: 24px; text-indent: -24px;
  margin-bottom: var(--s1); color: var(--ink-2);
}
.pay-list li strong { color: var(--ink); }

.lesson-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: auto; padding-top: var(--s3); }
.red { color: var(--accent); }

section.single-section, section.block-section, section.other-section, section.choose-section { padding: var(--s7) 0; }
@media (max-width: 768px) {
  section.single-section, section.block-section, section.other-section, section.choose-section { padding: var(--s6) 0; }
}
section.block-section, section.choose-section { background: var(--surface-2); }

/* pricing feature lists — the tick is a styled marker rather than a literal
   character in the copy, so it matches the lesson pages and can never double */
.lesson-card ul, .price-card ul, .other-card ul, .choose-card ul { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.lesson-card ul li, .price-card ul li, .other-card ul li, .choose-card ul li {
  position: relative; padding-left: 26px; margin-bottom: var(--s1); color: var(--ink-2);
}
.lesson-card ul li::before, .price-card ul li::before,
.other-card ul li::before, .choose-card ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--ink-2); font-weight: 600;
}


/* the section-level badge rule was overriding the accent on the highlighted
   package, leaving white text on a light grey pill */
section.block-section .top-badge.best, section.block-section .top-badge.gold,
section.block-section .card-tag.best, .top-badge.best, .top-badge.gold {
  background: var(--accent); color: var(--accent-ink);
}

/* the four package buttons alternated between filled and plain in the original
   markup, which read as broken rather than as a hierarchy. One treatment for a
   row of equal choices; the "most popular" badge does the singling out. */
.price-card .btn, .price-card .btn-secondary,
.pay-grid .btn, .pay-grid .btn-secondary,
.lesson-card .btn-primary {
  background: var(--accent) !important; color: var(--accent-ink) !important;
  padding-left: 24px !important; padding-right: 24px !important;
  text-decoration: none !important; width: 100%;
}
.price-card .btn, .pay-grid .btn { margin-top: auto; }
.lesson-card-actions .btn-secondary {
  background: transparent !important; color: var(--accent) !important;
  padding-left: 0 !important; padding-right: 0 !important; width: auto;
}

/* ================================== FORMS ================================
   The enquiry form. Native HTML controls styled to the system — no library,
   works with the keyboard, and submits even if JavaScript fails. */
.form { display: grid; gap: var(--s4); max-width: 640px; }
.field { display: grid; gap: var(--s1); }
.field > label, .fieldset > legend {
  font-size: 14px; font-weight: 600; color: var(--ink); padding: 0;
}
.field .hint { font-size: 14px; color: var(--ink-2); }
.field .req { color: var(--accent); }

.input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: inherit; font-size: var(--f-body); color: var(--ink);
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 12px; appearance: none;
  transition: border-color .3s var(--ease);
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%),
                    linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 21px) 21px, calc(100% - 15px) 21px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
  padding-right: 44px;
}
.input:focus, input:focus, textarea:focus, select:focus { border-color: var(--ink-2); outline: none; }
.input:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--focus); outline-offset: 2px;
}
::placeholder { color: var(--ink-2); opacity: 1; }

/* radio groups rendered as selectable chips */
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s1); }
.chips label {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px;
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--hairline); border-radius: 999px;
  font-size: var(--f-body); cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.chips input { position: absolute; opacity: 0; width: 0; height: 0; }
.chips input:checked + span { color: var(--accent-ink); }
.chips label:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }

.form .btn-primary { justify-self: start; }
.form-note { font-size: 14px; color: var(--ink-2); max-width: var(--measure); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; padding: var(--s3) var(--s4); border-radius: 12px; font-weight: 600; }
.form-status.show { display: block; }
.form-status.ok { background: var(--surface-2); color: var(--ink); }
.form-status.err { background: var(--surface-2); color: var(--accent); }

/* the form sits beside the reassurance cards on a wide screen */
.booking-wrap { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1000px) { .booking-wrap { grid-template-columns: 1.4fr 1fr; } }
.info-strip { display: grid; gap: var(--s3); background: none; padding: 0; border-radius: 0; }

/* =====================================================================
   Content module — Bletchley Test Centre hub, hotspots, Learn.
   Every class is prefixed c- so it can never collide with page-level
   classes (.faq, .nav, footer …) that bit us before.
   ===================================================================== */

.c-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s2); }
.c-hubhero { padding-top: var(--s6); }
.c-hubhero h1 { max-width: 20ch; font-size: clamp(34px, 5vw, 60px); }

/* Breadcrumbs */
.c-crumbs { display: flex; flex-wrap: wrap; gap: var(--s1); font-size: 14px; color: var(--ink-2); margin-bottom: var(--s4); }
.c-crumbs a { color: var(--ink-2); }
.c-crumbs a:hover { color: var(--accent); }
.c-crumbs span[aria-current] { color: var(--ink); }

/* Card grid */
.c-vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.c-vcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-card); overflow: hidden; color: inherit; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease; }
.c-vcard:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 28px rgba(0,0,0,.08); }
.c-vcard-media { position: relative; display: block; aspect-ratio: 9 / 16; background: var(--surface-2); }
.c-vcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-vcard-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--accent); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .16s ease; }
.c-vcard:hover .c-vcard-play { transform: scale(1.06); }
.c-vcard-play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.c-vcard-dur { position: absolute; right: var(--s2); bottom: var(--s2); padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; font-weight: 600; }
.c-vcard-body { display: flex; flex-direction: column; gap: 4px; padding: var(--s3); }
.c-vcard-kicker { font-size: 13px; color: var(--ink-2); }
.c-vcard-title { font-weight: 600; line-height: 1.3; }
.c-vcard-go { margin-top: auto; padding-top: var(--s2); color: var(--accent); font-weight: 600; font-size: 15px; }
.c-more { margin-top: var(--s5); }
.c-empty { color: var(--ink-2); margin-top: var(--s4); }

/* Filter chips */
.c-chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s5); }
.c-chip { appearance: none; border: 1px solid var(--hairline); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; min-height: 40px; }
.c-chip span { color: var(--ink-2); font-weight: 400; margin-left: 4px; }
.c-chip.is-on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.c-chip.is-on span { color: inherit; opacity: .7; }
.c-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Detail layout */
.c-detail { padding: var(--s4) 0 var(--s7); }
.c-layout { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: var(--s7); align-items: start; }
.c-player-col { position: sticky; top: 72px; }
.c-player { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 16px 40px rgba(0,0,0,.14); }
.c-player-poster { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-player video, .c-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.c-player-btn { position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 55%); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3); cursor: pointer; font: inherit; }
.c-player-btn svg { width: 72px; height: 72px; padding: 20px; box-sizing: border-box; border-radius: 50%; background: rgba(255,255,255,.94); fill: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .16s ease; }
.c-player-btn:hover svg { transform: scale(1.06); }
.c-player-btn span { font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; }
.c-player.is-playing .c-player-btn, .c-player.is-playing .c-player-poster { display: none; }

.c-series { margin-top: var(--s4); border: 1px solid var(--hairline); border-radius: var(--r-card); padding: var(--s3) var(--s4); background: var(--surface); }
.c-series-name { font-size: 14px; font-weight: 600; color: var(--ink-2); margin: 0 0 var(--s2); }
.c-series-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.c-series-list a { display: flex; gap: var(--s2); align-items: baseline; padding: 6px 0; color: var(--ink); text-decoration: none; font-size: 15px; }
.c-series-list a:hover { color: var(--accent); }
.c-series-list span { flex: 0 0 22px; height: 22px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--surface-2); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.c-series-list li[aria-current] a { font-weight: 600; }
.c-series-list li[aria-current] span { background: var(--accent); color: var(--accent-ink); }

.c-content h1 { max-width: 22ch; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.02em; }
.c-content .lead { margin-top: var(--s3); }
.c-block { margin-top: var(--s6); }
.c-block h2 { font-size: 24px; margin-bottom: var(--s2); }
.c-block p { max-width: var(--measure); }
.c-block p + p { margin-top: var(--s2); }
.c-list { margin: var(--s2) 0 0; padding: 0; list-style: none; display: grid; gap: var(--s2); max-width: var(--measure); }
.c-list li { position: relative; padding-left: 28px; }
.c-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); opacity: .9; }
.c-answer { margin-top: var(--s3); border: 1px solid var(--hairline); border-radius: 12px; padding: var(--s2) var(--s3); background: var(--surface-2); max-width: var(--measure); }
.c-answer summary { cursor: pointer; font-weight: 600; color: var(--accent); list-style: none; }
.c-answer summary::-webkit-details-marker { display: none; }
.c-answer p { margin-top: var(--s2); }
.c-skills-intro { color: var(--ink-2); font-size: 15px; }
.c-tags { list-style: none; margin: var(--s2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.c-tags li { border: 1px solid var(--hairline); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.c-note { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--hairline); color: var(--ink-2); font-size: 14px; max-width: var(--measure); }

/* Section cards (Learn) */
.c-section-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.c-section-card:hover { text-decoration: none; }
.c-section-card:hover h3 { color: var(--accent); }

/* CTA band */
.c-cta { padding: var(--s7) 0; }
.c-cta-box { display: grid; grid-template-columns: 1fr auto; gap: var(--s5); align-items: center; padding: var(--s6); border-radius: 28px; background: var(--surface-2); border: 1px solid var(--hairline); }
.c-cta-box h2 { margin: 0; }
.c-cta-box .lead { margin-top: var(--s2); font-size: var(--f-body); }

@media (max-width: 960px) {
  .c-vgrid { grid-template-columns: repeat(3, 1fr); }
  .c-layout { grid-template-columns: 1fr; gap: var(--s5); }
  .c-player-col { display: contents; }
  .c-player { order: 1; }
  .c-content { order: 2; }
  .c-series { order: 3; }
  .c-player { max-width: 420px; margin: 0 auto; }
  .c-cta-box { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .c-vgrid { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
  .c-vcard-body { padding: var(--s2) var(--s3) var(--s3); }
  .c-vcard-title { font-size: 15px; }
  .c-vcard-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .c-vcard-play svg { width: 20px; height: 20px; }
  .c-player { border-radius: 20px; }
  .c-cta-box { padding: var(--s5); border-radius: 20px; }
  .c-block h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .c-vcard, .c-vcard-play, .c-player-btn svg { transition: none; }
  .c-vcard:hover { transform: none; }
}
@media (prefers-color-scheme: dark) {
  .c-vcard-play { background: rgba(255,255,255,.9); }
  .c-chip.is-on { background: var(--ink); color: var(--surface); }
}

/* Featured hotspot block injected into the homepage / Bletchley page */
.c-home-hotspots { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.c-home-hotspots .c-more { margin-top: var(--s5); }
.c-home-hotspots .section-head h2 { margin-bottom: 0; }

/* =====================================================================
   Phase 2 — matcher (m-), sticky mobile bar (b-), homepage (h-)
   ===================================================================== */

/* Matcher */
.m-box { scroll-margin-top: 84px; background: var(--surface); border: 1px solid var(--hairline); border-radius: 28px; padding: var(--s5); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06); }
.m-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.m-title { font-size: 24px; margin: 0; }
.m-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s2); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.m-steps li { display: flex; align-items: center; gap: 6px; }
.m-steps li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hairline); }
.m-steps li.is-on::before { background: var(--accent); }
.m-steps li.is-on { color: var(--ink); }
.m-form:not(.is-js) .m-steps { display: none; }
.m-form:not(.is-js) .m-actions button[type="button"] { display: none; }
.m-form:not(.is-js) .m-step + .m-step { margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--hairline); }
.m-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.m-q { font-size: 19px; font-weight: 600; margin: 0 0 var(--s3); padding: 0; color: var(--ink); }
.m-q-sub { margin-top: var(--s4); }
.m-row { display: flex; flex-direction: column; gap: 6px; }
.m-row + .m-row { margin-top: var(--s3); }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.m-grid .m-row + .m-row { margin-top: 0; }
.m-grid + .m-row { margin-top: var(--s3); }
.m-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.m-opt { font-weight: 400; color: var(--ink-2); }
.m-input { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; min-height: 48px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--surface); color: var(--ink); }
.m-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.m-input.is-bad { border-color: var(--accent); }
textarea.m-input { resize: vertical; min-height: 72px; }
.m-hint { font-size: 14px; color: var(--ink-2); margin: 2px 0 0; }
.m-hint.is-ok { color: #1a7f37; font-weight: 600; }
.m-hint.is-warn { color: var(--accent); font-weight: 600; }
.m-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.m-chips label { position: relative; cursor: pointer; }
.m-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.m-chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--hairline); border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--surface); color: var(--ink); transition: background .12s ease, border-color .12s ease; }
.m-chips input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.m-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-chips-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.m-chips-big label { display: block; }
.m-chips-big span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; border-radius: 16px; padding: var(--s3) var(--s4); min-height: 76px; }
.m-chips-big small { font-weight: 400; font-size: 14px; color: var(--ink-2); }
.m-chips-big input:checked + span small { color: inherit; opacity: .75; }
.m-actions { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s4); }
.m-fine { font-size: 13px; color: var(--ink-2); margin: var(--s4) 0 0; max-width: none; }
.m-status { min-height: 1.2em; margin: var(--s2) 0 0; font-size: 14px; font-weight: 600; color: var(--accent); }
.m-status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sticky mobile bar (hidden on desktop; replaces the floating buttons on phones) */
.b-bar { display: none; }
@media (max-width: 720px) {
  .b-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: grid; grid-template-columns: 1fr auto auto; gap: var(--s2); padding: var(--s2) var(--s3) calc(var(--s2) + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-top: 1px solid var(--hairline); }
  .b-bar .btn { min-height: 48px; justify-content: center; }
  .b-bar .b-ico { width: 48px; height: 48px; padding: 0; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--ink); }
  .b-bar .b-ico svg { width: 22px; height: 22px; fill: currentColor; }
  body:has(.b-bar) .float { display: none; }
  body:has(.b-bar) { padding-bottom: 76px; }
  body:has(.b-bar) .cookie-inner { margin-bottom: 72px; }
}

/* Homepage */
.h-hero { padding: var(--s6) 0 var(--s6); }
.h-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s6); align-items: center; }
.h-hero h1 { font-size: clamp(38px, 5.4vw, 64px); max-width: 14ch; }
.h-hero .lead { margin-top: var(--s3); }
.h-hero .btn-row { margin-top: var(--s5); }
.h-media { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--surface-2); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 20px 48px rgba(0,0,0,.14); }
.h-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-media-tag { position: absolute; left: var(--s3); bottom: var(--s3); padding: 8px 12px; border-radius: 999px; background: rgba(0,0,0,.62); color: #fff; font-size: 13px; font-weight: 600; }
.h-trust { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding: var(--s3) 0; }
.h-trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5); }
.h-trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.h-trust li svg { width: 18px; height: 18px; fill: var(--accent); flex: none; }
.h-trust .h-stars { color: var(--accent); letter-spacing: 1px; }
.h-trust a { color: inherit; text-decoration: none; }
.h-trust a:hover { color: var(--accent); }
.h-match { padding: var(--s7) 0; }
.h-match-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--s6); align-items: start; }
.h-match-copy h2 { margin-bottom: var(--s3); }
.h-match-copy ol { margin: var(--s4) 0 0; padding-left: 0; list-style: none; display: grid; gap: var(--s3); }
.h-match-copy li { display: flex; gap: var(--s3); align-items: flex-start; }
.h-match-copy .h-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; margin-top: 1px; }
.h-why .card h3 { display: flex; align-items: center; gap: 10px; }
.h-why .card svg { width: 22px; height: 22px; fill: var(--accent); flex: none; }
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s4); counter-reset: hstep; }
.h-steps li { counter-increment: hstep; display: flex; flex-direction: column; gap: var(--s2); }
.h-steps li::before { content: counter(hstep); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.h-steps strong { display: block; }
.h-steps p { font-size: 15px; color: var(--ink-2); margin: 0; }
.h-reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); }
.h-rating { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.h-rating .h-stars { color: var(--accent); letter-spacing: 2px; font-size: 20px; }
.h-price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.h-price { border: 1px solid var(--hairline); border-radius: 20px; padding: var(--s4); background: var(--surface); display: flex; flex-direction: column; gap: 4px; }
.h-price .h-amt { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.h-price .h-amt small { font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.h-price p { font-size: 15px; color: var(--ink-2); margin: 0; }
.h-price a { margin-top: auto; padding-top: var(--s2); color: var(--accent); font-weight: 600; }
.h-areas { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.h-areas a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--hairline); border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.h-areas a:hover { border-color: var(--ink); }
.h-areas a.is-primary { background: var(--ink); color: var(--surface); border-color: var(--ink); }

@media (max-width: 960px) {
  .h-hero-grid, .h-match-grid { grid-template-columns: 1fr; }
  .h-match-formfirst .m-box { order: -1; }
  .h-media { max-width: 420px; }
  .h-steps { grid-template-columns: repeat(3, 1fr); }
  .m-chips-big { grid-template-columns: 1fr; }
  .m-chips-big span { min-height: 0; }
}
@media (max-width: 640px) {
  .m-box { padding: var(--s4); border-radius: 20px; }
  .m-grid { grid-template-columns: 1fr; }
  .m-grid .m-row + .m-row { margin-top: 0; }
  .m-head { flex-direction: column; align-items: flex-start; }
  .h-hero { padding-top: var(--s5); }
  .h-media { max-width: none; aspect-ratio: 4 / 3; }
  .h-trust ul { justify-content: flex-start; }
  .h-steps { grid-template-columns: 1fr 1fr; }
  .h-price-grid { grid-template-columns: 1fr; }
}
@media (prefers-color-scheme: dark) {
  .m-hint.is-ok { color: #4cc26b; }
}

.h-steps-4 { grid-template-columns: repeat(4, 1fr); }
.h-steps-3 { grid-template-columns: repeat(3, 1fr); }
.check-circle svg { width: 56px; height: 56px; display: block; }
@media (max-width: 960px) { .h-steps-4, .h-steps-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .h-steps-3 { grid-template-columns: 1fr; } }

/* Desktop layout tune (Phase 2.1) */
@media (min-width: 961px) {
  .h-hero { padding: var(--s7) 0; }
  .h-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(320px, 440px); gap: var(--s7); justify-content: space-between; }
  .h-hero h1 { font-size: clamp(44px, 4.6vw, 68px); }
  .h-hero .lead { font-size: 21px; max-width: 34ch; }
  .h-trust ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); justify-items: center; }
  .h-trust li { white-space: nowrap; }
  .h-match-grid { grid-template-columns: minmax(0, 1fr) minmax(460px, 560px); gap: var(--s7); }
  .h-why .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .h-why .card p { font-size: 15px; }
}
@media (min-width: 961px) and (max-width: 1200px) {
  .h-why .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .h-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1400px) {
  :root { --maxw: 1200px; }
}

/* Hero pass carousel */
.h-carousel { aspect-ratio: 4 / 5; width: 100%; cursor: pointer; }
.h-carousel .h-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.h-carousel .h-slide.is-on { opacity: 1; }
.h-cbtn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .16s ease; box-shadow: 0 4px 14px rgba(0,0,0,.25); z-index: 2; }
.h-cbtn svg { width: 22px; height: 22px; fill: currentColor; }
.h-cprev { left: var(--s2); } .h-cnext { right: var(--s2); }
.h-carousel:hover .h-cbtn, .h-carousel:focus-within .h-cbtn { opacity: 1; }
.h-carousel .h-media-tag { z-index: 2; left: auto; right: var(--s3); bottom: auto; top: var(--s3); }
@media (hover: none) { .h-cbtn { opacity: 1; background: rgba(255,255,255,.75); } }
@media (max-width: 640px) { .h-media.h-carousel { aspect-ratio: 4 / 5; max-width: 340px; margin: var(--s4) auto 0; } }
@media (prefers-reduced-motion: reduce) { .h-carousel .h-slide { transition: none; } }

/* Pricing page (p-) */
.p-hero .h-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); align-items: start; }
.p-calc { background: var(--surface); border: 1px solid var(--hairline); border-radius: 28px; padding: var(--s5); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06); display: grid; gap: var(--s4); }
.p-calc-title { font-size: 22px; margin: 0; }
.p-calc-row { display: grid; gap: 6px; }
.p-calc input[type="range"] { width: 100%; accent-color: var(--accent); margin: 6px 0 0; }
.p-calc-presets { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.p-calc-presets button { font: inherit; font-size: 14px; font-weight: 600; min-width: 40px; min-height: 36px; padding: 6px 10px; border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface); color: var(--ink); cursor: pointer; }
.p-calc-presets button.is-on { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.p-calc-out { border-top: 1px solid var(--hairline); padding-top: var(--s4); display: grid; gap: var(--s3); }
.p-calc-fig { display: flex; flex-direction: column; }
.p-calc-amt { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.p-calc-fig-alt .p-calc-amt { font-size: 24px; }
.p-calc-sub { font-size: 14px; color: var(--ink-2); }
.p-calc-note { font-size: 14px; color: var(--ink-2); margin: 0; }
.p-table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: 20px; background: var(--surface); }
.p-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.p-table th, .p-table td { text-align: left; padding: 14px 16px; border-top: 1px solid var(--hairline); vertical-align: middle; }
.p-table thead th { border-top: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); font-weight: 600; background: var(--surface-2); }
.p-table thead small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; }
.p-table tbody th { font-weight: 600; }
.p-table td { font-variant-numeric: tabular-nums; }
.p-block td:nth-child(2), .p-block td:nth-child(3) { font-weight: 600; }
.p-tag { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; vertical-align: middle; }
.p-pay { display: inline-block; margin-left: 8px; font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
@media (max-width: 960px) { .p-hero .h-hero-grid { grid-template-columns: 1fr; } .p-calc { max-width: none; } }
@media (max-width: 640px) { .p-calc { padding: var(--s4); border-radius: 20px; } .p-table { font-size: 15px; } .p-table th, .p-table td { padding: 12px 10px; } .p-pay { display: block; margin: 4px 0 0; } }

/* Pass gallery (g-) */
.g-gallery .section-head { margin-bottom: var(--s5); }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.g-card { appearance: none; border: 0; padding: 0; margin: 0; background: var(--surface-2); border-radius: var(--r-card); overflow: hidden; cursor: zoom-in; text-align: left; font: inherit; color: inherit; display: flex; flex-direction: column; position: relative; }
.g-card img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s ease; }
.g-card:hover img { transform: scale(1.02); }
.g-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.g-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 12px 12px; font-size: 14px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--hairline); border-top: 0; border-radius: 0 0 var(--r-card) var(--r-card); }
.g-meta strong { color: var(--ink); }
.g-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.g-more { justify-content: center; gap: var(--s3); }
.g-more[hidden], .g-card[hidden] { display: none; }
.g-lightbox { border: 0; padding: 0; background: rgba(0,0,0,.94); max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; color: #fff; }
.g-lightbox::backdrop { background: rgba(0,0,0,.92); }
.g-lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; justify-items: center; }
.g-lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: var(--s2); max-width: min(92vw, 640px); }
.g-lb-fig img { width: auto; height: auto; max-width: 100%; max-height: 80vh; border-radius: 16px; background: #111; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.g-lb-fig figcaption { font-size: 15px; color: #fff; text-align: center; opacity: .9; }
.g-lb-count { display: inline-block; margin-left: 10px; opacity: .6; font-variant-numeric: tabular-nums; }
.g-lb-nav, .g-lb-close { appearance: none; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px; border-radius: 999px; font-size: 32px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.g-lb-nav:hover, .g-lb-close:hover { background: rgba(255,255,255,.24); }
.g-lb-nav:focus-visible, .g-lb-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.g-lightbox[open] { position: fixed; inset: 0; }
.g-lb-close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); font-size: 28px; }
@media (max-width: 900px) { .g-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
  .g-meta { padding: 8px 10px 10px; font-size: 13px; gap: 4px 8px; }
  .g-lightbox[open] { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .g-lb-fig img { max-height: 72vh; }
  .g-lb-nav { position: absolute; bottom: max(16px, env(safe-area-inset-bottom)); }
  .g-lb-prev { left: 16px; } .g-lb-next { right: 16px; }
}
@media (prefers-reduced-motion: reduce) { .g-card img { transition: none; } .g-card:hover img { transform: none; } }

/* ------------------------------------------------- reviews (/reviews.html) -- */
.r-rating { display: flex; align-items: center; gap: 10px; margin-top: var(--s3); font-size: var(--f-body); color: var(--ink-2); }
.r-rating .h-stars { color: var(--accent); letter-spacing: 2px; font-size: 20px; }
.r-rating strong { color: var(--ink); }

.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); align-items: start; }
.r-card {
  --r-cardbg: var(--surface-2);
  background: var(--r-cardbg); border-radius: var(--r-card);
  padding: var(--s4); gap: var(--s2);
}
.section-alt .r-card { --r-cardbg: var(--surface); }
.r-card[hidden] { display: none; }
.r-card .stars { color: var(--accent); letter-spacing: .08em; }

/* Long reviews are clamped on screen; the toggle is added by JS only when the
   text actually overflows, so short reviews never get a pointless button. */
.r-body { position: relative; }
.r-body.is-clamped p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8;
  overflow: hidden;
}
.r-body.is-clamped::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em;
  background: linear-gradient(to bottom, transparent, var(--r-cardbg));
  pointer-events: none;
}
.r-toggle {
  appearance: none; border: 0; background: none; padding: 0; margin-top: var(--s1);
  font: inherit; font-size: 15px; font-weight: 600; color: var(--accent); cursor: pointer;
  align-self: flex-start;
}
.r-toggle:hover { text-decoration: underline; }
.r-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.r-more { justify-content: center; gap: var(--s3); }
.r-more[hidden] { display: none; }
.r-foot { margin-top: var(--s5); font-size: 15px; text-align: center; }

@media (max-width: 900px) { .r-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .r-grid { grid-template-columns: 1fr; gap: var(--s2); }
  .r-card { padding: var(--s3); }
}
