/* ==========================================================================
   Bhawna Rehabilitation — design system
   Foundation: minimal + refined skills (bergside/awesome-design-skills)
   Overridden with the brief's brand palette + Playfair Display / Inter.
   Rules: semantic tokens only, 4/8/12/16/24/32 rhythm, explicit states,
   WCAG 2.2 AA (contrast, focus-visible, 44px+ touch targets).
   ========================================================================== */

/* ── 1. Tokens ──────────────────────────────────────────────────────────── */
:root {
  /* Brand palette (brief §2) */
  --navy:        #0B2F55;
  --navy-deep:   #07203C;
  --navy-soft:   #EAF0F6;   /* navy-tinted surface */
  --teal:        #0B8F7A;
  --teal-deep:   #08695A;   /* AA-safe teal for body-size text on white */
  --teal-soft:   #E7F3F0;
  --leaf:        #3C9567;
  --leaf-deep:   #2E7A52;   /* AA-safe leaf for body-size text on white */
  --leaf-soft:   #EAF3EC;
  --gold:        #E6A43A;
  --gold-soft:   #FBF3E2;
  --gold-line:   #EAD2A4;

  /* Surfaces & ink */
  --bg:          #FFFFFF;
  --bg-soft:     #F4F7F8;
  --bg-tint:     #EEF5F3;
  --text:        #193247;
  --text-soft:   #44596C;   /* muted body text, AA on white & bg-soft */
  --line:        #D9E2E8;
  --line-soft:   #E6EDF1;

  /* Semantic */
  --success:     #167C56;
  --success-soft:#E9F6F0;
  --danger:      #B3261E;
  --danger-soft: #FCEDEC;

  /* Typography */
  --font-display: "Playfair Display", "Noto Serif Devanagari", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Noto Sans Devanagari", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Spacing rhythm: 4/8/12/16/24/32 (+ section scale) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --section: clamp(56px, 9vw, 96px);

  /* Radii & shadow */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(11, 47, 85, .05), 0 2px 8px rgba(11, 47, 85, .05);
  --shadow-md: 0 2px 4px rgba(11, 47, 85, .06), 0 12px 28px -12px rgba(11, 47, 85, .18);

  /* Focus ring */
  --ring: #0B8F7A;
  --ring-gold: #E6A43A;

  /* Chrome */
  --header-h: 76px;
  --mobilebar-h: 64px;
}

/* ── 2. Base / reset ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.22;
  color: var(--navy);
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 1.25rem + 3.1vw, 3.3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.3rem); }
h3 { font-size: 1.22rem; font-weight: 600; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25em; }

svg.svg-sprite { display: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; }
.icon-lg { width: 2rem; height: 2rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; top: -48px; left: var(--sp-4); z-index: 200;
  padding: 10px 18px;
  background: var(--navy); color: #fff;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus-visible { top: 0; color: #fff; }

::selection { background: rgba(11, 143, 122, .22); }

/* Global focus discipline (minimal-skill gate) */
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 2px; }
.site-footer :focus-visible,
.cta-band :focus-visible,
.section-navy :focus-visible,
.page-hero :focus-visible { outline-color: var(--ring-gold); }

/* ── 3. Layout primitives ───────────────────────────────────────────────── */
.container {
  width: min(100% - clamp(40px, 8vw, 80px), 1160px);
  margin-inline: auto;
}

.section { padding-block: var(--section); }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-navy { background: var(--navy); color: #DCE8F2; }
.section-navy h2, .section-navy h3 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head-center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  margin: 0 0 var(--sp-3);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow-light { color: #8FD4C6; }

.gold-rule {
  width: 56px; height: 3px; border: 0; border-radius: 2px;
  margin: var(--sp-4) 0;
  background: linear-gradient(90deg, var(--gold), #F2C983);
}
.section-head-center .gold-rule { margin-inline: auto; }

.lede { font-size: 1.125rem; color: var(--text-soft); max-width: 62ch; }

/* ── 4. Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px;
  padding: .72em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-teal { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn-teal:hover { background: var(--teal-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-white { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-white:hover { background: #EAF0F6; color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-gold-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-gold-outline:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-1px); }

.btn-sm { min-height: 44px; padding: .5em 1.15em; font-size: .9rem; }

.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ── 5. Header ──────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(11, 47, 85, .25); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy);
}
.brand-mark {
  width: auto; height: 52px; flex: none;
  object-fit: contain;
}
.brand-mark[width="540"] { aspect-ratio: 540 / 646; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem; font-weight: 700; line-height: 1.1; letter-spacing: .01em;
}
.brand-name em { font-style: italic; font-weight: 500; color: var(--teal-deep); }
.brand-sub {
  font-size: .62rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-soft); margin-top: 3px;
}
.brand-light, .brand-light .brand-name { color: #fff; }
.brand-light .brand-name em { color: #8FD4C6; }
.brand-light .brand-sub { color: #A9BFD3; }

.main-nav ul {
  display: flex; gap: clamp(14px, 2vw, 26px);
  margin: 0; padding: 0; list-style: none;
}
.main-nav a {
  display: inline-block; padding: 6px 2px;
  font-size: .93rem; font-weight: 500; color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover { color: var(--teal-deep); }
.main-nav a[aria-current="page"] { color: var(--teal-deep); border-bottom-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 10px; }

/* Hindi pages: notice that detail pages are English-only (requirement #2) */
.en-services-note {
  margin: 0 0 var(--sp-4);
  padding: 10px 16px;
  background: var(--gold-soft);
  border: 1px dashed var(--gold-line);
  border-radius: var(--r-md);
  font-size: .85rem;
  color: #5C430F;
}

/* Hindi review gate banner (site chrome) */
.hindi-review-banner {
  background: var(--gold-soft);
  border-bottom: 1px solid var(--gold-line);
  color: #5C430F;
  text-align: center;
  padding: 8px 16px;
  font-size: .8125rem; font-weight: 600;
}

/* Language toggle (हिन्दी | English) */
.lang-toggle {
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-full);
  font-size: .85rem; font-weight: 600; color: var(--navy);
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.lang-toggle:hover { border-color: var(--teal); color: var(--teal-deep); background: var(--teal-soft); }
@media (max-width: 767px) { .lang-toggle { padding: 7px 10px; font-size: .8rem; } }
/* Very narrow: the pill would collide with the brand text — the mobile menu
   carries the same language option, so hide the header pill below 480px. */
@media (max-width: 479px) { .header-actions .lang-toggle { display: none; } }
.lang-menu-item .lang-toggle-menu {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700;
}
.lang-menu-item .lang-toggle-menu .icon { color: var(--teal-deep); }

/* English-only marker on Hindi pages */
.en-note {
  font-size: .72rem;
  color: #6C8194;
  white-space: nowrap;
}
.header-call span { white-space: nowrap; }

.menu-toggle {
  display: none;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; color: var(--navy); cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -20px rgba(11, 47, 85, .35);
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { margin: 0; padding: 8px 20px 16px; list-style: none; }
.mobile-menu li + li { border-top: 1px solid var(--line-soft); }
.mobile-menu a {
  display: block; padding: 13px 4px;
  font-size: 1.05rem; font-weight: 600; color: var(--navy);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--teal-deep); }
.mobile-menu a[aria-current="page"] { color: var(--teal-deep); }
.mobile-menu-cta { padding: 8px 20px 22px; display: grid; gap: 10px; }
.mobile-menu-cta .btn { width: 100%; }
.mobile-menu-note {
  margin: 4px 0 0; text-align: center;
  font-size: .8125rem; letter-spacing: .08em; color: var(--text-soft);
}

@media (max-width: 919px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-call span { display: none; }      /* icon-only call button on mobile header */
}
@media (min-width: 920px) {
  .mobile-menu { display: none !important; }
}

/* ── 6. Hero (home) ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(52rem 30rem at 88% -12%, rgba(11, 143, 122, .10), transparent 60%),
    radial-gradient(40rem 26rem at -8% 28%, rgba(230, 164, 58, .10), transparent 60%),
    linear-gradient(180deg, #FBFDFD 0%, #FFFFFF 62%);
}
.hero-inner {
  display: grid; align-items: center; gap: clamp(32px, 6vw, 64px);
  padding-block: clamp(48px, 8vw, 104px);
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1.05fr .95fr; } }

.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--teal-soft);
  border: 1px solid #C4E0D8;
  border-radius: var(--r-full);
  font-size: .8125rem; font-weight: 600; letter-spacing: .05em;
  color: var(--teal-deep);
  margin-bottom: var(--sp-4);
}
.hero h1 { margin-bottom: var(--sp-4); }
.hero .lede { margin-bottom: var(--sp-5); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--sp-5); }
.hero-tagline {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  margin: 0; padding: 0; list-style: none;
  font-size: .875rem; font-weight: 600; letter-spacing: .06em;
  color: var(--text-soft);
}
.hero-tagline li { display: flex; align-items: center; gap: 8px; }
.hero-tagline li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex: none;
}

.hero-art { position: relative; perspective: 1000px; }
.hero-art img,
.hero-art video {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow:
    0 2px 6px rgba(11, 47, 85, .10),
    0 28px 60px -26px rgba(11, 47, 85, .48);
  background: var(--bg-tint);
}
.hero-video {
  transform-style: preserve-3d;
  transition: transform .3s ease, box-shadow .3s ease;
  will-change: transform;
}
.hero-art.is-reduced .hero-video { display: none; }
.hero-poster-fallback {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Decorative drifting brand shapes (CSS only, aria-hidden in markup) */
.drift-shape {
  position: absolute;
  color: var(--teal);
  opacity: .10;
  pointer-events: none;
  animation: shape-drift 18s ease-in-out infinite alternate;
}
.drift-shape svg { display: block; width: 100%; height: 100%; }
.drift-shape-1 { width: 180px; height: 180px; top: 8%; right: -40px; }
.drift-shape-2 { width: 140px; height: 140px; bottom: 6%; left: -30px; color: var(--gold); animation-delay: -9s; }
@keyframes shape-drift {
  from { transform: translate3d(0, 0, 0) rotate(-4deg); }
  to   { transform: translate3d(0, -22px, 0) rotate(4deg); }
}
@media (max-width: 899px) {
  .hero-art { aspect-ratio: 4 / 3; margin-inline: auto; max-width: 560px; }
}
@media (min-width: 900px) {
  .hero-art { aspect-ratio: 5 / 4; }
}

/* ── 7. Cards ───────────────────────────────────────────────────────────── */
.card-grid { display: grid; gap: var(--sp-4); }
@media (min-width: 640px)  { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transform: perspective(900px) translateY(0);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover {
  transform: perspective(900px) translateY(-5px) rotateX(1.6deg);
  box-shadow: 0 3px 6px rgba(11, 47, 85, .07), 0 20px 40px -16px rgba(11, 47, 85, .26);
  border-color: #BFD8D1;
}
.service-card:hover .service-card-more { color: var(--teal-deep); gap: 10px; }

.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: none;
  border-radius: 50%;
  background: linear-gradient(160deg, #F0F8F5, var(--teal-soft));
  color: var(--teal-deep);
  border: 1px solid rgba(8, 105, 90, .14);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, .65),
    inset 0 -3px 4px rgba(11, 47, 85, .08),
    0 4px 10px -4px rgba(11, 47, 85, .28);
}
.card-icon .icon { width: 24px; height: 24px; }

.service-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 600; line-height: 1.3;
  color: var(--navy);
}
.service-card-summary { font-size: .925rem; color: var(--text-soft); flex: 1; }
.service-card-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; font-weight: 600; color: var(--navy);
  transition: color .15s ease, gap .2s ease;
}

/* Value points (Why Bhawna) */
.value-card {
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover {
  transform: perspective(900px) translateY(-4px) rotateX(1.4deg);
  box-shadow: 0 18px 38px -18px rgba(11, 47, 85, .24);
}
.value-card h3 { margin-bottom: 6px; }
.value-card p { font-size: .925rem; color: var(--text-soft); margin: 0; }

/* ── 8. Steps (enquiry process) ─────────────────────────────────────────── */
.steps { display: grid; gap: var(--sp-4); margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 640px) and (max-width: 1023px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  margin-bottom: var(--sp-3);
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--text-soft); margin: 0; }

/* ── 9. FAQ accordion (native details) ──────────────────────────────────── */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: 18px 4px;
  cursor: pointer; list-style: none;
  font-size: 1.02rem; font-weight: 600; color: var(--navy);
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--teal-deep); }
.faq-chevron { color: var(--teal-deep); transition: transform .2s ease; }
.faq-item[open] summary { color: var(--teal-deep); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-a { padding: 0 4px 18px; color: var(--text-soft); max-width: 68ch; }
.faq-a p { margin-bottom: var(--sp-3); }

/* ── 10. Notices / alerts ───────────────────────────────────────────────── */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 18px;
  margin: 0 0 var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: .925rem;
}
.alert .icon { margin-top: 2px; }
.alert-info    { background: var(--gold-soft); border-color: var(--gold-line); color: #5C430F; }
.alert-success { background: var(--success-soft); border-color: #BFDCCB; color: #14553C; }
.alert-error   { background: var(--danger-soft); border-color: #EFC5C2; color: #8C1D18; }
.alert-warning { background: var(--navy-soft); border-color: #CBDCEA; color: var(--navy); }

/* ── 11. CTA band ───────────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(46rem 24rem at 12% -20%, rgba(230, 164, 58, .16), transparent 60%),
    radial-gradient(40rem 22rem at 96% 120%, rgba(11, 143, 122, .22), transparent 60%),
    var(--navy-deep);
  color: #D9E5EF;
}
.cta-band-inner {
  display: grid; align-items: center; gap: var(--sp-5);
  padding-block: clamp(48px, 7vw, 80px);
}
@media (min-width: 900px) { .cta-band-inner { grid-template-columns: 1.1fr .9fr; } }
.cta-band-title { color: #fff; margin-bottom: 10px; }
.cta-band-text { max-width: 56ch; }
.cta-band-hours {
  display: flex; align-items: center; gap: 8px;
  margin-top: var(--sp-4);
  font-size: .875rem; font-weight: 600; letter-spacing: .02em;
  color: #EAD2A4;
}
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 899px) { .cta-band-actions .btn { flex: 1 1 100%; } }

/* ── 12. Page hero (sub-pages) ──────────────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(44rem 24rem at 90% -30%, rgba(11, 143, 122, .20), transparent 62%),
    radial-gradient(36rem 22rem at 0% 130%, rgba(230, 164, 58, .13), transparent 60%),
    var(--navy);
  color: #D9E5EF;
  padding-block: clamp(44px, 7vw, 84px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title { color: #fff; margin: 0 0 12px; max-width: 780px; }
.page-hero-lede { font-size: 1.08rem; color: #C3D4E2; max-width: 62ch; margin: 0; }

/* Subtle 3D depth: drifting light orbs behind navy bands (aria-hidden by nature) */
.page-hero::before,
.page-hero::after,
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orb-drift 16s ease-in-out infinite alternate;
}
.page-hero::before {
  width: 26rem; height: 26rem; left: -8rem; top: -10rem;
  background: radial-gradient(circle, rgba(11, 143, 122, .30), transparent 65%);
}
.page-hero::after {
  width: 20rem; height: 20rem; right: -6rem; bottom: -9rem;
  background: radial-gradient(circle, rgba(230, 164, 58, .20), transparent 65%);
  animation-delay: -8s;
}
.cta-band::before {
  width: 24rem; height: 24rem; right: -8rem; top: -9rem;
  background: radial-gradient(circle, rgba(11, 143, 122, .26), transparent 65%);
}
.cta-band::after {
  width: 18rem; height: 18rem; left: -6rem; bottom: -8rem;
  background: radial-gradient(circle, rgba(230, 164, 58, .18), transparent 65%);
  animation-delay: -8s;
}
@keyframes orb-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(2.5rem, 1.75rem, 0) scale(1.12); }
}
.cta-band .container { position: relative; z-index: 1; }

.breadcrumb { margin-bottom: var(--sp-4); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin: 0; padding: 0; list-style: none;
  font-size: .8125rem; letter-spacing: .02em;
  color: #A9BFD3;
}
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin: 0 7px; color: #6E8AA3; }
.breadcrumb a { color: #CBDCE8; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: #EAD2A4; font-weight: 600; }

/* ── 13. Forms ──────────────────────────────────────────────────────────── */
.form-card {
  padding: clamp(24px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.field { margin-bottom: var(--sp-4); }
.field label, .field .field-label {
  display: block;
  margin-bottom: 6px;
  font-size: .9rem; font-weight: 600; color: var(--navy);
}
.field .hint { font-weight: 400; color: var(--text-soft); }
.req { color: var(--gold); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit; color: var(--text);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230B8F7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m6.5 9.5 5.5 5.5 5.5-5.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }

.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9CBD6; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 143, 122, .18);
}

.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}
.error-msg {
  display: none;
  margin-top: 6px;
  font-size: .85rem; font-weight: 500; color: var(--danger);
}
.field.has-error .error-msg { display: block; }

.field-row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }

.field-check { display: flex; gap: 12px; align-items: flex-start; }
.field-check input[type="checkbox"] {
  width: 22px; height: 22px; margin: 2px 0 0; flex: none;
  accent-color: var(--teal);
}
.field-check label { font-size: .875rem; font-weight: 500; color: var(--text-soft); }
.field-check a { font-weight: 600; }

.form-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 16px;
  margin-bottom: var(--sp-4);
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-md);
  font-size: .85rem; color: #5C430F;
}
.form-note .icon { margin-top: 2px; }

.form-privacy { font-size: .8125rem; color: var(--text-soft); }

/* ── 14. Contact components ─────────────────────────────────────────────── */
.contact-cards { display: grid; gap: var(--sp-4); }
@media (min-width: 640px)  { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  display: flex; flex-direction: column; align-items: stretch; gap: 10px;
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover {
  transform: perspective(900px) translateY(-4px) rotateX(1.4deg);
  box-shadow: 0 18px 38px -18px rgba(11, 47, 85, .24);
}
.contact-card .btn { align-self: flex-start; }
.contact-card h3 { margin: 4px 0 0; }
.contact-card p { font-size: .925rem; color: var(--text-soft); }
.contact-card .btn { margin-top: auto; }
.contact-card-address { font-size: .9rem; line-height: 1.65; }
.contact-card-muted { font-size: .85rem; color: var(--text-soft); font-style: italic; }

.contact-strip {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  align-items: center;
}
.contact-strip a {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--navy);
  text-decoration: none;
}
.contact-strip a:hover { color: var(--teal-deep); }
.contact-strip .icon { color: var(--teal-deep); }

/* ── 15. Info blocks / prose ────────────────────────────────────────────── */
.prose { max-width: 72ch; }
.prose h2 { margin-top: clamp(36px, 6vw, 56px); }
.prose h3 { margin-top: var(--sp-5); }
.prose ul li, .prose ol li { margin-bottom: 8px; }
.prose ul li::marker { color: var(--teal-deep); }
.prose .checklist { list-style: none; padding: 0; }
.prose .checklist li { display: flex; gap: 10px; align-items: flex-start; }
.prose .checklist .icon { margin-top: 4px; color: var(--leaf-deep); }

.info-panel {
  padding: var(--sp-5);
  background: var(--bg-tint);
  border: 1px solid #D6E5E1;
  border-radius: var(--r-lg);
}
.info-panel h3 { margin-bottom: 8px; }

.two-col { display: grid; gap: var(--sp-5); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Photo placeholder slot (real photos pending) */
.photo-slot {
  display: grid; place-items: center;
  margin: 0;
  background: var(--bg-soft);
  border: 1.5px dashed #B9CBD6;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.photo-slot-inner { display: grid; justify-items: center; gap: 10px; text-align: center; padding: var(--sp-5); color: var(--text-soft); }
.photo-slot-inner .icon { color: #8FA6B6; }
.photo-slot figcaption { font-size: .875rem; font-weight: 600; }
.photo-slot figcaption span { font-weight: 400; font-style: italic; }

/* Real photo gallery (client-supplied imagery) */
.photo-gallery { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .photo-gallery { grid-template-columns: repeat(4, 1fr); } }
.photo-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.photo-card img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.photo-card figcaption {
  padding: 10px 14px;
  font-size: .8125rem; font-weight: 600; color: var(--text-soft);
  border-top: 1px solid var(--line-soft);
}

/* Trustee / leadership card */
.leader-card {
  display: flex; gap: var(--sp-4); align-items: center;
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.leader-photo {
  width: 96px; height: 96px; flex: none;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  background: var(--bg-soft);
}
.leader-card h3 { margin: 0 0 2px; font-size: 1.08rem; }
.leader-card p { margin: 0; font-size: .875rem; color: var(--text-soft); }

/* Decorative brand banner strip (abstract SVG — not photography) */
.brand-banner {
  margin: 0 0 var(--sp-5);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.brand-banner svg { display: block; width: 100%; height: auto; }

/* Activities grid ("A day at the centre") */
.activities-head { margin: var(--sp-6) 0 var(--sp-5); }
.activities-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem);
  color: var(--navy);
  margin: 0 0 6px;
}
.activities-head p { margin: 0; font-size: .925rem; color: var(--text-soft); }

.activity-grid { display: grid; gap: var(--sp-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .activity-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .activity-grid { grid-template-columns: repeat(4, 1fr); } }

.activity-card {
  padding: var(--sp-4);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.activity-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.activity-card .card-icon { width: 40px; height: 40px; margin-bottom: 10px; }
.activity-card .card-icon .icon { width: 21px; height: 21px; }
.activity-card h4 {
  font-family: var(--font-body);
  font-size: .925rem; font-weight: 600; color: var(--navy);
  margin: 0 0 4px; line-height: 1.35;
}
.activity-card p { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--text-soft); }

/* Illustrative spot figure */
.spot-figure {
  margin: 0 0 var(--sp-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spot-figure img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: var(--spot-ratio, auto);
  object-fit: cover;
}
.spot-figure figcaption {
  display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline;
  padding: 10px 14px;
  font-size: .8125rem; color: var(--text-soft);
  border-top: 1px solid var(--line-soft);
}
.spot-note {
  font-style: italic;
  color: #6C8194;
}
.spot-note::before { content: "· "; font-style: normal; }

/* Brand identity figure (About) */
.identity-figure {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-4);
  text-align: center;
}
.identity-figure img { display: block; width: 100%; height: auto; border-radius: var(--r-sm); }
.identity-figure figcaption { margin-top: 10px; font-size: .8125rem; color: var(--text-soft); }

/* ── 16. Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deep);
  color: #A9BFD3;
  padding-top: clamp(48px, 7vw, 80px);
  font-size: .925rem;
}
.footer-grid { display: grid; gap: var(--sp-6); padding-bottom: var(--sp-6); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.35fr .8fr 1fr 1.3fr; } }

.footer-tagline { color: #EAD2A4; font-weight: 600; letter-spacing: .06em; font-size: .875rem; margin-top: var(--sp-4); }
.footer-reg { font-size: .8125rem; color: #7E99B3; margin-top: 6px; }

/* Footer logo — 3D medallion.
   The badge artwork is a circular emblem on a WHITE background (the client's
   source PNGs have no transparency). On the navy footer that reads as a pasted
   white square, so: clip to a circle (white corners disappear), drop the white
   chip, and build depth with a gold ring + layered shadows + dome sheen. */
.footer-logo-chip {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; flex: none;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(150deg, #123F6B 0%, #07203C 100%);
  box-shadow:
    0 0 0 1.5px rgba(230, 164, 58, .55),        /* gold hairline ring */
    0 12px 24px -10px rgba(0, 0, 0, .60),        /* outer drop */
    inset 0 1px 1px rgba(255, 255, 255, .28),    /* top highlight */
    inset 0 -2px 6px rgba(0, 0, 0, .35);         /* bottom shade */
  transition: transform .2s ease, box-shadow .2s ease;
}
.footer-logo-chip img,
.footer-logo-chip picture {
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.06);   /* trims the badge's internal white margin */
}
/* dome sheen */
.footer-logo-chip::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 52%);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .footer-brand .brand:hover .footer-logo-chip {
    transform: translateY(-1px);
    box-shadow:
      0 0 0 2px rgba(230, 164, 58, .8),
      0 16px 28px -10px rgba(0, 0, 0, .65),
      inset 0 1px 1px rgba(255, 255, 255, .32),
      inset 0 -2px 6px rgba(0, 0, 0, .35);
  }
}

.footer-heading {
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #EAD2A4;
  margin: 0 0 var(--sp-4);
}
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #C3D4E2; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }

.footer-contact-list { margin-bottom: var(--sp-4); }
.footer-contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer-contact-list .icon { margin-top: 3px; color: #2FBFA5; }
.footer-contact-list a { color: #C3D4E2; }

.footer-address { font-style: normal; }
.footer-address p { margin-bottom: var(--sp-3); font-size: .875rem; line-height: 1.6; }
.footer-address strong { color: #D9E5EF; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: var(--sp-5);
  display: grid; gap: var(--sp-3);
  font-size: .8125rem; color: #7E99B3;
}
@media (min-width: 900px) {
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
}
.footer-policies { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.footer-policies a { color: #A9BFD3; }
.footer-policies a:hover { color: #fff; }
.footer-note { margin: 0; max-width: 68ch; }
.footer-copy { margin: 0; }

.powered-by { margin-top: 4px; }
.powered-by img {
  display: block;
  width: 220px; height: auto;
  max-width: 100%;
  opacity: .82;
  transition: opacity .18s ease;
}
.powered-by a:hover img { opacity: 1; }
@media (min-width: 900px) {
  .powered-by { justify-self: end; }
}

/* ── 17. Mobile bottom action bar ───────────────────────────────────────── */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-auto-flow: column; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.mobile-bar-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px;
  border-radius: var(--r-full);
  font-size: .925rem; font-weight: 700;
  text-decoration: none;
}
.mobile-bar-call { background: var(--navy); color: #fff; }
.mobile-bar-call:active { background: var(--navy-deep); }
.mobile-bar-wa { background: var(--teal); color: #fff; }
.mobile-bar-wa:active { background: var(--teal-deep); }
.mobile-bar-btn.is-solo { grid-column: 1 / -1; }

body { padding-bottom: 0; }
@media (max-width: 767px) {
  body { padding-bottom: calc(var(--mobilebar-h) + 10px); }
}
@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

/* Floating WhatsApp (desktop) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(11, 95, 82, .55);
  transition: transform .18s ease, background-color .18s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.04); background: var(--teal-deep); }
.wa-float .icon { width: 28px; height: 28px; }
@media (max-width: 767px) {
  .wa-float { display: none; }   /* bottom bar already carries WhatsApp on mobile */
}

.reviews-preview-note {
  margin: 0 auto var(--sp-5);
  max-width: 34rem;
  padding: 8px 16px;
  text-align: center;
  font-size: .8125rem; font-weight: 700; letter-spacing: .04em;
  color: #8A5A0B;
  background: var(--gold-soft);
  border: 1px dashed #D9B267;
  border-radius: var(--r-sm);
}

/* ── Reviews: vertical infinite-scroll columns ──────────────────────────── */
.reviews-head {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--sp-3); text-align: center;
  max-width: 34rem; margin: 0 auto var(--sp-6);
}
.reviews-chip {
  margin: 0;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: .8125rem; font-weight: 600; letter-spacing: .06em;
  color: var(--teal-deep);
}
.reviews-head h2 { margin: 0; }
.reviews-intro { margin: 0; font-size: .925rem; color: var(--text-soft); }

.reviews-slider {
  display: flex; justify-content: center; gap: 24px;
  max-height: 640px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent);
}

.reviews-col { flex: 1 1 0; min-width: 0; max-width: 340px; }
.reviews-col-2, .reviews-col-3 { display: none; }

.reviews-track {
  display: flex; flex-direction: column; gap: 24px;
  animation: review-scroll var(--review-speed, 30s) linear infinite;
  will-change: transform;
}
.reviews-track:hover { animation-play-state: paused; }   /* speedOnHover */
.reviews-group {
  display: flex; flex-direction: column; gap: 24px;
  padding-bottom: 24px;
}

@keyframes review-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -50%, 0); }
}

.review-card {
  margin: 0;
  padding: var(--sp-5);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 10px 26px -18px rgba(11, 47, 85, .35);
}
.review-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem; line-height: 1.55;
  color: var(--navy);
}
.review-quote::before { content: "\201C"; }
.review-quote::after  { content: "\201D"; }

.review-meta {
  display: flex; align-items: center; gap: 10px;
  margin-top: var(--sp-4);
}
.review-avatar,
.review-avatar-img {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(160deg, #F0F8F5, var(--teal-soft));
  border: 1px solid rgba(8, 105, 90, .16);
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700; color: var(--teal-deep);
}
.review-person { display: flex; flex-direction: column; min-width: 0; }
.review-name {
  font-style: normal;
  font-size: .9rem; font-weight: 600; color: var(--navy);
  line-height: 1.3;
}
.review-role { font-size: .8125rem; color: var(--text-soft); line-height: 1.3; }

.review-source {
  margin: var(--sp-3) 0 0;
  font-size: .75rem; letter-spacing: .02em; color: #6C8194;
}
.review-source.is-preview {
  color: #8A5A0B;
  font-weight: 600;
}

@media (min-width: 768px) { .reviews-col-2 { display: block; } }
@media (min-width: 1024px) { .reviews-col-3 { display: block; } }

/* Reduced motion: static, readable list — no loop, nothing hidden */
@media (prefers-reduced-motion: reduce) {
  .reviews-slider {
    -webkit-mask-image: none; mask-image: none;
    max-height: none; overflow: visible;
    flex-wrap: wrap;
  }
  .reviews-track { animation: none; }
  .reviews-group[aria-hidden="true"] { display: none; }
  .reviews-col { max-width: 340px; flex-basis: 300px; }
}

/* ── Cookie notice (essential cookies only) ─────────────────────────── */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 95;
  display: flex; align-items: flex-start; gap: 12px;
  max-width: 560px; margin-inline: auto;
  padding: 16px 18px;
  background: var(--navy);
  color: #D9E5EF;
  border: 1px solid rgba(230, 164, 58, .4);
  border-radius: var(--r-lg);
  box-shadow: 0 18px 40px -16px rgba(7, 32, 60, .6);
  transition: transform .35s ease, opacity .35s ease;
}
.cookie-banner > .icon { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--gold); }
.cookie-banner-text p { margin: 0; font-size: .875rem; line-height: 1.55; }
.cookie-banner-text a { color: #EAD2A4; font-weight: 600; }
.cookie-banner .cookie-accept {
  flex: none; margin-left: auto;
  border-color: var(--gold); color: var(--gold);
  background: transparent;
  min-height: 40px;
}
.cookie-banner .cookie-accept:hover { background: var(--gold); color: var(--navy-deep); }
.cookie-banner.is-dismissed { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* Mobile: sit above the persistent bottom action bar (never cover it) */
@media (max-width: 767px) {
  .cookie-banner {
    left: 12px; right: 12px; bottom: calc(var(--mobilebar-h) + 18px + env(safe-area-inset-bottom, 0px));
    padding: 14px 16px;
  }
  .cookie-banner-text p { font-size: .8125rem; }
}

/* ── 18. Reveal animations (JS-enhanced, reduced-motion safe) ───────────── */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card, .wa-float, .faq-chevron, .cookie-banner { transition: none; }
  .page-hero::before, .page-hero::after, .cta-band::before, .cta-band::after,
  .drift-shape { animation: none; }
  .service-card:hover { transform: translateY(-3px); }
  .footer-logo-chip { transition: none; }
  .footer-brand .brand:hover .footer-logo-chip { transform: none; }
}

/* ── 19. Utility pages (404) ────────────────────────────────────────────── */
.error-page { text-align: center; padding-block: clamp(64px, 10vw, 120px); }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: var(--sp-4);
}

/* ── 20. Article layout ─────────────────────────────────────────────────── */
.article-body { max-width: 72ch; margin-inline: auto; }
.article-meta { font-size: .875rem; color: var(--text-soft); }
.article-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: var(--sp-5);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  text-decoration: none; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card h3 { margin: 0; }
.article-card p { font-size: .925rem; color: var(--text-soft); margin: 0; }
.article-card .service-card-more { color: var(--navy); }

/* Draft banner (resources pending expert review) */
.draft-banner {
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: #5C430F;
  border-radius: var(--r-md);
  padding: 12px 18px;
  font-size: .875rem;
  margin-bottom: var(--sp-5);
}

/* ── 21. Text-scale / zoom tolerance ────────────────────────────────────── */
@media (max-width: 359px) {
  .brand-sub { display: none; }  /* keep 320px lockups tidy */
  .brand-mark { height: 44px; }
  .brand { gap: 6px; }
  .brand-name { font-size: 1.02rem; }
  .header-inner { gap: 6px; }
  .header-actions { gap: 4px; }
  .btn-sm { padding: .5em .8em; }
  .container { width: calc(100% - 24px); }
}
