/* ============================================================
   LARAIB HEALTH CLINIC — main.css
   Design system: warm ivory editorial + deep forest + sage.
   Fraunces (editorial serif) + Manrope (sans).
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-roman.woff2') format('woff2');
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-var.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #F4EFE5;
  --bg-2: #EDE5D6;
  --bg-3: #E3DAC8;
  --card: #FBF8F0;
  --paper: #F7F2E8;
  --ink: #1E2420;
  --ink-2: #474F48;
  --ink-3: #5E665F;
  --line: rgba(30, 36, 32, .16);
  --line-soft: rgba(30, 36, 32, .09);
  --forest: #22332C;
  --forest-2: #18251F;
  --forest-3: #2C4438;
  --moss: #4A6555;
  --moss-soft: rgba(79, 107, 92, .14);
  --accent: #2C4A3E;
  --accent-deep: #20382E;
  --paper-dim: rgba(247, 242, 232, .66);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --nav-h: 74px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --r-s: 8px;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em, i { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: rgba(79, 107, 92, .28); }

:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: 52rem; }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 2000;
  background: var(--paper); color: var(--ink); padding: .7rem 1.2rem;
  border-radius: 0 0 8px 8px; font-weight: 600; font-size: .875rem;
  transition: top .3s;
}
.skip-link:focus { top: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 480; letter-spacing: -0.02em; line-height: 1.06; }

.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: .6875rem;
  letter-spacing: .26em; text-transform: uppercase; color: var(--moss);
  display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--light { color: rgba(247, 242, 232, .66); }
.eyebrow--center { justify-content: center; }

.h-sec { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.02em; margin: 1.1rem 0 0; }

.lead { font-family: var(--serif); font-size: clamp(1.22rem, 1.8vw, 1.5rem); line-height: 1.5; color: var(--ink); }
.body-copy { color: var(--ink-2); max-width: 46rem; }
.body-copy + .body-copy { margin-top: 1.2rem; }

.text-link {
  font-weight: 600; color: var(--ink); display: inline-block;
  border-bottom: 1px solid rgba(30, 36, 32, .35); padding-bottom: 1px;
  transition: border-color .3s, color .3s;
}
.text-link:hover { border-color: var(--moss); color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.75rem; border-radius: 4px;
  font-family: var(--sans); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn--pill { border-radius: 999px; }
.btn--solid { background: var(--accent); color: var(--paper); }
.btn--solid:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(20, 40, 33, .55); }
.btn--paper { background: var(--paper); color: var(--forest-2); }
.btn--paper:hover { background: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { border-color: rgba(247, 242, 232, .4); color: var(--paper); background: rgba(247, 242, 232, .06); }
.btn--light:hover { background: rgba(247, 242, 232, .16); border-color: rgba(247, 242, 232, .7); }
.btn--line { border-color: rgba(247, 242, 232, .4); color: var(--paper); }
.btn--line:hover { background: rgba(247, 242, 232, .1); border-color: rgba(247, 242, 232, .75); }
.btn .arr { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- custom cursor (fine pointers only, JS-gated) ---------- */
.cursor-dot, .cursor-ring { display: none; }
html.fine .cursor-dot, html.fine .cursor-ring {
  display: block; position: fixed; top: 0; left: 0; pointer-events: none;
  border-radius: 50%; z-index: 2100; transform: translate(-50%, -50%);
}
html.fine .cursor-dot { width: 5px; height: 5px; background: var(--moss); }
html.fine .cursor-ring {
  width: 38px; height: 38px; border: 1px solid rgba(79, 107, 92, .55);
  transition: width .35s var(--ease), height .35s var(--ease), border-color .3s, background-color .3s, opacity .3s;
}
html.fine .cursor-ring.is-on { width: 62px; height: 62px; border-color: rgba(79, 107, 92, .9); background: rgba(79, 107, 92, .08); }
html.fine.cur, html.fine.cur a, html.fine.cur button, html.fine.cur * { cursor: none; }
html.fine .cursor-ring.is-down { width: 30px; height: 30px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 900; height: var(--nav-h);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), height .5s var(--ease);
  border-bottom: 1px solid transparent;
  color: var(--paper);
}
.site-nav__in {
  max-width: calc(var(--max) + 2rem); margin-inline: auto; height: 100%;
  padding-inline: clamp(1.1rem, 2.6vw, 2rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-brand { display: inline-flex; align-items: baseline; gap: .55rem; }
.nav-brand__name { font-family: var(--serif); font-weight: 500; font-size: 1.18rem; letter-spacing: -0.01em; color: inherit; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2rem); }
.nav-link {
  position: relative; font-size: .7rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: inherit; opacity: .78; padding: .3rem 0;
  transition: opacity .3s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-active { opacity: 1; }
.nav-link.is-active::after { transform: scaleX(1); opacity: .5; }
.site-nav__right { display: flex; align-items: center; gap: 1.1rem; }
.nav-tel { display: inline-flex; flex-direction: column; line-height: 1.25; text-align: right; }
.nav-tel__label { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.nav-tel__num { font-family: var(--serif); font-size: 1rem; letter-spacing: .01em; }
.nav-book { padding: .8rem 1.45rem; font-size: .72rem; }

.site-nav.is-scrolled, .site-nav.is-solid {
  background: rgba(244, 239, 229, .9);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  color: var(--ink);
  border-bottom-color: var(--line-soft);
  height: 64px;
}
.site-nav.is-scrolled .nav-tel__label, .site-nav.is-solid .nav-tel__label { color: var(--ink-3); }
.site-nav.is-scrolled .nav-link, .site-nav.is-solid .nav-link { color: var(--ink-2); }
.site-nav.is-scrolled .nav-link:hover, .site-nav.is-solid .nav-link:hover { color: var(--ink); }

.nav-burger {
  display: none; width: 42px; height: 42px; position: relative;
  border: 1px solid currentColor; border-radius: 50%; opacity: .85;
}
.nav-burger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease), top .4s var(--ease), opacity .3s;
}
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 24px; }
html.nav-open .nav-burger span:nth-child(1) { top: 20px; transform: rotate(45deg); }
html.nav-open .nav-burger span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* mobile overlay */
.m-nav {
  position: fixed; inset: 0; z-index: 890; background: var(--bg);
  visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility .5s;
}
.m-nav.is-open { visibility: visible; opacity: 1; }
.m-nav__panel {
  min-height: 100dvh; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 1.5rem) clamp(1.5rem, 7vw, 3.5rem) 2.2rem;
  overflow-y: auto;
}
.m-nav__links { display: flex; flex-direction: column; }
.m-nav__link {
  font-family: var(--serif); font-size: clamp(2.1rem, 9vw, 3.2rem); font-weight: 440;
  line-height: 1.18; letter-spacing: -0.02em; color: var(--ink);
  border-bottom: 1px solid var(--line-soft); padding: .5rem 0;
  display: flex; align-items: baseline; gap: 1rem;
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s, padding-left .4s var(--ease);
}
.m-nav.is-open .m-nav__link { opacity: 1; transform: translateY(0); }
.m-nav.is-open .m-nav__link:nth-child(1) { transition-delay: .06s; }
.m-nav.is-open .m-nav__link:nth-child(2) { transition-delay: .1s; }
.m-nav.is-open .m-nav__link:nth-child(3) { transition-delay: .14s; }
.m-nav.is-open .m-nav__link:nth-child(4) { transition-delay: .18s; }
.m-nav.is-open .m-nav__link:nth-child(5) { transition-delay: .22s; }
.m-nav.is-open .m-nav__link:nth-child(6) { transition-delay: .26s; }
.m-nav__link em { font-size: .72rem; font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); }
.m-nav__link:hover { color: var(--moss); padding-left: .35rem; }
.m-nav__foot { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; margin-top: 2rem; }
.m-nav__hours { font-size: .9rem; color: var(--ink-3); line-height: 1.8; }
.m-nav__call { font-family: var(--serif); font-size: 1.35rem; color: var(--accent); border-bottom: 1px solid var(--line); padding-bottom: 2px; }

/* ============================================================
   BOTTOM ACTION DOCK (mobile)
   ============================================================ */
.dock {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 860;
  background: rgba(22, 33, 27, .97);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-top: 1px solid rgba(247, 242, 232, .14);
  color: var(--paper);
  padding: .4rem calc(.4rem + env(safe-area-inset-right)) calc(.45rem + env(safe-area-inset-bottom)) calc(.4rem + env(safe-area-inset-left));
  grid-template-columns: 1.15fr 1.25fr 1fr;
}
.dock__a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; text-align: center; min-height: 56px; border-radius: 10px;
  padding: .28rem .2rem;
  transition: background-color .3s;
}
.dock__a + .dock__a { margin-left: .3rem; }
.dock__a--book { background: rgba(247, 242, 232, .12); }
.dock__a:active { background: rgba(247, 242, 232, .2); }
.dock__ic { width: 19px; height: 19px; opacity: .9; }
.dock__l { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; }
.dock__s { font-size: .6rem; letter-spacing: .01em; color: rgba(247, 242, 232, .68); line-height: 1.15; max-width: 98%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dock__a--call .dock__s { color: rgba(214, 231, 218, .92); }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.p-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(99, 133, 110, .5), transparent 62%),
    linear-gradient(160deg, #2A4337 0%, #1B2A23 55%, #16241E 100%);
  color: var(--paper);
  padding: calc(var(--nav-h) + clamp(2.4rem, 7vw, 4.6rem)) 0 clamp(2.6rem, 6vw, 4.2rem);
}
.p-hero__bg { position: absolute; inset: 0; z-index: 0; }
.p-hero__bg picture { display: block; width: 100%; height: 100%; }
.p-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.02); }
.p-hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(78deg, rgba(15, 24, 19, .86) 6%, rgba(15, 24, 19, .45) 52%, rgba(15, 24, 19, .28) 100%),
    linear-gradient(180deg, rgba(15, 24, 19, .18), transparent 30%);
}
.p-hero__grain { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.p-hero__in { position: relative; z-index: 2; }
.p-hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.9rem); font-weight: 440; letter-spacing: -0.028em;
  line-height: 1.01; margin-top: 1.4rem; max-width: 15ch;
}
.p-hero__title--doc { max-width: 14ch; }
.p-hero__eyebrow { margin-top: 2.2rem; }
.p-hero__teaser {
  margin-top: 1.4rem; font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.42rem);
  line-height: 1.5; color: rgba(247, 242, 232, .88); max-width: 40rem;
}
.p-hero__role { margin-top: 1.2rem; font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(247, 242, 232, .72); }
.p-hero__acts { margin-top: 2.2rem; display: flex; gap: .9rem; flex-wrap: wrap; }

.crumbs { display: flex; flex-wrap: wrap; gap: .55rem; font-size: .8125rem; color: var(--ink-3); align-items: center; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink-2); }
.crumbs--on-dark { color: rgba(247, 242, 232, .5); }
.crumbs--on-dark a:hover { color: var(--paper); }
.crumbs--on-dark [aria-current] { color: rgba(247, 242, 232, .85); }

/* ============================================================
   SECTIONS + LAYOUT
   ============================================================ */
.section { padding-block: clamp(3.8rem, 8vw, 7rem); }
.section--alt { background: var(--bg-2); }
.section--tint { background: var(--moss-soft); }
.section--paper { background: var(--card); }
.section--flush-top { padding-top: 0; }

.split { display: grid; grid-template-columns: 1.55fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split__aside { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.split .h-sec { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.split__main > * + * { margin-top: 1.6rem; }

.meta-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  box-shadow: 0 24px 50px -36px rgba(30, 36, 32, .5);
}
.meta-card__h { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--moss); }
.meta-card__addr { color: var(--ink-2); font-size: .95rem; line-height: 1.75; }
.meta-card__tel { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -0.01em; color: var(--accent); }
.meta-card__tel:hover { text-decoration: underline; text-underline-offset: 4px; }
.meta-card .btn { width: 100%; margin-top: .25rem; }
.meta-card .eyebrow { margin-bottom: .2rem; }

.points { margin-top: 1.2rem; }
.points li {
  padding: 1.05rem 0 1.05rem 2rem; position: relative;
  border-bottom: 1px solid var(--line-soft); color: var(--ink-2); font-size: 1rem;
}
.points li::before { content: ''; position: absolute; left: 2px; top: 1.55rem; width: 9px; height: 1.5px; background: var(--moss); }
.points li:first-child { border-top: 1px solid var(--line-soft); }

.note-box { background: var(--bg-2); border-left: 2px solid var(--moss); padding: 1.5rem 1.7rem; border-radius: 0 10px 10px 0; }
.note-box__h { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--moss); margin-bottom: .6rem; }
.note-box p { color: var(--ink-2); font-size: .97rem; }
.note-box__act { margin-top: 1rem !important; display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.note-box__or { color: var(--ink-3); font-size: .85rem; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq { border-top: 1px solid var(--line); margin-top: 2.4rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  text-align: left; padding: 1.35rem .1rem;
  font-family: var(--serif); font-size: clamp(1.08rem, 1.9vw, 1.28rem); font-weight: 470;
  letter-spacing: -0.01em; line-height: 1.35;
  transition: color .3s;
}
.faq-q:hover { color: var(--accent); }
.faq-q__ic {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); position: relative; transition: transform .45s var(--ease), border-color .3s, background-color .3s;
}
.faq-q__ic::before, .faq-q__ic::after { content: ''; position: absolute; background: var(--ink-2); transition: background-color .3s, transform .45s var(--ease); }
.faq-q__ic::before { left: 9px; right: 9px; top: 50%; height: 1.5px; transform: translateY(-50%); }
.faq-q__ic::after { top: 9px; bottom: 9px; left: 50%; width: 1.5px; transform: translateX(-50%); }
.faq-q[aria-expanded="true"] .faq-q__ic { transform: rotate(180deg); border-color: var(--moss); background: var(--moss); }
.faq-q[aria-expanded="true"] .faq-q__ic::before, .faq-q[aria-expanded="true"] .faq-q__ic::after { background: var(--paper); }
.faq-q[aria-expanded="true"] .faq-q__ic::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a__in { padding: 0 2.6rem 1.5rem 0; }
.faq-a__in p { color: var(--ink-2); max-width: 42rem; }
.faq-more { margin-top: 2rem; text-align: center; }

/* ============================================================
   CTA BAND
   ============================================================ */
.band-cta {
  background:
    radial-gradient(900px 480px at 18% 120%, rgba(99, 133, 110, .4), transparent 60%),
    linear-gradient(150deg, #2A4337, #16241E);
  color: var(--paper); padding: clamp(4.5rem, 9vw, 7.5rem) 0; overflow: hidden; position: relative;
}
.band-cta::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(247, 242, 232, .16) 1px, transparent 1.4px); background-size: 26px 26px; opacity: .22; }
.band-cta__in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.band-cta .eyebrow { justify-content: center; }
.band-cta__title { margin-top: 1.3rem; font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 440; letter-spacing: -0.025em; line-height: 1.06; }
.band-cta__acts { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   DOCTOR PAGES
   ============================================================ */
.doc-layout { display: grid; grid-template-columns: minmax(280px, 440px) 1fr; gap: clamp(2rem, 5.5vw, 5rem); align-items: start; }
.doc-photo { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.doc-photo img {
  width: 100%; height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 60px -30px rgba(20, 30, 24, .55);
  filter: saturate(.92) contrast(1.01);
}
.doc-photo--monogram {
  aspect-ratio: 4 / 5; border-radius: 4px;
  background:
    radial-gradient(340px 260px at 78% 12%, rgba(79, 107, 92, .3), transparent 70%),
    linear-gradient(165deg, #E9E1D0, #DCD2BC);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  position: relative;
}
.doc-photo__ini { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(6rem, 12vw, 9.5rem); letter-spacing: -0.06em; color: var(--forest-3); line-height: 1; }
.doc-photo__cap { font-size: .64rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); margin-top: 1rem; }
.doc-photo__cap::before, .doc-photo__cap::after { content: '—'; margin-inline: .5rem; opacity: .5; }
.doc-layout__main > * + * { margin-top: 1.8rem; }
.doc-layout__main .lead { margin-top: 0; }

.doc-focus__h { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--moss); margin-bottom: .8rem; }
.doc-focus__list { border-top: 1px solid var(--line); }
.doc-focus__list li {
  font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 460;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: baseline; gap: .9rem;
}
.doc-focus__list li::before { content: '—'; font-family: var(--sans); font-size: .85rem; color: var(--moss); }

.doc-train { background: var(--bg-2); border-radius: 10px; padding: 1.5rem 1.6rem; }
.doc-train__label { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--moss); }
.doc-train__text { font-family: var(--serif); font-size: 1.18rem; color: var(--ink); margin-top: .3rem; }
.doc-tags { display: inline-flex; gap: .5rem; margin-top: .9rem; flex-wrap: wrap; }
.doc-tags:empty { display: none; }
.doc-tags span { font-size: .7rem; font-weight: 600; letter-spacing: .14em; border: 1px solid var(--line); border-radius: 999px; padding: .34rem .85rem; color: var(--ink-2); }

.doc-services__links { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; }
.doc-services__links a {
  font-family: var(--serif); font-size: 1.08rem; color: var(--accent);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.doc-services__links a:hover { border-color: var(--moss); }

.doc-hours { margin-top: clamp(3rem, 6vw, 4.5rem); }
.doc-hours__in {
  background: radial-gradient(800px 380px at 90% -20%, rgba(99, 133, 110, .45), transparent 60%), linear-gradient(155deg, #263F33, #18251F);
  border-radius: 18px; color: var(--paper);
  padding: clamp(2rem, 5vw, 3.4rem); display: grid; grid-template-columns: 1fr auto; gap: 1.6rem 3rem; align-items: center;
}
.doc-hours__line { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-top: .5rem; }
.doc-hours__sub { color: rgba(247, 242, 232, .72); margin-top: .35rem; max-width: 34rem; }
.doc-hours__acts { display: flex; flex-direction: column; gap: .8rem; align-items: stretch; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--forest-2); color: rgba(247, 242, 232, .68); }
.footer-grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.35fr; gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(3.2rem, 6vw, 5rem) 0 2.8rem;
}
.footer-brand__name { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.015em; color: var(--paper); }
.footer-brand__tag { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: rgba(247, 242, 232, .6); margin-top: .8rem; }
.footer-col { display: flex; flex-direction: column; gap: .62rem; align-items: flex-start; }
.footer-col__h { font-size: .66rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(247, 242, 232, .6); margin-bottom: .7rem; }
.footer-col a { font-size: .93rem; transition: color .3s; color: rgba(247, 242, 232, .74); }
.footer-col a:hover { color: var(--paper); }
.footer-addr { font-size: .93rem; line-height: 1.8; }
.footer-tel { font-family: var(--serif); font-size: 1.3rem; color: var(--paper); margin-top: .35rem; }
.footer-dir { font-size: .86rem; font-weight: 600; letter-spacing: .04em; color: rgba(247, 242, 232, .75); border-bottom: 1px solid rgba(247, 242, 232, .3); padding-bottom: 2px; margin-top: .3rem; }
.footer-dir:hover { color: var(--paper); border-color: var(--paper); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.6rem 0 1.8rem; border-top: 1px solid rgba(247, 242, 232, .12);
  font-size: .83rem; color: rgba(247, 242, 232, .68);
}
.footer-bottom__made a { color: rgba(247, 242, 232, .85); border-bottom: 1px solid rgba(247, 242, 232, .4); padding-bottom: 1px; transition: color .3s, border-color .3s; }
.footer-bottom__made a:hover { color: #fff; border-color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav-links, .nav-tel { display: none; }
  .nav-burger { display: block; }
}
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .split__aside { position: static; }
  .meta-card { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
  .meta-card .btn { width: auto; }
  .doc-layout { grid-template-columns: 1fr; }
  .doc-photo { position: static; max-width: 420px; }
  .doc-hours__in { grid-template-columns: 1fr; }
  .doc-hours__acts { flex-direction: row; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .dock { display: grid; }
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: calc(7rem + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 420px) {
  .dock { grid-template-columns: 1fr 1.15fr 1fr; }
  .dock__s { display: none; }
  .dock__l { font-size: .68rem; letter-spacing: .06em; }
}
@media (max-width: 520px) {
  .btn { padding: .92rem 1.4rem; }
  .meta-card { flex-direction: column; align-items: stretch; text-align: left; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- anchored scrolling + reveals ---------- */
section[id], div[id], [id="location"] { scroll-margin-top: calc(var(--nav-h) + 16px); }
html.rv [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .95s var(--ease), transform 1.05s var(--ease); }
html.rv [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- visible focus on dark surfaces ---------- */
.p-hero :focus-visible, .band-cta :focus-visible, .scene :focus-visible, .site-footer :focus-visible,
.sched :focus-visible, .doc-hours__in :focus-visible, .book-card :focus-visible,
.site-nav :focus-visible, .dock :focus-visible, .m-nav :focus-visible { outline-color: rgba(247, 242, 232, .95); }

/* ============================================================
   INNER-PAGE COMPONENTS
   ============================================================ */
.loc-map { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--bg-3); }
.loc-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- editorial index rows (services index) --- */
.idx-row {
  display: grid; grid-template-columns: 130px 1fr auto; gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: baseline; padding: clamp(1.6rem, 3vw, 2.2rem) .2rem;
  border-top: 1px solid var(--line);
}
.idx-row:last-child { border-bottom: 1px solid var(--line); }
.idx-row__num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--moss); }
.idx-row h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 470; letter-spacing: -0.02em; }
.idx-row h2 a { transition: color .3s; }
.idx-row h2 a:hover { color: var(--accent); }
.idx-row p { color: var(--ink-2); margin-top: .5rem; max-width: 52ch; }
.idx-row__who { font-size: .8rem; letter-spacing: .06em; color: var(--ink-3); margin-top: .7rem; }
.idx-row__go { white-space: nowrap; }
.idx-row__go .arr { display: inline-block; transition: transform .35s var(--ease); }
.idx-row:hover .idx-row__go .arr { transform: translateX(5px); }

/* --- doctor row (doctors index) --- */
.doc-row { display: grid; grid-template-columns: minmax(250px, 340px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: 0 0 clamp(3rem, 6vw, 4.5rem); }
.doc-row + .doc-row { border-top: 1px solid var(--line-soft); padding-top: clamp(3rem, 6vw, 4.5rem); }
.doc-row__media { display: block; }
.doc-row__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 4px; filter: saturate(.92); transition: transform .9s var(--ease); box-shadow: 0 26px 50px -30px rgba(20,30,24,.5); }
.doc-row__media:hover img { transform: scale(1.02); }
.doc-row__media--mm { aspect-ratio: 4 / 4.6; border-radius: 4px; background: radial-gradient(360px 240px at 80% 6%, rgba(79,107,92,.34), transparent 70%), linear-gradient(160deg, #E8E0CD, #D5CAB2); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.doc-row__media--mm .doc-row__ini { font-family: var(--serif); font-style: italic; font-size: clamp(5.5rem, 9vw, 8rem); letter-spacing: -0.05em; color: var(--forest-3); line-height: 1; }
.doc-row__media--mm .doc-row__cap { margin-top: 1rem; font-size: .62rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3); }
.doc-row__h { font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--moss); }
.doc-row h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: .7rem; }
.doc-row h2 a { transition: color .3s; }
.doc-row h2 a:hover { color: var(--accent); }
.doc-row__qual { margin-top: .5rem; color: var(--ink-3); font-size: .92rem; }
.doc-row__focus { margin-top: 1rem; color: var(--ink-2); max-width: 46ch; }
.doc-row__meta { margin-top: 1.5rem; display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.doc-row__hours b { font-family: var(--serif); font-weight: 520; font-size: 1.25rem; letter-spacing: -0.01em; }
.doc-row__hours span { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

/* --- values (about) --- */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(2.6rem, 6vw, 5rem); margin-top: clamp(2rem, 4vw, 3rem); }
.value { padding: 1.9rem 0; border-top: 1px solid var(--line); }
.value__num { font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--moss); }
.value h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); margin-top: .55rem; }
.value p { color: var(--ink-2); margin-top: .6rem; font-size: .96rem; max-width: 40ch; }

/* --- steps (appointment) --- */
.steps { margin-top: 2rem; counter-reset: step; }
.step { display: grid; grid-template-columns: 88px 1fr; gap: 1.2rem 1.6rem; padding: 1.8rem .2rem; border-top: 1px solid var(--line); }
.step__num { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--moss); padding-top: .35rem; }
.step h2 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.step p { color: var(--ink-2); margin-top: .5rem; max-width: 44ch; }
.step .step-hint { display: inline-block; margin-top: 1rem; }

/* --- big book card (appointment) --- */
.book-card {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  background: radial-gradient(900px 420px at 88% -16%, rgba(99, 133, 110, .42), transparent 62%), linear-gradient(150deg, #2A4337, #152219);
  border-radius: 20px; color: var(--paper);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.4rem; align-items: center;
}
.book-card__h { font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(247, 242, 232, .6); }
.book-card__tel { display: inline-block; margin-top: .7rem; font-family: var(--serif); font-size: clamp(1.9rem, 4.4vw, 3.2rem); letter-spacing: -0.02em; line-height: 1.1; color: var(--paper); border-bottom: 1px solid transparent; }
.book-card__tel:hover { border-color: rgba(247, 242, 232, .5); }
.book-card p.note { margin-top: 1rem; color: rgba(247, 242, 232, .7); max-width: 40ch; font-size: .95rem; }
.book-card__side { display: flex; flex-direction: column; gap: 1.2rem; }
.book-card__side .btn { width: 100%; }
.book-pair { border-top: 1px solid rgba(247, 242, 232, .16); padding-top: 1rem; }
.book-pair b { font-family: var(--serif); font-weight: 480; font-size: 1.16rem; display: block; }
.book-pair span { font-size: .78rem; color: rgba(247, 242, 232, .66); }

/* --- contact page helpers --- */
.contact-line { display: flex; align-items: baseline; gap: 1.2rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft); }
.contact-line:first-of-type { border-top: 1px solid var(--line-soft); }
.contact-line dt { flex: 0 0 120px; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--moss); padding-top: .3rem; }
.contact-line dd { color: var(--ink); }
.contact-line dd a { color: var(--accent); border-bottom: 1px solid var(--line); }
.contact-line dd a:hover { border-color: var(--moss); }

@media (max-width: 900px) {
  .idx-row { grid-template-columns: 1fr; gap: .6rem; }
  .idx-row__go { margin-top: .4rem; }
  .doc-row { grid-template-columns: 1fr; }
  .doc-row__media, .doc-row__media--mm { max-width: 380px; }
  .values-grid { grid-template-columns: 1fr; }
  .book-card { grid-template-columns: 1fr; }
  .step { grid-template-columns: 64px 1fr; }
}
