/* ── MENTAL HEALTH ASSOCIATES SA — SHARED STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

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

:root {
  --navy: #0d2240;
  --navy-mid: #1a3a5c;
  --navy-light: #243f60;
  --teal: #1d9e75;
  --teal-light: #e1f5ee;
  --teal-mid: #0f6e56;
  --sage: #5dcaa5;
  --sage-light: #9fe1cb;
  --warm-white: #fafaf8;
  --off-white: #f4f2ee;
  --text-dark: #1a1a1a;
  --text-mid: #4a5568;
  --text-light: #718096;
  --gold: #c8973a;
  --border: rgba(0,0,0,0.08);
  --border-mid: rgba(0,0,0,0.12);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--warm-white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4,h5 { font-family: 'DM Serif Display', serif; line-height: 1.18; letter-spacing: -0.015em; }
p { line-height: 1.75; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── TOP BAR ── */
.topbar { background: var(--navy); padding: 9px 0; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar a, .topbar span { font-size: 13px; color: rgba(255,255,255,0.65); }
.topbar a { transition: color 0.15s; }
.topbar a:hover { color: var(--sage); }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; }

/* ── NAV ── */
nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; box-shadow: var(--shadow-sm); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 46px; height: 46px; background: var(--teal); border-radius: 11px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 26px; height: 26px; fill: #fff; }
.logo-name { font-family: 'DM Serif Display', serif; font-size: 17px; color: var(--navy); display: block; line-height: 1.15; }
.logo-sub { font-size: 11px; color: var(--text-light); letter-spacing: 0.05em; text-transform: uppercase; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-mid); padding: 8px 13px; border-radius: 8px; display: block; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.nav-links a:hover { background: var(--off-white); color: var(--navy); }
.nav-links a.active { color: var(--teal); }
.has-dd > a::after { content: ' ▾'; font-size: 9px; opacity: 0.45; }
.dd { position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 8px; min-width: 230px; display: none; z-index: 300; }
.has-dd:hover .dd { display: block; }
.dd a { display: block; padding: 9px 13px; border-radius: 8px; font-size: 14px; color: var(--text-mid); }
.dd a:hover { background: var(--off-white); color: var(--navy); }
.nav-cta { background: var(--teal) !important; color: #fff !important; padding: 10px 20px !important; border-radius: 9px !important; font-weight: 600 !important; transition: background 0.15s !important; }
.nav-cta:hover { background: var(--teal-mid) !important; }
.nav-phone { font-size: 14px; font-weight: 600; color: var(--navy) !important; }

/* ── BUTTONS ── */
.btn { display: inline-block; padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 600; transition: transform 0.12s, box-shadow 0.12s, background 0.15s; cursor: pointer; border: none; }
.btn:hover { transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-mid); box-shadow: 0 4px 20px rgba(29,158,117,0.35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); }
.btn-outline-teal { background: transparent; color: var(--teal); border: 1.5px solid var(--teal); }
.btn-outline-teal:hover { background: var(--teal-light); }
.btn-outline-white { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.07); }
.btn-white { background: #fff; color: var(--teal-mid); }
.btn-white:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ── SECTION UTILITIES ── */
section { padding: 88px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section-label { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; display: block; }
.section-title { font-size: clamp(28px, 3vw, 44px); color: var(--navy); margin-bottom: 18px; }
.section-lead { font-size: 18px; color: var(--text-mid); max-width: 620px; line-height: 1.7; }
.section-head { margin-bottom: 56px; }
.section-head.centered { text-align: center; }
.section-head.centered .section-lead { margin: 0 auto; }
.divider { height: 1px; background: var(--border); margin: 0; }

/* ── PAGE HERO (interior pages) ── */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1f4068 100%); color: #fff; padding: 80px 0 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -120px; right: -120px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(29,158,117,0.14) 0%, transparent 68%); pointer-events: none; }
.page-hero::after { content: ''; position: absolute; bottom: -80px; left: 30%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(93,202,165,0.08) 0%, transparent 70%); pointer-events: none; }
.page-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(29,158,117,0.2); border: 1px solid rgba(93,202,165,0.3); color: var(--sage); font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: 999px; margin-bottom: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); color: #fff; margin-bottom: 18px; }
.page-hero h1 em { font-style: italic; color: var(--sage); }
.page-hero-lead { font-size: 18px; color: rgba(255,255,255,0.75); line-height: 1.65; margin-bottom: 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13); border-radius: var(--radius-xl); padding: 32px; backdrop-filter: blur(6px); }
.page-hero-card h3 { font-size: 20px; color: #fff; margin-bottom: 16px; }
.quick-facts { list-style: none; }
.quick-facts li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 15px; color: rgba(255,255,255,0.8); display: flex; align-items: flex-start; gap: 10px; }
.quick-facts li:last-child { border-bottom: none; }
.quick-facts li::before { content: '✓'; color: var(--sage); font-size: 13px; margin-top: 3px; flex-shrink: 0; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); flex-wrap: wrap; }
.breadcrumb-inner a { color: var(--teal); }
.breadcrumb-inner span { color: var(--text-light); }

/* ── CARDS ── */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card-icon { width: 54px; height: 54px; background: var(--teal-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex-shrink: 0; }
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-mid); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-q { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--navy); margin-bottom: 12px; }
.faq-a { font-size: 15px; color: var(--text-mid); line-height: 1.75; }

/* ── PROCESS STEPS ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border); align-items: start; }
.step:last-child { border-bottom: none; }
.step-num { width: 52px; height: 52px; background: var(--navy); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 20px; flex-shrink: 0; }
.step-content h3 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.step-content p { font-size: 15px; color: var(--text-mid); line-height: 1.7; }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(135deg, var(--teal-mid), var(--teal)); color: #fff; padding: 80px 0; }
.cta-band-inner { max-width: 700px; margin: 0 auto; padding: 0 28px; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3.5vw, 40px); color: #fff; margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.82); margin-bottom: 36px; }
.cta-band .hero-actions { justify-content: center; }

/* ── INSURANCE ROW ── */
.ins-row { display: flex; flex-wrap: wrap; gap: 10px; }
.ins-pill { background: var(--off-white); border: 1px solid var(--border); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 500; color: var(--text-mid); white-space: nowrap; }

/* ── REVIEW CARDS ── */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.stars { color: var(--gold); font-size: 15px; margin-bottom: 14px; display: block; letter-spacing: 2px; }
.review-text { font-size: 15px; color: var(--text-mid); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-av { width: 38px; height: 38px; background: var(--teal-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--teal-mid); flex-shrink: 0; }
.reviewer-name { font-size: 14px; font-weight: 600; color: var(--navy); }
.reviewer-loc { font-size: 12px; color: var(--text-light); }

/* ── TWO-COL CONTENT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.two-col.reverse > :first-child { order: 2; }
.two-col.reverse > :last-child { order: 1; }
.content-visual { border-radius: var(--radius-xl); overflow: hidden; background: linear-gradient(145deg, var(--teal-light), #c6eedd); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; position: relative; }
.content-visual svg { width: 80px; height: 80px; fill: var(--teal); opacity: 0.25; }
.visual-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(transparent, rgba(13,34,64,0.55)); color: #fff; font-family: 'DM Serif Display', serif; font-size: 17px; line-height: 1.3; }

/* ── STAT BAND ── */
.stat-band { background: var(--navy); padding: 56px 0; }
.stat-band-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-item { text-align: center; }
.stat-num { font-family: 'DM Serif Display', serif; font-size: 48px; color: var(--sage); line-height: 1; display: block; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.55); margin-top: 8px; }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,0.65); padding: 64px 0 32px; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 28px 52px; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.1fr; gap: 48px; }
.footer-brand-name { font-family: 'DM Serif Display', serif; font-size: 20px; color: #fff; display: block; margin-bottom: 6px; }
.footer-brand-sub { font-size: 11px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.social-row { display: flex; gap: 8px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.55); text-decoration: none; transition: background 0.15s; }
.social-btn:hover { background: rgba(255,255,255,0.16); color: #fff; }
.footer-col h4 { font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.15s; }
.footer-col ul li a:hover { color: var(--sage); }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.footer-contact-list li a { color: rgba(255,255,255,0.7); }
.footer-contact-list li a:hover { color: var(--sage); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 28px 0; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.3); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }
.privia-strip { background: var(--off-white); border-top: 1px solid var(--border); padding: 36px 0; }
.privia-strip-inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.privia-badge { background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 14px; border-radius: 6px; flex-shrink: 0; }
.privia-text { font-size: 14px; color: var(--text-mid); flex: 1; min-width: 250px; }
.privia-text a { color: var(--teal); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .page-hero-inner, .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse > :first-child { order: unset; }
  .two-col.reverse > :last-child { order: unset; }
  .stat-band-inner { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .stat-band-inner { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 60px 0 52px; }
}
