/* ============================================================
   Eunoia Integrative Behavioral Health — Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Palette — calm sage / forest */
  --bg:          oklch(0.985 0.006 150);   /* warm off-white */
  --bg-2:        oklch(0.965 0.010 150);   /* soft panel */
  --bg-sand:     oklch(0.945 0.022 80);    /* warm sand panel */
  --forest:      oklch(0.42 0.058 165);    /* deep green primary */
  --forest-deep: oklch(0.33 0.050 165);    /* darker green */
  --sage:        oklch(0.68 0.045 165);    /* mid sage */
  --sage-soft:   oklch(0.90 0.028 165);    /* pale sage */
  --sand:        oklch(0.80 0.050 80);     /* sand accent */
  --ink:         oklch(0.28 0.020 165);    /* body text */
  --ink-soft:    oklch(0.46 0.018 165);    /* muted text */
  --line:        oklch(0.90 0.012 165);    /* hairlines */
  --white:       oklch(0.995 0.003 150);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px oklch(0.42 0.03 165 / 0.06), 0 2px 8px oklch(0.42 0.03 165 / 0.05);
  --shadow-md: 0 6px 24px oklch(0.42 0.03 165 / 0.09), 0 2px 6px oklch(0.42 0.03 165 / 0.06);
  --shadow-lg: 0 24px 60px oklch(0.42 0.03 165 / 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; color: var(--forest-deep); }

.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--sage);
  display: inline-block;
}
.section-title { font-size: clamp(2rem, 4vw, 3rem); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-soft); line-height: 1.7; }

.serif-em { font-style: italic; color: var(--forest); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--sans); font-weight: 600; font-size: 0.96rem;
  padding: 0.85em 1.5em;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.btn-primary { background: var(--forest); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--line); }
.btn-ghost:hover { background: var(--white); border-color: var(--sage); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-light { background: var(--white); color: var(--forest); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Header / Nav ---------- */
.topbar {
  background: var(--forest-deep);
  color: oklch(0.92 0.02 165);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45em; opacity: 0.85; transition: opacity 0.2s; }
.topbar a:hover { opacity: 1; }
.topbar .tb-group { display: flex; gap: 22px; align-items: center; }
.topbar svg { width: 14px; height: 14px; opacity: 0.8; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: oklch(0.985 0.006 150 / 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

/* Wordmark */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--serif); font-weight: 500; font-size: 1.32rem; color: var(--forest-deep); letter-spacing: -0.01em; }
.brand-name span { font-family: var(--sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .nav-item > a {
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
  padding: 0.55em 0.85em; border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  display: inline-flex; align-items: center; gap: 0.3em;
}
.nav-links > a:hover, .nav-item:hover > a { color: var(--forest); background: var(--sage-soft); }
.nav-item { position: relative; }
.nav-item .caret { width: 12px; height: 12px; opacity: 0.6; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 260px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* hover bridge: keep dropdown open while crossing the gap from the nav link */
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dropdown a { display: block; padding: 0.6em 0.85em; border-radius: 10px; font-size: 0.92rem; font-weight: 500; color: var(--ink); transition: background 0.18s, color 0.18s; }
.dropdown a small { display: block; font-weight: 400; font-size: 0.78rem; color: var(--ink-soft); margin-top: 1px; }
.dropdown a:hover { background: var(--sage-soft); color: var(--forest); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; color: var(--forest); }

/* Mobile nav */
.mobile-nav { display: none; }

/* ---------- Placeholder imagery ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, oklch(0.90 0.025 165) 0 2px, transparent 2px 11px),
    linear-gradient(160deg, var(--sage-soft), oklch(0.93 0.03 80));
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--forest); 
}
.ph::after {
  content: attr(data-label);
  font-family: 'SFMono-Regular', ui-monospace, Menlo, monospace;
  font-size: 0.72rem; letter-spacing: 0.05em;
  background: oklch(0.99 0.005 150 / 0.85);
  padding: 5px 11px; border-radius: 100px;
  color: var(--ink-soft);
  border: 1px solid oklch(0.42 0.03 165 / 0.1);
}

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 130px); }
.section-head { max-width: 680px; }
.section-head .lead { margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: oklch(0.90 0.018 165); padding-block: 72px 32px; margin-top: 0; }
.site-footer a { color: oklch(0.86 0.02 165); transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-col h4 { color: var(--white); font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; font-size: 0.94rem; }
.footer-brand .brand-name b { color: var(--white); }
.footer-brand p { color: oklch(0.82 0.02 165); font-size: 0.94rem; margin-top: 18px; max-width: 34ch; line-height: 1.7; }
.footer-bottom { border-top: 1px solid oklch(0.99 0.01 165 / 0.12); margin-top: 52px; padding-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 0.85rem; color: oklch(0.78 0.02 165); flex-wrap: wrap; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid oklch(0.99 0.01 165 / 0.18); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: oklch(0.99 0.01 165 / 0.1); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px); background: radial-gradient(120% 90% at 85% 0%, var(--sage-soft) 0%, transparent 55%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy .display { margin-top: 22px; }
.hero-copy .lead { margin-top: 22px; max-width: 36ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.trust-item { display: flex; flex-direction: column; }
.trust-item strong { font-size: 0.95rem; color: var(--forest-deep); font-weight: 600; }
.trust-item span { font-size: 0.82rem; color: var(--ink-soft); }
.trust-divider { width: 1px; height: 34px; background: var(--line); }

.hero-visual { position: relative; }
.hero-image { aspect-ratio: 4/4.6; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.float-card {
  position: absolute; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: var(--shadow-md); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.float-card strong { display: block; font-size: 0.95rem; color: var(--forest-deep); font-weight: 700; }
.float-card span { display: block; font-size: 0.78rem; color: var(--ink-soft); }
.fc-rating { bottom: 28px; left: -28px; }
.fc-providers { top: 26px; right: -24px; }
a.float-card { cursor: pointer; text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
a.float-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stars { color: var(--sand); letter-spacing: 2px; font-size: 1.05rem; }
.avatars { display: flex; }
.avatars span { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--white); margin-left: -10px; background: linear-gradient(135deg, var(--sage), var(--sage-soft)); }
.avatars span:first-child { margin-left: 0; }

/* Quick actions */
.quick { margin-top: -10px; padding-bottom: clamp(20px, 4vw, 40px); }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quick-card { display: flex; align-items: center; gap: 16px; padding: 24px; }
.qc-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--sage-soft); color: var(--forest); display: flex; align-items: center; justify-content: center; }
.qc-icon svg { width: 24px; height: 24px; }
.quick-card h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; color: var(--forest-deep); }
.quick-card p { font-size: 0.86rem; color: var(--ink-soft); margin-top: 3px; line-height: 1.45; }
.qc-arrow { flex: none; margin-left: auto; color: var(--sage); transition: transform 0.3s var(--ease), color 0.3s; }
.qc-arrow svg { width: 20px; height: 20px; }
.quick-card:hover .qc-arrow { transform: translateX(4px); color: var(--forest); }

/* Welcome */
.welcome-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.welcome-media { position: relative; }
.welcome-media .ph { box-shadow: var(--shadow-md); }
.welcome-media-2 { position: absolute; width: 52%; aspect-ratio: 1/1; bottom: -28px; right: -24px; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); }
.welcome-badge { position: absolute; top: -22px; left: -22px; background: var(--forest); color: var(--white); border-radius: 50%; width: 116px; height: 116px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow-md); }
.welcome-badge strong { font-family: var(--serif); font-size: 1.6rem; line-height: 1; }
.welcome-badge span { font-size: 0.66rem; line-height: 1.3; margin-top: 6px; opacity: 0.9; }
.welcome-copy .section-title { margin-top: 16px; }
.welcome-copy .lead { margin-top: 18px; }
.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 28px 0; }
.check-list li { position: relative; padding-left: 30px; font-size: 0.95rem; font-weight: 500; color: var(--forest-deep); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c5749' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Services */
.services-section { background: var(--bg-2); }
.services-section .section-head { margin-bottom: 52px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 32px 30px; display: flex; flex-direction: column; align-items: flex-start; }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(150deg, var(--sage-soft), oklch(0.94 0.03 80)); color: var(--forest); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.svc-icon svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 1.35rem; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 12px; line-height: 1.6; }
.svc-link { margin-top: 18px; font-family: var(--sans); font-weight: 600; font-size: 0.88rem; color: var(--forest); display: inline-flex; align-items: center; gap: 0.4em; }
.svc-link::after { content: "→"; transition: transform 0.3s var(--ease); }
.service-card:hover .svc-link::after { transform: translateX(4px); }
.services-cta { margin-top: 48px; }

/* Approach */
.approach { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%); }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: oklch(0.99 0.01 165 / 0.14); border: 1px solid oklch(0.99 0.01 165 / 0.14); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--forest); padding: 34px 30px; }
.stat strong { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); color: var(--white); line-height: 1; display: block; }
.stat span { color: oklch(0.86 0.02 165); font-size: 0.92rem; margin-top: 10px; display: block; }

/* Testimonials */
.testimonials .section-head { margin-bottom: 48px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.testi-card blockquote { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--forest-deep); font-style: italic; }
.testi-card figcaption { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.testi-ph { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--sage), var(--sage-soft)); flex: none; }
.testi-card figcaption strong { display: block; font-family: var(--sans); font-size: 0.95rem; color: var(--forest-deep); }
.testi-card figcaption small { color: var(--ink-soft); font-size: 0.82rem; }

/* Insurance */
.insurance { background: var(--bg-sand); }
.coverage-states { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.cov-row { display: flex; align-items: center; gap: 14px; font-size: 1rem; color: var(--forest-deep); font-weight: 500; }
.cov-pill { flex: none; font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.cov-now { background: var(--forest); color: var(--white); }
.cov-soon { background: oklch(0.88 0.05 80); color: oklch(0.42 0.07 60); }
.fc-avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; background: linear-gradient(135deg, var(--forest), var(--sage)); border: 2px solid var(--white); box-shadow: var(--shadow-sm); }
.insurance-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.logo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.logo-chip { aspect-ratio: 16/7; border-radius: 12px; background: var(--white); border: 1px solid var(--line); }
.logo-chip::after { background: transparent; border: none; color: var(--ink-soft); font-weight: 600; font-size: 0.82rem; }

/* CTA */
.cta-card { background: linear-gradient(155deg, var(--forest) 0%, var(--forest-deep) 100%); border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 60px); align-items: center; box-shadow: var(--shadow-lg); }
.cta-copy .section-title { margin-top: 14px; }
.cta-contacts { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.cta-contacts a { display: inline-flex; align-items: center; gap: 0.6em; color: var(--white); font-weight: 500; }
.cta-contacts svg { width: 18px; height: 18px; color: var(--sand); }
.cta-form { background: var(--white); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.cta-form h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 700; color: var(--forest-deep); margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea { font-family: var(--sans); font-size: 0.95rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px var(--sage-soft); background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 0.78rem; color: var(--ink-soft); text-align: center; margin-top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid, .welcome-grid, .approach-grid, .insurance-grid, .cta-card { grid-template-columns: 1fr; }
  .services-grid, .testi-grid, .quick-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { width: 100%; max-width: 460px; margin-inline: auto; }
  .fc-rating { left: 0; right: auto; } .fc-providers { right: 0; left: auto; }
  .approach-copy { order: -1; }
}
@media (max-width: 940px) {
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .topbar .tb-group.secondary { display: none; }
  .mobile-nav { display: none; position: fixed; inset: 0; top: 0; z-index: 200; background: var(--bg); flex-direction: column; padding: 90px 32px 32px; gap: 6px; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { font-family: var(--serif); font-size: 1.6rem; color: var(--forest-deep); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav a.btn { font-family: var(--sans); font-size: 0.96rem; border: none; color: var(--white); justify-content: center; }
}
@media (max-width: 680px) {
  .services-grid, .testi-grid, .quick-grid, .check-list, .field-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .logo-wall { grid-template-columns: 1fr 1fr; }
  .welcome-media-2 { display: none; }
  .hero-trust { gap: 14px; } .trust-divider { display: none; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .topbar { display: none; }
}

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero { background: radial-gradient(120% 110% at 80% -10%, var(--sage-soft) 0%, transparent 55%), var(--bg-2); padding-block: clamp(48px, 7vw, 92px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { max-width: 880px; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb span { color: var(--sage); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
.page-hero .lead { margin-top: 20px; max-width: 60ch; }

/* Services detail */
.svc-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; padding-block: clamp(54px, 7vw, 96px); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc-detail:nth-child(even) .svc-detail-media { order: 2; }
.svc-detail-media .ph { aspect-ratio: 5/4; box-shadow: var(--shadow-md); }
.svc-detail-tag { display: inline-flex; align-items: center; gap: 0.5em; background: var(--sage-soft); color: var(--forest); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; padding: 6px 14px; border-radius: 100px; text-transform: uppercase; }
.svc-detail-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 18px 0 16px; }
.svc-detail-copy p { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.7; }
.svc-detail-copy .feat { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.svc-detail-copy .feat li { position: relative; padding-left: 30px; font-weight: 500; color: var(--forest-deep); }
.svc-detail-copy .feat li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c5749' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.svc-num { font-family: var(--serif); font-size: 0.9rem; color: var(--sage); }

/* About / providers */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.story-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-media .ph:first-child { grid-row: span 2; aspect-ratio: 3/5; }
.story-media .ph { aspect-ratio: 1/1; box-shadow: var(--shadow-sm); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.value-card { padding: 30px; }
.value-card .svc-icon { margin-bottom: 18px; }
.value-card h3 { font-size: 1.25rem; }
.value-card p { color: var(--ink-soft); font-size: 0.94rem; margin-top: 10px; line-height: 1.6; }
.providers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.provider-card { overflow: hidden; }
.provider-card .ph { aspect-ratio: 4/5; border-radius: 0; }
.provider-info { padding: 24px; }
.provider-info h3 { font-size: 1.3rem; }
.provider-info .role { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--sage); text-transform: uppercase; margin-top: 4px; }
.provider-info p { color: var(--ink-soft); font-size: 0.92rem; margin-top: 12px; line-height: 1.6; }
.mission-band { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%); text-align: center; }
.mission-band .wrap { max-width: 820px; }
.mission-band h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.mission-band .big-quote { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; color: oklch(0.92 0.02 165); line-height: 1.45; margin-top: 24px; }
.mission-band .big-quote::before, .mission-band .big-quote::after { content: '"'; color: var(--sand); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-info-card { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%); border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 48px); color: var(--white); box-shadow: var(--shadow-lg); }
.contact-info-card h2 { color: var(--white); font-size: 1.9rem; }
.contact-info-card > p { color: oklch(0.88 0.02 165); margin-top: 14px; line-height: 1.7; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-top: 34px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: oklch(0.99 0.01 165 / 0.12); display: flex; align-items: center; justify-content: center; }
.contact-list .ci-icon svg { width: 20px; height: 20px; color: var(--sand); }
.contact-list .ci-label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: oklch(0.8 0.02 165); }
.contact-list .ci-val { color: var(--white); font-weight: 500; margin-top: 3px; display: block; }
.contact-list a.ci-val:hover { color: var(--sand); }
.contact-socials { display: flex; gap: 12px; margin-top: 34px; }
.contact-socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid oklch(0.99 0.01 165 / 0.2); display: flex; align-items: center; justify-content: center; color: var(--white); }
.contact-socials a:hover { background: oklch(0.99 0.01 165 / 0.12); }
.contact-socials svg { width: 18px; height: 18px; }
.contact-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.contact-form-card h2 { font-size: 1.7rem; }
.contact-form-card > p { color: var(--ink-soft); margin-top: 10px; margin-bottom: 28px; }
.map-ph { height: 360px; border-radius: 0; margin-top: 0; }
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; margin-top: 48px; }
.faq { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq summary { padding: 22px 26px; font-family: var(--serif); font-size: 1.2rem; color: var(--forest-deep); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.5rem; color: var(--sage); transition: transform 0.3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 26px 24px; color: var(--ink-soft); line-height: 1.7; }

@media (max-width: 1040px) {
  .svc-detail, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .svc-detail:nth-child(even) .svc-detail-media { order: 0; }
  .svc-detail-media, .story-media { max-width: 560px; }
}
@media (max-width: 760px) {
  .values-grid, .providers-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   INTERACTIVE TREATMENT PRESENTATION (Services page)
   ============================================================ */
.treatment { padding-block: clamp(40px, 6vw, 80px); }
.treatment-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.treatment-shell {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 3vw, 44px);
  align-items: start;
}
/* Left rail — clickable conditions */
.treatment-list { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 100px; }
.treatment-tab {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 16px 18px; cursor: pointer; font-family: var(--sans); color: var(--ink);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
}
.treatment-tab:hover { background: var(--white); border-color: var(--line); }
.treatment-tab .tt-num { font-family: var(--serif); font-size: 0.85rem; color: var(--sage); width: 22px; flex: none; }
.treatment-tab .tt-icon { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--sage-soft); color: var(--forest); display: flex; align-items: center; justify-content: center; transition: background 0.3s, color 0.3s; }
.treatment-tab .tt-icon svg { width: 20px; height: 20px; }
.treatment-tab .tt-label { font-size: 0.98rem; font-weight: 600; line-height: 1.25; color: var(--forest-deep); }
.treatment-tab .tt-arrow { margin-left: auto; width: 18px; height: 18px; color: var(--sage); opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.3s; flex: none; }
.treatment-tab.is-active { background: var(--white); border-color: var(--sage-soft); box-shadow: var(--shadow-sm); }
.treatment-tab.is-active .tt-icon { background: var(--forest); color: var(--white); }
.treatment-tab.is-active .tt-arrow { opacity: 1; transform: none; }

/* Right — animated panels */
.treatment-stage { position: relative; }
.treatment-panel {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transform: translateY(16px); pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.treatment-panel.is-active { position: relative; opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.treatment-panel .tp-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.treatment-panel .tp-tag {
  display: inline-flex; align-items: center; gap: 0.5em; background: var(--sage-soft); color: var(--forest);
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; padding: 6px 14px; border-radius: 100px; text-transform: uppercase;
  margin: 26px 0 0;
}
.treatment-panel h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 16px 0 14px; }
.treatment-panel .tp-text { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.7; }
.treatment-panel .feat { list-style: none; display: flex; flex-direction: column; gap: 11px; margin: 22px 0 26px; }
.treatment-panel .feat li { position: relative; padding-left: 30px; font-weight: 500; color: var(--forest-deep); }
.treatment-panel .feat li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c5749' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
/* staggered entrance of inner elements */
.treatment-panel.is-active .tp-anim { animation: tpRise 0.6s var(--ease) both; }
.treatment-panel.is-active .tp-anim:nth-child(1) { animation-delay: 0.05s; }
.treatment-panel.is-active .tp-anim:nth-child(2) { animation-delay: 0.12s; }
.treatment-panel.is-active .tp-anim:nth-child(3) { animation-delay: 0.19s; }
.treatment-panel.is-active .tp-anim:nth-child(4) { animation-delay: 0.26s; }
.treatment-panel.is-active .tp-anim:nth-child(5) { animation-delay: 0.33s; }
@keyframes tpRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .treatment-panel, .treatment-panel.is-active .tp-anim { transition: none; animation: none; }
}

/* Provider profile (single, About page) */
.provider-feature { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.provider-portrait { position: relative; }
.provider-portrait .pf-badge { position: absolute; right: -18px; bottom: -18px; background: var(--forest); color: var(--white); border-radius: 50%; width: 110px; height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow-md); }
.provider-portrait .pf-badge strong { font-family: var(--serif); font-size: 1.5rem; line-height: 1; }
.provider-portrait .pf-badge span { font-size: 0.62rem; line-height: 1.3; margin-top: 5px; opacity: 0.9; }
.provider-name { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-top: 8px; }
.provider-creds { font-family: var(--sans); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em; color: var(--sage); margin-top: 10px; }
.cred-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cred-chips span { font-size: 0.8rem; font-weight: 600; color: var(--forest); background: var(--sage-soft); border-radius: 100px; padding: 6px 13px; }
.provider-bio { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.provider-bio p { color: var(--ink-soft); line-height: 1.75; }
.provider-bio p.lead-bio { color: var(--forest-deep); font-size: 1.1rem; font-weight: 500; }
.provider-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

@media (max-width: 940px) {
  .treatment-shell { grid-template-columns: 1fr; }
  .treatment-list { position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; }
  .treatment-tab { flex: 0 0 auto; flex-direction: column; align-items: flex-start; min-width: 168px; gap: 10px; }
  .treatment-tab .tt-arrow { display: none; }
  .treatment-tab .tt-num { position: absolute; top: 12px; right: 14px; }
  .treatment-stage { min-height: 0; }
  .treatment-panel { position: absolute; }
  .treatment-panel.is-active { position: relative; }
  .provider-feature { grid-template-columns: 1fr; }
  .provider-portrait { max-width: 420px; }
  .provider-portrait .pf-badge { right: 10px; }
}
