/* ============================================================
   Web Starter Template — Base Stylesheet
   No client-specific design. Just structure, reset, and utilities.

   HOW TO USE:
   1. Set CSS custom properties below for client colors/fonts
   2. Build page-specific styles in <style> blocks or additional CSS files
   3. This file handles: reset, layout, nav, footer, forms, animations
   ============================================================ */

/* ============================================================
   ETHOS WELLNESS — Design System
   Brand: warm, calm, clinical-but-human
   Inspired by the original ethoswellness.com (Avenir + warm neutrals)
   ============================================================ */
:root {
  /* Brand colors (matched to live ethoswellness.com + Ethos Institute) */
  --navy: #11274D;          /* primary — deep, grounding, trust */
  --forest: #244941;        /* secondary — calm, growth */
  --charcoal: #4D4844;      /* warm dark base — body text */
  --stone: #4D4844;         /* alias for charcoal */
  --near-black: #201F1F;    /* deepest contrast */
  --taupe: #B0ADA6;         /* warm gray — borders, dividers */
  --cream: #F7F5F2;         /* off-white background (corrected from F7F2EE) */
  --off-white: #FFFCF9;     /* lightest cream — text on dark */
  --sage: #7A9E8E;          /* soft green accent */

  /* Mapped roles (used by base components) */
  --bg: #ffffff;
  --bg-alt: var(--cream);
  --bg-dark: var(--navy);
  --text: var(--stone);
  --text-strong: var(--navy);
  --text-muted: #6e6863;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: rgba(255, 255, 255, 0.72);

  --accent: var(--forest);
  --accent-dark: #1c382f;
  --accent-text: #1c382f;     /* WCAG AA compliant on cream/white */

  --border: rgba(176, 173, 166, 0.4);
  --border-strong: var(--taupe);
  --white: #ffffff;

  /* Fonts — Onest is the actual Ethos brand font */
  --font-display: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* Spacing & layout */
  --radius: 4px;             /* tight, clinical — not bubbly */
  --radius-lg: 12px;
  --container: 1240px;
  --container-narrow: 880px;
  --nav-height: 88px;
  --section-y: clamp(72px, 9vw, 128px);
}

/* Onest fallback sizing — prevents CLS while Onest loads */
@font-face {
  font-family: 'Onest Fallback';
  src: local('Helvetica'), local('Arial');
  size-adjust: 100%;
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sec { padding: 100px 0; }
.sec-alt { background: var(--bg-alt); }
.text-center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 48px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
h4 { font-size: 18px; }
.label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.body-text { color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-align: center;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border: 2px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav-transparent { background: transparent; border-color: transparent; }
.nav-transparent.scrolled { background: var(--bg); border-color: var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--accent-dark); }

/* Mobile toggle */
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: all 0.3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
}
.hero-content { position: relative; z-index: 1; }
.hero-desc { font-size: 18px; color: var(--text-muted); max-width: 600px; margin: 16px 0 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after { content: '+'; font-size: 24px; color: var(--accent); transition: transform 0.3s; }
.faq-item.open .faq-q::after { content: '-'; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { padding-bottom: 20px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   FORM OVERLAY
   ============================================================ */
.form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.form-overlay.open { opacity: 1; visibility: visible; }
.form-box {
  background: var(--bg);
  border-radius: var(--radius);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 24px;
}
.form-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  color: var(--text-muted);
  z-index: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 64px 0 32px; background: var(--bg-alt); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-desc { color: var(--text-muted); font-size: 14px; margin-top: 12px; }
.footer h4, .footer .footer-head { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.anim {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.anim.vis { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: 0.1s; }
.anim-d2 { transition-delay: 0.2s; }
.anim-d3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
}

@media (max-width: 768px) {
  .sec { padding: 64px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
  .hero-actions { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ============================================================
   MOBILE NAV OVERLAY
   Style this per client. Below is a minimal slide-in panel.
   ============================================================ */
.mobile-nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  padding: calc(var(--nav-height) + 20px) 30px 56px;
  border: none;
  border-radius: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* top-level groups, divided by a hairline */
.mobile-nav-open .nav-item,
.mobile-nav-open .nav-links > a {
  width: 100%;
  position: static;
  padding: 0;
  border: none;
  border-top: 1px solid rgba(255, 252, 249, 0.1);
}
.mobile-nav-open .nav-links > a:first-child,
.mobile-nav-open .nav-item:first-child { border-top: none; }
.mobile-nav-open .nav-links > a,
.mobile-nav-open .nav-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: var(--off-white);
  font-size: 18px;
  font-weight: 600;
  padding: 17px 0 13px;
  background: transparent;
  border: none;
  border-radius: 0;
}
.mobile-nav-open .nav-item .caret {
  display: inline-block;
  font-size: 13px;
  opacity: 0.7;
  margin-left: 8px;
  transition: transform 0.25s ease;
}
.mobile-nav-open .nav-item.submenu-open .caret { transform: rotate(180deg); }
/* submenus: collapsed until the parent item is tapped */
.mobile-nav-open .nav-dropdown,
.mobile-nav-open .nav-mega {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  display: none;
  background: transparent;
  box-shadow: none;
  border: none;
  min-width: 0;
  margin: 0;
  padding: 0 0 14px;
}
.mobile-nav-open .nav-item.submenu-open > .nav-dropdown { display: block; opacity: 1; visibility: visible; }
.mobile-nav-open .nav-item.submenu-open > .nav-mega { display: flex; flex-direction: column; gap: 0; opacity: 1; visibility: visible; }
.mobile-nav-open .nav-mega-col { display: flex; flex-direction: column; margin-bottom: 14px; border: none; }
.mobile-nav-open .nav-mega-head {
  color: rgba(255, 252, 249, 0.5) !important;
  font-size: 11px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700 !important;
  padding: 2px 0 6px !important;
  margin: 0;
  border: none !important;
}
.mobile-nav-open .nav-mega-head span { display: none; }
.mobile-nav-open .nav-dropdown a,
.mobile-nav-open .nav-mega a,
.mobile-nav-open .nav-mega-col > a:not(.nav-mega-head) {
  display: block;
  color: rgba(255, 252, 249, 0.78) !important;
  font-size: 15px;
  font-weight: 400;
  padding: 9px 0 9px 16px;
  background: transparent !important;
  border: none;
  border-radius: 0;
}
.mobile-nav-open .nav-dropdown a:active,
.mobile-nav-open .nav-mega a:active { color: var(--off-white); }
/* keep the nav bar (logo + hamburger/X) above the overlay so it can close */
.mobile-nav-open .nav {
  z-index: 10010 !important;
  background: var(--navy);
  border-bottom-color: rgba(255, 252, 249, 0.12);
}
.mobile-nav-open .mobile-toggle { position: relative; z-index: 10012; }
.mobile-nav-open .nav-logo,
.mobile-nav-open .nav-logo small { color: var(--off-white); }
/* hamburger animates to an X */
.mobile-toggle span { transition: transform 0.3s ease, opacity 0.2s ease; transform-origin: center; }
.mobile-nav-open .mobile-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav-open .mobile-toggle span:nth-child(2) { opacity: 0; }
.mobile-nav-open .mobile-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* keep menu items above the arcs */
.mobile-nav-open .nav-item,
.mobile-nav-open .nav-links > a { position: relative; z-index: 1; }

/* ============================================================
   ============================================================
   ETHOS WELLNESS — COMPONENT LAYER
   Site-specific styles built on the base above.
   ============================================================
   ============================================================ */

/* Body refinements */
body {
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.01em;
}

/* Section rhythm — generous breathing room */
.sec { padding: var(--section-y) 0; }
.sec-tight { padding: calc(var(--section-y) * 0.6) 0; }
.sec-cream { background: var(--cream); }
.sec-navy { background: var(--navy); color: var(--text-on-dark); }
.sec-navy h1, .sec-navy h2, .sec-navy h3, .sec-navy h4 { color: var(--text-on-dark); }
.sec-navy .label { color: var(--cream); opacity: 0.85; }
.sec-navy .body-text, .sec-navy p { color: var(--text-on-dark-muted); }

/* Container variants */
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   TYPOGRAPHY — Ethos overrides
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--text-strong);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 200; letter-spacing: -0.015em; }
h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 300; }
h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; }
h4 { font-size: 20px; font-weight: 600; letter-spacing: 0; }

p { color: var(--text); line-height: 1.7; }
p + p { margin-top: 1em; }
.lead { font-size: 20px; color: var(--text); line-height: 1.65; }

.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 16px;
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

/* ============================================================
   BUTTONS — Ethos
   ============================================================ */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  text-align: center;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--forest); border-color: var(--forest); transform: translateY(-1px); }

.btn-forest {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
}
.btn-forest:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn-ghost {
  padding: 10px 0;
  background: transparent;
  border-color: transparent;
  color: var(--navy);
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
}
.btn-ghost::after { content: ' →'; transition: margin-left 0.25s ease; }
.btn-ghost:hover::after { margin-left: 6px; }

/* ============================================================
   NAV — Ethos
   ============================================================ */
.nav {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-transparent {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav-transparent.scrolled {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}
.nav-logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.32em;
  font-weight: 400;
  margin-top: 2px;
  color: var(--stone);
}
.nav-links { gap: 36px; }
.nav-links > a { font-size: 14px; font-weight: 600; color: var(--stone); letter-spacing: 0.02em; }
.nav-links > a:hover { color: var(--navy); }

/* Dropdown nav items */
.nav-item { position: relative; }
.nav-item > a::after {
  content: ' ⌄';
  font-size: 10px;
  opacity: 0.6;
  margin-left: 4px;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 12px 40px rgba(17, 39, 77, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--stone);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.nav-dropdown a:hover { background: var(--cream); color: var(--navy); }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 12px 24px !important;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px !important;
}
.nav-cta:hover { background: var(--forest) !important; }

/* Mega-menu (Services) */
.nav-item-mega { position: static; }
.nav-item-mega .nav-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(960px, calc(100vw - 48px));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: 0 16px 48px rgba(17, 39, 77, 0.10);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  z-index: 100;
}
.nav-item-mega:hover .nav-mega,
.nav-item-mega:focus-within .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-mega-col { display: flex; flex-direction: column; gap: 2px; }
.nav-mega-head {
  display: block;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy) !important;
  padding: 0 0 12px !important;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.nav-mega-head span {
  font-size: 10px;
  color: var(--stone);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-left: 4px;
}
.nav-mega-head:hover { color: var(--forest) !important; }
.nav-mega-col > a:not(.nav-mega-head) {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--stone);
  border-radius: var(--radius);
  transition: all 0.18s;
  font-weight: 500;
}
.nav-mega-col > a:not(.nav-mega-head):hover {
  background: var(--cream);
  color: var(--navy);
}

/* Mega-menu on tablet/mobile — stacks inside the mobile nav drawer */
@media (max-width: 1024px) {
  .nav-item-mega .nav-mega {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 16px;
    box-shadow: none;
    border: none;
    padding: 0;
    background: transparent;
  }
  .nav-mega-head { border-bottom: 1px solid rgba(17, 39, 77, 0.1); }
}

/* ============================================================
   HERO — Ethos
   ============================================================ */
.hero {
  min-height: 92vh;
  background: var(--cream);
  padding: calc(var(--nav-height) + 64px) 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(36, 73, 65, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(17, 39, 77, 0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero h1 {
  margin-bottom: 24px;
  color: var(--navy);
}
.hero-desc {
  font-size: 20px;
  color: var(--stone);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 0 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before {
  content: '✓';
  color: var(--forest);
  font-weight: 700;
}

/* ============================================================
   DIFFERENTIATORS BAR — the 5 moats
   ============================================================ */
.diff-bar {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0;
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: start;
}
.diff-item { text-align: left; }
.diff-num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 200;
  color: var(--cream);
  opacity: 0.5;
  margin-bottom: 8px;
}
.diff-item h4 {
  font-size: 15px;
  color: var(--white);
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.diff-item p {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   AGE GROUP CARDS — Children / Adolescents / Adults
   ============================================================ */
.age-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.age-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  transition: all 0.3s ease;
  position: relative;
}
.age-card:hover {
  border-color: var(--forest);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(17, 39, 77, 0.08);
}
.age-card .age-range {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 16px;
}
.age-card h3 {
  font-size: 30px;
  margin-bottom: 16px;
  color: var(--navy);
}
.age-card .age-desc {
  color: var(--text);
  margin-bottom: 28px;
  line-height: 1.65;
}
.age-services {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid var(--border);
}
.age-services li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--stone);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.age-services li::after {
  content: '→';
  color: var(--taupe);
  font-size: 14px;
  transition: all 0.2s;
}
.age-services li:hover { color: var(--navy); }
.age-services li:hover::after { color: var(--forest); transform: translateX(4px); }

/* ============================================================
   LOCATION CARDS
   ============================================================ */
.loc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.loc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all 0.3s ease;
}
.loc-card:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
}
.loc-city {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 8px;
}
.loc-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.loc-addr {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}
.loc-phone {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.loc-phone:hover { color: var(--navy); }
.loc-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.loc-actions a {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.loc-actions a:hover { color: var(--forest); }
.loc-actions a::before { content: '→  '; opacity: 0.5; }

/* ============================================================
   INSURANCE BAR
   ============================================================ */
.insurance-bar {
  background: var(--cream);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.insurance-bar .label { display: block; text-align: center; margin-bottom: 8px; }
.insurance-bar h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 32px;
}
.insurance-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 48px;
  font-size: 15px;
  font-weight: 600;
  color: var(--stone);
  letter-spacing: 0.02em;
}
.insurance-logos span { opacity: 0.7; transition: opacity 0.2s; }
.insurance-logos span:hover { opacity: 1; color: var(--navy); }

/* ============================================================
   APPROACH / PHASES
   ============================================================ */
.phases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  position: relative;
}
.phase {
  text-align: left;
  position: relative;
  padding-top: 32px;
  border-top: 2px solid var(--forest);
}
.phase-num {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-text);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.phase h3 {
  font-size: 28px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 16px;
}
.phase p { font-size: 16px; line-height: 1.7; color: var(--text); }

/* ============================================================
   FEATURED CLINICIAN (John Howard / Dr. Ceci)
   ============================================================ */
.featured-card {
  background: var(--cream);
  padding: 64px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
  border-left: 4px solid var(--forest);
}
.featured-card img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.featured-card .label { color: var(--accent-text); }
.featured-card h3 {
  font-size: 36px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 8px;
}
.featured-card .credentials {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.featured-card p { font-size: 17px; line-height: 1.7; margin-bottom: 16px; }
.featured-card .featured-actions { margin-top: 32px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   FAQ — Ethos polish
   ============================================================ */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
}
.faq-q::after {
  content: '+';
  font-size: 28px;
  font-weight: 200;
  color: var(--forest);
  transition: transform 0.3s;
  margin-left: 24px;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a p {
  padding: 0 0 28px;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

/* ============================================================
   SCHEDULE TABLE (for location pages later)
   ============================================================ */
.schedule {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.schedule th {
  background: var(--navy);
  color: var(--white);
  padding: 16px 12px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}
.schedule td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
}
.schedule td:last-child { border-right: none; }
.schedule .group-name {
  background: var(--navy);
  color: var(--white);
  text-align: left;
  font-weight: 600;
  padding: 16px 20px;
}
.schedule .group-name small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  opacity: 0.7;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.schedule .has-group {
  background: var(--cream);
  color: var(--forest);
  font-weight: 600;
}

/* ============================================================
   PRE-FOOTER CTA
   ============================================================ */
.cta-band {
  background: var(--navy);
  padding: 96px 0;
  text-align: center;
  color: var(--white);
}
.cta-band h2 {
  color: var(--white);
  font-weight: 200;
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 52px);
}
.cta-band p {
  color: var(--text-on-dark-muted);
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto 40px;
}

/* ============================================================
   FOOTER — Ethos
   ============================================================ */
.footer {
  padding: 88px 0 32px;
  background: #0c1d3a;
  color: var(--text-on-dark-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 200;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-desc {
  color: var(--text-on-dark-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}
.footer h4, .footer .footer-head {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom p { color: rgba(255, 255, 255, 0.55); margin: 0; }

/* ============================================================
   ============================================================
   ETHOS HOMEPAGE — matches live ethoswellness.com
   ============================================================
   ============================================================ */

/* NAV — dark navy with centered link pill + green phone pill */
.nav, .nav-transparent, .nav-transparent.scrolled {
  background: var(--navy);
  border-bottom: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  padding: 12px 0;
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  height: auto;
}
.nav-logo {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 22px;
  letter-spacing: 0.32em;
  line-height: 1.1;
  text-transform: uppercase;
}
.nav-logo small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.42em;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
}
.nav-links-wrap { display: flex; justify-content: center; }
.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 8px 12px;
  border-radius: 100px;
}
.nav-links > a, .nav-item > a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.2s ease;
}
.nav-links > a:hover, .nav-item > a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.nav-item > a::after { content: none; }
.nav-item .caret { font-size: 9px; opacity: 0.7; margin-left: 2px; }
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 220px;
  background: var(--white);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.nav-dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--stone);
  border-radius: 4px;
  background: transparent;
}
.nav-dropdown a:hover { background: var(--cream); color: var(--navy); }
.nav-phone {
  display: inline-block;
  background: var(--forest);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 12px 24px;
  border-radius: 100px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.nav-phone:hover { background: #1c382f; }
.mobile-toggle span { background: var(--white); }

/* HERO — dark navy, three rounded photos with middle staggered */
.hero-dark {
  background: var(--navy);
  color: var(--white);
  padding: 144px 0 0;
  text-align: center;
  min-height: 0;
  display: block;
  position: relative;
}
.hero-dark::before { display: none; }
.hero-dark .hero-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.hero-dark h1 {
  color: var(--white);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 auto 24px;
}
.hero-dark .hero-desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero-dark .hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* Pill buttons */
.btn-pill {
  border-radius: 6px;
  padding: 14px 32px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
  display: inline-block;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
  text-align: center;
  cursor: pointer;
}
.btn-pill-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-pill-light:hover { background: transparent; color: var(--white); }
.btn-pill-outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn-pill-outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-pill-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-pill-navy:hover { background: transparent; color: var(--navy); }
.btn-pill-navy-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-pill-navy-outline:hover { background: var(--navy); color: var(--white); }
.btn-pill-forest { background: var(--forest); color: var(--white); border-color: var(--forest); }
.btn-pill-forest:hover { background: #1c382f; border-color: #1c382f; }

/* Hero photo trio */
.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.hero-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  background: var(--cream);
}
.hero-photos {
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
  align-items: end;
  gap: 24px;
}
.hero-photo--side { aspect-ratio: 4 / 5; margin-bottom: -120px; border-radius: 12px; }
.hero-photo--center {
  aspect-ratio: 16 / 11;
  margin-top: -64px;
  margin-bottom: -160px;
  border-radius: 12px;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-spacer { background: var(--cream); padding-top: 200px; }

/* HEALING — cream, two-col with circular photo */
.healing-section { background: var(--cream); padding: 48px 0 var(--section-y); }
.healing-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.healing-content h2 {
  color: var(--navy);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 28px;
}
.healing-content h2 strong { font-weight: 700; }
.healing-content p {
  color: var(--stone);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.healing-photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(17, 39, 77, 0.12);
}
.healing-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* SERVICES — cream section, three different colored cards */
.services-section { background: var(--cream); padding: var(--section-y) 0; }
.services-section .section-intro h2 {
  color: var(--navy);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
}
.services-section .section-intro h2 strong { font-weight: 700; }
.services-section .section-intro p { max-width: 700px; margin: 16px auto 0; color: var(--stone); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.svc-card {
  border-radius: 12px;
  padding: 56px 36px;
  color: var(--white);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.svc-card--green { background: var(--forest); }
.svc-card--navy { background: var(--navy); }
.svc-card--stone { background: var(--stone); }
.svc-card h3 {
  color: var(--white);
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.15;
}
.svc-card .age-range {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 36px;
  font-weight: 400;
}
.svc-card-services { list-style: none; padding: 0; margin: 0; }
.svc-card-services li { margin-bottom: 24px; text-align: center; }
.svc-card-services li h4 { color: var(--white); font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.svc-card-services li p { color: rgba(255, 255, 255, 0.78); font-size: 13px; line-height: 1.55; margin: 0; }

/* FOCUS AREAS — two-col, photo left, dark green panel right */
.focus-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--forest);
  min-height: 600px;
}
.focus-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.focus-content {
  background: var(--forest);
  color: var(--white);
  padding: 96px 88px;
  display: flex;
  flex-direction: column;
}
.focus-content .eyebrow + h2 { margin-bottom: 56px; }
.focus-content .eyebrow { color: rgba(255, 255, 255, 0.7); }
.focus-content .eyebrow::before { background: rgba(255, 255, 255, 0.4); }
.focus-content h2 {
  color: var(--white);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  margin-bottom: 36px;
  line-height: 1.1;
}
.focus-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 28px;
}
.focus-list li { display: flex; gap: 16px; align-items: flex-start; }
.focus-list .focus-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--off-white);
}
.focus-list .focus-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.focus-list .focus-text h4 { color: var(--white); font-size: 16px; font-weight: 700; margin: 4px 0 4px; }
.focus-list .focus-text p { color: rgba(255, 255, 255, 0.78); font-size: 13px; line-height: 1.55; margin: 0; }

/* PHASES OF CARE — cream, numbered circles + bullets */
.phases-section { background: var(--cream); padding: var(--section-y) 0; }
.phases-section .section-intro h2 {
  color: var(--navy);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 400;
}
.phases-section .section-intro h2 strong { font-weight: 700; }
.phases-section .section-intro p { max-width: 700px; margin: 16px auto 28px; color: var(--stone); }
.phases-section .section-intro .actions-row { justify-content: center; }
.phases-grid-real {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 1100px;
  margin: 64px auto 0;
}
.phase-real { text-align: center; }
.phase-num-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.05em;
}
.phase-real h3 { color: var(--navy); font-size: 28px; font-weight: 500; margin-bottom: 20px; }
.phase-real ul { list-style: none; padding: 0; margin: 0; }
.phase-real li {
  position: relative;
  padding-left: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--stone);
  margin-bottom: 10px;
}
.phase-real li::before {
  content: none;
  position: absolute;
  left: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--forest);
}

/* FOUNDER — dark forest green left, photo right */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 640px;
}
.founder-content-real {
  background: var(--forest);
  color: var(--white);
  padding: 88px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.founder-content-real .label { color: rgba(255, 255, 255, 0.65); }
.founder-content-real h3 {
  color: var(--white);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.15;
}
.founder-content-real .credentials {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  font-weight: 500;
}
.founder-content-real p { color: rgba(255, 255, 255, 0.85); font-size: 15px; line-height: 1.7; margin-bottom: 14px; }
.founder-content-real .featured-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.founder-photo-real img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* TEAM GRID */
.team-section { background: var(--cream); padding: var(--section-y) 0; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.team-card { background: var(--white); border-radius: 10px; padding: 20px 16px 24px; text-align: center; transition: all 0.25s ease; }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(17, 39, 77, 0.08); }
.team-card-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; margin-bottom: 14px; background: var(--bg-alt); }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card h4, .team-card h3 { color: var(--navy); font-size: 14px; font-weight: 700; margin: 0 0 4px; line-height: 1.3; }
.team-card p { font-size: 12px; color: var(--text-muted); line-height: 1.4; margin: 0; }
.team-card-img { position: relative; }
.team-loc-tag {
  position: absolute; top: 8px; right: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  padding: 3px 7px; border-radius: 4px; line-height: 1;
  color: var(--off-white); background: var(--navy);
}
.team-loc-tag--atx { background: var(--forest); }
.team-loc-tag--both { background: var(--taupe); color: var(--near-black); }
.team-group { margin-bottom: 56px; }
.team-group:last-child { margin-bottom: 0; }
.team-group-head {
  color: var(--navy); font-size: 20px; font-weight: 700;
  margin: 0 0 24px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.team-filter {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 36px;
}
.team-filter-btn {
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  padding: 9px 22px; border-radius: 999px; cursor: pointer;
  color: var(--navy); background: transparent;
  border: 1px solid var(--border); transition: all 0.2s ease;
}
.team-filter-btn:hover { border-color: var(--navy); }
.team-filter-btn.is-active { color: var(--off-white); background: var(--navy); border-color: var(--navy); }
.team-search-wrap { display: flex; justify-content: center; margin-bottom: 18px; }
.team-search {
  font-family: var(--font-display); font-size: 15px;
  width: 100%; max-width: 380px;
  padding: 11px 22px; border-radius: 999px;
  color: var(--navy); background: transparent;
  border: 1px solid var(--border); transition: border-color 0.2s ease;
}
.team-search::placeholder { color: var(--taupe); }
.team-search:focus { outline: none; border-color: var(--navy); }

/* Legal / policy pages */
.legal-copy { color: var(--charcoal); line-height: 1.8; font-size: 16px; }
.legal-copy h2 { color: var(--navy); font-size: 22px; font-weight: 700; margin: 40px 0 12px; }
.legal-copy p { margin: 0 0 18px; }
.legal-copy a { color: var(--accent-text); text-decoration: underline; }
.legal-notice {
  background: var(--cream); border-left: 3px solid var(--navy);
  padding: 18px 20px; border-radius: var(--radius); font-size: 15px;
  letter-spacing: 0.01em; margin-bottom: 28px;
}

/* MENTAL HEALTH IS A RIGHT */
.rights-section { background: var(--near-black); color: var(--white); padding: var(--section-y) 0; }
.rights-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.rights-content .eyebrow { color: rgba(255, 255, 255, 0.65); }
.rights-content .eyebrow::before { background: rgba(255, 255, 255, 0.35); }
.rights-content h2 {
  color: var(--white);
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.15;
}
.rights-content p { color: rgba(255, 255, 255, 0.82); font-size: 16px; line-height: 1.7; }
.rights-form { background: var(--white); border-radius: 8px; overflow: hidden; min-height: 600px; }
.rights-form iframe { width: 100%; min-height: 600px; border: none; display: block; }

/* BLOG */
.blog-section { background: var(--cream); padding: var(--section-y) 0; }
.blog-section .section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  text-align: left;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.blog-section .section-intro h2 { color: var(--navy); font-size: clamp(32px, 4vw, 48px); font-weight: 400; }
.blog-section .section-intro h2 strong { font-weight: 700; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.blog-card { background: var(--white); border-radius: 10px; overflow: hidden; transition: all 0.25s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(17, 39, 77, 0.08); }
.blog-card-img { display: block; aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 24px; }
.blog-card h3 { color: var(--navy); font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.blog-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.blog-card a.read-more {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
}

/* FAQ split with photo */
.faq-section { background: var(--cream); padding: var(--section-y) 0; }
.faq-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.faq-photo { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 4 / 5; }
.faq-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.faq-photo-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(47, 50, 49, 0.95);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 13px;
}
.faq-photo-overlay div { margin: 4px 0; }
.faq-photo-overlay a { color: var(--white); }
.faq-content h2 { color: var(--navy); font-size: clamp(32px, 4vw, 48px); font-weight: 400; margin-bottom: 28px; line-height: 1.1; }
.faq-accordion { display: grid; gap: 8px; }
.faq-accordion-item { background: var(--white); border-radius: 8px; border: 1px solid var(--border); }
.faq-accordion-q {
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
}
.faq-accordion-q::after { content: '+'; font-size: 18px; color: var(--forest); font-weight: 300; }
.faq-accordion-item.open .faq-accordion-q::after { content: '×'; }
.faq-accordion-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-accordion-item.open .faq-accordion-a { max-height: 400px; }
.faq-accordion-a p { padding: 0 22px 22px; color: var(--stone); font-size: 14px; line-height: 1.65; margin: 0; }

/* NEWSLETTER */
.newsletter-section { background: var(--near-black); color: var(--white); padding: 56px 0; }
.newsletter-grid { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 48px; }
.newsletter-grid .footer-logo { color: var(--white); }
.newsletter-form { text-align: center; }
.newsletter-form h3 { color: var(--white); font-size: 22px; font-weight: 400; margin-bottom: 20px; }
.newsletter-form .inputs { display: flex; gap: 12px; max-width: 560px; margin: 0 auto 12px; }
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form button {
  background: var(--forest);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}
.newsletter-form .disclaimer { font-size: 11px; color: rgba(255, 255, 255, 0.55); }

/* FOOTER override */
.footer { background: #1f2221; padding: 56px 0 24px; }

/* Eyebrow with dot accent */
.eyebrow-dot {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
}
.eyebrow-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-inner { gap: 16px; }
  .nav-links > a, .nav-item > a { font-size: 12px; padding: 7px 12px; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; gap: 20px; }
  .focus-section, .founder-section { grid-template-columns: 1fr; }
  .focus-content, .founder-content-real { padding: 56px 36px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .rights-grid { grid-template-columns: 1fr; }
  .faq-split { grid-template-columns: 1fr; }
  .newsletter-grid { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 768px) {
  .nav-links-wrap { display: none; }
  .nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .nav-phone { display: none; }
  .hero-dark { padding: 96px 0 0; }
  .hero-photos { grid-template-columns: 1fr; gap: 16px; max-width: 360px; }
  /* On mobile show only the left photo (therapist with client / people talking) */
  .hero-photos > .hero-photo:nth-child(2),
  .hero-photos > .hero-photo:nth-child(3) { display: none; }
  .hero-photo--side { margin-bottom: 0; aspect-ratio: 4 / 5; }
  .hero-spacer { padding-top: 48px; }
  .healing-split { grid-template-columns: 1fr; gap: 32px; }
  .phases-grid-real { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-form .inputs { flex-direction: column; }
}

/* ============================================================
   UTILITIES — spacing, alignment, intro blocks
   ============================================================ */
.section-intro {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-intro--wide { max-width: 760px; margin: 0 auto 56px; }
.section-intro--tight { margin: 0 auto 48px; }
.section-intro p.lead { margin-top: 16px; }

.actions-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.actions-row--center { justify-content: center; }

.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 32px; }
.mt-xl { margin-top: 40px; }
.mt-2xl { margin-top: 48px; }

.lead-narrow {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.attribution {
  display: flex;
  align-items: center;
  gap: 5px;
}
.attribution a { display: inline-flex; align-items: center; }
.attribution img {
  height: 14px;
  opacity: 0.55;
  vertical-align: middle;
}

/* ============================================================
   RESPONSIVE — Ethos overrides
   ============================================================ */
@media (max-width: 1100px) {
  .diff-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
  .loc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .featured-card { grid-template-columns: 1fr; padding: 48px; }
}
@media (max-width: 900px) {
  .age-grid { grid-template-columns: 1fr; }
  .phases-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .hero { min-height: 0; padding: calc(var(--nav-height) + 48px) 0 64px; }
  .hero-desc { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 16px; flex-direction: column; align-items: flex-start; }
  .diff-grid { grid-template-columns: 1fr; gap: 24px; }
  .loc-grid { grid-template-columns: 1fr; }
  .insurance-logos { gap: 24px 32px; }
  .featured-card { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .schedule { font-size: 12px; }
  .schedule th, .schedule td { padding: 10px 6px; }
  .cta-band { padding: 64px 0; }
}


/* Hero half-circle decorative SVG */
.hero-dark { position: relative; }
.hero-dark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1100px;
  height: 1100px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-dark::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  display: block;
}
.hero-dark .hero-content { position: relative; z-index: 2; }


/* Placeholder for embedded forms (replaces broken iframe with GOOGLE_FORM_URL) */
.form-placeholder {
  background: var(--white);
  color: var(--stone);
  border-radius: 8px;
  padding: 80px 40px;
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.form-placeholder p { color: var(--stone); margin: 0; }


/* ===== INNER PAGE HERO — compact navy band + breadcrumb ===== */
.hero-inner {
  background: var(--forest);
  color: var(--off-white);
  padding: calc(var(--nav-height) + 64px) 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 0;
  display: block;
}
.hero-inner::before, .hero-inner::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner::before {
  transform: translate(-50%, -50%);
  width: 560px; height: 560px;
  border: 1px solid rgba(255, 252, 249, 0.08);
}
.hero-inner::after {
  transform: translate(-50%, -50%);
  width: 960px; height: 960px;
  border: 1px solid rgba(255, 252, 249, 0.04);
}
.hero-inner .hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-inner .eyebrow {
  color: rgba(255, 252, 249, 0.65);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}
.hero-inner h1 {
  color: var(--off-white);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 auto 20px;
  max-width: 860px;
}
.hero-inner .hero-desc {
  color: rgba(255, 252, 249, 0.82);
  font-size: 16px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 28px;
}
.hero-inner .breadcrumb {
  font-size: 13px;
  color: rgba(255, 252, 249, 0.6);
  letter-spacing: 0.02em;
}
.hero-inner .breadcrumb a {
  color: rgba(255, 252, 249, 0.75);
  transition: color 0.2s;
}
.hero-inner .breadcrumb a:hover { color: var(--off-white); }
.hero-inner .breadcrumb .sep { margin: 0 10px; opacity: 0.4; }
.hero-inner .hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Legacy .hero (cream version) — keep working for any page that still uses it, but make it not clash */
.hero:not(.hero-dark):not(.hero-inner) { background: var(--cream); }

@media (max-width: 768px) {
  .hero-inner { padding: calc(var(--nav-height) + 40px) 0 48px; }
  .hero-inner h1 { font-size: clamp(28px, 7vw, 40px); }
}


/* ===== HERO PHOTO STRIP — wide photo under the forest band ===== */
.hero-photo-strip {
  background: var(--cream);
  padding: 0;
  position: relative;
}
.hero-photo-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--forest);
  z-index: 0;
}
.hero-photo-strip .container {
  position: relative;
  z-index: 1;
  padding-top: 0;
}
.hero-photo-strip img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Inner hero needs to flush against the photo strip — remove bottom padding */
.hero-inner { padding-bottom: 40px; }

/* ===== INTRO SPLIT — cream section with eyebrow + H2 + body, photo on right ===== */
.intro-split-section {
  background: var(--cream);
  padding: var(--section-y) 0 calc(var(--section-y) * 0.6);
}
.intro-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}
.intro-split-content .eyebrow-dot {
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.intro-split-content .eyebrow-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
}
.intro-split-content h2 {
  color: var(--navy);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.intro-split-content p {
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
}
.intro-split-content p strong { color: var(--navy); font-weight: 700; }
.intro-split-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 560px;
}
.intro-split-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== CONSULT CTA — centered mini-call-to-action ===== */
.consult-cta {
  background: var(--cream);
  padding: 8px 0 56px;
  text-align: center;
}
.consult-cta p {
  color: var(--charcoal);
  font-size: 16px;
  margin-bottom: 20px;
}
.consult-cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== LOCATIONS SECTION — "Houston Locations" with navy cards ===== */
.locations-section {
  background: var(--cream);
  padding: calc(var(--section-y) * 0.6) 0 var(--section-y);
}
.locations-section h2 {
  color: var(--navy);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}
.location-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.location-card-large {
  background: var(--navy);
  border: 1px solid rgba(36, 73, 65, 0.3);
  border-radius: 10px;
  padding: 32px 32px 28px;
  color: var(--off-white);
  text-align: center;
}
.location-card-large h3 {
  color: var(--off-white);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
  text-decoration: underline;
  text-underline-offset: 6px;
}
.location-card-large .loc-addr {
  color: rgba(255, 252, 249, 0.85);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.location-card-large .loc-map {
  border-radius: 6px;
  overflow: hidden;
  height: 260px;
  margin-bottom: 20px;
  background: #2a3b54;
}
.location-card-large .loc-map iframe { width: 100%; height: 100%; border: none; display: block; }
.location-card-large .loc-phone {
  display: block;
  color: var(--off-white);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 8px;
}
.location-card-large .loc-email {
  color: rgba(255, 252, 249, 0.85);
  font-size: 14px;
}
.location-card-large .loc-email a { color: inherit; }

/* ===== SERVICES-IN-LOCATION section (eyebrow + H2 + 3 age cards) ===== */
.services-in-location {
  background: var(--cream);
  padding: var(--section-y) 0;
  text-align: center;
}
.services-in-location .eyebrow-dot {
  color: var(--accent-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.services-in-location .eyebrow-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
}
.services-in-location h2 {
  color: var(--navy);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 18px;
}
.services-in-location .intro-body {
  max-width: 720px;
  margin: 0 auto 48px;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
}

/* ===== INSURANCE LOGO GRID (real logos, not text) ===== */
.insurance-logos-section {
  background: var(--cream);
  padding: 0 0 calc(var(--section-y) * 0.8);
  text-align: center;
}
.insurance-logos-section h2 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 32px;
}
.insurance-logos-section h2 strong { font-weight: 800; }
.insurance-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px 56px;
  max-width: 1100px;
  margin: 0 auto;
}
.insurance-logos-grid img {
  max-height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(0);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.insurance-logos-grid img:hover { opacity: 1; }

/* ===== FINAL CTA — "Start Your Journey with Ethos Wellness" ===== */
.start-journey-section {
  background: var(--cream);
  padding: calc(var(--section-y) * 0.8) 0;
  text-align: center;
}
.start-journey-section h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.start-journey-section p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .intro-split { grid-template-columns: 1fr; gap: 32px; }
  .location-cards-grid { grid-template-columns: 1fr; }
  .hero-photo-strip img { max-height: 260px; }
}

.form-placeholder-note { font-size: 13px; opacity: 0.6; margin-top: 8px; }


/* ===== HERO SLIDESHOW — Ken-Burns effect matching live Elementor slideshow ===== */
.hero-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 24 / 9;
  max-height: 460px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  background: var(--cream);
}
.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: hero-fade 15s infinite;
}
.hero-slideshow .slide:nth-child(1) { animation-delay: 0s; }
.hero-slideshow .slide:nth-child(2) { animation-delay: 5s; }
.hero-slideshow .slide:nth-child(3) { animation-delay: 10s; }
@keyframes hero-fade {
  0%   { opacity: 0; transform: scale(1.0); }
  5%   { opacity: 1; }
  33%  { opacity: 1; transform: scale(1.07); }
  38%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow .slide { animation: none; opacity: 1; }
  .hero-slideshow .slide:nth-child(n+2) { display: none; }
}


/* ===== AGE SERVICES GRID (on age hub pages — 5 service cards with photos) ===== */
.age-services-section { background: var(--cream); padding: var(--section-y) 0; }
.age-services-section .section-intro { text-align: center; max-width: 780px; margin: 0 auto 48px; }
.age-services-section .eyebrow-dot {
  color: var(--accent-text); font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.age-services-section .eyebrow-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--forest);
}
.age-services-section h2 { color: var(--navy); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; }
.age-services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1200px; margin: 0 auto;
}
.age-service-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.25s ease;
  color: inherit;
}
.age-service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(17, 39, 77, 0.1); }
.age-service-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream); }
.age-service-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.age-service-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.age-service-card-body h3 { color: var(--navy); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.age-service-card-body p { color: var(--charcoal); font-size: 14px; line-height: 1.6; margin-bottom: 16px; flex: 1; }
.age-service-card-link {
  color: var(--forest); font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.intro-split--centered { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; text-align: center; }
.intro-split--centered .intro-split-content { text-align: center; }
@media (max-width: 1000px) { .age-services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .age-services-grid { grid-template-columns: 1fr; } }


/* ===== CORE SERVICES GRID — vertical service cards ===== */
.core-services-section { background: var(--cream); padding: var(--section-y) 0; }
.core-services-section .section-intro { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.core-services-section h2 { color: var(--navy); font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; }
.core-services-section .lead { color: var(--charcoal); font-size: 16px; line-height: 1.7; }
.core-services-grid { display: grid; gap: 32px; max-width: 1080px; margin: 0 auto; }
.core-service {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  transition: all 0.25s ease;
}
.core-service:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(17, 39, 77, 0.08); }
.core-service-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.core-service-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.core-service-body { padding: 32px 36px; display: flex; flex-direction: column; }
.core-service-body h3 { color: var(--navy); font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.core-service-body p { color: var(--charcoal); font-size: 15px; line-height: 1.7; margin-bottom: 16px; flex: 1; }
.core-service-link {
  color: var(--forest);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  align-self: flex-start;
}
.core-service-link::after { content: " →"; }
@media (max-width: 800px) {
  .core-service { grid-template-columns: 1fr; }
  .core-service-img { aspect-ratio: 16 / 9; }
}

/* ===== JOURNEY TOGETHER — contact section adapted from focus-section ===== */
.focus-section.journey-together .focus-content { background: var(--navy); }
.journey-contact { display: grid; gap: 18px; margin-top: 24px; }
.journey-contact-item {
  display: block;
  padding: 16px 20px;
  border-radius: 8px;
  background: rgba(255, 252, 249, 0.08);
  color: var(--off-white);
  transition: background 0.2s;
}
.journey-contact-item:hover { background: rgba(255, 252, 249, 0.12); }
.journey-contact-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 4px;
}
.journey-contact-value { display: block; font-size: 18px; font-weight: 600; }


/* ===== DARK PANEL TEXT CONTRAST FIX ===== */
/* Any paragraph inside a dark-bg panel must be readable.
   Global `p { color: var(--text) }` was bleeding through. */
.focus-content p,
.focus-section .focus-content p,
.sec-dark p,
.rights-section p,
.cta-band p,
.newsletter-section p,
.hero-dark p,
.hero-inner p {
  color: rgba(255, 252, 249, 0.88);
}

/* Lists and emphasized text inside dark panels */
.focus-content li,
.focus-content strong,
.sec-dark strong {
  color: var(--off-white);
}

/* Journey contact cards — make labels and values pop */
.journey-contact-item { color: var(--off-white); }
.journey-contact-label { color: rgba(255, 252, 249, 0.7); }
.journey-contact-value { color: var(--off-white); }


/* ===== SERVICE TABS — left sidebar + right panel ===== */
.service-tabs-widget {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: start;
}
.service-tabs-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(17, 39, 77, 0.12);
  padding-right: 0;
}
.service-tab-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  border: none;
  border-right: 3px solid transparent;
  color: var(--charcoal);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: -1px;
}
.service-tab-btn:hover { color: var(--navy); background: rgba(17, 39, 77, 0.03); }
.service-tab-btn[aria-selected="true"] {
  color: var(--navy);
  border-right-color: var(--forest);
  background: rgba(36, 73, 65, 0.06);
}
.service-tab-panels { position: relative; }
.service-tab-panel {
  display: none;
  animation: tab-fade 0.3s ease;
}
.service-tab-panel.active { display: block; }
@keyframes tab-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.service-tab-panel-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--cream);
}
.service-tab-panel-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-tab-panel h3 {
  color: var(--navy);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}
.service-tab-panel p {
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.service-tab-panel .learn-more-btn {
  display: inline-block;
  background: var(--navy);
  color: var(--off-white);
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.service-tab-panel .learn-more-btn:hover { background: #0d1f3d; }

@media (max-width: 860px) {
  .service-tabs-widget { grid-template-columns: 1fr; gap: 20px; }
  .service-tabs-list {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(17, 39, 77, 0.12);
    padding-bottom: 0;
    gap: 2px;
    -webkit-overflow-scrolling: touch;
  }
  .service-tab-btn {
    flex-shrink: 0;
    padding: 14px 18px;
    border-right: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    white-space: nowrap;
  }
  .service-tab-btn[aria-selected="true"] {
    border-right: none;
    border-bottom-color: var(--forest);
  }
}


/* Service tab links (when h4 wraps an anchor) */
.svc-card-services li h4 a,
.svc-card-services li h4 a:hover {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.svc-card-services li h4 a:hover { opacity: 0.7; text-decoration: underline; }

/* ==========================================================================
   SUB-SERVICE PAGES (adult-therapy, adolescent-iop, etc.)
   ========================================================================== */

/* Modalities / Issues grid — 2-col h3/p list on cream */
.modalities-section {
  background: var(--cream);
  padding: clamp(72px, 10vw, 120px) 0;
}
.modalities-section .section-intro {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.modalities-section .section-intro h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin: 0 0 16px;
}
.modalities-section .section-intro p {
  color: var(--stone);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}
.modalities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 48px;
  max-width: 1080px;
  margin: 0 auto;
}
.modalities-grid > div {
  padding: 8px 0;
}
.modalities-grid h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
}
.modalities-grid p {
  color: var(--stone);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 768px) {
  .modalities-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* "What to Expect" — full-width forest panel with 5-item grid */
.expect-section {
  background: var(--forest);
  padding: clamp(72px, 10vw, 120px) 0;
  color: var(--white);
}
.expect-section .section-intro {
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: center;
}
.expect-section .eyebrow-dot {
  color: rgba(255, 252, 249, 0.75);
}
.expect-section .section-intro h2 {
  color: var(--white);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin: 14px 0 14px;
}
.expect-section .section-intro p {
  color: rgba(255, 252, 249, 0.85);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}
.expect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 48px;
  max-width: 1080px;
  margin: 0 auto;
}
.expect-grid > div { padding: 6px 0; }
.expect-grid h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}
.expect-grid p {
  color: rgba(255, 252, 249, 0.88);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 768px) {
  .expect-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* Framework: 3 numbered step cards */
.framework-section {
  background: var(--off-white);
  padding: clamp(72px, 10vw, 120px) 0;
}
.framework-section .section-intro {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.framework-section .section-intro h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  margin: 14px 0 14px;
}
.framework-section .section-intro p {
  color: var(--stone);
  font-size: 17px;
  line-height: 1.65;
  margin: 0;
}
.framework-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
}
.framework-step {
  background: var(--white);
  padding: 40px 32px;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 2px 22px rgba(17, 39, 77, 0.06);
}
.framework-step-num {
  display: inline-block;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background: var(--forest);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 18px;
}
.framework-step h3 {
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}
.framework-step p {
  color: var(--stone);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.framework-cta {
  text-align: center;
  margin-top: 40px;
}
.framework-cta p {
  color: var(--navy);
  font-size: 17px;
  margin: 0 0 16px;
}
@media (max-width: 900px) {
  .framework-steps { grid-template-columns: 1fr; }
}

/* Accessibility section — centered intro split */
.accessible-section {
  background: var(--off-white);
  padding: clamp(64px, 8vw, 100px) 0;
}
.accessible-section .intro-split--centered {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.accessible-section h2 {
  color: var(--navy);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  margin: 14px 0 20px;
}
.accessible-section p {
  color: var(--stone);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 16px;
}

/* ============================================================
   NAV LOGO LOCKUP — "WELLNESS" tracks to the exact width of
   "ETHOS" above it. The block sizes to the wider ETHOS line,
   then the small line justifies across that full width.
   ============================================================ */
.nav-logo {
  display: inline-block;
  width: max-content;
}
.nav-logo small {
  display: block;
  letter-spacing: 0.8em;
  /* letter-spacing adds a trailing gap after the last letter; pull it back
     so WELLNESS's glyphs align flush-left under ETHOS and span its width */
  margin-right: -0.8em;
  text-indent: 0;
}

/* ============================================================
   FOOTER — newsletter signup band + CompliAssure seal
   ============================================================ */
.footer-newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-newsletter-text h4, .footer-newsletter-text .footer-head {
  color: var(--white, #fff);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}
.footer-newsletter-text p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  max-width: 360px;
}
.footer-newsletter-form iframe {
  display: block;
  width: 100%;
  min-height: 152px;
  border: none;
  border-radius: 6px;
  background: transparent;
}
.footer-seal {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
}
.footer-seal img { display: block; height: auto; }
@media (max-width: 768px) {
  .footer-newsletter { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================================
   CONTACT FORM SECTION (site-wide) — stone band, white left
   heading, full-width Google Form. Moved into main.css so it
   renders on every page, not just service pages.
   ============================================================ */
.contact-full {
  background: var(--stone, #4D4844);
  padding: clamp(72px, 10vw, 120px) 0;
}
.contact-full .eyebrow-dot { color: rgba(255, 252, 249, 0.7); }
.contact-full .eyebrow-dot::before { background: rgba(255, 252, 249, 0.62); }
.contact-full-head { max-width: 1080px; margin: 0 auto 40px; text-align: left; }
.contact-full-head h2 {
  color: var(--off-white, #fff);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
}
.contact-full-head p {
  color: rgba(255, 252, 249, 0.85);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 760px;
}
.contact-full-meta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 17px; font-weight: 600; }
.contact-full-meta a { color: var(--off-white, #fff); text-decoration: underline; text-underline-offset: 4px; }
.contact-full-meta a:hover { color: rgba(255, 252, 249, 0.75); }
.contact-full-sep { color: rgba(255, 252, 249, 0.45); font-weight: 400; }
.contact-full-form {
  max-width: 1080px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
/* The GHL form_embed.js (loaded site-wide for the footer newsletter) hijacks
   EVERY iframe and hides it off-screen (opacity:0; left:-9999px; position:absolute),
   only re-showing its own LeadConnector forms. That hid the Google contact form on
   every page. Force it to stay visible and in-flow. */
.contact-full-form iframe {
  display: block !important;
  width: 100% !important;
  min-height: 1100px;
  border: none;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  left: auto !important;
}
@media (max-width: 480px) {
  .contact-full-meta { gap: 8px; font-size: 15px; }
  .contact-full-sep { display: none; }
  .contact-full-meta a { display: block; width: 100%; }
}

/* Homepage service-card items are now links to their service pages */
.svc-card-head-link { text-decoration: none; color: inherit; display: inline-block; }
.svc-card-services li a.svc-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}
.svc-card-services li a.svc-card-link:hover { opacity: 0.78; }
.svc-card-services li a.svc-card-link:hover h4 { text-decoration: underline; text-underline-offset: 3px; }

/* UNIVERSAL: keep every embedded Google Form visible. The GHL form_embed.js
   (loaded site-wide for the footer newsletter) hijacks ALL iframes and hides
   them off-screen, only re-showing its own LeadConnector forms. This covers the
   contact-full form, the Ethos Institute inquiry form, and any future embed. */
iframe[src*="docs.google.com/forms"] {
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  left: auto !important;
}

/* Footer logo lockup: ETHOS with WELLNESS tracked beneath (matches nav) */
.footer-logo { display: inline-block; width: max-content; line-height: 1.08; }
.footer-logo small { display: block; font-size: 12px; font-weight: 300; letter-spacing: 0.34em; margin-right: -0.34em; margin-top: 4px; }

/* Founder headshot: align to top so the head is never cropped in the tall slot */
.focus-photo img.founder-photo { object-position: top center; }

/* small mobile: any 2-col services grid (e.g. virtual's inline 1fr 1fr) collapses */
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr !important; }
}

/* team headshots: favor the top so heads are never cropped */
.team-card-img img { object-position: top center; }

/* ============================================================
   GROUP SCHEDULE TABLES (replaces the downloadable PDFs)
   ============================================================ */
.schedule-block { max-width: 1000px; margin: 0 auto 56px; }
.schedule-block h2 { color: var(--navy); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; text-align: center; margin: 0 0 6px; }
.schedule-block .schedule-loc { text-align: center; color: var(--stone); font-size: 14px; margin: 0 0 22px; }
.schedule-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; box-shadow: 0 10px 30px rgba(17,39,77,0.08); }
.schedule-table { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.schedule-table th, .schedule-table td { border: 1px solid rgba(17,39,77,0.1); padding: 14px 10px; text-align: center; font-size: 14px; vertical-align: middle; }
.schedule-table thead th { background: #fff; color: var(--navy); font-weight: 700; letter-spacing: 0.03em; }
.schedule-table thead th:first-child { background: #fff; }
.schedule-table .sched-section td { background: var(--forest); color: var(--off-white); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 13px; }
.schedule-table .sched-prog { background: var(--navy); color: var(--off-white); text-align: left; font-weight: 700; width: 22%; }
.schedule-table .sched-prog small { display: block; font-weight: 400; opacity: 0.82; font-size: 12px; margin-top: 3px; letter-spacing: 0.02em; }
.schedule-table td.cell { background: var(--cream); }
.schedule-table td.group { background: var(--cream); color: var(--navy); font-weight: 600; letter-spacing: 0.04em; }
.schedule-notes { max-width: 760px; margin: 0 auto; text-align: center; color: var(--stone); font-size: 13.5px; line-height: 1.7; }
.schedule-notes p { margin: 4px 0; }
@media (max-width: 600px) { .schedule-scroll { box-shadow: none; } }

/* ============================================================
   NAV DROPDOWN HOVER BRIDGE — fills the gap between the nav item
   and its dropdown so the menu doesn't close when the mouse
   crosses toward it (fixes "slides back out" on small desktop).
   ============================================================ */
.nav-dropdown::before,
.nav-mega::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 20px;
}
/* let the dropdown stay open while hovering the item OR the menu itself */
.nav-item:hover .nav-dropdown,
.nav-dropdown:hover,
.nav-item-mega:hover .nav-mega,
.nav-mega:hover {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   MOBILE MENU — gentle fade-in on open
   ============================================================ */
@keyframes ethosMenuFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mobile-nav-open .nav-links { animation: ethosMenuFade 0.22s ease-out both; }

.footer .footer-head { margin-top: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Mobile submenu fix: the desktop dropdown/mega rules appear later in this file
   and tie the mobile accordion rules on specificity, leaving the opened submenu
   absolutely positioned off-panel. These higher-specificity overrides restore
   in-flow accordion layout inside the mobile panel. */
.mobile-nav-open .nav-item .nav-dropdown,
.mobile-nav-open .nav-item-mega .nav-mega {
  position: static;
  transform: none;
  top: auto;
  left: auto;
  width: 100%;
  min-width: 0;
  display: none;
  opacity: 1;
  visibility: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0 0 14px;
}
.mobile-nav-open .nav-item.submenu-open > .nav-dropdown { display: block; }
.mobile-nav-open .nav-item.submenu-open > .nav-mega,
.mobile-nav-open .nav-item-mega.submenu-open > .nav-mega {
  display: flex;
  flex-direction: column;
  gap: 0;
}
