/* ============================================================================
   SNOW TREE DENTAL — Design System
   Pure CSS. No frameworks, no plugins.
   Aesthetic: Liquid Glass (glassmorphism) · White mode · Gold + Mint/Teal
   Brand palette derived from the logo (gold script + mint leaf + neutral gray)
   ========================================================================== */

/* ---------------------------------------------------------------------------
   0. Design Tokens
   ------------------------------------------------------------------------- */
:root {
  /* Brand — Gold (from the "Snow Tree" script) */
  --gold-050: #FBF6EC;
  --gold-100: #F4E9CF;
  --gold-200: #E9D5A9;
  --gold-300: #DBBE7E;
  --gold-400: #CBA45C;
  --gold-500: #C0954A;   /* core brand gold (decorative / large text) */
  --gold-600: #A67C36;   /* gold — large text only (3.8:1); NOT for small text */
  --gold-700: #856129;   /* accessible gold text on white (5.6:1) */

  /* Brand — Mint / Teal (from the leaf) */
  --mint-050: #EEF8F4;
  --mint-100: #D6EFE6;
  --mint-200: #AFE0D0;
  --mint-300: #86CDB8;
  --mint-400: #57B79C;
  --teal-500: #2E9C80;   /* core action teal (decorative) */
  --teal-600: #1F7F67;   /* accessible teal text on white (4.9:1) */
  --teal-700: #175F4D;
  --teal-800: #114A3D;

  /* Neutrals */
  --ink-900: #1C2523;    /* headings */
  --ink-700: #2C3A37;    /* body */
  --ink-500: #566360;    /* secondary text (6.3:1) */
  --ink-400: #646D6A;    /* muted gray text (5.3:1 on white) */
  --ink-300: #8B9491;    /* decorative gray (icons/dividers only, not text) */
  --line:    #E7E9E6;    /* hairline borders */
  --paper:   #FFFFFF;
  --paper-2: #FBFAF6;    /* warm off-white section */
  --paper-3: #F5F7F4;    /* cool off-white section */

  /* Glass */
  --glass-bg:       rgba(255, 255, 255, 0.55);
  --glass-bg-strong:rgba(255, 255, 255, 0.72);
  --glass-brd:      rgba(255, 255, 255, 0.75);
  --glass-brd-2:    rgba(192, 149, 74, 0.16);
  --glass-blur:     18px;

  /* Semantic */
  --bg: var(--paper);
  --fg: var(--ink-700);
  --heading: var(--ink-900);
  --primary: var(--teal-600);
  --primary-ink: #FFFFFF;
  --accent: var(--gold-500);

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #D9BE84 0%, #C0954A 55%, #A67C36 100%);
  /* teal gradient tuned so WHITE text stays >=4.8:1 across every stop */
  --grad-teal: linear-gradient(135deg, #1F8069 0%, #155A47 100%);
  --grad-brand: linear-gradient(120deg, #C0954A 0%, #57B79C 100%); /* decorative only (no text over it) */
  --grad-brand-ink: linear-gradient(120deg, #175F4D 0%, #856129 100%); /* accessible clipped-text gradient */
  --grad-soft: linear-gradient(180deg, #FFFFFF 0%, #FBFAF6 100%);

  /* Shadows — soft, layered (Soft-UI evolution) */
  --sh-xs: 0 1px 2px rgba(28, 37, 35, 0.05);
  --sh-sm: 0 2px 8px rgba(28, 37, 35, 0.06);
  --sh-md: 0 10px 30px -12px rgba(28, 37, 35, 0.16);
  --sh-lg: 0 24px 60px -20px rgba(28, 37, 35, 0.22);
  --sh-glass: 0 8px 32px -8px rgba(31, 127, 103, 0.14), inset 0 1px 0 rgba(255,255,255,0.6);
  --sh-gold: 0 14px 34px -14px rgba(166, 124, 54, 0.45);
  --sh-teal: 0 14px 34px -14px rgba(31, 127, 103, 0.45);

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Spacing scale */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 24px;  --s-6: 32px;  --s-7: 48px;  --s-8: 64px;
  --s-9: 96px;  --s-10: 128px;

  /* Type — fallbacks are metric-adjusted (see @font-face below) to minimise CLS on font swap */
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-sans: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-hero: clamp(2.6rem, 6.2vw, 5rem);
  --fs-h1:   clamp(2.1rem, 4.6vw, 3.4rem);
  --fs-h2:   clamp(1.7rem, 3.3vw, 2.5rem);
  --fs-h3:   clamp(1.25rem, 2vw, 1.5rem);
  --fs-lead: clamp(1.05rem, 1.5vw, 1.28rem);
  --fs-body: 1.0625rem;

  --container: 1200px;
  --container-wide: 1360px;
  --header-h: 78px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------------------------------------------------------------------------
   1. Reset & Base
   ------------------------------------------------------------------------- */
/* Metric-adjusted fallbacks: the fallback occupies ~the same box as the web
   font, so the swap causes near-zero layout shift (low CLS). */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 104%; ascent-override: 92%; descent-override: 26%; line-gap-override: 0%;
}
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial"), local("Helvetica Neue");
  size-adjust: 98%; ascent-override: 95%; descent-override: 24%; line-gap-override: 0%;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@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;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--teal-700); }
/* Underline links embedded in running text so colour isn't the only cue (WCAG 1.4.1) */
main p a, .faq__a__inner a, .footer-bottom a, .crumbs a, .form__note a,
.info-item .val a, .m-contact a { text-decoration: underline; text-underline-offset: 2px; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.015em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

::selection { background: var(--mint-200); color: var(--teal-800); }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--teal-700); color: #fff; padding: 12px 20px;
  border-radius: 0 0 12px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------------------
   2. Layout helpers
   ------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--s-5); }
.container-wide { max-width: var(--container-wide); }
.section { padding-block: clamp(56px, 9vw, 120px); position: relative; }
.section--tint { background: var(--paper-2); }
.section--cool { background: var(--paper-3); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 62ch; }
.measure-sm { max-width: 48ch; }

.grid { display: grid; gap: var(--s-5); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------------
   3. Ambient / gradient-mesh backdrops (make glass read on white)
   ------------------------------------------------------------------------- */
.orbs { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: .55; will-change: transform;
}
.orb--gold { background: radial-gradient(circle at 30% 30%, #E9D5A9, #C0954A); }
.orb--mint { background: radial-gradient(circle at 30% 30%, #BFEADD, #57B79C); }
.orb--teal { background: radial-gradient(circle at 30% 30%, #7FD3BB, #2E9C80); }
.section > .container, .section > .container-wide { position: relative; z-index: 1; }

/* ---------------------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------------------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  line-height: 1; text-align: center; white-space: nowrap;
  transition: transform .25s var(--ease-back), box-shadow .25s var(--ease), background .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn--primary { background: var(--grad-teal); color: #fff; box-shadow: var(--sh-teal); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(31,127,103,.55); color:#fff; }

.btn--gold { background: var(--grad-gold); color: #3A2C10; box-shadow: var(--sh-gold); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(166,124,54,.6); color:#3A2C10; }

.btn--white { background: #fff; color: var(--teal-700); box-shadow: var(--sh-md); }
.btn--white:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); color: var(--teal-800); }

/* Gentle shine sweep on primary CTAs (hover) */
.btn--primary::after, .btn--gold::after, .btn--white::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; z-index: 1;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease); pointer-events: none;
}
.btn--primary:hover::after, .btn--gold:hover::after, .btn--white:hover::after { left: 130%; }
.btn > * { position: relative; z-index: 2; }

/* Real logo image in header */
.brand__img { height: 48px; width: auto; display: block; }
@media (max-width: 480px) { .brand__img { height: 40px; } }

.btn--ghost {
  background: var(--glass-bg-strong); color: var(--ink-900);
  border: 1px solid var(--glass-brd-2); backdrop-filter: blur(10px);
  box-shadow: var(--sh-sm);
}
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--sh-md); color: var(--teal-700); }

.btn--lg { --pad-y: 18px; --pad-x: 34px; font-size: 1.06rem; }
.btn--block { display: flex; width: 100%; }

/* ---------------------------------------------------------------------------
   5. Glass surfaces
   ------------------------------------------------------------------------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--sh-glass);
  border-radius: var(--r-lg);
}
.glass--solid { background: var(--glass-bg-strong); }

/* Card */
.card {
  /* Note: no backdrop-filter here — cards sit on near-opaque section
     backgrounds where blur is imperceptible, so we skip the compositor cost.
     The translucent fill + sheen + border keep the glass look. */
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.88), rgba(255,255,255,.72));
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--sh-glass);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(140deg, rgba(255,255,255,.5), rgba(255,255,255,0) 40%);
  pointer-events: none;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: rgba(192,149,74,.35); }

/* Icon chip */
.chip-icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: var(--s-4);
  background: linear-gradient(135deg, var(--mint-050), var(--gold-050));
  border: 1px solid var(--glass-brd-2);
  box-shadow: var(--sh-xs);
}
.chip-icon svg { width: 28px; height: 28px; stroke: var(--teal-600); }
.card:hover .chip-icon svg { stroke: var(--gold-600); }
.chip-icon--gold svg { stroke: var(--gold-600); }

/* ---------------------------------------------------------------------------
   6. Eyebrow / pill labels & headings
   ------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-600);
  padding: 7px 15px; border-radius: var(--r-pill);
  background: var(--mint-050); border: 1px solid rgba(87,183,156,.25);
}
.eyebrow--gold { color: var(--gold-700); background: var(--gold-050); border-color: rgba(192,149,74,.28); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.section-head { max-width: 720px; margin-bottom: var(--s-7); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: var(--s-3); }
.section-head p { margin-top: var(--s-4); font-size: var(--fs-lead); color: var(--ink-500); }

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-gold { color: var(--gold-600); }
.text-teal { color: var(--teal-600); }

/* ---------------------------------------------------------------------------
   7. Header / Navigation
   ------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.site-header .bar {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5);
}
.site-header.scrolled {
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 6px 24px -14px rgba(28,37,35,.28);
  border-bottom: 1px solid rgba(255,255,255,.6);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.34rem;
  color: var(--gold-600); letter-spacing: .01em;
}
.brand__sub {
  font-family: var(--font-sans); font-weight: 600; font-size: .62rem;
  letter-spacing: .42em; text-transform: uppercase; color: var(--ink-400);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; color: var(--ink-700); font-weight: 500;
  padding: 10px 15px; border-radius: var(--r-pill); font-size: .98rem;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 2px;
  background: var(--grad-gold); border-radius: 2px; transform: scaleX(0);
  transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal-700); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  color: var(--ink-900); font-size: .98rem;
}
.header-phone svg { width: 18px; height: 18px; stroke: var(--teal-600); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-brd-2);
  place-items: center; box-shadow: var(--sh-xs);
}
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink-900); }

/* Compact tap-to-call in the mobile/tablet header (always one tap away) */
.header-call {
  display: none; width: 46px; height: 46px; border-radius: 14px; place-items: center;
  background: var(--grad-teal); box-shadow: var(--sh-teal); margin-left: auto;
}
.header-call svg { width: 22px; height: 22px; stroke: #fff; }
@media (max-width: 1024px) { .header-call { display: grid; } }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--s-8) var(--s-5) var(--s-6);
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease), opacity .4s var(--ease), visibility .4s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu nav > a:not(.btn) {
  font-family: var(--font-display); font-size: 1.9rem; color: var(--ink-900);
  padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu nav > a:not(.btn):hover { color: var(--teal-600); }
.mobile-menu .btn--block { margin-top: var(--s-6); font-size: 1.1rem; }
.mobile-menu .m-contact { margin-top: var(--s-5); color: var(--ink-500); font-size: .98rem; }
.mobile-menu .m-contact a { font-size: inherit; font-weight: 600; color: var(--teal-700); }
.mm-close {
  position: absolute; top: 20px; right: 20px; width: 48px; height: 48px;
  border-radius: 14px; background: var(--glass-bg-strong); display: grid; place-items: center;
  border: 1px solid var(--glass-brd-2);
}
.mm-close svg { width: 26px; height: 26px; stroke: var(--ink-900); }
body.menu-open { overflow: hidden; }

@media (max-width: 1024px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: grid; }
}

/* ---------------------------------------------------------------------------
   8. Hero (parallax)
   ------------------------------------------------------------------------- */
/* ===== Rich animated backdrop system (reused by hero + page-hero) ===== */
.aurora { position: absolute; inset: -18%; z-index: 0; pointer-events: none; overflow: hidden; }
.aurora b {
  position: absolute; display: block; border-radius: 50%; filter: blur(60px);
  opacity: .62; mix-blend-mode: multiply;
}
/* Only the hero auroras drift; section auroras stay static (colour, no perf cost) */
.hero .aurora b, .page-hero .aurora b { animation: drift 22s ease-in-out infinite; }
/* Any content section carrying an aurora clips it and isolates the blend */
.section--rich { position: relative; overflow: hidden; isolation: isolate; }
.aurora b:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; top: -6%; right: -6%; background: radial-gradient(circle at 35% 35%, #BCE7D7, #3FB196); }
.aurora b:nth-child(2) { width: 40vw; height: 40vw; max-width: 540px; max-height: 540px; bottom: -16%; left: -8%; background: radial-gradient(circle at 35% 35%, #F1D89C, #C1963F); animation-delay: -7s; }
.aurora b:nth-child(3) { width: 32vw; height: 32vw; max-width: 440px; max-height: 440px; top: 34%; left: 42%; background: radial-gradient(circle at 35% 35%, #C7ECE0, #6FC6AE); animation-delay: -14s; opacity: .5; }
@keyframes drift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  33% { transform: translate3d(3%,-4%,0) scale(1.09); }
  66% { transform: translate3d(-3%,3%,0) scale(.95); }
}
.grid-fade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(circle, rgba(23,95,77,.16) 1.1px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 72% 62% at 50% 38%, #000 0%, transparent 76%);
  mask-image: radial-gradient(ellipse 72% 62% at 50% 38%, #000 0%, transparent 76%);
}
.grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(72px, 11vw, 150px);
  background:
    radial-gradient(1200px 720px at 86% -12%, #D6EFE6 0%, rgba(214,239,230,0) 56%),
    radial-gradient(1040px 660px at 0% 6%, #F6E7C4 0%, rgba(246,231,196,0) 58%),
    radial-gradient(820px 520px at 58% 112%, #E4F4EC 0%, rgba(228,244,236,0) 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FAFBF7 100%);
}
.hero__layers { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero .orb { will-change: transform; }
.hero .orb--1 { width: 480px; height: 480px; top: -130px; right: -70px; background: radial-gradient(circle at 30% 30%, #B9E6D6, #38AE92); opacity: .55; }
.hero .orb--2 { width: 400px; height: 400px; bottom: -150px; left: -100px; background: radial-gradient(circle at 30% 30%, #EFD293, #BC9038); opacity: .5; }
.hero .orb--3 { width: 250px; height: 250px; top: 42%; left: 46%; background: radial-gradient(circle at 30% 30%, #CFF0E5, #74C7B0); opacity: .42; }

.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-8); align-items: center;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; gap: var(--s-7); } }

.hero__content { max-width: 620px; }
.hero h1 {
  font-size: var(--fs-hero); margin-top: var(--s-4); font-weight: 600;
  line-height: 1.04; letter-spacing: -0.02em;
}
.hero h1 .accent { font-style: italic; color: var(--gold-600); }
.hero__lead { font-size: var(--fs-lead); color: var(--ink-500); margin-top: var(--s-5); max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-7); }
.hero__trust .t { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-500); font-weight: 500; }
.hero__trust svg { width: 20px; height: 20px; stroke: var(--teal-500); flex-shrink: 0; }

/* Hero visual — layered glass composition */
.hero__visual { position: relative; display: flex; flex-direction: column; }
.hero__frame { position: relative; }

/* Key-points panel under the hero image */
.hero-points {
  position: relative; z-index: 2; margin-top: 20px;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 20px 24px;
}
.hero-points .hp-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 700;
  color: var(--gold-700); margin-bottom: 15px;
}
.hero-points .hp-label::before { content: ""; width: 18px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.hero-points ul { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 22px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-900); font-size: .93rem; line-height: 1.2; }
.hero-points li .tick {
  width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--mint-100);
}
.hero-points li .tick svg { width: 14px; height: 14px; stroke: var(--teal-700); }
@media (max-width: 520px) { .hero-points ul { grid-template-columns: 1fr; } }
.hero__portrait {
  position: relative; z-index: 2; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-lg); border: 1px solid rgba(255,255,255,.85);
  background: radial-gradient(circle at 50% 40%, #F6FCFA 0%, #CDEBDF 56%, #E9D3A0 120%);
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
/* Transparent implant cutout floats on the spotlight gradient with a soft shadow. */
.hero__portrait img { width: 100%; height: 100%; object-fit: contain; padding: 8%; filter: drop-shadow(0 24px 34px rgba(28,37,35,.24)); }
.hero__portrait .placeholder-art { width: 74%; opacity: .9; }

.floaty {
  position: absolute; z-index: 3; padding: 16px 18px; border-radius: var(--r-md);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--glass-brd); box-shadow: var(--sh-md);
  display: flex; align-items: center; gap: 12px; will-change: transform;
}
.floaty .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.floaty .ic--teal { background: var(--mint-100); }
.floaty .ic--gold { background: var(--gold-100); }
.floaty .ic svg { width: 22px; height: 22px; }
.floaty .ic--teal svg { stroke: var(--teal-600); }
.floaty .ic--gold svg { stroke: var(--gold-600); }
.floaty > span:last-child { display: flex; flex-direction: column; }
.floaty .big { display: block; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--ink-900); line-height: 1.1; }
.floaty .sm { display: block; font-size: .78rem; color: var(--ink-500); margin-top: 4px; line-height: 1.2; }
.floaty--tl { top: 6%; left: -7%; }
.floaty--br { bottom: 8%; right: -8%; }
.floaty--bl { bottom: 30%; left: -11%; }
.floaty--ml { top: 40%; right: -9%; }
.floaty--rating { bottom: 40%; right: -10%; }
@media (max-width: 1180px) { .floaty--tl { left: 1%; } .floaty--br { right: 1%; } .floaty--bl { left: -2%; } .floaty--ml { right: -1%; } .floaty--rating { right: 0; } }
@media (max-width: 600px) {
  .floaty--tl { left: -2%; } .floaty--br { right: -2%; } .floaty--rating { display: none; }
  .floaty--bl, .floaty--ml { display: none; }   /* keep it uncluttered on phones */
  .floaty { padding: 12px 14px; }
  .hero-points { padding: 18px 18px; }
}

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--gold-500); stroke: none; }

/* ===== Hero enrichments (glow ring, shine, headline accent, social proof) ===== */
/* Headline: gradient-highlighted phrase + hand-drawn underline */
.hero h1 .hl {
  position: relative;
  background: linear-gradient(100deg, #2E9C80, #1F7F67 55%, #C0954A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .hl svg { display: none; }
@media (min-width: 720px) {
  .hero h1 .hl svg {
    display: block; position: absolute; left: 0; right: 0; bottom: -.18em; width: 100%; height: .3em;
    stroke: var(--gold-500); fill: none; stroke-width: 5; stroke-linecap: round;
    stroke-dasharray: 320; stroke-dashoffset: 0; /* visible baseline (no-JS) */
  }
}
.js .hero h1 .hl svg { stroke-dashoffset: 320; }               /* hidden until drawn */
.hero h1 .hl.drawn svg { animation: draw 1.1s var(--ease) forwards; } /* JS re-triggers every load */
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Social proof: avatar stack */
.social-proof { display: flex; align-items: center; gap: 14px; margin-top: var(--s-6); }
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid #fff;
  margin-left: -12px; display: grid; place-items: center; color: #fff; font-weight: 700;
  font-family: var(--font-display); font-size: .95rem; box-shadow: var(--sh-xs);
}
.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack span:nth-child(1) { background: linear-gradient(135deg, #37B394, #1F7F67); }
.avatar-stack span:nth-child(2) { background: linear-gradient(135deg, #D9BE84, #A67C36); }
.avatar-stack span:nth-child(3) { background: linear-gradient(135deg, #6FC6AE, #2E9C80); }
.avatar-stack span:nth-child(4) { background: linear-gradient(135deg, #E9D5A9, #C0954A); }
.social-proof__text { font-size: .92rem; color: var(--ink-500); line-height: 1.4; }
.social-proof__text strong { color: var(--ink-900); display: block; font-weight: 700; }

/* Glow ring behind the hero visual */
.hero-glow {
  position: absolute; z-index: 1; width: 118%; aspect-ratio: 1; left: -9%; top: -9%;
  border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(46,156,128,.0), rgba(46,156,128,.28), rgba(192,149,74,.28), rgba(87,183,156,.0), rgba(46,156,128,.28));
  filter: blur(26px); opacity: .8; animation: spin 26s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Shine sweep across the portrait */
.hero__portrait::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 46%, transparent 60%);
  transform: translateX(-120%); animation: sweep 6s 1.2s ease-in-out infinite;
}
@keyframes sweep { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }

/* Floating "next available" booking card */
.booking-card {
  position: absolute; z-index: 4; top: -3%; right: -4%; width: 220px;
  background: var(--glass-bg-strong); border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 16px 18px; will-change: transform;
}
.booking-card .bc-row { display: flex; align-items: center; gap: 10px; }
.booking-card .pulse { width: 10px; height: 10px; border-radius: 50%; background: #2E9C80; position: relative; flex-shrink: 0; }
.booking-card .pulse::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; background: rgba(46,156,128,.35); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.booking-card .bc-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-400); font-weight: 700; }
.booking-card .bc-title { font-family: var(--font-display); font-weight: 600; color: var(--ink-900); font-size: 1.06rem; margin-top: 2px; }
.booking-card .bc-slots { display: flex; gap: 6px; margin-top: 12px; }
.booking-card .bc-slots span { flex: 1; text-align: center; font-size: .72rem; font-weight: 700; padding: 7px 0; border-radius: 8px; background: var(--mint-050); color: var(--teal-700); }
.booking-card .bc-slots span.on { background: var(--grad-teal); color: #fff; }
@media (max-width: 1180px) { .booking-card { right: 0; top: -2%; } }
@media (max-width: 600px) { .booking-card { width: 180px; right: -3%; padding: 12px 14px; } }

/* Sub-page hero content: quick-info glass chips */
.hero-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: var(--s-6); }
.hero-chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: var(--r-pill);
  background: var(--glass-bg-strong); border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--sh-sm); font-weight: 600; color: var(--ink-800, var(--ink-900)); font-size: .95rem;
}
.hero-chip svg { width: 18px; height: 18px; stroke: var(--teal-600); flex-shrink: 0; }
.hero-chip strong { color: var(--teal-700); font-weight: 700; }

/* ---------------------------------------------------------------------------
   9. Trust marquee / logos strip
   ------------------------------------------------------------------------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.trustbar__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s-5); padding-block: var(--s-5); }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--ink-500); font-weight: 600; font-size: .96rem; }
.trust-item svg { width: 26px; height: 26px; stroke: var(--gold-600); flex-shrink: 0; }
@media (max-width: 760px) { .trust-item { flex: 1 1 40%; } }

/* ---------------------------------------------------------------------------
   10. Feature / value cards
   ------------------------------------------------------------------------- */
.value-card h3 { margin-bottom: var(--s-3); }
.value-card p { color: var(--ink-500); }

/* Scannable value props — big colour-coded icon + punchy title + highlight pill */
.value-prop { text-align: left; }
.value-prop .vp-ic { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--sh-sm); }
.value-prop .vp-ic svg { width: 30px; height: 30px; stroke: #fff; }
.value-prop .vp-ic--teal { background: var(--grad-teal); }
.value-prop .vp-ic--gold { background: linear-gradient(135deg, #B8893E, #856129); }
.value-prop .vp-ic--mint { background: linear-gradient(135deg, #3FA88C, #1F7F67); }
.value-prop h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); margin-bottom: 12px; }
.value-prop .vp-key { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; padding: 7px 13px; border-radius: var(--r-pill); font-weight: 700; font-size: .9rem; line-height: 1.15; }
.value-prop .vp-key svg { width: 15px; height: 15px; flex-shrink: 0; }
.value-prop .vp-key--teal { background: var(--mint-050); color: var(--teal-700); }
.value-prop .vp-key--teal svg { stroke: var(--teal-600); }
.value-prop .vp-key--gold { background: var(--gold-050); color: var(--gold-700); }
.value-prop .vp-key--gold svg { stroke: var(--gold-700); }
.value-prop p { color: var(--ink-500); font-size: .95rem; }
.value-prop:hover .vp-ic { transform: translateY(-3px) rotate(-4deg); transition: transform .35s var(--ease-back); }

/* Service cards */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card h3 { margin-bottom: var(--s-2); }
.service-card p { color: var(--ink-500); flex: 1; }
.service-card .more {
  margin-top: var(--s-4); display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--teal-600); font-size: .96rem;
}
.service-card .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.service-card:hover .more svg { transform: translateX(4px); }

/* ===== Services page — richer, categorised, conversion-focused ===== */
.svc-section { position: relative; overflow: hidden; isolation: isolate; }

/* Featured "signature treatment" cards */
.svc-features { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); }
@media (max-width: 760px) { .svc-features { grid-template-columns: 1fr; } }
.svc-feature {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(26px, 3vw, 40px); color: #fff; box-shadow: var(--sh-lg);
  display: flex; flex-direction: column; min-height: 244px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc-feature:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -24px rgba(28,37,35,.4); }
.svc-feature::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.svc-feature.f-teal::before { background: linear-gradient(140deg, #2E9C80 0%, #155A47 100%); }
.svc-feature.f-gold::before { background: linear-gradient(140deg, #C79A46 0%, #8A6D33 100%); }
.svc-feature .deco { position: absolute; z-index: 0; border-radius: 50%; filter: blur(34px); opacity: .5; }
.svc-feature .deco.a { width: 180px; height: 180px; background: rgba(255,255,255,.4); top: -60px; right: -40px; }
.svc-feature .deco.b { width: 140px; height: 140px; background: rgba(0,0,0,.18); bottom: -50px; left: -30px; }
.svc-feature > * { position: relative; z-index: 1; }
.svc-feature .b-ic { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; margin-bottom: 16px; }
.svc-feature .b-ic svg { width: 28px; height: 28px; stroke: #fff; }
.svc-feature .tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: rgba(255,255,255,.8); }
.svc-feature h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 4px; }
.svc-feature p { color: rgba(255,255,255,.9); margin: 10px 0 auto; }
.svc-feature .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-5); }

/* Category header */
.svc-cat { display: flex; align-items: center; gap: 16px; margin: clamp(48px, 6vw, 80px) 0 var(--s-6); }
.svc-cat__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint-050), var(--gold-050)); border: 1px solid var(--glass-brd-2); flex-shrink: 0; box-shadow: var(--sh-xs); }
.svc-cat__ic svg { width: 24px; height: 24px; stroke: var(--gold-600); }
.svc-cat h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.svc-cat p { color: var(--ink-500); font-size: .96rem; margin-top: 2px; }
.svc-cat__line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(192,149,74,.4), transparent); }
@media (max-width: 560px) { .svc-cat__line { display: none; } }

/* Enhanced menu card */
.svc-card { position: relative; overflow: hidden; display: flex; flex-direction: column; }
.svc-card .num { position: absolute; top: 12px; right: 20px; font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; color: rgba(192,149,74,.13); pointer-events: none; }
.svc-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--grad-brand); transition: width .45s var(--ease); }
.svc-card:hover::after { width: 100%; }
.svc-card h3 { margin-bottom: var(--s-2); }
.svc-card p { color: var(--ink-500); flex: 1; }
.svc-card .svc-cta { margin-top: var(--s-4); display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .92rem; color: var(--teal-700); opacity: .7; transition: opacity .25s var(--ease), gap .25s var(--ease); }
.svc-card:hover .svc-cta { opacity: 1; gap: 11px; }
.svc-card .svc-cta svg { width: 16px; height: 16px; }
.svc-card:hover .chip-icon { transform: rotate(-6deg) scale(1.06); }
.chip-icon { transition: transform .35s var(--ease-back), background .35s var(--ease); }

/* Inline help banner */
.svc-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-5); padding: clamp(24px,3vw,36px); border-radius: var(--r-xl); background: linear-gradient(135deg, var(--mint-050), var(--gold-050)); border: 1px solid var(--glass-brd); box-shadow: var(--sh-sm); margin-top: clamp(48px,6vw,80px); }
.svc-help h3 { font-size: clamp(1.3rem,2.2vw,1.7rem); }
.svc-help p { color: var(--ink-500); margin-top: 4px; max-width: 46ch; }
.svc-help .btns { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }

/* ---------------------------------------------------------------------------
   11. Split feature (image + text)
   ------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--rev .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__media { order: 0; } }
.split__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 380px;
  background: linear-gradient(160deg, #EAF6F1, #FBF3E2); box-shadow: var(--sh-lg);
  border: 1px solid var(--glass-brd); display: grid; place-items: center;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { display: grid; gap: var(--s-4); margin-top: var(--s-6); }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .tick {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px;
  background: var(--mint-100); display: grid; place-items: center; margin-top: 2px;
}
.checklist .tick svg { width: 17px; height: 17px; stroke: var(--teal-600); }
.checklist strong { color: var(--ink-900); font-weight: 600; display: block; }
.checklist span { color: var(--ink-500); font-size: .96rem; }

/* ---------------------------------------------------------------------------
   12. Stats band
   ------------------------------------------------------------------------- */
/* Bento highlights grid — a fresher take than plain counters */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: var(--s-4); }
@media (max-width: 900px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } }
.bento__card {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: var(--s-5) var(--s-5);
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.72));
  border: 1px solid var(--glass-brd); box-shadow: var(--sh-glass);
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 168px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.bento__card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(192,149,74,.4); }
.bento__card .b-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--mint-050), var(--gold-050)); border: 1px solid var(--glass-brd-2); }
.bento__card .b-ic svg { width: 24px; height: 24px; stroke: var(--teal-600); }
.bento__card .b-val { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 600; line-height: 1; color: var(--ink-900); }
.bento__card .b-val em { font-style: normal; background: var(--grad-brand-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento__card .b-label { color: var(--ink-500); font-weight: 500; font-size: .95rem; margin-top: 4px; }
.bento__card--wide { grid-column: span 2; }
@media (max-width: 520px) { .bento__card--wide { grid-column: span 1; } }

/* Feature (teal) card with CTA */
.bento__card--teal { background: var(--grad-teal); border-color: transparent; color: #fff; }
.bento__card--teal .b-ic { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); }
.bento__card--teal .b-ic svg { stroke: #fff; }
.bento__card--teal .b-val, .bento__card--teal h3 { color: #fff; font-family: var(--font-display); }
.bento__card--teal p { color: rgba(255,255,255,.86); font-size: .95rem; }
.bento__card .b-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: #fff; }
.bento__card .b-cta svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.bento__card:hover .b-cta svg { transform: translateX(4px); }

/* Photo card */
.bento__card--photo { padding: 0; min-height: 200px; }
.bento__card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bento__card--photo .b-overlay {
  position: relative; z-index: 1; margin-top: auto; width: 100%; padding: 18px 20px;
  background: linear-gradient(to top, rgba(17,33,29,.86), rgba(17,33,29,0));
  color: #fff;
}
.bento__card--photo .b-overlay .name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.bento__card--photo .b-overlay .role { font-size: .85rem; color: rgba(255,255,255,.82); }
.bento__card--photo .b-cta { color: #fff; margin-top: 10px; }

/* Payments / financing trust strip */
.pay-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: var(--s-6); }
.pay-strip .pay-label { font-weight: 600; color: var(--ink-500); font-size: .95rem; }
.pay-strip img { height: 30px; width: auto; opacity: .85; filter: grayscale(.15); transition: opacity .25s, filter .25s; }
.pay-strip img:hover { opacity: 1; filter: none; }

/* ---------------------------------------------------------------------------
   13. Testimonials
   ------------------------------------------------------------------------- */
.testi { display: flex; flex-direction: column; height: 100%; }
.testi .quote-mark { font-family: var(--font-display); font-size: 3.4rem; line-height: .6; color: var(--gold-300); height: 30px; }
.testi p { margin: var(--s-4) 0 var(--s-5); color: var(--ink-700); font-size: 1.05rem; flex: 1; }
.testi__by { display: flex; align-items: center; gap: 12px; }
.testi__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-teal); display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-display); flex-shrink: 0; }
.testi__name { font-weight: 700; color: var(--ink-900); }
.testi__meta { font-size: .85rem; color: var(--ink-400); }
.testi .stars { margin-bottom: var(--s-2); }

/* ---------------------------------------------------------------------------
   14. Team
   ------------------------------------------------------------------------- */
.team-card { text-align: center; padding-bottom: var(--s-6); }
.team-card__photo {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, #EAF6F1, #FBF3E2); margin-bottom: var(--s-4);
  display: grid; place-items: center; border: 1px solid var(--glass-brd);
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Extra zoom + downward nudge so Denise's eyes align with Dr. Muna's */
.team-card__photo img.zoom-face { transform: scale(1.28) translateY(12%); transform-origin: 50% 50%; }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { color: var(--teal-600); font-weight: 600; font-size: .95rem; }
.team-card .bio { color: var(--ink-500); font-size: .95rem; margin-top: var(--s-3); }

/* ---------------------------------------------------------------------------
   15. Pricing / plan
   ------------------------------------------------------------------------- */
.plan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6); align-items: stretch; }
@media (max-width: 820px) { .plan-grid { grid-template-columns: 1fr; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur)); backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-brd); border-radius: var(--r-xl); padding: var(--s-7);
  box-shadow: var(--sh-glass); overflow: hidden;
}
.plan--featured { border: 1.5px solid rgba(192,149,74,.5); box-shadow: var(--sh-lg); }
.plan--featured::after {
  content: "Best value"; position: absolute; top: 22px; right: -34px; transform: rotate(45deg);
  background: var(--grad-gold); color: #3A2C10; font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 44px; box-shadow: var(--sh-sm);
}
.plan__name { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink-900); font-weight: 600; }
.plan__tag { color: var(--ink-500); margin-top: 4px; font-size: .95rem; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: var(--s-5) 0; }
.plan__price .amt { font-family: var(--font-display); font-size: 3rem; font-weight: 600; color: var(--teal-700); line-height: 1; }
.plan__price .per { color: var(--ink-400); font-weight: 500; }
.plan__price2 { font-size: .92rem; color: var(--ink-500); margin-top: -12px; margin-bottom: var(--s-5); }
.plan ul.feat { display: grid; gap: 12px; margin-bottom: var(--s-6); flex: 1; }
.plan ul.feat li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-700); }
.plan ul.feat li svg { width: 20px; height: 20px; stroke: var(--teal-600); flex-shrink: 0; margin-top: 2px; }

/* ---------------------------------------------------------------------------
   16. FAQ (accordion)
   ------------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: var(--s-5) var(--s-2); text-align: left; font-family: var(--font-display);
  font-size: 1.16rem; font-weight: 600; color: var(--ink-900);
}
.faq__q .ic { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--mint-050); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.faq__q .ic svg { width: 18px; height: 18px; stroke: var(--teal-600); transition: transform .3s var(--ease); }
.faq__item.open .faq__q .ic { background: var(--grad-teal); }
.faq__item.open .faq__q .ic svg { stroke: #fff; transform: rotate(45deg); }
/* Collapsed panels are also visibility:hidden so assistive tech skips them */
.faq__a { overflow: hidden; max-height: 0; visibility: hidden; transition: max-height .4s var(--ease), visibility .4s var(--ease); }
.faq__item.open .faq__a { visibility: visible; }
.faq__a__inner { padding: 0 var(--s-2) var(--s-5); color: var(--ink-500); max-width: 68ch; }

/* ---------------------------------------------------------------------------
   17. CTA band
   ------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 76px); color: #fff; box-shadow: var(--sh-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, #175F4D 0%, #1F7F67 45%, #2E9C80 100%); z-index: 0; }
.cta-band__orb { position: absolute; border-radius: 50%; filter: blur(50px); z-index: 0; }
.cta-band__orb.a { width: 320px; height: 320px; background: rgba(192,149,74,.5); top: -120px; right: -60px; }
.cta-band__orb.b { width: 260px; height: 260px; background: rgba(134,205,184,.5); bottom: -120px; left: -40px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.86); font-size: var(--fs-lead); margin-top: var(--s-4); max-width: 56ch; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); }
.cta-band .btn--ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.cta-band .btn--white { background:#fff; color: var(--teal-700); }
.cta-band .btn--white:hover { color: var(--teal-800); transform: translateY(-3px); box-shadow: var(--sh-lg); }

/* ---------------------------------------------------------------------------
   18. Contact / forms
   ------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: var(--s-4); }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item .ic { flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--mint-050), var(--gold-050)); display: grid; place-items: center; border: 1px solid var(--glass-brd-2); }
.info-item .ic svg { width: 24px; height: 24px; stroke: var(--teal-600); }
.info-item > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.info-item .lbl { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-400); font-weight: 700; }
.info-item .val { display: block; font-weight: 600; color: var(--ink-900); font-size: 1.06rem; }
.info-item .val a { color: var(--ink-900); }
.info-item .val a:hover { color: var(--teal-600); }

.form { display: grid; gap: var(--s-4); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-700); }
.field label .req { color: var(--gold-700); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.85); border: 1px solid #8C9591; /* 3:1 border for SC 1.4.11 */
  transition: border-color .2s, box-shadow .2s, background .2s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(46,156,128,.14);
}
.field .err { font-size: .82rem; color: #C0392B; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #E07A6B; }
.field.invalid .err { display: block; }
.form__note { font-size: .85rem; color: var(--ink-400); }
.form__status { padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; display: none; }
.form__status.ok { display: block; background: var(--mint-050); color: var(--teal-700); border: 1px solid rgba(46,156,128,.3); }

/* Hours table */
.hours { display: grid; gap: 2px; }
.hours__row { display: flex; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.hours__row.today { background: var(--mint-050); border-radius: 10px; padding-inline: 14px; border-bottom-color: transparent; }
.hours__day { font-weight: 600; color: var(--ink-900); }
.hours__time { color: var(--ink-500); }
.hours__row.today .hours__time { color: var(--teal-700); font-weight: 600; }
.hours__row.closed .hours__time { color: var(--ink-400); }

/* Map frame */
.map-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); border: 1px solid var(--glass-brd); line-height: 0; }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: saturate(1.05); }

/* ===== Media embeds (video + 360 virtual tour) ===== */
.media-embed { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--glass-brd); background: #0E1B18; line-height: 0; }
.media-embed--16x9 { aspect-ratio: 16 / 9; }
.media-embed--16x9 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour-embed { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--glass-brd); line-height: 0; }
.tour-embed iframe { display: block; width: 100%; height: clamp(380px, 52vw, 600px); border: 0; }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); }
@media (max-width: 900px) { .experience-grid { grid-template-columns: 1fr; } }
/* Both cells share one aspect so they're equal-height and never overflow their column. */
.experience-grid .media-embed, .experience-grid .tour-embed { position: relative; aspect-ratio: 16 / 10; height: auto; min-height: 0; }
.experience-grid .media-embed iframe, .experience-grid .tour-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------------------
   19. Breadcrumb / page hero
   ------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(60px, 8vw, 112px);
  background:
    radial-gradient(1000px 540px at 84% -18%, #D6EFE6 0%, rgba(214,239,230,0) 58%),
    radial-gradient(920px 500px at 2% -6%, #F6E7C4 0%, rgba(246,231,196,0) 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F5F8F4 100%);
  text-align: center;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-inline: auto; }
.page-hero .crumbs { margin-bottom: var(--s-4); }
.page-hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem); margin-top: var(--s-4); line-height: 1.05;
}
.page-hero h1 .hl {
  background: linear-gradient(100deg, #2E9C80, #1F7F67 55%, #C0954A);
  -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic;
}
.page-hero p { max-width: 62ch; margin: var(--s-4) auto 0; color: var(--ink-500); font-size: var(--fs-lead); }
.crumbs { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-400); }
.crumbs a { color: var(--ink-500); }
.crumbs a:hover { color: var(--teal-600); }
.crumbs svg { width: 14px; height: 14px; stroke: var(--ink-400); }

/* ---------------------------------------------------------------------------
   20. Footer
   ------------------------------------------------------------------------- */
.site-footer { background: linear-gradient(180deg, #12211D 0%, #0E1B18 100%); color: rgba(255,255,255,.72); padding-top: var(--s-9); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-brand); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-6); padding-bottom: var(--s-8); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand .brand__name { color: var(--gold-300); }
.footer-brand .brand__sub { color: rgba(255,255,255,.5); }
/* White (monochrome) logo directly on the dark footer */
.footer-brand .brand__img { height: 52px; filter: brightness(0) invert(1); }

/* Footer lower row: business hours + map side by side */
.footer-lower { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--s-6); align-items: stretch; margin-bottom: var(--s-6); }
@media (max-width: 760px) { .footer-lower { grid-template-columns: 1fr; } }
.footer-hours h3 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-4); font-weight: 700; }
.footer-hours .hours__row { display: flex; justify-content: space-between; padding: 9px 4px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-hours .hours__day { font-weight: 600; color: rgba(255,255,255,.85); font-size: .92rem; }
.footer-hours .hours__time { color: rgba(255,255,255,.6); font-size: .92rem; }
.footer-hours .hours__row.today { background: rgba(255,255,255,.09); border-radius: 8px; padding-inline: 12px; border-bottom-color: transparent; }
.footer-hours .hours__row.today .hours__day { color: #fff; }
.footer-hours .hours__row.today .hours__time { color: var(--mint-300); font-weight: 600; }

/* Footer map */
.footer-map { line-height: 0; }
.footer-map iframe { display: block; width: 100%; height: 100%; min-height: 260px; border: 0; border-radius: 16px; filter: saturate(1.05); }
.footer-brand p { margin-top: var(--s-4); color: rgba(255,255,255,.6); max-width: 34ch; font-size: .96rem; }
.footer-col h3 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-4); font-weight: 700; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.68); font-size: .96rem; }
.footer-col a:hover { color: var(--gold-300); }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; color: rgba(255,255,255,.72); font-size: .96rem; }
.footer-contact svg { width: 19px; height: 19px; stroke: var(--mint-300); flex-shrink: 0; margin-top: 3px; }
.footer-contact a { color: rgba(255,255,255,.72); }
.footer-contact a:hover { color: var(--gold-300); }
.socials { display: flex; gap: 12px; margin-top: var(--s-5); }
.socials a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--grad-brand); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; stroke: #fff; fill: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: var(--s-5); display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.5); }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--gold-300); }

/* ---------------------------------------------------------------------------
   21. Reveal-on-scroll animation utility
   ------------------------------------------------------------------------- */
/* Progressive enhancement: only hide when JS is active (html.js).
   Without JS, all content stays fully visible. */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-scale { transition: opacity .7s var(--ease), transform .7s var(--ease-back); }
[data-stagger] > * { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal-scale { opacity: 0; transform: translateY(24px) scale(.96); }
.js [data-stagger] > * { opacity: 0; transform: translateY(26px); }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale.in { opacity: 1; transform: none; }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: .04s; }
[data-stagger].in > *:nth-child(2) { transition-delay: .12s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .20s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .28s; }
[data-stagger].in > *:nth-child(5) { transition-delay: .36s; }
[data-stagger].in > *:nth-child(6) { transition-delay: .44s; }
[data-stagger].in > *:nth-child(7) { transition-delay: .52s; }
[data-stagger].in > *:nth-child(8) { transition-delay: .60s; }

/* Sticky mobile action bar — constant one-tap Call + Book */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 850;
  display: none; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 24px -14px rgba(28,37,35,.3);
  transform: translateY(120%); transition: transform .35s var(--ease);
}
.mobile-bar.show { transform: none; }
.mobile-bar .btn { flex: 1; padding: 15px 12px; }
@media (max-width: 720px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
  .to-top { bottom: 88px !important; }
}

/* Emergency ribbon (slim, high-intent path) */
.emergency-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s-4);
  font-size: .92rem; font-weight: 600; color: var(--teal-700);
}
.emergency-note svg { width: 18px; height: 18px; stroke: var(--gold-600); flex-shrink: 0; }
.emergency-note a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 2px; }

/* ===== Blog / Smile Hub ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
@media (max-width: 920px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(150deg, #CBEDE1, #EAF3DD 55%, #F3E2BB); display: grid; place-items: center; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__media .ph { width: 46%; opacity: .55; }              /* fallback mark when no featured image */
.post-card__cat { position: absolute; top: 12px; left: 12px; z-index: 1; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(23,95,77,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: var(--r-pill); }
.post-card__body { padding: var(--s-5); display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .82rem; color: var(--ink-400); font-weight: 600; margin-bottom: 9px; display: flex; align-items: center; gap: 8px; }
.post-card__meta svg { width: 15px; height: 15px; stroke: var(--gold-600); }
.post-card h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: 9px; }
.post-card h3 a { color: var(--ink-900); }
.post-card h3 a:hover { color: var(--teal-700); }
.post-card p { color: var(--ink-500); font-size: .95rem; flex: 1; }
.post-card .more { margin-top: var(--s-4); display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--teal-700); font-size: .92rem; }
.post-card .more svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.post-card:hover .more svg { transform: translateX(4px); }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: var(--s-8); }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; background: var(--glass-bg-strong); border: 1px solid var(--glass-brd); font-weight: 600; color: var(--ink-700); box-shadow: var(--sh-xs); }
.pagination .page-numbers.current { background: var(--grad-teal); color: #fff; border-color: transparent; }
.pagination a.page-numbers:hover { color: var(--teal-700); transform: translateY(-2px); }

/* Single article */
.article { max-width: 760px; margin-inline: auto; }
.article__cat { display: inline-flex; }
.article__title { font-size: clamp(2rem, 4.4vw, 3rem); margin: var(--s-4) 0; }
.article__meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--ink-400); font-weight: 600; font-size: .92rem; margin-bottom: var(--s-6); }
.article__meta span { display: inline-flex; align-items: center; gap: 7px; }
.article__meta svg { width: 16px; height: 16px; stroke: var(--gold-600); }
.article__cover { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-md); border: 1px solid var(--glass-brd); margin-bottom: var(--s-7); }
.article__body { font-size: 1.075rem; line-height: 1.75; color: var(--ink-700); }
.article__body > * + * { margin-top: var(--s-4); }
.article__body h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: var(--s-7); margin-bottom: var(--s-2); }
.article__body h3 { font-size: 1.25rem; margin-top: var(--s-6); }
.article__body ul, .article__body ol { padding-left: 1.4em; }
.article__body li { list-style: disc; margin-bottom: 8px; }
.article__body ol li { list-style: decimal; }
.article__body img { border-radius: var(--r-md); box-shadow: var(--sh-sm); margin-block: var(--s-5); }
.article__body a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 2px; }
.article__body blockquote { border-left: 4px solid var(--gold-400); padding: 6px 0 6px 20px; margin: var(--s-6) 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-900); font-style: italic; }
.article__back { margin-top: var(--s-8); }

/* ===== 404 ===== */
.err { position: relative; overflow: hidden; isolation: isolate; min-height: 84vh; display: grid; place-items: center; text-align: center; padding-block: clamp(60px, 10vw, 120px); }
.err__num { font-family: var(--font-display); font-weight: 600; font-size: clamp(6.5rem, 24vw, 15rem); line-height: .85; letter-spacing: -.04em; background: var(--grad-brand-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.err__num .tooth { display: inline-block; width: clamp(4.5rem, 16vw, 10rem); vertical-align: -0.14em; margin: 0 -.02em; }
.err__num .tooth img { width: 100%; height: auto; filter: drop-shadow(0 14px 20px rgba(28,37,35,.16)); }
.err-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: var(--s-6); }

/* Back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 800; width: 50px; height: 50px;
  border-radius: 14px; background: var(--grad-teal); box-shadow: var(--sh-teal);
  display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.8);
  transition: opacity .3s, transform .3s var(--ease-back); pointer-events: none;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; height: 22px; stroke: #fff; }

/* Utility */
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.hidden { display: none !important; }
.nowrap { white-space: nowrap; }

/* ===== Finance / Insurance pages ===== */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero .btns { justify-content: center; margin-top: var(--s-5); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-5); }
.pay-list { display: flex; flex-wrap: wrap; gap: 12px; }
.pay-list .pm { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--glass-bg); border: 1px solid var(--glass-brd-2); font-weight: 600; color: var(--ink-700); box-shadow: var(--sh-sm); }
.pay-list .pm svg { width: 18px; height: 18px; stroke: var(--teal-600); flex-shrink: 0; }
.carrier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.carrier-grid .cc { display: grid; place-items: center; text-align: center; min-height: 92px; padding: 22px 16px; border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-brd-2); box-shadow: var(--sh-sm); font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink-900); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.carrier-grid .cc:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(192,149,74,.35); }
.fin-card { display: flex; flex-direction: column; }
.fin-card .fin-body { flex: 1; }
.fin-card h3 { margin: var(--s-3) 0 var(--s-2); }
.fin-card p { color: var(--ink-500); font-size: .96rem; }
.fin-card .fin-foot { margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cherry-wrap { margin-top: var(--s-5); min-height: 280px; }
@media (max-width: 900px) { .carrier-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .carrier-grid { grid-template-columns: repeat(2, 1fr); } .pay-list .pm { padding: 10px 14px; font-size: .9rem; } }

/* ===== Inline CTA inside long blog posts (94% of traffic lands on posts) ===== */
.post-cta { margin: var(--s-7) 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg, 24px); background: linear-gradient(135deg, var(--mint-050), var(--gold-050)); border: 1px solid var(--glass-brd-2); box-shadow: var(--sh-sm); }
.post-cta__kicker { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--teal-700); margin: 0 0 8px; }
.post-cta__lead { color: var(--ink-700); margin: 0 0 var(--s-4); font-size: 1.02rem; }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .post-cta__actions .btn { flex: 1 1 100%; justify-content: center; } }

/* ===== Dedicated service pages ===== */
.svc-lead { font-size: var(--fs-lead); color: var(--ink-700); max-width: 62ch; }
.svc-steps { counter-reset: step; display: grid; gap: var(--s-4); }
.svc-steps li { counter-increment: step; position: relative; padding: 22px 24px 22px 66px; border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-brd-2); box-shadow: var(--sh-sm); list-style: none; }
.svc-steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-teal); color: #fff; font-weight: 700; font-size: .95rem; }
.svc-steps h3 { font-size: 1.08rem; margin-bottom: 4px; }
.svc-steps p { color: var(--ink-500); font-size: .96rem; margin: 0; }
.svc-cost { padding: clamp(24px,3vw,36px); border-radius: var(--r-lg); background: linear-gradient(135deg, var(--mint-050), var(--gold-050)); border: 1px solid var(--glass-brd-2); }
.svc-cost h2 { font-size: var(--fs-h3); }
.svc-cost p { color: var(--ink-700); margin-top: var(--s-3); }
.svc-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.svc-related a { display: block; padding: 20px 22px; border-radius: var(--r-md); background: var(--glass-bg); border: 1px solid var(--glass-brd-2); font-weight: 600; color: var(--ink-900); box-shadow: var(--sh-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.svc-related a:hover { transform: translateY(-4px); box-shadow: var(--sh-md); color: var(--teal-700); }
@media (max-width: 760px) { .svc-related { grid-template-columns: 1fr; } }

.post-related { margin-top: var(--s-6); padding: 16px 20px; border-left: 3px solid var(--gold-400); background: var(--mint-050); border-radius: 0 var(--r-sm, 12px) var(--r-sm, 12px) 0; font-size: .98rem; }
.post-related a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Hamburger morphs into an X while the menu is open, so its state is obvious.
   The header (z-1000) sits above the menu overlay (z-999), so this button stays
   tappable and is the control users actually reach for.
   NOTE: transform-origin is given in SVG user units against the 24x24 viewBox
   (transform-box: view-box). fill-box is wrong here because a <line> has a
   zero-height bounding box, which makes centre-origin rotation unreliable. */
.nav-toggle svg line {
  transition: transform .28s var(--ease), opacity .2s var(--ease);
  transform-box: view-box;
  transform-origin: 12px 12px;
}
body.menu-open .nav-toggle svg line:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav-toggle svg line:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle svg line:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
/* The panel's own X sits directly beneath the hamburger, so hide it on small
   screens rather than stacking two close controls in the same spot. */
@media (max-width: 720px) { .mm-close { display: none; } }
