/* =====================================================================
   PEARL — Dental Care HTML Template
   Soft-rounded, friendly healthcare direction.
   Palette: calming teal + fresh mint accent on soft mint-white, honey stars.
   (Token names --teal/--aqua represent the primary/accent colour slots.)
   Type:    Gabarito (display) · Hanken Grotesk (body) · Fragment Mono (labels)
   No framework · no build step · vanilla CSS + a sprinkle of vanilla JS.
   All design tokens live in :root — recolour or rescale the whole site here.
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — clean white + soft mint-white, generous breathing room */
  --paper:      #FFFFFF;
  --mist:       #EFF8F6;   /* page background — soft mint-white */
  --mist-soft:  #F7FBFA;
  --mist-deep:  #DCEFEA;

  /* Ink (deep calm navy, not pure black) */
  --ink:        #0E1A3A;
  --ink-soft:   #36436A;
  --ink-mute:   #6A7596;
  --ink-faint:  #A6B0CB;

  /* Brand — calming teal with fresh mint accents */
  --teal:       #087F73;   /* primary brand teal */
  --teal-deep:  #06695F;
  --teal-dark:  #055349;
  --teal-soft:  #DDF2EC;
  --aqua:       #78D6BD;   /* fresh mint accent */
  --aqua-deep:  #38AB92;
  --aqua-soft:  #E9F8F2;
  --honey:      #FFC861;   /* single warm accent — rating stars only */

  /* Semantic */
  --bg:         var(--mist);
  --fg:         var(--ink);
  --fg-soft:    var(--ink-soft);
  --fg-mute:    var(--ink-mute);
  --accent:     var(--teal);
  --line:       rgba(14, 26, 58, 0.10);
  --line-soft:  rgba(14, 26, 58, 0.06);
  --line-on-teal: rgba(255, 255, 255, 0.18);

  /* Typography */
  --font-display: "Gabarito", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --font-mono:    "Fragment Mono", ui-monospace, monospace;

  --text-xs:   0.78rem;
  --text-sm:   0.9rem;
  --text-base: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  --text-lg:   clamp(1.12rem, 1rem + 0.5vw, 1.3rem);
  --text-xl:   clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  --h3:        clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem);
  --h2:        clamp(2rem, 1.4rem + 2.6vw, 3.35rem);
  --h1:        clamp(2.55rem, 1.7rem + 3.7vw, 4.7rem);

  /* Spacing scale */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5.5rem;
  --space-9: 7.5rem;
  --section:       clamp(3.25rem, 2.2rem + 4.5vw, 6.5rem);
  --section-tight: clamp(2rem, 1.5rem + 2vw, 3.25rem);

  /* Soft-rounded radius system — the visual signature */
  --r-sm:   12px;
  --r-md:   20px;
  --r-lg:   28px;
  --r-xl:   40px;
  --r-2xl:  56px;
  --r-pill: 999px;

  /* Layout */
  --gutter:        clamp(1.15rem, 0.5rem + 2.5vw, 2.75rem);
  --maxw:          1240px;
  --maxw-wide:     1360px;
  --maxw-narrow:   760px;

  /* Shadows — soft, diffused (clinical-clean, not heavy) */
  --shadow-sm:  0 2px 8px rgba(14, 26, 58, 0.05);
  --shadow-md:  0 12px 30px rgba(14, 26, 58, 0.08);
  --shadow-lg:  0 26px 60px rgba(14, 26, 58, 0.12);
  --shadow-teal: 0 22px 48px rgba(8, 127, 115, 0.24);

  /* Motion */
  --dur-fast:   160ms;
  --dur:        300ms;
  --dur-slow:   600ms;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--aqua-deep); outline-offset: 3px; border-radius: 4px; }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: var(--h1); line-height: 1.06; font-weight: 800; }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); line-height: 1.16; }
p  { color: var(--fg-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--aqua-deep);
  border-radius: 2px;
}
.lede { font-size: var(--text-lg); color: var(--fg-soft); line-height: 1.55; max-width: 46ch; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide   { max-width: var(--maxw-wide); }
.container--narrow { max-width: var(--maxw-narrow); }
/* Bottom-only rhythm: each section owns the gap BELOW it; tops are 0.
   This prevents adjacent paddings from stacking into doubled gaps. */
.section { padding-block: 0 var(--section); }
.section--tight { padding-block: 0 var(--section-tight); }

.section-head { max-width: 60ch; margin-bottom: var(--space-6); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lede { margin-top: var(--space-3); }
.section-head--center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm);
  padding: 0.85rem 1.5rem; border-radius: var(--r-pill);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-teal); }
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn--dark { background: var(--ink); color: var(--mist-soft); }
.btn--dark:hover { background: #16285a; transform: translateY(-2px); }
.btn--ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal-deep); transform: translateY(-2px); }
.btn--on-teal { background: #fff; color: var(--teal-deep); }
.btn--on-teal:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--text-base); }
.btn--block { width: 100%; justify-content: center; }

/* pill chips */
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.04em;
  padding: 0.5rem 0.95rem; border-radius: var(--r-pill);
  background: var(--paper); color: var(--ink-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}
.pill--teal { background: var(--teal-soft); color: var(--teal-dark); box-shadow: none; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: clamp(0.6rem, 0.3rem + 1vw, 1.1rem);
  transition: padding var(--dur) var(--ease);
}
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 0.6rem 0.6rem 0.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.site-header.is-scrolled .nav { box-shadow: var(--shadow-md); }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; color: var(--ink); }
.brand-logo { width: 42px; height: 42px; flex-shrink: 0; }
.brand-wordmark { display: flex; flex-direction: column; gap: 3px; font-size: 1.45rem; line-height: 1; letter-spacing: -0.04em; }
.brand-tagline { font-family: var(--font-body); font-size: 0.58rem; font-weight: 600; line-height: 1.2; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal-deep); }
.footer-brand .brand-tagline { color: var(--aqua); }
.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  padding: 0.55rem 0.95rem; border-radius: var(--r-pill); color: var(--ink-soft);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--mist); }
.nav-links a.is-active { color: var(--teal-deep); background: var(--teal-soft); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-phone { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; color: var(--ink); padding-inline: 0.4rem; }
.nav-phone svg { width: 1.05em; height: 1.05em; color: var(--teal); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--mist); place-items: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); padding-bottom: clamp(4rem, 2.6rem + 4.5vw, 7rem); }
.hero::before {
  content: ""; position: absolute; inset: -10% -20% auto auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle, rgba(120, 214, 189, 0.55), transparent 62%);
  filter: blur(20px); z-index: -1; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero-copy h1 { margin: 1.1rem 0 1.3rem; }
.hero-copy h1 em { font-style: normal; color: var(--teal); position: relative; white-space: nowrap; }
.hero-copy h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.34em; background: var(--aqua); opacity: 0.4; border-radius: var(--r-pill); z-index: -1; }
.hero-copy .lede { margin-bottom: var(--space-5); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.hero-trust { display: flex; align-items: center; gap: 1.25rem; margin-top: var(--space-5); flex-wrap: wrap; }
.avatars { display: flex; }
.avatars img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--mist); margin-left: -12px; }
.avatars img:first-child { margin-left: 0; }
.hero-trust .stars { color: var(--honey); letter-spacing: 2px; font-size: 0.95rem; }
.hero-trust b { font-family: var(--font-display); }
.hero-trust small { display: block; color: var(--fg-mute); font-size: var(--text-xs); }

/* hero media + floating chips */
.hero-media { position: relative; justify-self: end; width: 100%; max-width: 540px; }
.hero-photo { border-radius: var(--r-2xl); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-radius: var(--r-md); padding: 0.85rem 1.05rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.7rem;
}
.float-card .ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); flex-shrink: 0; }
.float-card .ico svg { width: 19px; height: 19px; }
.float-card .ft-label { display: block; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.float-card .ft-value { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.float-card--top { top: 1.5rem; left: 12px; }
.float-card--mid { bottom: 26%; right: 12px; }

/* hero booking card — the signature element, overlaps into next band */
.booking-card {
  position: relative; z-index: 5; margin-top: clamp(-6rem, -4vw, -3.5rem);
  background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); border: 1px solid var(--line-soft);
}
.booking-card .bc-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-4); }
.booking-card .bc-head h3 { font-size: var(--text-xl); }
.booking-form { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; align-items: end; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); padding-left: 0.2rem; }
.field select, .field input {
  font: inherit; font-size: 0.95rem; color: var(--ink);
  padding: 0.8rem 1rem; border-radius: var(--r-pill);
  background: var(--mist-soft); border: 1.5px solid transparent;
  transition: border var(--dur) var(--ease), background var(--dur) var(--ease);
  width: 100%;
}
.field select:focus, .field input:focus { outline: none; border-color: var(--teal); background: var(--paper); }

/* ---------- Trust strip ---------- */
.trust-strip { display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 1rem + 3vw, 4rem); flex-wrap: wrap; text-align: center; }
.trust-strip .t-label { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); }
.trust-logos { display: flex; align-items: center; gap: clamp(1rem, 0.5rem + 2vw, 2.5rem); flex-wrap: wrap; justify-content: center; }
.trust-logos span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1rem, 0.9rem + 0.6vw, 1.4rem); color: var(--ink-faint); letter-spacing: -0.02em; }

/* ---------- Treatment pill strip ---------- */
.pill-strip { background: var(--ink); border-radius: var(--r-xl); padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); color: var(--mist-soft); }
.pill-strip h2 { color: #fff; font-size: var(--text-xl); margin-bottom: var(--space-4); }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.treat-pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 500; font-size: 0.98rem;
  padding: 0.7rem 1.25rem; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.06); color: var(--mist-soft);
  border: 1px solid var(--line-on-teal);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.treat-pill:hover { background: var(--aqua); color: var(--ink); transform: translateY(-2px); border-color: transparent; }
.treat-pill .emoji { font-size: 1.1rem; }

/* ---------- Feature cards (why us) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.feature-card {
  background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.6rem, 1.2rem + 1vw, 2.3rem);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card .f-ico { width: 58px; height: 58px; border-radius: var(--r-md); display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); margin-bottom: var(--space-4); }
.feature-card .f-ico svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: var(--text-xl); margin-bottom: 0.6rem; }
.feature-card p { font-size: var(--text-sm); }

/* ---------- Treatments bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-4); grid-auto-rows: 1fr; }
.t-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; min-height: 230px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.t-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.t-card.span-7 { grid-column: span 7; }
.t-card.span-5 { grid-column: span 5; }
.t-card.span-4 { grid-column: span 4; }
.t-card.span-8 { grid-column: span 8; }
.t-card .t-photo { position: relative; flex: 1; min-height: 150px; overflow: hidden; }
.t-card .t-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.t-card:hover .t-photo img { transform: scale(1.05); }
.t-card .t-body { padding: 1.3rem 1.5rem 1.5rem; }
.t-card .t-body h3 { font-size: var(--text-lg); margin-bottom: 0.3rem; }
.t-card .t-body p { font-size: var(--text-sm); margin-bottom: 0.6rem; }
.t-card .t-meta { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--teal-deep); letter-spacing: 0.04em; }
.t-card.is-feature { grid-row: span 2; }
.t-card.is-feature .t-photo { min-height: 300px; }

/* image overlay variant */
.t-card.overlay .t-body { position: absolute; inset: auto 0 0 0; background: linear-gradient(to top, rgba(10,20,45,0.92), rgba(10,20,45,0) ); padding-top: 3rem; }
.t-card.overlay .t-body h3, .t-card.overlay .t-body p { color: #fff; }
.t-card.overlay .t-meta { color: var(--aqua); }

/* ---------- Steps timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); position: relative; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--aqua-deep) 0 10px, transparent 10px 20px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; }
.step .s-num {
  width: 76px; height: 76px; margin: 0 auto var(--space-3); border-radius: 50%;
  background: var(--paper); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--teal-deep);
  box-shadow: var(--shadow-md); border: 2px solid var(--teal-soft);
}
.step h3 { font-size: var(--text-lg); margin-bottom: 0.4rem; }
.step p { font-size: var(--text-sm); max-width: 30ch; margin-inline: auto; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--teal); border-radius: var(--r-2xl); padding: clamp(2.4rem, 1.6rem + 3vw, 4rem) clamp(1.5rem,1rem + 2vw,3rem); position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; right: -8%; top: -40%; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); position: relative; z-index: 1; }
.stat { text-align: center; color: #fff; }
.stat .s-value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -0.03em; }
.stat .s-label { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-top: 0.6rem; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.dentist { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.dentist:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.dentist .d-photo { aspect-ratio: 1/1.1; overflow: hidden; }
.dentist .d-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.dentist:hover .d-photo img { transform: scale(1.05); }
.dentist .d-body { padding: 1.1rem 1.3rem 1.4rem; }
.dentist .d-body h3 { font-size: var(--text-lg); }
.dentist .d-role { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.06em; color: var(--teal-deep); text-transform: uppercase; margin-top: 0.2rem; }
.dentist .d-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.8rem; }
.dentist .d-tags span { font-size: var(--text-xs); padding: 0.25rem 0.6rem; border-radius: var(--r-pill); background: var(--mist); color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.testi { background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.5rem,1.2rem + 1vw,2.1rem); box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: var(--space-3); }
.testi .stars { color: var(--honey); letter-spacing: 2px; }
.testi blockquote { font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg); line-height: 1.4; color: var(--ink); }
.testi .t-author { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.testi .t-author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi .t-author b { font-family: var(--font-display); display: block; }
.testi .t-author small { color: var(--fg-mute); }
.testi--feature { background: var(--ink); color: var(--mist-soft); grid-column: span 1; }
.testi--feature blockquote { color: #fff; }
.testi--feature .t-author small { color: var(--ink-faint); }

/* ---------- Pricing / membership ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); align-items: stretch; }
.plan { position: relative; background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.6rem,1.2rem + 1vw,2.4rem); box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.plan .p-name { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-deep); }
.plan .p-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem,1.6rem + 2vw,3rem); line-height: 1; margin: 0.7rem 0 0.2rem; letter-spacing: -0.03em; }
.plan .p-price span { font-size: 1rem; font-weight: 500; color: var(--fg-mute); }
.plan .p-desc { font-size: var(--text-sm); margin-bottom: var(--space-4); }
.plan ul { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: var(--space-5); }
.plan li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--text-sm); color: var(--fg-soft); }
.plan li svg { width: 19px; height: 19px; color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan--featured { background: var(--teal); color: #fff; box-shadow: var(--shadow-teal); transform: translateY(-10px); }
.plan--featured .p-name { color: var(--aqua-soft); }
.plan--featured .p-price, .plan--featured .p-price span { color: #fff; }
.plan--featured .p-desc { color: rgba(255,255,255,0.85); }
.plan--featured li { color: rgba(255,255,255,0.92); }
.plan--featured li svg { color: var(--aqua); }
.plan .p-badge { position: absolute; top: 1.3rem; right: 1.4rem; margin: 0; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: var(--r-pill); background: rgba(255,255,255,0.22); color: #fff; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 0.8rem; }
.faq details { background: var(--paper); border-radius: var(--r-md); border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1.25rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; flex-shrink: 0; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary .q-ico { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq .faq-body { padding: 0 1.5rem 1.4rem; color: var(--fg-soft); font-size: var(--text-base); }

/* ---------- Big closing CTA ---------- */
.cta-panel { position: relative; overflow: hidden; border-radius: var(--r-2xl); background: var(--ink); color: var(--mist-soft); padding: clamp(2.5rem,1.8rem + 4vw,5rem); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--space-6); align-items: center; }
.cta-panel::before { content: ""; position: absolute; left: -10%; bottom: -50%; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(8,127,115,0.5), transparent 65%); }
.cta-panel .cta-copy { position: relative; z-index: 1; }
.cta-panel h2 { color: #fff; margin-bottom: var(--space-3); }
.cta-panel p { color: var(--ink-faint); margin-bottom: var(--space-5); max-width: 42ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.cta-photo { position: relative; z-index: 1; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/3.4; box-shadow: var(--shadow-lg); }
.cta-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Split section (about/page heros) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem + 4vw,4.5rem); align-items: center; }
.split--reverse .split-media { order: -1; }
.split-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.fact-list { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-5); }
.fact { display: flex; gap: 0.9rem; align-items: flex-start; }
.fact .f-ico { width: 42px; height: 42px; border-radius: var(--r-sm); background: var(--teal-soft); color: var(--teal-deep); display: grid; place-items: center; flex-shrink: 0; }
.fact .f-ico svg { width: 21px; height: 21px; }
.fact b { font-family: var(--font-display); display: block; color: var(--ink); }
.fact p { font-size: var(--text-sm); margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(3rem,2rem + 3vw,5rem); padding-bottom: clamp(2rem,1.5rem + 2vw,3.5rem); }
.page-hero .breadcrumb { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: var(--space-3); }
.page-hero h1 { max-width: 16ch; }
.page-hero .lede { margin-top: var(--space-4); }

/* ---------- Price table ---------- */
.price-table { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); overflow: hidden; }
.price-row { display: grid; grid-template-columns: 1.4fr 2fr 0.8fr; gap: var(--space-3); padding: 1.2rem clamp(1.2rem,1rem + 1vw,2rem); align-items: center; border-bottom: 1px solid var(--line-soft); }
.price-row:last-child { border-bottom: none; }
.price-row.is-head { background: var(--mist-soft); }
.price-row.is-head span { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-mute); }
.price-row .pr-name { font-family: var(--font-display); font-weight: 600; color: var(--ink); }
.price-row .pr-desc { font-size: var(--text-sm); color: var(--fg-mute); }
.price-row .pr-cost { font-family: var(--font-display); font-weight: 700; color: var(--teal-deep); text-align: right; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem,1rem + 3vw,4rem); align-items: start; }
.form-card { background: var(--paper); border-radius: var(--r-xl); padding: clamp(1.6rem,1.2rem + 1.5vw,2.6rem); box-shadow: var(--shadow-md); border: 1px solid var(--line-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-grid .field.full { grid-column: 1 / -1; }
.field textarea { font: inherit; font-size: 0.95rem; color: var(--ink); padding: 0.85rem 1rem; border-radius: var(--r-md); background: var(--mist-soft); border: 1.5px solid transparent; resize: vertical; min-height: 120px; width: 100%; }
.field textarea:focus { outline: none; border-color: var(--teal); background: var(--paper); }
.contact-aside { display: flex; flex-direction: column; gap: var(--space-4); }
.info-card { background: var(--paper); border-radius: var(--r-lg); padding: var(--space-5); box-shadow: var(--shadow-sm); border: 1px solid var(--line-soft); }
.info-card h3 { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.info-row { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); }
.info-row:last-child { border-bottom: none; }
.info-row .i-ico { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.info-row .i-ico svg { width: 20px; height: 20px; }
.info-row b { font-family: var(--font-display); display: block; color: var(--ink); }
.info-row span { font-size: var(--text-sm); color: var(--fg-soft); }
.map-card { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow-sm); position: relative; background: var(--mist-deep); }
.map-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; }
.map-pin { position: absolute; inset: 0; display: grid; place-items: center; }
.map-pin span { background: var(--teal); color: #fff; padding: 0.6rem 1.1rem; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); box-shadow: var(--shadow-teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--mist-soft); border-radius: var(--r-2xl) var(--r-2xl) 0 0; margin-top: 0; padding-top: clamp(2.75rem,2rem + 2.5vw,4rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: var(--space-5); padding-bottom: var(--space-7); }
.footer-brand .brand { color: #fff; margin-bottom: var(--space-3); }
.footer-brand p { color: var(--ink-faint); font-size: var(--text-sm); max-width: 32ch; }
.footer-col h4 { font-family: var(--font-mono); font-weight: 400; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: var(--space-3); }
.footer-col a { display: block; padding: 0.32rem 0; color: var(--mist-soft); font-size: var(--text-sm); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--aqua); }
.footer-policy-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.55rem; }
.footer-policy-breadcrumb a { display: inline; padding: 0; color: var(--mist-soft); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; }
.footer-policy-breadcrumb a:not(:last-child)::after { content: '/'; color: var(--ink-faint); margin-left: .55rem; }
.footer-news p { color: var(--ink-faint); font-size: var(--text-sm); margin-bottom: var(--space-3); }
.news-form { display: flex; gap: 0.5rem; background: rgba(255,255,255,0.06); border-radius: var(--r-pill); padding: 0.35rem 0.35rem 0.35rem 1.1rem; border: 1px solid var(--line-on-teal); }
.news-form input { flex: 1; min-width: 0; width: 100%; background: none; border: none; color: #fff; font: inherit; font-size: var(--text-sm); }
.news-form input::placeholder { color: var(--ink-faint); }
.news-form input:focus { outline: none; }
.news-form button { background: var(--teal); color: #fff; border-radius: var(--r-pill); padding: 0.6rem 1.1rem; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); transition: background var(--dur) var(--ease); }
.news-form button:hover { background: var(--aqua); color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); padding: var(--space-4) 0; border-top: 1px solid var(--line-on-teal); font-size: var(--text-xs); color: var(--ink-faint); font-family: var(--font-mono); letter-spacing: 0.03em; }
.footer-bottom a { color: var(--ink-faint); }
.footer-bottom a:hover { color: var(--aqua); }

/* ---------- Reveal animation (JS-gated: visible by default if JS is off) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; border-radius: var(--r-pill); z-index: 100; transition: top var(--dur) var(--ease); }
.skip-link:focus { top: 1rem; }

/* ---------- Responsive ---------- */
.hero-grid > *, .feature-grid > *, .team-grid > *, .testi-grid > *,
.plans > *, .stats-grid > *, .split > *, .contact-grid > *,
.footer-top > *, .form-grid > *, .booking-form > *, .cta-panel > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
.btn { max-width: 100%; }
.treat-pill { max-width: 100%; }
.treat-pill .emoji { flex-shrink: 0; }
.info-row > div, .footer-bottom > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: grid; flex-shrink: 0; }
  .nav { border-radius: 28px; }
  body.nav-open .nav { flex-wrap: wrap; }
  body.nav-open .nav-links { display: flex; flex-direction: column; flex-basis: 100%; min-width: 0; align-items: stretch; padding: var(--space-3) 0 var(--space-2); gap: 0.2rem; order: 3; }
  body.nav-open .nav-links a { display: block; padding: 0.8rem 1.1rem; }
  body.nav-open .nav-links { max-height: calc(100dvh - 120px); overflow-y: auto; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 0.85fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .booking-form { grid-template-columns: 1fr 1fr; }
  .booking-form .field.find { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; margin-top: var(--space-5); max-width: 460px; }
  .booking-card { margin-top: 1.5rem; }
  .feature-grid, .team-grid, .testi-grid, .plans, .stats-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: var(--space-5); }
  .steps::before { display: none; }
  .cta-panel, .split, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .cta-photo { order: -1; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .bento .t-card { grid-column: auto !important; }
  .bento .t-card.is-feature { grid-column: 1 / -1 !important; grid-row: auto; }
  .t-card:not(.is-feature) .t-photo { flex: none; aspect-ratio: 3 / 2; }
  .plan--featured { transform: none; }
}
@media (max-width: 560px) {
  .feature-grid, .team-grid, .testi-grid, .plans, .stats-grid, .form-grid { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr; }
  .booking-card { margin-top: 1.5rem; border-radius: var(--r-lg); }
  .booking-form .field.find > label { display: none; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-card.is-feature .t-photo { min-height: 360px; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .pill-strip, .cta-panel { border-radius: var(--r-lg); }
  .treat-pill { padding-inline: 1rem; }
  .nav { gap: 0.5rem; padding: 0.6rem; }
  .nav .brand { gap: 0.5rem; }
  .nav .brand-logo { width: 36px; height: 36px; }
  .nav .brand-wordmark { font-size: 1.25rem; }
  .nav-actions { gap: 0.5rem; flex-shrink: 0; }
  .nav-actions > .btn { padding: 0.75rem; }
  .hero { padding-top: 2rem; }
  .hero-photo { border-radius: var(--r-xl); }
  .float-card { max-width: 100%; padding: 0.65rem 0.75rem; gap: 0.5rem; }
  .float-card .ft-label { font-size: 0.58rem; letter-spacing: 0.05em; }
  .float-card .ft-value { font-size: 0.85rem; }
  .faq summary { padding: 1rem; font-size: 1.05rem; }
  .faq .faq-body { padding-inline: 1rem; }
  .price-row { grid-template-columns: 1fr; gap: 0.3rem; }
  .price-row .pr-cost { text-align: left; }
  .price-row.is-head { display: none; }
  .float-card--top { left: 0; top: 0.5rem; }
  .float-card--mid { right: 0; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .field input, .field select, .field textarea, .news-form input { font-size: 1rem; }
}

/* Form validation states (added 2026-09-21) */
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"],
.news-form input[aria-invalid="true"] { border-color: #C2410C !important; background-color: #FFF4F0 !important; }
.form-note { margin-top: .9rem; font-size: .85rem; font-family: var(--font-mono); color: var(--teal-deep); }
.form-note.is-err { color: #B4360A; }
.news-form:focus-within { border-color: #BCEBDD; box-shadow: 0 0 0 3px rgba(188, 235, 221, .35); }
.news-form + .form-note { color: #BCEBDD; }
.news-form + .form-note.is-err { color: #FFB59A; }

/* 404 */
.nf__inner { display: grid; justify-items: center; gap: 1rem; text-align: center; padding-block: 2rem 1rem; }
.nf__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 3rem + 12vw, 11rem); line-height: 1; letter-spacing: -.04em; color: var(--teal); }
.nf h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); line-height: 1.15; color: var(--ink); }
.nf__lede { max-width: 32rem; color: var(--ink-soft, #4A5578); }
.nf__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: .5rem; }
[hidden] { display: none !important; }

/* The booking card pulls up over the hero; on two-column layouts reserve that
   overlap under the copy so it covers the photo, never the trust line. */
@media (min-width: 881px) {
  .hero-copy { padding-bottom: clamp(3.5rem, 4vw, 6rem); }
}
