/* ============================================================
   Positive Recovery Centers — Main Stylesheet
   Built from web starter template. Brand colors, fonts,
   mega menu, sticky CTA, crisis banner, and all components.
   ============================================================ */

/* ============================================================
   CSS CUSTOM PROPERTIES — Positive Recovery Brand
   ============================================================ */
:root {
  /* Brand Blues */
  --primary-blue: #194a82;
  --secondary-blue: #9cc6df;
  --light-blue: #bdeaff;
  --faded-blue: #d5f6fd;
  --lightest-blue: #dff5ff;
  --navy: #001a54;
  --accent-blue: #5fc1e9;

  /* Brand Greens */
  --primary-green: #036f3e;
  --secondary-green: #9cbea5;

  /* Brand Yellow */
  --gold: #FFDE59;
  --gold-light: rgba(255, 222, 89, 0.15);

  /* Brand Neutrals */
  --khaki: #d9d1ca;

  /* Template Variables */
  --bg: #ffffff;
  --bg-alt: #f7fbfe;
  --bg-warm: #eef6f9;
  --bg-navy: #001a54;
  --text: #001a54;
  --text-muted: #3d5a80;
  --accent: #194a82;
  --accent-dark: #001a54;
  --accent-text: #194a82;
  --accent-light: #dff5ff;
  --secondary: #036f3e;
  --secondary-light: #9cbea5;
  --cta: #036f3e;
  --cta-hover: #025a32;
  --highlight: var(--gold);
  --border: #dde4e8;
  --white: #ffffff;

  /* Fonts — Arial. Plain. Clean. Easy to read. */
  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;

  /* Spacing */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1200px;
  --container-narrow: 800px;
  --nav-height: 80px;
  --banner-height: 40px;
}

/* No @font-face needed — using system font stack (Arial/Helvetica/SF Pro) */
/* Zero CLS, instant render, no font loading delay */

/* ============================================================
   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; }

/* Mobile overflow safety — break long words/URLs/emails that would otherwise drift off screen */
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, label, blockquote, figcaption {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Offset blue shadow on content images (not logos/icons/badges) */
.img-pop {
  box-shadow: 12px 12px 0 0 var(--secondary-blue);
  border-radius: var(--radius);
}
.img-pop-left {
  box-shadow: -12px 12px 0 0 var(--secondary-blue);
  border-radius: var(--radius);
}
a { color: inherit; text-decoration: none; }
/* Reserve space for JS-injected chrome and forms (CLS) */
#crisis-banner-slot { min-height: var(--banner-height); }
#nav-slot { min-height: var(--nav-height); }
[data-prc-form] { min-height: 520px; }
/* Inline links inside body prose must be visibly links (PRC review 2026-08) */
.body-text a, .lead a, .faq-a a { color: var(--primary-green); text-decoration: underline; text-underline-offset: 2px; transition: color 0.2s; }
.body-text a:hover, .lead a:hover, .faq-a a:hover { color: var(--navy); }
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; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }
.sec { padding: 100px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-warm { background: var(--bg-warm); }
.sec-navy { background: var(--bg-navy); color: var(--white); }
.sec-navy .label { color: #fff; }
.sec-navy .body-text { color: rgba(255,255,255,0.75); }
.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; color: var(--navy); font-weight: 900; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 16px; }
h3 { font-size: clamp(19px, 2vw, 26px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }
.label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 12px;
}
.body-text { color: var(--text-muted); line-height: 1.7; }
.lead { font-size: 19px; line-height: 1.7; color: var(--text-muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  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(--cta); color: var(--white); }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-secondary { background: var(--accent); color: var(--white); }
.btn-secondary: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); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--lightest-blue); }
.btn-phone {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--accent);
  font-weight: 700;
}
.btn-phone:hover { background: var(--accent); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 40px; font-size: 17px; }

/* ============================================================
   CRISIS BANNER — scrolls away naturally, not fixed
   ============================================================ */
.crisis-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 1001;
}
.crisis-banner a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.crisis-banner a:hover { color: var(--white); }

/* ============================================================
   NAVIGATION — Full-Width Mega Menu
   Top bar: Logo + nav triggers + CTAs
   Mega panel: Full-width dropdown with all columns visible
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

/* Top-level nav items */
.nav-triggers { display: flex; align-items: center; gap: 4px; }
.nav-trigger {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  padding: 10px 16px;
  transition: color 0.15s, background 0.15s;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  text-decoration: none;
}
.nav-trigger:hover,
.nav-trigger.active {
  color: var(--primary-green);
  background: var(--accent-light);
}
/* Arrow indicator for triggers that have mega panels */
button.nav-trigger::after {
  content: ' \25BE';
  font-size: 10px;
  opacity: 0.5;
}

/* Nav right CTAs */
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-cta-outline {
  padding: 9px 20px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-cta-outline:hover { background: var(--gold); color: var(--navy); }
.nav-cta-call {
  padding: 9px 20px;
  background: var(--cta);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  color: var(--white);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav-cta-call:hover { background: var(--cta-hover); }
.nav-cta-call svg { width: 16px; height: 16px; }

/* Full-width mega panels — absolute to nav, one per trigger */
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--primary-green);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  padding: 36px 0 40px;
  display: none;
  z-index: 999;
  max-height: 80vh;
  overflow-y: auto;
}
.mega-panel.open { display: block; }

.mega-panel-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Mega grid layouts vary per panel */
.mega-grid {
  display: grid;
  gap: 40px;
}
.mega-grid-treatment { grid-template-columns: 1fr 1fr; }
.mega-grid-locations { grid-template-columns: 1fr 1fr 1fr; }
.mega-grid-simple { grid-template-columns: 1fr; max-width: 400px; }

/* Column headers */
.mega-col h5 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-light);
}

/* Mega menu links — BIG, CLEAR, BOX HIGHLIGHT on hover */
.mega-col a {
  display: block;
  padding: 7px 14px;
  margin: 1px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: background 0.12s, color 0.12s;
}
.mega-col a:hover {
  background: var(--accent-light);
  color: var(--primary-green);
}

/* Location cards — extra interactive */
.mega-location-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 2px solid transparent;
  transition: all 0.15s;
  text-decoration: none;
  color: var(--navy);
}
.mega-location-card:hover {
  background: var(--primary-green);
  color: var(--white);
  border-color: var(--primary-green);
}
.mega-location-card svg { width: 28px; height: 28px; flex-shrink: 0; opacity: 0.5; }
.mega-location-card:hover svg { opacity: 1; stroke: var(--white); }
.mega-location-card strong { font-size: 17px; font-weight: 700; display: block; }
.mega-location-card .loc-count {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}
.mega-location-card:hover .loc-count { color: rgba(255,255,255,0.8); }
.mega-location-card .loc-areas {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}
.mega-location-card:hover .loc-areas { color: rgba(255,255,255,0.7); }
.mega-location-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.mega-location-footer a {
  font-weight: 700;
  color: var(--accent);
  font-size: 15px;
  padding: 8px 14px;
}
.mega-location-footer a:hover { background: var(--accent-light); color: var(--primary-green); }

/* Mega menu campus buttons: navy -> lighter blue on hover */
.campus-btn:hover {
  background: var(--primary-blue) !important;
}
/* Mega menu region buttons: light green/navy text -> dark green/white text on hover */
.region-btn:hover {
  background: var(--primary-green) !important;
  color: white !important;
}

/* ============================================================
   INTERACTIVE TABS — Substance & Service selectors
   Pills act as tabs, clicking reveals content panel below
   ============================================================ */
.tab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 32px;
}
.tab-pill {
  display: inline-block;
  padding: 10px 22px;
  background: var(--bg-alt);
  border: 2px solid var(--border);
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.tab-pill:hover {
  border-color: var(--primary-green);
  background: var(--accent-light);
}
.tab-pill.active {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

/* Tab content panels */
.tab-panels {}
.tab-panel {
  display: none;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  animation: tabFadeIn 0.3s ease;
}
.tab-panel.active { display: block; }
.tab-panel h3 { margin-bottom: 12px; font-size: 22px; }
.tab-panel p { color: var(--text-muted); line-height: 1.7; }
.tab-panel .tab-meta {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.tab-panel .tab-meta-item {
  font-size: 14px;
  color: var(--text-muted);
}
.tab-panel .tab-meta-item strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
}
.tab-panel .tab-cta {
  margin-top: 20px;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SELF-ASSESSMENT QUIZ
   ============================================================ */
.quiz-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.1);
  overflow: hidden;
}
.quiz-progress {
  height: 6px;
  background: var(--border);
}
.quiz-progress-bar {
  height: 100%;
  background: var(--primary-green);
  transition: width 0.4s ease;
  border-radius: 0 3px 3px 0;
}
.quiz-step {
  display: none;
  padding: 40px 36px;
  animation: quizFadeIn 0.35s ease;
}
.quiz-step.active { display: block; }
.quiz-step h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--navy);
}
.quiz-step p {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 15px;
}
.quiz-step .quiz-counter {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  text-align: left;
  width: 100%;
  background: var(--white);
}
.quiz-option:hover {
  border-color: var(--primary-green);
  background: var(--accent-light);
}
.quiz-option.selected {
  border-color: var(--primary-green);
  background: var(--primary-green);
  color: white;
}
.quiz-option .quiz-radio {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.quiz-option.selected .quiz-radio {
  border-color: white;
  background: white;
}
.quiz-option.selected .quiz-radio::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary-green);
  border-radius: 50%;
}
.quiz-input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  color: var(--navy);
  transition: border-color 0.15s;
  margin-bottom: 12px;
}
.quiz-input:focus {
  outline: none;
  border-color: var(--primary-green);
}
.quiz-input::placeholder { color: #aab;  }
.quiz-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--primary-green);
  color: white;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  margin-top: 8px;
}
.quiz-next:hover { background: var(--cta-hover); }
.quiz-next:disabled { opacity: 0.4; cursor: not-allowed; }
.quiz-result {
  text-align: center;
  padding: 48px 36px;
}
/* Quiz result levels */
.quiz-result-level {
  display: inline-block;
  padding: 8px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.quiz-level-possible { background: rgba(255,222,89,0.2); color: #b8860b; }
.quiz-level-moderate { background: #fff3e0; color: #e65100; }
.quiz-level-high { background: #fbe9e7; color: #c62828; }
.quiz-result h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.quiz-result p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Location tag cloud pills — standard (pages) */
.loc-pill {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.15s;
  text-decoration: none;
}
.loc-pill:hover {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}
/* Mega menu pills — yellow glow */
.mega-pill {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 222, 89, 0.15);
  border: 1px solid var(--gold);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  transition: all 0.15s;
  text-decoration: none;
}
.mega-pill:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Blog preview in mega menu */
.mega-blog-preview {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 20px !important;
  margin: -20px 0;
}
.mega-blog-post {
  display: block;
  padding: 12px 14px !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--border);
}
.mega-blog-post:last-of-type { border-bottom: none; }
.mega-blog-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}
.mega-blog-date {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Mobile toggle — Blue plus icon (thick, square edges) */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  position: relative;
}
.mobile-toggle span {
  display: block;
  position: absolute;
  background: var(--primary-blue);
  border-radius: 0;
  transition: all 0.3s ease;
}
.mobile-toggle span:nth-child(1) {
  width: 28px;
  height: 4px;
}
.mobile-toggle span:nth-child(2) {
  width: 4px;
  height: 28px;
}

/* Close button inside mobile menu */
.mobile-close {
  position: absolute;
  top: 16px;
  right: 24px;
  width: 48px;
  height: 48px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-close span {
  display: block;
  position: absolute;
  background: var(--primary-blue);
  border-radius: 0;
  width: 28px;
  height: 4px;
}
.mobile-close span:nth-child(1) {
  transform: rotate(45deg);
}
.mobile-close span:nth-child(2) {
  transform: rotate(-45deg);
}

/* Plus burst animation — circle expands from toggle */
.mobile-menu {
  clip-path: circle(0% at calc(100% - 48px) 40px);
  transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-nav-open .mobile-menu {
  clip-path: circle(150% at calc(100% - 48px) 40px);
}

/* Stagger content fade-in */
.mobile-nav-open .mobile-menu-start,
.mobile-nav-open .mobile-section,
.mobile-nav-open .mobile-direct,
.mobile-nav-open .mobile-menu-ctas {
  animation: menuItemIn 0.3s ease forwards;
  opacity: 0;
}
.mobile-nav-open .mobile-menu-start { animation-delay: 0.15s; }
.mobile-nav-open .mobile-section:nth-child(2) { animation-delay: 0.2s; }
.mobile-nav-open .mobile-section:nth-child(3) { animation-delay: 0.25s; }
.mobile-nav-open .mobile-section:nth-child(4) { animation-delay: 0.3s; }
.mobile-nav-open .mobile-section:nth-child(5) { animation-delay: 0.35s; }
.mobile-nav-open .mobile-section:nth-child(6) { animation-delay: 0.4s; }
.mobile-nav-open .mobile-menu-ctas { animation-delay: 0.45s; }

@keyframes menuItemIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Subtle pulse on the plus icon to draw attention */
@media (max-width: 1024px) {
  .mobile-toggle {
    animation: plusPulse 2s ease-in-out 1s 1;
  }
}
@keyframes plusPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
/* Hero slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,26,84,0.82) 0%, rgba(25,74,130,0.65) 50%, rgba(3,111,62,0.45) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: var(--white);
}
.hero-content h1 { color: var(--white); }
.hero-content .label { color: var(--secondary-green); }
.hero-desc {
  font-size: 19px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 16px 0 32px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-bar {
  padding: 32px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.trust-badge img { height: 48px; width: auto; }
.trust-badge svg { width: 32px; height: 32px; color: var(--primary-green); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  background: var(--white);
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); }
.card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
}
.card-link:hover { color: var(--primary-green); }

/* Service card icon */
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--accent); }

/* Location card */
.location-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: all 0.3s ease;
}
.location-card:hover { border-color: var(--primary-green); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.location-card h4 { color: var(--navy); margin-bottom: 4px; }
.location-card .location-type {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary-green);
  margin-bottom: 12px;
}
.location-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.location-card .location-phone {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}

/* Staff card */
.staff-card {
  text-align: center;
  padding: 32px 24px;
}
.staff-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--secondary-blue);
}
.staff-card h4 { margin-bottom: 4px; }
.staff-card .staff-title {
  font-size: 14px;
  color: var(--primary-green);
  font-weight: 600;
}
.staff-card .staff-bio {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* Testimonial card */
.testimonial-card {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 72px;
  color: var(--secondary-blue);
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
}
.testimonial-card blockquote {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  padding-top: 32px;
  font-style: italic;
  flex: 1;
}
.testimonial-card cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.testimonial-card .testimonial-source {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ============================================================
   INSURANCE STRIP
   ============================================================ */
.insurance-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 24px 0;
}
.insurance-strip img {
  height: 36px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.2s;
  filter: grayscale(100%);
}
.insurance-strip img:hover { opacity: 1; filter: grayscale(0%); }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
/* Body spacer for inner pages (non-hero) — not needed with sticky nav */

.breadcrumb {
  padding: 24px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }

/* ============================================================
   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;
  color: var(--navy);
}
.faq-q::after {
  content: '+';
  font-size: 24px;
  color: var(--primary-green);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-q::after { content: '\2212'; }
.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; }

/* ============================================================
   Continuum of Care (Foundation to Transformation)
   Each level of care is its own cell. Horizontal stepper on
   desktop, readable vertical timeline on mobile.
   ============================================================ */
.continuum { display: flex; gap: 16px; align-items: stretch; margin: 32px 0 24px; }
.continuum-step {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 16px 24px; border-radius: 22px;
  color: #fff; text-decoration: none;
  position: relative; transition: transform .15s ease, box-shadow .15s ease;
}
a.continuum-step:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.continuum-step:nth-child(1) { background: #16335f; --cell: #16335f; }
.continuum-step:nth-child(2) { background: #2a4a73; --cell: #2a4a73; }
.continuum-step:nth-child(3) { background: #3a5f72; --cell: #3a5f72; }
.continuum-step:nth-child(4) { background: #3c6c64; --cell: #3c6c64; }
.continuum-step:nth-child(5) { background: #2c7351; --cell: #2c7351; }
.continuum-step:nth-child(6) { background: #1b6e44; --cell: #1b6e44; }
.continuum-step:nth-child(7) { background: #0e5c38; --cell: #0e5c38; }
/* Order inside each cell: icon, then title, then description */
.continuum-icon {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.55);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
}
.continuum-icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; }
.continuum-title { font-weight: 700; font-size: 15px; line-height: 1.25; margin-bottom: 8px; }
.continuum-title em { display: block; font-style: normal; font-weight: 500; font-size: 12px; opacity: .82; margin-top: 2px; }
.continuum-text { font-size: 12.5px; line-height: 1.5; opacity: .9; }
/* Bolder gold connector arrow */
.continuum-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -15px; z-index: 3;
  transform: translateY(-50%);
  border-top: 11px solid transparent; border-bottom: 11px solid transparent;
  border-left: 15px solid var(--gold, #c9a24a);
  filter: drop-shadow(1px 1px 0 var(--cell, #16335f)) drop-shadow(-1px -1px 0 var(--cell, #16335f)) drop-shadow(1px -1px 0 var(--cell, #16335f)) drop-shadow(-1px 1px 0 var(--cell, #16335f));
}
.continuum-tagline { text-align: center; font-size: 19px; font-weight: 800; color: var(--navy); margin: 4px 0 0; letter-spacing: .3px; }
.continuum-tagline em { display: block; font-style: italic; font-weight: 500; font-size: 16px; color: var(--primary-green); margin-top: 6px; }

/* ============================================================
   Insurance logo marquee (homepage) — infinite left scroll
   Two identical halves; -50% shift = seamless loop.
   ============================================================ */
.ins-marquee { position: absolute; inset: 0; overflow: hidden; }
.ins-marquee-track { display: flex; align-items: center; width: max-content; height: 100%; animation: ins-marquee-scroll 180s linear infinite; will-change: transform; }
.ins-marquee-track img { height: 165%; width: auto; display: block; flex: none; opacity: 0.15; filter: brightness(0) invert(1); }
@keyframes ins-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ins-marquee-track { animation: none; } }

@media (max-width: 768px) {
  .continuum { flex-direction: column; gap: 14px; }
  .continuum-step { padding: 16px 18px; border-radius: 16px; }
  .continuum-icon { width: 46px; height: 46px; margin-bottom: 10px; }
  .continuum-icon svg { width: 22px; height: 22px; }
  .continuum-title { min-height: 0; font-size: 16px; margin-bottom: 6px; }
  .continuum-title em { display: inline; margin-left: 4px; }
  .continuum-text { font-size: 14px; }
  .continuum-step:not(:last-child)::after {
    top: auto; right: auto; bottom: -17px; left: 50%; transform: translateX(-50%);
    border-left: 11px solid transparent; border-right: 11px solid transparent;
    border-top: 15px solid var(--gold, #c9a24a); border-bottom: 0;
    filter: drop-shadow(1px 1px 0 var(--cell, #16335f)) drop-shadow(-1px -1px 0 var(--cell, #16335f)) drop-shadow(1px -1px 0 var(--cell, #16335f)) drop-shadow(-1px 1px 0 var(--cell, #16335f));
  }
}

/* ============================================================
   FORM OVERLAY
   ============================================================ */
.form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,26,84,0.6);
  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(--white);
  border-radius: var(--radius-lg);
  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;
}

/* ============================================================
   STATS ROW
   ============================================================ */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
  padding: 48px 0;
}
.stat { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  color: var(--primary-green);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: 64px 0 32px; background: var(--navy); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 12px; }
.footer h4 { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; color: var(--secondary-blue); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-areas-all { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--secondary-blue); transition: color 0.2s; }
.footer-areas-all:hover { color: var(--white); }
.footer-grid > div { min-width: 0; }
.footer-locs { margin-bottom: 32px; }
.footer-locs-row { font-size: 12.5px; line-height: 1.9; margin-bottom: 4px; }
.footer-locs-region { font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255,255,255,0.4); font-size: 11px; margin-right: 10px; }
.footer-locs ul { display: inline; list-style: none; }
.footer-locs li { display: inline; }
.footer-locs li::after { content: "\00B7"; color: rgba(255,255,255,0.25); margin: 0 7px; }
.footer-locs li:last-child::after { content: ""; margin: 0; }
.footer-locs a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-locs a:hover { color: var(--white); }
.footer-phone {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-top: 8px;
}
.footer-social { display: flex; gap: 16px; margin-top: 16px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.2); }
.footer-social svg { width: 18px; height: 18px; fill: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   FLOATING CALL BUTTON (mobile only)
   ============================================================ */
.floating-call {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 60px;
  height: 60px;
  background: var(--cta);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(3, 111, 62, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.floating-call:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(3, 111, 62, 0.5);
}
.floating-call svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

/* ============================================================
   "I DON'T KNOW WHERE TO START" SECTION
   ============================================================ */
.start-section {
  background: linear-gradient(135deg, var(--lightest-blue) 0%, var(--light-yellow) 100%);
  padding: 80px 0;
}
.start-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.start-card h2 { margin-bottom: 16px; }
.start-options {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.start-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--navy);
}
.start-option:hover { border-color: var(--primary-green); background: var(--white); }
.start-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.start-option h4 { margin-bottom: 2px; font-size: 16px; }
.start-option p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* ============================================================
   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; }
.anim-d4 { transition-delay: 0.4s; }

/* ============================================================
   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-triggers { display: none; }
  .nav-right { display: none; }
  .mobile-toggle { display: flex; }
  .mega-panel { display: none; }
  .floating-call { display: flex; }
  .stats-row { gap: 32px; }
}

@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: 70vh; }
  .hero-actions { flex-direction: column; }
  .hero-desc { font-size: 17px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .trust-bar-inner { gap: 24px; }
  .stats-row { gap: 24px; }
  body { padding-bottom: 0; }
}

/* ============================================================
   MOBILE NAV OVERLAY
   Full-screen, plus (+) expand animations, clean white bg
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 0;
  background: var(--white);
  z-index: 9999;
  overflow-y: auto;
  padding: calc(var(--nav-height) + 16px) 0 120px;
  /* clip-path animation handled above */
}

/* Mobile: "I Don't Know Where to Start" highlighted at top */
.mobile-menu-start {
  display: block;
  background: var(--accent-light);
  padding: 16px 24px;
  font-weight: 700;
  font-size: 17px;
  color: var(--primary-green);
  border-bottom: 1px solid var(--border);
}
.mobile-menu-start:hover { background: var(--primary-green); color: var(--white); }

/* Mobile accordion sections */
.mobile-section { border-bottom: 1px solid var(--border); }
.mobile-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  width: 100%;
  text-align: left;
}
.mobile-section-header::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--primary-green);
  transition: transform 0.3s ease;
}
.mobile-section.open .mobile-section-header::after {
  content: '\2212';
}
.mobile-section-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--bg-alt);
}
.mobile-section.open .mobile-section-body {
  max-height: 1200px;
}
.mobile-section-body a {
  display: block;
  padding: 10px 24px 10px 40px;
  font-size: 15px;
  color: var(--navy);
  transition: color 0.15s, background 0.15s;
}
.mobile-section-body a:hover { color: var(--primary-green); background: var(--accent-light); }
.mobile-section-body .mobile-sub-label {
  display: block;
  padding: 12px 24px 4px 40px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* Inpatient vs outpatient distinction in the Locations mobile menu (gold = inpatient, green = outpatient) */
.mobile-section-body .mobile-label-inpatient {
  display: inline-block;
  margin: 14px 24px 6px 40px;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 4px;
  letter-spacing: 1px;
}
.mobile-section-body .mobile-label-outpatient {
  display: inline-block;
  margin: 14px 24px 6px 40px;
  padding: 4px 12px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 4px;
  letter-spacing: 1px;
}
.mobile-section-body a.mobile-inpatient-link {
  font-weight: 700;
  border-left: 3px solid var(--gold);
  padding-left: 37px;
}
/* Treatment menu group chips (Jamie: same treatment as Locations) */
.mobile-section-body .mobile-label-programs,
.mobile-section-body .mobile-label-substance,
.mobile-section-body .mobile-label-who {
  display: inline-block;
  margin: 14px 24px 6px 40px;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.mobile-section-body .mobile-label-programs { background: var(--primary-green); color: var(--white); }
.mobile-section-body .mobile-label-substance { background: var(--rust, #B85448); color: var(--white); }
.mobile-section-body .mobile-label-who { background: var(--primary-blue); color: var(--white); }

/* Mobile direct links (no accordion) */
.mobile-direct {
  display: block;
  padding: 16px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}
.mobile-direct:hover { color: var(--primary-green); }

/* Mobile CTAs at bottom of menu */
.mobile-menu-ctas {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu-ctas .btn { width: 100%; }

@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 600px; }
}

/* Screen-reader-only utility */
.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;
}

/* Buttons inside blog post bodies: the post template's `.post-article a` green-link rule
   must not recolor button text (green-on-green phone buttons in inline CTAs) */
.post-article a.btn { text-decoration: none; }
.post-article a.btn-primary { color: var(--white); }
.post-article a.btn-secondary { color: var(--white); }
.post-article a.btn-outline { color: var(--text); }
.post-article a.btn-outline:hover { color: var(--accent); }
