/* =====================================================================
   COMPASS REFORMATION — Design System
   Premium rehabilitation & strength brand • South London
   Mobile-first • Accessible • Fast (no build step, system + Google fonts)
   ---------------------------------------------------------------------
   Palette: deep forest green + antique/premium gold. Luxury without
   feeling corporate — rehabilitation-focused, strong and trustworthy.
   To rebrand: change the CSS custom properties in :root below, and
   swap /assets/logo.svg + /assets/mark.svg. Nothing else required.
   ===================================================================== */

/* ---------- 1. Brand tokens ---------- */
:root {
  /* Core palette (from brief) */
  --bg-primary:   #264334;   /* Primary background — EXACT green sampled from the logo field */
  --bg-secondary: #1E3A2B;   /* Secondary background — deeper section shade */
  --gold-accent:  #BC8B4C;   /* Accent gold — sampled logo brass */
  --gold-premium: #D2A862;   /* Premium gold — logo brass (bright face) */
  --heading:      #E6EDF3;   /* Heading text         */
  --body:         #C9D4DF;   /* Body text            */

  /* Forest green scale (dark → light surfaces) */
  --navy-900:    #15271D;   /* deepest — footer / hero base */
  --navy-800:    #264334;   /* primary background (exact logo green) */
  --navy-700:    #2F4E3D;   /* card / secondary surface      */
  --navy-600:    #385A47;   /* elevated surface              */
  --navy-500:    #4A6E58;   /* strong border / hover surface */

  /* Gold scale */
  --gold:        #BC8B4C;   /* accent gold — logo brass face */
  --gold-600:    #97702F;   /* deeper gold  */
  --gold-300:    #E7CB93;   /* light gold — highlights, hovers */

  /* Legacy accent aliases (kept so existing rules/markup resolve) */
  --navy:        var(--heading);   /* was dark text → now light on dark */
  --teal:        var(--gold-premium);
  --teal-600:    var(--gold);
  --teal-400:    var(--gold-300);

  /* Neutral text scale on dark */
  --slate-400:   #8FA3A0;
  --slate-300:   var(--body);
  --slate-200:   #DCE4EA;
  --offwhite:    #F3F7F5;
  --line:        rgba(230,237,243,.10);
  --line-strong: rgba(230,237,243,.20);

  /* Semantic */
  --bg:          var(--bg-primary);
  --bg-dark:     var(--navy-900);
  --text:        var(--body);
  --text-soft:   #A9BBB7;
  --text-invert: var(--heading);
  --accent:      var(--gold-premium);
  --accent-warm: var(--gold);
  --ink:         #0B211E;   /* dark text for use on gold / light chips */

  /* Type */
  --font-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Spacing / shape */
  --radius:      14px;
  --radius-lg:   24px;
  --radius-pill: 999px;
  --shadow-sm:   0 2px 8px rgba(5,18,16,.30);
  --shadow:      0 10px 30px rgba(5,18,16,.45);
  --shadow-lg:   0 30px 70px rgba(4,14,12,.60);
  --shadow-gold: 0 10px 24px rgba(182,138,74,.28);
  --maxw:        1200px;
  --gutter:      clamp(20px, 5vw, 48px);
  --section-y:   clamp(64px, 9vw, 128px);

  --ease:        cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- 3. Accessibility ---------- */
:focus-visible { outline: 3px solid var(--gold-premium); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--gold-premium); color: var(--ink); padding: 12px 18px; border-radius: 10px;
  font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- 4. Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; color: var(--heading); }
h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p { color: var(--text); }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text); line-height: 1.6; }
strong { color: var(--heading); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-premium);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.text-gold { color: var(--gold-premium); }
.text-teal { color: var(--gold-premium); }

/* ---------- 5. Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1380px; }
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(44px, 6vw, 80px); }
.section-head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 16px; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }

/* Surfaces */
.bg-dark { background: var(--navy-900); color: var(--text-invert); }
.bg-navy-900 { background: var(--navy-900); color: var(--text-invert); }
.bg-soft { background: var(--bg-secondary); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-navy-900 h1, .bg-navy-900 h2, .bg-navy-900 h3, .bg-navy-900 h4 { color: var(--heading); }
.bg-dark p, .bg-navy-900 p { color: var(--body); }
.bg-dark strong, .bg-navy-900 strong { color: var(--heading); }

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 15px 26px; border-radius: var(--radius-pill);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  will-change: transform; text-align: center; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(140deg, var(--gold-premium), var(--gold)); color: var(--ink); box-shadow: 0 10px 24px rgba(210,168,98,.26); }
.btn-primary:hover { background: linear-gradient(140deg, var(--gold-300), var(--gold-premium)); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(210,168,98,.36); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px rgba(182,138,74,.30); }
.btn-gold:hover { background: var(--gold-300); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(182,138,74,.40); }
.btn-outline { background: transparent; border: 1.5px solid var(--line-strong); color: var(--heading); }
.btn-outline:hover { border-color: var(--gold-premium); color: var(--gold-premium); transform: translateY(-2px); }
.bg-dark .btn-outline, .bg-navy-900 .btn-outline, .hero .btn-outline { color: var(--heading); border-color: rgba(230,237,243,.28); }
.bg-dark .btn-outline:hover, .hero .btn-outline:hover { border-color: var(--gold-premium); color: var(--gold-premium); }
.btn-ghost { padding-inline: 4px; color: var(--gold-premium); }
.btn-ghost:hover { gap: 14px; color: var(--gold-300); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
.btn-arrow svg { transition: transform .25s var(--ease); }
.btn-arrow:hover svg { transform: translateX(4px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 7. Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,33,30,.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(214,175,90,.14);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(8,26,23,.94); box-shadow: 0 8px 30px rgba(0,0,0,.40); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 104px; }
.nav__logo img { height: 88px; width: auto; object-fit: contain; display: block; }
.nav__links { display: none; align-items: center; gap: 4px; }
.nav__links a {
  font-family: var(--font-display); font-weight: 500; font-size: .92rem;
  color: var(--body); padding: 10px 14px; border-radius: 10px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__links a:hover { color: var(--heading); background: rgba(214,175,90,.10); }
.nav__links a.active { color: var(--heading); }
.nav__links a.active::after { content: ""; display: block; height: 2px; width: 20px; margin: 3px auto 0; background: var(--gold-premium); border-radius: 2px; }
.nav__cta { display: none; }
.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; border-radius: 10px;
  background: rgba(214,175,90,.12);
}
.nav__toggle span { width: 22px; height: 2px; background: var(--gold-300); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle { display: none; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); z-index: 200;
  background: var(--navy-900); color: var(--heading);
  transform: translateX(100%); transition: transform .38s var(--ease);
  padding: 90px 28px 32px; display: flex; flex-direction: column; gap: 6px;
  box-shadow: var(--shadow-lg); overflow-y: auto;
  border-left: 1px solid rgba(214,175,90,.16);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--font-display); font-size: 1.15rem; padding: 14px 8px; border-bottom: 1px solid rgba(230,237,243,.08); color: var(--slate-200); }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--gold-premium); }
.mobile-nav .btn { margin-top: 18px; }
.mobile-nav__close { position: absolute; top: 22px; right: 22px; font-size: 1.6rem; line-height: 1; color: var(--gold-300); }
.overlay { position: fixed; inset: 0; background: rgba(4,14,12,.60); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 150; }
.overlay.show { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* ---------- 8. Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: var(--heading); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(130% 90% at 50% -25%, #315442 0%, transparent 58%),
    linear-gradient(180deg, #223F2F 0%, #264334 45%, #1A3327 100%);
}
.hero__topo { position: absolute; inset: 0; z-index: -1; opacity: .45; mix-blend-mode: screen; }
.hero__inner { padding-block: clamp(70px, 12vw, 150px); position: relative; }
.hero__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { color: var(--heading); }
.hero h1 .accent { color: var(--gold-premium); display: block; }
.hero .lead { color: var(--body); margin-top: 22px; max-width: 36ch; }
.hero .btn-row { margin-top: 34px; }
.hero__meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 26px; align-items: center; }
.hero__meta .stat strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--heading); display: block; }
.hero__meta .stat span { font-size: .8rem; color: var(--slate-400); letter-spacing: .04em; }
.hero__meta .divider { width: 1px; height: 40px; background: rgba(214,175,90,.22); }

/* ---------- 9. Media / image placeholders ---------- */
.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-600));
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 16 / 10; }
.media--square { aspect-ratio: 1; }
.media-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; text-align: center; padding: 24px; color: var(--body);
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(210,168,98,.14), transparent 60%),
    repeating-linear-gradient(45deg, rgba(230,237,243,.03) 0 12px, transparent 12px 24px);
  border: 1px dashed rgba(214,175,90,.22); border-radius: inherit;
}
.media-ph svg { width: 40px; height: 40px; opacity: .8; color: var(--gold-300); }
.media-ph .label { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--slate-200); }
.media-ph .hint { font-size: .76rem; color: var(--slate-400); max-width: 28ch; }
.media__badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  background: rgba(8,26,23,.72); backdrop-filter: blur(6px); border-radius: var(--radius-pill);
  font-size: .8rem; font-weight: 600; font-family: var(--font-display); color: var(--heading);
  border: 1px solid rgba(214,175,90,.22);
}
.media__badge svg { color: var(--gold-premium); }

/* Video placeholder */
.video-ph { aspect-ratio: 16/9; }
.video-ph .play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; z-index: 3;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--gold-premium); color: var(--ink); box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease);
}
.video-ph:hover .play { transform: scale(1.08); }
.video-ph .play svg { width: 26px; height: 26px; margin-left: 4px; }

/* Real embedded video */
.media--video { aspect-ratio: 16 / 9; background: #0d1f19; }
.media--video video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; background: #0d1f19; }

/* Flip card — before / after transformation */
.flip-card { position: relative; aspect-ratio: 9 / 16; max-width: 440px; margin-inline: auto; border-radius: var(--radius-lg); perspective: 1400px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.flip-card__inner { position: relative; width: 100%; height: 100%; transition: transform .8s cubic-bezier(.2,.75,.2,1); transform-style: preserve-3d; }
.flip-card:hover .flip-card__inner,
.flip-card:focus-visible .flip-card__inner,
.flip-card.is-flipped .flip-card__inner { transform: rotateY(180deg); }
.flip-card__face { position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: var(--shadow-lg); background: var(--navy-700); }
.flip-card__face img { width: 100%; height: 100%; object-fit: cover; }
.flip-card__back { transform: rotateY(180deg); }
.flip-card__tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; padding: 8px 15px; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; background: rgba(8,26,23,.72); backdrop-filter: blur(6px); color: var(--heading); border: 1px solid rgba(214,175,90,.28); }
.flip-card__tag--gold { color: var(--ink); background: var(--gold-premium); border-color: transparent; }
.flip-card__cue { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 600; font-size: .72rem; letter-spacing: .03em; background: rgba(8,26,23,.66); backdrop-filter: blur(6px); color: var(--heading); border: 1px solid rgba(214,175,90,.28); pointer-events: none; transition: opacity .4s var(--ease); }
.flip-card__cue svg { width: 15px; height: 15px; color: var(--gold-premium); }
.flip-card:hover .flip-card__cue,
.flip-card:focus-visible .flip-card__cue,
.flip-card.is-flipped .flip-card__cue { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .flip-card__inner { transition: none; } }

/* ---------- 10. Cards ---------- */
.card {
  background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(214,175,90,.35); }
.bg-dark .card, .bg-navy-900 .card { background: var(--navy-600); border-color: rgba(230,237,243,.08); }
.bg-dark .card h3, .bg-navy-900 .card h3 { color: var(--heading); }

.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, rgba(210,168,98,.20), rgba(210,168,98,.06));
  color: var(--gold-premium); margin-bottom: 20px; border: 1px solid rgba(210,168,98,.28);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge.gold { background: linear-gradient(150deg, rgba(182,138,74,.24), rgba(182,138,74,.08)); color: var(--gold); border-color: rgba(182,138,74,.32); }

/* Service card */
.service-card { display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .95rem; }
.service-card .feature-list { margin: 18px 0 22px; display: grid; gap: 9px; }
.service-card .feature-list li { display: flex; gap: 10px; font-size: .9rem; color: var(--body); }
.bg-dark .service-card .feature-list li { color: var(--body); }
.service-card .feature-list svg { flex: none; width: 18px; height: 18px; color: var(--gold-premium); margin-top: 2px; }
.service-card .btn-ghost { margin-top: auto; }
.service-card .price { font-family: var(--font-display); font-weight: 600; color: var(--gold-300); font-size: .9rem; margin-bottom: 4px; }

/* Step / numbered */
.step { position: relative; padding-left: 0; }
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--gold-premium);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(210,168,98,.35); margin-bottom: 18px;
}
.bg-dark .step__num { border-color: rgba(210,168,98,.40); color: var(--gold-300); }

/* Stat block */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-strong); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 760px){ .stat-grid { grid-template-columns: repeat(4,1fr); } }
.stat-grid .stat { background: var(--navy-700); padding: 30px 22px; text-align: center; }
.bg-dark .stat-grid { background: rgba(214,175,90,.18); }
.bg-dark .stat-grid .stat { background: var(--navy-600); }
.stat-grid .stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem,4vw,2.8rem); color: var(--heading); line-height: 1; }
.bg-dark .stat-grid .stat .num { color: var(--heading); }
.stat-grid .stat .num .text-teal { color: var(--gold-premium); }
.stat-grid .stat span { display: block; margin-top: 8px; font-size: .82rem; color: var(--text-soft); letter-spacing: .03em; }
.bg-dark .stat-grid .stat span { color: var(--slate-400); }

/* Pills / chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: var(--radius-pill);
  background: rgba(210,168,98,.10); color: var(--gold-300); font-weight: 500; font-size: .86rem;
  border: 1px solid rgba(210,168,98,.20);
}
.bg-dark .chip { background: rgba(230,237,243,.05); color: var(--slate-200); border-color: rgba(230,237,243,.1); }

/* ---------- 11. Testimonials ---------- */
.quote-card {
  background: var(--navy-700); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px,3vw,34px); box-shadow: var(--shadow-sm); height: 100%;
  display: flex; flex-direction: column;
}
.bg-dark .quote-card { background: var(--navy-600); border-color: rgba(230,237,243,.08); }
.quote-card .stars { color: var(--gold-premium); display: flex; gap: 3px; margin-bottom: 16px; }
.quote-card .stars svg { width: 18px; height: 18px; }
.quote-card blockquote { font-size: 1.02rem; color: var(--heading); line-height: 1.6; font-weight: 450; }
.bg-dark .quote-card blockquote { color: var(--heading); }
.quote-card .who { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 22px; }
.quote-card .avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .95rem;
  background: linear-gradient(150deg, var(--gold-premium), var(--gold));
}
.quote-card .avatar.gold { background: linear-gradient(150deg, var(--gold-300), var(--gold-600)); color: var(--ink); }
.quote-card .who b { font-family: var(--font-display); display: block; font-size: .92rem; color: var(--heading); }
.bg-dark .quote-card .who b { color: var(--heading); }
.quote-card .who span { font-size: .8rem; color: var(--text-soft); }
.bg-dark .quote-card .who span { color: var(--slate-400); }

/* Carousel */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: none; -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; flex: 0 0 86%; }
@media (min-width: 720px){ .carousel__track > * { flex-basis: 46%; } }
@media (min-width: 1024px){ .carousel__track > * { flex-basis: 31.5%; } }
.carousel__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.carousel__btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  display: grid; place-items: center; color: var(--heading); transition: all .2s var(--ease);
}
.carousel__btn:hover { background: var(--gold-premium); color: var(--ink); border-color: var(--gold-premium); }
.carousel__btn svg { width: 20px; height: 20px; }
.bg-dark .carousel__btn { color: var(--heading); border-color: rgba(230,237,243,.2); }

/* ---------- 12. Before / After slider ---------- */
.ba-slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); user-select: none; touch-action: none; }
.ba-slider .ba-img { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--heading); }
.ba-slider .ba-before { background: linear-gradient(150deg, #2A4A39, #1A3327); }
.ba-slider .ba-after { background: linear-gradient(150deg, var(--gold), var(--gold-600)); color: var(--ink); clip-path: inset(0 0 0 50%); }
.ba-slider .ba-tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: var(--radius-pill); font-size: .72rem; letter-spacing: .1em; background: rgba(8,26,23,.65); color: var(--heading); }
.ba-slider .ba-tag.l { left: 14px; } .ba-slider .ba-tag.r { right: 14px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--gold-premium); z-index: 3; transform: translateX(-50%); }
.ba-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; background: var(--gold-premium); color: var(--ink); border-radius: 50%; display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow); letter-spacing: 2px; }
.ba-slider input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.ba-slider .ba-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-slider.ba-portrait { aspect-ratio: 1 / 1.9; }
.ba-grid { max-width: 720px; margin-inline: auto; align-items: start; }
@media (max-width: 619px) { .ba-grid { max-width: 340px; } }

/* Video testimonial cards */
.video-card { margin: 0; }
.media--portrait-video { aspect-ratio: 9 / 16; background: #0d1f19; }
.media--portrait-video video { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; background: #0d1f19; }
.video-card figcaption { margin-top: 14px; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--heading); }

/* ---------- 13. Gallery ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2,1fr); }
@media (min-width:760px){ .gallery { grid-template-columns: repeat(4,1fr); } }
.gallery .media { aspect-ratio: 1; margin: 0; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.gallery .media.tall { grid-row: span 2; aspect-ratio: 1/2; }
@media (max-width:759px){ .gallery .media.tall { grid-row: span 1; aspect-ratio: 1; } }

/* ---------- 14. Accordion (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; text-align: left; font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; color: var(--heading);
}
.bg-dark .accordion, .bg-dark .accordion__item { border-color: rgba(230,237,243,.1); }
.bg-dark .accordion__btn { color: var(--heading); }
.accordion__btn .ico { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: transform .3s var(--ease); position: relative; }
.accordion__btn .ico::before, .accordion__btn .ico::after { content: ""; position: absolute; background: var(--gold-premium); border-radius: 2px; }
.accordion__btn .ico::before { width: 12px; height: 2px; } .accordion__btn .ico::after { width: 2px; height: 12px; transition: transform .3s var(--ease); }
.accordion__btn[aria-expanded="true"] .ico::after { transform: scaleY(0); }
.accordion__panel { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.accordion__panel p { padding: 0 4px 24px; }

/* ---------- 15. Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 500; font-size: .88rem; color: var(--slate-200); }
.bg-dark .field label { color: var(--slate-200); }
.field .req { color: var(--gold-premium); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid rgba(230,237,243,.16);
  background: rgba(230,237,243,.04); color: var(--heading); transition: border-color .2s, box-shadow .2s; font-size: .98rem;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(201,212,223,.45); }
.bg-dark .field input, .bg-dark .field textarea, .bg-dark .field select { background: rgba(230,237,243,.04); border-color: rgba(230,237,243,.16); color: var(--heading); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-premium); box-shadow: 0 0 0 4px rgba(210,168,98,.16); }
.field textarea { resize: vertical; min-height: 130px; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #E06666; }
.field .err { font-size: .78rem; color: #E06666; display: none; }
.field.invalid .err { display: block; }
.form-row { display: grid; gap: 18px; }
@media (min-width:640px){ .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-note { font-size: .82rem; color: var(--text-soft); }
.form-success { display: none; padding: 18px 20px; border-radius: 12px; background: rgba(210,168,98,.12); border: 1px solid rgba(210,168,98,.35); color: var(--gold-300); font-weight: 500; }
.form-success.show { display: block; }

/* ---------- 16. Featured / CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(140deg, var(--navy-700), var(--navy-600)); color: var(--heading); padding: clamp(40px,6vw,72px); isolation: isolate; border: 1px solid rgba(214,175,90,.18); }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(210,168,98,.10), transparent 72%); z-index: -1; }
.cta-band h2 { color: var(--heading); }
.cta-band p { color: var(--body); }

/* ---------- 17. Logo strip ---------- */
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; }
.trust-row .badge { display: inline-flex; align-items: center; gap: 9px; color: var(--slate-400); font-weight: 500; font-size: .86rem; }
.trust-row .badge svg { width: 20px; height: 20px; color: var(--gold-premium); }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--body); padding-block: clamp(56px,7vw,84px) 30px; border-top: 1px solid rgba(214,175,90,.14); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width:720px){ .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer h5 { font-family: var(--font-display); color: var(--heading); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: var(--slate-400); font-size: .94rem; transition: color .2s; }
.site-footer a:hover { color: var(--gold-premium); }
.footer-links { display: grid; gap: 11px; }
.footer-brand img { height: 180px; width: auto; object-fit: contain; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; max-width: 30ch; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact a, .footer-contact span { display: flex; align-items: flex-start; gap: 11px; font-size: .92rem; }
.footer-contact svg { flex: none; width: 18px; height: 18px; color: var(--gold-premium); margin-top: 2px; }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(230,237,243,.06); transition: background .2s, transform .2s; }
.social-row a:hover { background: var(--gold-premium); transform: translateY(-2px); }
.social-row a:hover svg { color: var(--ink); }
.social-row svg { width: 19px; height: 19px; color: var(--gold-300); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 26px; border-top: 1px solid rgba(230,237,243,.08); font-size: .82rem; color: var(--slate-400); }
.footer-bottom a { font-size: .82rem; }

/* ---------- 19. Page hero (interior) ---------- */
.page-hero { background: var(--navy-900); color: var(--heading); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% -30%, #2C4E3D 0%, transparent 60%), linear-gradient(180deg, #223F2F, #1A3327); }
.page-hero__inner { padding-block: clamp(56px, 9vw, 110px); }
.page-hero h1 { color: var(--heading); max-width: 18ch; }
.page-hero .lead { color: var(--body); margin-top: 18px; max-width: 52ch; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--slate-400); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--gold-premium); }
.breadcrumb span { opacity: .5; }

/* ---------- 20. Misc utilities ---------- */
.mt-0{margin-top:0}.mt-1{margin-top:10px}.mt-2{margin-top:20px}.mt-3{margin-top:32px}.mt-4{margin-top:48px}
.mb-2{margin-bottom:20px}.mb-3{margin-bottom:32px}
.center{text-align:center}.maxw-prose{max-width:62ch}.mx-auto{margin-inline:auto}
.flex-between{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.divider-line{height:1px;background:var(--line);border:0;margin-block:clamp(40px,6vw,72px)}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}.reveal.d4{transition-delay:.32s}
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none} }

/* List with checks */
.check-list { display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; color: var(--body); }
.bg-dark .check-list li { color: var(--body); }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--gold-premium); margin-top: 1px; }

/* Pricing */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .check-list { margin-bottom: 26px; }
.price-card .btn:last-child { margin-top: auto; }
.price-card.featured { border: 1.5px solid var(--gold-premium); box-shadow: var(--shadow), 0 0 0 1px rgba(210,168,98,.25); }
.price-card .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--gold-premium); color: var(--ink); font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .08em; padding: 6px 14px; border-radius: var(--radius-pill); text-transform: uppercase; }
.price-card .amount { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--heading); line-height: 1; }
.bg-dark .price-card .amount { color: var(--heading); }
.price-card .amount span { font-size: .95rem; font-weight: 500; color: var(--text-soft); }
.bg-dark .price-card .amount span { color: var(--slate-400); }

/* Booking: pre-selected plan banner */
.plan-banner { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 13px 16px; border-radius: var(--radius); background: rgba(210,168,98,.12); border: 1px solid rgba(210,168,98,.30); color: var(--body); font-size: .92rem; line-height: 1.5; }
.plan-banner strong { color: var(--gold-premium); }
.plan-banner[hidden] { display: none; }

/* Notice / portal teaser */
.locked { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-300); }
.locked svg { width: 15px; height: 15px; }
code { background: rgba(210,168,98,.14); color: var(--gold-300); padding: 2px 7px; border-radius: 6px; font-size: .85em; font-family: ui-monospace, 'Cascadia Code', Consolas, monospace; }

/* ---------- 21. Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(4,14,12,.92); backdrop-filter: blur(6px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 20px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease); }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__content { width: min(86vw, 760px); aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center; background: linear-gradient(150deg, var(--navy-700), var(--navy-600)); color: var(--body); border: 1px dashed rgba(214,175,90,.24); }
.lightbox__cap { color: var(--heading); font-family: var(--font-display); font-weight: 600; }
.lightbox__close { position: absolute; top: 22px; right: 26px; width: 48px; height: 48px; border-radius: 50%; background: rgba(230,237,243,.1); color: var(--heading); font-size: 1.8rem; line-height: 1; }
.lightbox__close:hover { background: var(--gold-premium); color: var(--ink); }

/* ---------- 22. Booking / contact split ---------- */
.embed-frame { border-radius: var(--radius-lg); border: 1.5px dashed var(--line-strong); background: rgba(230,237,243,.03); min-height: 540px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 40px 28px; }
.bg-dark .embed-frame { background: rgba(230,237,243,.03); border-color: rgba(230,237,243,.16); }
.embed-frame .icon-badge { margin: 0 auto; }
.info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--navy-700); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.bg-dark .info-card { background: var(--navy-600); border-color: rgba(230,237,243,.08); }
.info-card .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(210,168,98,.14); color: var(--gold-premium); }
.info-card .ico svg { width: 22px; height: 22px; }
.info-card b { font-family: var(--font-display); display: block; color: var(--heading); }
.bg-dark .info-card b { color: var(--heading); }
.info-card a, .info-card span { color: var(--text-soft); font-size: .94rem; }
.bg-dark .info-card a, .bg-dark .info-card span { color: var(--body); }
.info-card a:hover { color: var(--gold-premium); }

/* ---------- 23. Case study / results ---------- */
.case { display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--navy-700); box-shadow: var(--shadow-sm); }
@media (min-width: 760px){ .case { grid-template-columns: 1fr 1.1fr; } }
.case .media { border-radius: 0; box-shadow: none; aspect-ratio: auto; min-height: 280px; }
.case__body { padding: clamp(24px,3vw,38px); }
.case__metrics { display: flex; flex-wrap: wrap; gap: 26px; margin: 20px 0; }
.case__metrics .m strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-premium); display: block; line-height: 1; }
.case__metrics .m span { font-size: .78rem; color: var(--text-soft); }
