/* ==========================================================================
   Meridian Dental Group - theme-forge "corporation" reskin
   Likeness kept: corporate-momentum band rhythm (royal hero arc, alternating
   color bands, big-numeral ledger, 4-card pricing, cream FAQ, diagonal-free
   royal closer). Swapped: identity, palette, fonts, copy, imagery, sitemap.
   Sub-vertical: DSO / multi-location dental group (Riverton).
   Fonts: Red Hat Display (display) + Red Hat Text (body), Google Fonts.
   All color flows from :root. Two-accent system: cobalt = action, teal = care.
   ========================================================================== */

:root {
  /* palette (named) - cool DSO: near-white paper, deep royal-navy ink, cobalt action, teal care */
  --paper: #F4F7FC;       /* pale cool band */
  --ink: #14246E;         /* deep royal navy (headings + body) */
  --accent: #2F5BEA;      /* cobalt - buttons / links / action */
  --accent-deep: #1E43C6; /* cobalt hover */
  --teal: #16B39A;        /* care accent - kickers, checks, markers */
  --teal-deep: #0E9A83;
  --muted: #5A6690;       /* cool gray-blue secondary */
  --dark: #0C1442;        /* deep navy footer / utility */

  /* supports */
  --white: #FFFFFF;
  --card: #FFFFFF;
  --royal: #14246E;       /* hero panel + pagehead + closer */
  --royal-deep: #0F1C58;
  --line: #DCE3F4;        /* divider on light */
  --line-soft: #EAEFFB;
  --chip-bg: #E4EAFE;     /* pale-cobalt chip */
  --teal-bg: #DCF4EF;     /* pale-teal chip */
  --pop: #EAF0FF;         /* raised pricing card */
  --pop-line: #B6C6F6;
  --ink-70: #414C7A;      /* secondary body ink */
  --on-dark: #EAEEFB;
  --on-dark-muted: #A7B1D6;

  --grad-soft: linear-gradient(118deg, #E7EFFC 0%, #E6F5F1 52%, #E7EEFF 100%);

  /* fonts */
  --font-display: "Red Hat Display", system-ui, sans-serif;
  --font-body: "Red Hat Text", system-ui, sans-serif;

  /* type scale */
  --fs-hero: clamp(2.7rem, 1.15rem + 5.6vw, 4.4rem);
  --fs-h1:   clamp(2.3rem, 1.3rem + 3.6vw, 3.5rem);
  --fs-h2:   clamp(1.75rem, 1.1rem + 2.3vw, 2.7rem);
  --fs-h3:   clamp(1.2rem, 1.02rem + 0.75vw, 1.5rem);
  --fs-body: clamp(1rem, 0.96rem + 0.25vw, 1.0625rem);
  --fs-lead: clamp(1.06rem, 0.98rem + 0.4vw, 1.2rem);
  --fs-small: 0.875rem;
  --fs-kicker: 0.75rem;
  --fs-numeral: clamp(2.8rem, 1.6rem + 4.6vw, 4.6rem);

  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
  --s7:48px; --s8:64px; --s9:96px; --s10:128px;

  --r-pill: 999px;
  --r-card: 16px;
  --r-sm: 8px;

  --sh-1: 0 1px 2px rgba(20,36,110,.05), 0 4px 14px rgba(20,36,110,.06);
  --sh-2: 0 2px 6px rgba(20,36,110,.07), 0 16px 38px rgba(20,36,110,.11);
  --sh-accent: 0 10px 26px rgba(47,91,234,.24);

  --t-fast: 150ms;
  --t-base: 240ms;
  --ease: cubic-bezier(.22,.61,.36,1);

  --wrap: 1240px;
}

/* ---- reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink-70);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

/* ---- layout primitives ---- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 880px; }
.section { padding: var(--s9) 0; }
.section--tight { padding: var(--s8) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--royal { background: var(--royal); color: var(--on-dark); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--grad { background: var(--grad-soft); }
.measure { max-width: 62ch; }

.kicker {
  font-family: var(--font-body); font-size: var(--fs-kicker); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-deep);
  margin: 0 0 var(--s3); display: block;
}
.section--royal h1, .section--royal h2, .section--royal h3,
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }
.mobile-panel .btn--primary { color: #fff; }
.section--royal .kicker, .section--dark .kicker { color: #5FD6C2; }
.lead { font-size: var(--fs-lead); color: var(--ink-70); line-height: 1.6; }
.section--royal .lead, .section--dark .lead { color: var(--on-dark-muted); }

.chip {
  display: inline-block; font-family: var(--font-body); font-size: var(--fs-small);
  font-weight: 700; color: var(--ink); background: var(--chip-bg);
  padding: 5px 14px; border-radius: 7px; letter-spacing: .01em;
}
.chip--teal { background: var(--teal-bg); color: var(--teal-deep); }
.chip--dark { background: var(--dark); color: #fff; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap; text-align: center;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--sh-accent); }
.btn--primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(47,91,234,.32); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 10px 26px rgba(22,179,154,.24); }
.btn--teal:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: #141c56; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--ink); box-shadow: 0 12px 30px rgba(12,20,66,.28); }
.btn--white:hover { background: var(--paper); transform: translateY(-2px); }
.btn:active { transform: scale(.97); }
.btn--block { width: 100%; justify-content: center; }

.arrowlink {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink);
  border-bottom: 2px solid var(--teal); padding-bottom: 3px;
  transition: gap var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.arrowlink svg { width: 16px; height: 16px; color: var(--teal-deep); }
.arrowlink:hover { gap: 13px; color: var(--teal-deep); }
.section--royal .arrowlink, .section--dark .arrowlink { color: #fff; border-color: #5FD6C2; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.utility { background: var(--dark); color: var(--on-dark-muted); font-size: var(--fs-small); letter-spacing: .01em; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.utility a { color: var(--on-dark-muted); transition: color var(--t-fast); }
.utility a:hover { color: #fff; }
.utility__left { display: flex; gap: 22px; align-items: center; }
.utility__right { display: flex; gap: 20px; align-items: center; }
.utility__dot { width:5px; height:5px; border-radius:50%; background: var(--teal); display:inline-block; margin-right: 9px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 32px; height: 32px; flex-shrink: 0; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.36rem; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.brand__name small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-deep); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; color: var(--ink); padding: 10px 15px; border-radius: 10px; transition: background var(--t-fast), color var(--t-fast); }
.nav__link:hover, .nav__link[aria-current="page"] { background: rgba(47,91,234,.09); color: var(--accent); }
.nav__link svg { width: 15px; height: 15px; opacity: .6; }
.nav__caret { transition: transform var(--t-fast); }
.nav__item:hover .nav__caret, .nav__item:focus-within .nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--sh-2); padding: 10px; min-width: 288px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 11px 14px; border-radius: 9px; font-weight: 600; color: var(--ink); }
.dropdown a small { display:block; color: var(--muted); font-weight: 400; font-size: .8rem; margin-top: 1px; }
.dropdown a:hover { background: var(--paper); color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { font-weight: 600; color: var(--ink); white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.header-phone svg { width: 17px; height: 17px; color: var(--teal-deep); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--accent), var(--teal)); z-index: 60; will-change: transform; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; background: var(--royal); overflow: hidden; min-height: 780px; display: flex; align-items: center; }
.hero__photo { position: absolute; inset: 0; z-index: 1; clip-path: circle(44.4vw at 102% 46%); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 8%; transform: translateX(180px); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,36,110,.95) 0%, rgba(20,36,110,.9) 34%, rgba(20,36,110,.72) 46%, rgba(20,36,110,.32) 54%, rgba(20,36,110,0) 64%); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 48px; }
.hero__copy { max-width: 640px; color: #fff; padding: var(--s8) 0; }
.hero__eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: var(--s6); flex-wrap: wrap; }
.hero__eyebrow > span:last-child { color: rgba(255,255,255,.92); font-weight: 700; font-size: var(--fs-small); }
.hero h1 { color: #fff; font-size: var(--fs-hero); line-height: 1.06; letter-spacing: -0.03em; max-width: 660px; }
.hero h1 u { text-decoration: none; position: relative; white-space: nowrap; color: #7FE6D4; }
.hero h1 u::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.09em; background: var(--teal); border-radius: 2px; transform: scaleX(var(--underline, 0)); transform-origin: 0 50%; transition: transform 700ms var(--ease) 250ms; }
.hero__lead { margin: var(--s6) 0 var(--s7); max-width: 44ch; color: rgba(255,255,255,.9); font-size: var(--fs-lead); }
.hero__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__cta .btn { padding: 19px 36px; font-size: 1rem; }
.hero__proof { display: flex; align-items: center; gap: 12px; margin-top: var(--s7); color: rgba(255,255,255,.85); font-size: var(--fs-small); font-weight: 600; }
.hero__proof .stars { display: inline-flex; gap: 3px; color: var(--teal); }
.hero__proof .stars svg { width: 16px; height: 16px; }

/* ==========================================================================
   STAT BAND (group numbers, count-up) - replaces source trust-logo strip
   ========================================================================== */
.statband { padding: var(--s8) 0; background: var(--white); border-bottom: 1px solid var(--line-soft); }
.statrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.statcell { text-align: center; padding: var(--s4) var(--s3); border-right: 1px solid var(--line-soft); }
.statcell:last-child { border-right: none; }
.statcell__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.1rem); letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1; }
.statcell__num em { font-style: normal; color: var(--teal); }
.statcell__lbl { color: var(--muted); font-size: var(--fs-small); font-weight: 600; margin-top: var(--s3); }

/* ==========================================================================
   SECTION HEADS + cards
   ========================================================================== */
.sec-head { max-width: 760px; margin-bottom: var(--s8); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head p { margin-top: var(--s4); }
.sec-head--split { max-width: none; display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--s7); align-items: end; margin-bottom: var(--s8); }
.sec-head--split h2 { font-size: var(--fs-h2); }
.sec-head--split .sh-lead { color: var(--ink-70); font-size: var(--fs-lead); align-self: end; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: var(--s6); box-shadow: var(--sh-1); transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line); }
.card__icon { width: 52px; height: 52px; border-radius: 13px; background: rgba(22,179,154,.12); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; margin-bottom: var(--s5); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: var(--fs-h3); margin-bottom: var(--s3); }
.card p { color: var(--ink-70); margin-bottom: var(--s5); }
.card .arrowlink { border: none; padding: 0; margin-top: auto; }

/* ==========================================================================
   LOCATIONS grid (photo card: name, address, hours, book)
   ========================================================================== */
.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
.loccard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.loccard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.loccard__photo { aspect-ratio: 16/9; overflow: hidden; }
.loccard__photo img { width: 100%; height: 100%; object-fit: cover; }
.loccard__body { padding: var(--s6); display: flex; flex-direction: column; flex: 1; }
.loccard__tag { font-weight: 700; color: var(--teal-deep); font-size: var(--fs-small); letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--s3); }
.loccard h3 { font-size: var(--fs-h3); margin-bottom: var(--s4); }
.loccard__rows { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: 10px; }
.loccard__rows li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-70); font-size: .95rem; align-items: start; }
.loccard__rows svg { width: 19px; height: 19px; color: var(--accent); margin-top: 3px; }
.loccard__foot { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: var(--s4); border-top: 1px solid var(--line-soft); }
.loccard__foot .arrowlink { border-color: var(--accent); }
.loccard__foot .arrowlink svg { color: var(--accent); }
.loccard__phone { margin-left: auto; font-weight: 700; color: var(--ink); font-size: .95rem; }

/* ==========================================================================
   ALT feature (image + checklist)
   ========================================================================== */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s9); align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--r-sm); outline: 1px solid rgba(20,36,110,.08); outline-offset: -1px; }
.feature__media .feature__slash { position: absolute; left: -22px; bottom: -22px; width: 132px; height: 132px; background: var(--teal); border-radius: var(--r-sm); z-index: -1; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.feature h2 { font-size: var(--fs-h2); }
.feature__body { margin: var(--s5) 0; color: var(--ink-70); font-size: var(--fs-lead); }
.check-list { list-style: none; padding: 0; margin: 0 0 var(--s6); display: grid; gap: var(--s4); }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.check-list svg { width: 22px; height: 22px; color: var(--teal-deep); margin-top: 2px; }
.check-list b { font-weight: 700; color: var(--ink); }
.check-list span { color: var(--ink-70); }
.section--grad .feature__media img { aspect-ratio: 1/1; border-radius: var(--r-sm); }

/* ==========================================================================
   LEDGER (big numerals + testimonial rows, count-up)
   ========================================================================== */
.ledger { border-top: 1px solid var(--line); }
.ledger__row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s8); padding: var(--s8) 0; border-bottom: 1px solid var(--line); align-items: center; }
.ledger__num { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-numeral); line-height: 1; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ledger__label { color: var(--teal-deep); font-weight: 700; margin-top: var(--s3); }
.ledger__quote { font-size: var(--fs-lead); color: var(--ink); line-height: 1.55; }
.ledger__by { display: flex; align-items: center; gap: 12px; margin-top: var(--s5); }
.ledger__ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; outline: 1px solid rgba(20,36,110,.1); }
.ledger__name { font-weight: 700; color: var(--ink); }
.ledger__role { color: var(--muted); font-size: var(--fs-small); }
.ledger__stars { display: inline-flex; gap: 3px; color: var(--teal); margin-bottom: 10px; }
.ledger__stars svg { width: 18px; height: 18px; }

/* ==========================================================================
   VIDEO testimonial (still tier: poster + play badge -> lightbox)
   ========================================================================== */
.vidcard { position: relative; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16/9; cursor: pointer; outline: 1px solid rgba(20,36,110,.08); outline-offset: -1px; }
.vidcard img { width: 100%; height: 100%; object-fit: cover; }
.vidcard__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,28,88,.08), rgba(15,28,88,.6)); }
.vidcard__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 76px; height: 76px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform var(--t-base) var(--ease), background var(--t-base); box-shadow: 0 12px 30px rgba(12,20,66,.4); }
.vidcard__play svg { width: 30px; height: 30px; margin-left: 3px; }
.vidcard:hover .vidcard__play, .vidcard:focus-visible .vidcard__play { transform: translate(-50%,-50%) scale(1.08); background: var(--teal-deep); }
.vidcard__tab { position: absolute; left: 22px; bottom: 20px; color: #fff; }
.vidcard__tab b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.vidcard__tab span { font-size: .82rem; color: rgba(255,255,255,.86); }

.lb { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 30px; background: rgba(8,14,44,.84); }
.lb.open { display: flex; }
.lb__inner { position: relative; width: min(920px, 100%); aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden; }
.lb__inner video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.lb__close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: none; color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb__close svg { width: 20px; height: 20px; }
.lb__note { position: absolute; left: 0; bottom: -38px; color: rgba(255,255,255,.7); font-size: 13px; }

/* ==========================================================================
   PRICING / membership tiers (4 or 3 cards, raised featured)
   ========================================================================== */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); align-items: stretch; }
.pricing--3 { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.price { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s6) var(--s5); display: flex; flex-direction: column; text-align: center; box-shadow: var(--sh-1); }
.price--pop { background: var(--pop); border: 1.5px solid var(--accent); box-shadow: var(--sh-2); transform: translateY(-14px); }
.price__tag { font-weight: 700; color: var(--accent); font-size: var(--fs-small); letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--s4); min-height: 20px; }
.price__name { font-weight: 700; color: var(--ink-70); }
.price__fig { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem,1.6rem+2vw,3rem); letter-spacing: -0.03em; margin: var(--s2) 0 2px; color: var(--ink); }
.price__per { color: var(--muted); font-size: var(--fs-small); margin-bottom: var(--s5); }
.price__desc { color: var(--ink-70); font-size: .95rem; margin-bottom: var(--s5); min-height: 44px; }
.price__inc { text-align: left; border-top: 1px solid var(--line); padding-top: var(--s5); margin-top: auto; }
.price__inc h4 { font-family: var(--font-body); font-size: var(--fs-small); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); margin-bottom: var(--s4); }
.price__inc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.price__inc li { display: grid; grid-template-columns: 20px 1fr; gap: 9px; color: var(--ink-70); font-size: .95rem; }
.price__inc svg { width: 17px; height: 17px; color: var(--teal-deep); margin-top: 3px; }
.price .btn { margin-bottom: var(--s5); }

/* ==========================================================================
   RESOURCES / posts
   ========================================================================== */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.post { display: flex; flex-direction: column; }
.post__img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: var(--r-sm); outline: 1px solid rgba(20,36,110,.08); outline-offset: -1px; margin-bottom: var(--s5); transition: transform var(--t-base) var(--ease); }
.post:hover .post__img { transform: translateY(-4px); }
.post__cat { font-weight: 700; color: var(--teal-deep); font-size: var(--fs-small); letter-spacing: .03em; text-transform: uppercase; margin-bottom: var(--s3); }
.post h3 { font-size: var(--fs-h3); margin-bottom: var(--s4); }
.post .arrowlink { align-self: flex-start; margin-top: auto; }

/* ==========================================================================
   REVIEWS grid
   ========================================================================== */
.reviewgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.reviewcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s6); box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.reviewcard .stars { display: inline-flex; gap: 3px; color: var(--teal); margin-bottom: var(--s4); }
.reviewcard .stars svg { width: 18px; height: 18px; }
.reviewcard p { color: var(--ink); font-size: 1.02rem; line-height: 1.6; margin-bottom: var(--s5); }
.rc-by { margin-top: auto; }
.rc-name { font-weight: 700; color: var(--ink); }
.rc-meta { color: var(--muted); font-size: var(--fs-small); }

/* ==========================================================================
   TIMELINE (about-the-group history)
   ========================================================================== */
.timeline { display: grid; gap: var(--s2); }
.milestone { display: grid; grid-template-columns: 150px 1fr; gap: var(--s6); padding: var(--s6) 0; border-top: 1px solid var(--line); align-items: start; }
.milestone__year { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--teal-deep); letter-spacing: -0.02em; }
.milestone h3 { font-size: var(--fs-h3); margin-bottom: var(--s3); }
.milestone p { color: var(--ink-70); }

/* ==========================================================================
   VALUES grid
   ========================================================================== */
.valuegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.valuecard { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: var(--s6); box-shadow: var(--sh-1); }
.valuecard .vc-ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(47,91,234,.1); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: var(--s5); }
.valuecard .vc-ico svg { width: 24px; height: 24px; }
.valuecard h3 { font-size: 1.2rem; margin-bottom: var(--s3); }
.valuecard p { color: var(--ink-70); font-size: .96rem; }

/* ==========================================================================
   FAQ (cool band, heading-left / rows-right)
   ========================================================================== */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--s8); align-items: start; }
.faq__head h2 { font-size: var(--fs-h2); }
.faq__head p { color: var(--ink-70); margin-top: var(--s4); }
.faq__head .btn { margin-top: var(--s6); }
.faq__list { display: grid; gap: var(--s3); }
.acc { background: var(--chip-bg); border: 1px solid transparent; border-radius: 10px; overflow: hidden; transition: border-color var(--t-fast); }
.acc[open] { border-color: var(--pop-line); }
.acc__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); letter-spacing: -0.01em; }
.acc__ico { flex-shrink: 0; width: 26px; height: 26px; border-radius: 6px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform var(--t-base) var(--ease); }
.acc__ico svg { width: 16px; height: 16px; }
.acc[open] .acc__ico { transform: rotate(45deg); }
.acc__a { padding: 0 22px 22px; color: var(--ink-70); line-height: 1.6; max-width: 62ch; }
.acc summary { list-style: none; }
.acc summary::-webkit-details-marker { display: none; }

/* ==========================================================================
   BIG QUOTE
   ========================================================================== */
.bigquote { background: var(--white); border-radius: var(--r-card); box-shadow: var(--sh-1); border: 1px solid var(--line); padding: var(--s9) var(--s8); text-align: center; max-width: 900px; margin: 0 auto; }
.bigquote__stars { display: flex; gap: 5px; justify-content: center; color: var(--teal); margin-bottom: var(--s5); }
.bigquote__stars svg { width: 22px; height: 22px; }
.bigquote blockquote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem,1rem+1.4vw,1.9rem); line-height: 1.35; letter-spacing: -0.02em; margin: 0 0 var(--s6); color: var(--ink); }
.bigquote__by { display: flex; align-items: center; gap: 12px; justify-content: center; }
.bigquote__ava { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }

/* ==========================================================================
   TEAM (clinical leadership)
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6) var(--s5); }
.member { text-align: center; }
.member__photo { position: relative; margin-bottom: var(--s5); }
.member__photo img { width: 100%; aspect-ratio: 3/3.5; object-fit: cover; border-radius: var(--r-sm); outline: 1px solid rgba(20,36,110,.08); outline-offset: -1px; }
.member__mono { width: 100%; aspect-ratio: 3/3.5; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; color: var(--teal-deep); }
.member h3 { font-size: 1.2rem; }
.member p { color: var(--accent); font-weight: 700; font-size: var(--fs-small); margin-top: 4px; }
.member__bio { color: var(--ink-70); font-size: .94rem; margin-top: var(--s3); text-align: left; }

/* ==========================================================================
   PAGE HEADER (inner pages)
   ========================================================================== */
.pagehead { background: var(--royal); color: var(--on-dark); padding: var(--s9) 0 var(--s10); position: relative; overflow: hidden; }
.pagehead::before { content:""; position:absolute; inset:0; background: radial-gradient(90% 120% at 90% -10%, rgba(22,179,154,.28), transparent 55%); }
.pagehead .wrap { position: relative; }
.pagehead .crumb { color: var(--on-dark-muted); font-size: var(--fs-small); margin-bottom: var(--s5); }
.pagehead .crumb a:hover { color: #fff; }
.pagehead h1 { color: #fff; font-size: var(--fs-h1); max-width: 22ch; }
.pagehead p { color: var(--on-dark-muted); font-size: var(--fs-lead); margin-top: var(--s5); max-width: 58ch; }
.pagehead__split { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s8); align-items: end; margin-top: var(--s6); }
.pagehead__split h1 { max-width: none; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.formcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-2); padding: var(--s7); }
.field { margin-bottom: var(--s5); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.field label { display: block; font-weight: 600; font-size: var(--fs-small); margin-bottom: 8px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); font-family: inherit; font-size: 1rem; color: var(--ink); min-height: 50px; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,91,234,.15); }
.form__consent { font-size: var(--fs-small); color: var(--muted); margin-top: var(--s4); }
.form__success { display: none; background: rgba(22,179,154,.1); border: 1px solid var(--teal); border-radius: 12px; padding: var(--s5); color: var(--ink); }
.form__success.show { display: block; }
.form__success b { color: var(--teal-deep); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s9); align-items: start; }
.contact-info h2 { font-size: var(--fs-h2); }
.contact-rows { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s5); }
.contact-rows li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.contact-rows .ci { width: 46px; height: 46px; border-radius: 12px; background: rgba(22,179,154,.12); color: var(--teal-deep); display: flex; align-items: center; justify-content: center; }
.contact-rows .ci svg { width: 22px; height: 22px; }
.contact-rows dt { font-weight: 700; color: var(--ink); }
.contact-rows dd { margin: 2px 0 0; color: var(--ink-70); }

/* contact map (stylized SVG) */
.contact__map { position: relative; overflow: hidden; }
.contact__map svg { width: 100%; height: 420px; display: block; }
.contact__card { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: #fff; border-radius: var(--r-card); box-shadow: var(--sh-2); padding: var(--s6); text-align: center; width: min(340px, 86%); }
.contact__card .brand { justify-content: center; margin-bottom: var(--s4); }
.contact__card h3 { font-size: 1.2rem; margin-bottom: var(--s3); }
.contact__card a { display: block; color: var(--accent); font-weight: 600; margin-top: 6px; }

/* ==========================================================================
   CTA band (closer) - royal
   ========================================================================== */
.closer { background: var(--royal); color: #fff; text-align: center; position: relative; overflow: hidden; }
.closer::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 140% at 50% 0%, rgba(22,179,154,.3), transparent 60%); }
.closer .wrap { position: relative; }
.closer h2 { color: #fff; font-size: var(--fs-h2); max-width: 22ch; margin: 0 auto; }
.closer p { color: rgba(255,255,255,.86); font-size: var(--fs-lead); margin: var(--s5) auto var(--s7); max-width: 52ch; }
.closer__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.closer .btn--primary { background: #fff; color: var(--royal); box-shadow: 0 10px 30px rgba(8,14,44,.3); }
.closer .btn--primary:hover { background: var(--paper); }
.closer .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.closer .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--dark); color: var(--on-dark-muted); padding: var(--s9) 0 var(--s6); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s7); }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin: var(--s5) 0; max-width: 32ch; color: var(--on-dark-muted); }
.footer__contact { display: grid; gap: 10px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 10px 16px; border-radius: var(--r-pill); width: fit-content; transition: background var(--t-fast); }
.footer__contact a:hover { background: rgba(22,179,154,.3); }
.footer__contact a { max-width: 100%; word-break: break-word; }
.footer__contact svg { width: 17px; height: 17px; color: #5FD6C2; flex-shrink: 0; }
.footer__col h4 { color: #fff; font-family: var(--font-body); font-size: var(--fs-small); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: var(--s5); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__col a { color: var(--on-dark-muted); }
.footer__col a:hover { color: #fff; }
.footer__col li { color: var(--on-dark-muted); }
.footer__bottom { margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; gap: var(--s4); flex-wrap: wrap; }
.footer__legal { font-size: var(--fs-small); color: var(--on-dark-muted); max-width: 92ch; line-height: 1.6; margin-top: var(--s4); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; color: var(--on-dark-muted); transition: all var(--t-fast); }
.footer__social a:hover { color: #fff; border-color: var(--teal); background: rgba(22,179,154,.2); }
.footer__social svg { width: 18px; height: 18px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 100; }
.skip:focus { left: 0; }
.mobile-panel { display: none; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 350ms var(--ease), transform 350ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero { min-height: 0; display: block; }
  .hero__photo { position: relative; inset: auto; height: 340px; clip-path: ellipse(150% 100% at 50% 0%); }
  .hero__photo img { object-position: center 28%; transform: none; }
  .hero__photo::after { background: linear-gradient(0deg, rgba(20,36,110,.5) 0%, rgba(20,36,110,0) 45%); }
  .hero__inner { padding: 0 28px; }
  .hero__copy { max-width: none; padding: var(--s7) 0 var(--s8); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s7); }
  .pricing { grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
  .price--pop { transform: none; }
  .valuegrid, .cards4 { grid-template-columns: repeat(2, 1fr); }
  .statrow { grid-template-columns: repeat(2, 1fr); gap: var(--s6) var(--s4); }
  .statcell:nth-child(2) { border-right: none; }
}
@media (max-width: 860px) {
  .section { padding: var(--s8) 0; }
  .nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .cards3, .posts, .cards4, .reviewgrid, .team, .loc-grid, .valuegrid { grid-template-columns: 1fr; }
  .pricing--3 { grid-template-columns: 1fr; }
  .feature, .faq, .contact-grid, .sec-head--split, .pagehead__split { grid-template-columns: 1fr; gap: var(--s6); }
  .feature--rev .feature__media { order: 0; }
  .ledger__row { grid-template-columns: 1fr; gap: var(--s5); padding: var(--s6) 0; }
  .milestone { grid-template-columns: 1fr; gap: var(--s3); }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--s6); }
  .utility { display: none; }
  .statrow { border-bottom: none; }
}
@media (max-width: 560px) {
  .pricing, .team { grid-template-columns: 1fr; }
  .price--pop { transform: none; }
  .wrap { padding: 0 20px; }
  .hero__inner { padding: 0 22px; }
  .hero__photo { height: 300px; }
  .bigquote { padding: var(--s7) var(--s5); }
  .statrow { grid-template-columns: 1fr; }
  .statcell { border-right: none; border-bottom: 1px solid var(--line-soft); padding-bottom: var(--s5); }
  .statcell:last-child { border-bottom: none; }
  .lb { padding: 20px; }
  .lb__close { top: 0; right: 0; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 u::after { transition: none; transform: scaleX(1); }
  .scroll-progress { display: none; }
  .btn, .card, .post__img, .acc__ico, .loccard, .vidcard__play { transition: none; }
}
