/* ==========================================================================
   MHAC - Clinical Trust #3 + Progressive Disclosure #10
   Color Palette: Medical Blue, Trust Blue, Health Green
   Typography: Roboto + Open Sans
   ========================================================================== */

/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #212529;
  background: #FFFFFF;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #1E5AA8; text-decoration: none; transition: color .3s; }
a:hover { color: #4A90D9; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #1A202C;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #1E5AA8;
  color: #fff;
  padding: .5rem 1rem;
  z-index: 10000;
  border-radius: 4px;
  font-weight: 500;
}
.skip-link:focus { top: 1rem; }

/* ---------- Utility ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 4px;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background .3s, transform .2s, box-shadow .3s;
  border: none;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.btn-primary { background: #1E5AA8; color: #fff; }
.btn-primary:hover { background: #174a8a; color: #fff; }
.btn-secondary { background: #28A745; color: #fff; }
.btn-secondary:hover { background: #1e8c38; color: #fff; }
.btn-outline { background: transparent; color: #1E5AA8; border: 2px solid #1E5AA8; }
.btn-outline:hover { background: #1E5AA8; color: #fff; }
.btn-white { background: #fff; color: #1E5AA8; }
.btn-white:hover { background: #F8F9FA; color: #1E5AA8; }
.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  transition: background .3s, box-shadow .3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.header-logo {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1E5AA8;
}
.header-logo span { color: #28A745; }
.header-phone {
  display: none;
  font-weight: 600;
  color: #1E5AA8;
}
.header-phone a { color: #1E5AA8; }
.header-cta { display: none; }
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .25rem;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #1E5AA8;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,.1);
  transition: right .35s ease;
  z-index: 999;
  padding: 5rem 2rem 2rem;
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block;
  padding: .75rem 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #212529;
  border-bottom: 1px solid #F8F9FA;
}
.mobile-nav a:hover, .mobile-nav a.active { color: #1E5AA8; }
.mobile-nav .nav-cta {
  margin-top: 1.5rem;
  display: block;
  text-align: center;
}
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }

/* ---------- Progress Bar ---------- */
.progress-bar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #1E5AA8, #28A745);
  z-index: 999;
  transition: width .1s linear;
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 60px;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,90,168,.85) 0%, rgba(74,144,217,.65) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 2rem 1.25rem;
}
.hero-content h1 {
  color: #fff;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  opacity: .95;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-phone {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
}
.hero-phone a { color: #fff; }

/* ---------- Page Hero (Inner Pages) ---------- */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background-size: cover;
  background-position: center;
  margin-top: 60px;
}
.page-hero .hero-overlay {
  background: linear-gradient(135deg, rgba(30,90,168,.9) 0%, rgba(74,144,217,.7) 100%);
}
.page-hero .hero-content h1 { font-size: 2rem; }
.page-hero .hero-content p { font-size: 1.05rem; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: #F8F9FA;
  border-bottom: 1px solid #e9ecef;
  padding: 1.25rem 0;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: center;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 500;
  color: #1E5AA8;
}
.trust-item .icon {
  width: 28px;
  height: 28px;
  background: #1E5AA8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}

/* ---------- Section Base ---------- */
.section {
  padding: 4rem 0;
}
.section-alt {
  background: #F8F9FA;
}
.section-title {
  text-align: center;
  margin-bottom: .75rem;
  color: #1E5AA8;
}
.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: #555;
  font-size: 1.05rem;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: #28A745;
  margin: .75rem auto 1.5rem;
  border-radius: 2px;
}

/* ---------- Progressive Disclosure / Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Card Grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body {
  padding: 1.5rem;
}
.card-body h3 { margin-bottom: .5rem; }
.card-body p { color: #555; font-size: .95rem; }
.card-icon {
  width: 50px;
  height: 50px;
  background: #EBF3FB;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E5AA8;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ---------- Feature Grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .75rem;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: #1E5AA8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-bottom: .25rem;
}
.feature-item h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E5AA8;
  margin: 0;
}
.feature-item p {
  color: #555;
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
}
.feature-text h4 { margin-bottom: .25rem; }
.feature-text p { color: #555; font-size: .9rem; margin: 0; }

/* ---------- Stats ---------- */
.stats-bar {
  background: #1E5AA8;
  color: #fff;
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.25rem;
  color: #fff;
  margin-bottom: .25rem;
}
.stat-item p {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  margin: 0;
}

/* ---------- Two Column ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.two-col-img {
  border-radius: 4px;
  overflow: hidden;
}
.two-col-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.testimonial-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 1.75rem;
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  font-size: 3rem;
  color: #4A90D9;
  position: absolute;
  top: .5rem;
  left: 1rem;
  line-height: 1;
  opacity: .3;
}
.testimonial-card blockquote {
  font-style: italic;
  color: #444;
  margin-bottom: 1rem;
  padding-top: 1rem;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: #1E5AA8;
  display: block;
}
.testimonial-card .program {
  font-size: .85rem;
  color: #777;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #1E5AA8, #4A90D9);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: .5rem; }
.cta-banner p { color: rgba(255,255,255,.9); margin-bottom: 1.5rem; font-size: 1.1rem; }
.cta-phone {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.cta-phone a { color: #fff; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Accordion / FAQ ---------- */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  border: 1px solid #e9ecef;
  border-radius: 4px;
  margin-bottom: .75rem;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  background: #fff;
  border: none;
  padding: 1.25rem;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #212529;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.accordion-header:hover { background: #F8F9FA; }
.accordion-header .icon-toggle {
  font-size: 1.25rem;
  transition: transform .3s;
  color: #1E5AA8;
}
.accordion-item.active .accordion-header { background: #EBF3FB; color: #1E5AA8; }
.accordion-item.active .icon-toggle { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.accordion-body-inner {
  padding: 0 1.25rem 1.25rem;
  color: #555;
  line-height: 1.7;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding: 1rem 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #4A90D9;
}
.timeline-item {
  position: relative;
  padding-left: 55px;
  margin-bottom: 2rem;
}
.timeline-dot {
  position: absolute;
  left: 10px;
  top: 4px;
  width: 22px;
  height: 22px;
  background: #1E5AA8;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #4A90D9;
  border-radius: 50%;
}
.timeline-item h4 { margin-bottom: .25rem; color: #1E5AA8; }
.timeline-item p { color: #555; margin: 0; font-size: .95rem; }

/* ---------- Insurance Grid ---------- */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.insurance-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  color: #333;
  transition: border-color .3s;
}
.insurance-item:hover { border-color: #1E5AA8; }

/* ---------- Blog Grid ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.blog-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-body {
  padding: 1.25rem;
}
.blog-card-body .category {
  display: inline-block;
  background: #EBF3FB;
  color: #1E5AA8;
  padding: .2rem .6rem;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: .5rem;
}
.blog-card-body h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.blog-card-body h3 a { color: #212529; }
.blog-card-body h3 a:hover { color: #1E5AA8; }
.blog-card-body p { color: #555; font-size: .9rem; }
.blog-card-body .read-more {
  color: #1E5AA8;
  font-weight: 500;
  font-size: .9rem;
}

/* ---------- Contact Info ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.contact-info-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: #1E5AA8;
  color: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail h4 { margin-bottom: .25rem; }
.contact-detail p { color: #555; margin: 0; font-size: .95rem; }
.contact-detail a { color: #1E5AA8; font-weight: 500; }

/* Map */
.map-container {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e9ecef;
}
.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* ---------- Continue / Learn More Buttons (Progressive Disclosure) ---------- */
.continue-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #1E5AA8;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem 0;
  transition: color .3s;
}
.continue-btn:hover { color: #28A745; }
.continue-btn .arrow {
  display: inline-block;
  transition: transform .3s;
}
.continue-btn:hover .arrow { transform: translateY(3px); }

/* ---------- Program Tabs ---------- */
.program-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.program-tab {
  background: #F8F9FA;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: .6rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  color: #555;
  transition: all .3s;
  font-family: 'Roboto', sans-serif;
  font-size: .9rem;
}
.program-tab:hover, .program-tab.active {
  background: #1E5AA8;
  color: #fff;
  border-color: #1E5AA8;
}

/* ---------- Table ---------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.comparison-table th {
  background: #1E5AA8;
  color: #fff;
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 500;
}
.comparison-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  color: #555;
}
.comparison-table tr:nth-child(even) td { background: #F8F9FA; }

/* ---------- Privacy / Legal ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: .75rem;
  color: #1E5AA8;
}
.legal-content h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
  margin-bottom: .5rem;
}
.legal-content p, .legal-content li {
  color: #555;
  font-size: .95rem;
}
.legal-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #1A202C;
  color: #ccc;
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: .5rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #28A745;
}
.footer-col p { font-size: .9rem; color: #aaa; }
.footer-col a { color: #ccc; font-size: .9rem; transition: color .3s; }
.footer-col a:hover { color: #4A90D9; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact-item {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin-bottom: .5rem;
  font-size: .9rem;
}
.footer-contact-item .f-icon { color: #4A90D9; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid #333;
  padding: 1.25rem 0;
  text-align: center;
  font-size: .85rem;
  color: #888;
}
.footer-bottom a { color: #aaa; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: .75rem 0;
  font-size: .85rem;
  color: #777;
}
.breadcrumbs a { color: #4A90D9; }
.breadcrumbs span { margin: 0 .35rem; }

/* ---------- HIPAA Notice ---------- */
.hipaa-notice {
  background: #EBF3FB;
  border-left: 4px solid #1E5AA8;
  padding: 1rem 1.25rem;
  border-radius: 0 4px 4px 0;
  margin: 1.5rem 0;
}
.hipaa-notice p { margin: 0; font-size: .9rem; color: #333; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========== AGENT-GENERATED CLASS COVERAGE ========== */

/* ---------- Button Large ---------- */
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }

/* ---------- Hero Extras ---------- */
.hero-subtitle { font-size: 1.15rem; opacity: .95; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.9); }
.page-hero a:not(.btn) { color: rgba(255,255,255,.9); }
.page-hero .hero-buttons { margin-top: 1.5rem; }

/* ---------- Trust Items (index alias for trust-bar-grid) ---------- */
.trust-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  text-align: center;
}
.trust-icon { font-size: 1.25rem; margin-right: .35rem; }

/* ---------- Section Header / Label ---------- */
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 { color: #1E5AA8; margin-bottom: .5rem; }
.section-header p { max-width: 700px; margin: 0 auto; color: #555; font-size: 1.05rem; }
.section-label {
  display: inline-block;
  background: #EBF3FB;
  color: #1E5AA8;
  padding: .25rem .75rem;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .75rem;
}
.section-intro { max-width: 700px; margin: 0 auto; color: #555; font-size: 1.05rem; }

/* ---------- Content Grid (about/programs) ---------- */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.content-text p { color: #555; }
.content-image img { width: 100%; height: auto; border-radius: 4px; object-fit: cover; }

/* ---------- About Preview (index) ---------- */
.about-preview { padding: 4rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.about-image img { width: 100%; height: auto; border-radius: 4px; object-fit: cover; }

/* ---------- Programs Grid (index) ---------- */
.programs-overview { padding: 4rem 0; background: #F8F9FA; }
.programs-grid, .program-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.program-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 1.75rem;
  transition: transform .3s, box-shadow .3s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  color: inherit;
}
.program-icon, .program-card-icon {
  width: 50px;
  height: 50px;
  background: #EBF3FB;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E5AA8;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.program-card h3 { margin-bottom: .5rem; }
.program-card p { color: #555; font-size: .95rem; }
.card-link, .program-card-link {
  color: #1E5AA8;
  font-weight: 500;
  font-size: .9rem;
  display: inline-block;
  margin-top: .75rem;
}
.program-card-duration {
  display: inline-block;
  background: #EBF3FB;
  color: #1E5AA8;
  padding: .2rem .6rem;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 600;
  margin-top: .5rem;
  margin-bottom: .5rem;
}

/* ---------- Features Grid (index alias) ---------- */
.why-choose { padding: 4rem 0; background: #F8F9FA; }
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* ---------- Amenities (index) ---------- */
.amenities-preview { padding: 4rem 0; }
.amenities-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.amenity-img img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }
.amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.amenities-list span {
  background: #EBF3FB;
  color: #1E5AA8;
  padding: .35rem .75rem;
  border-radius: 4px;
  font-size: .85rem;
  font-weight: 500;
}

/* ---------- Stats Extensions ---------- */
.stat-number {
  display: block;
  font-family: 'Roboto', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .25rem;
}
.stat-label { display: block; color: rgba(255,255,255,.8); font-size: .95rem; }

/* ---------- Testimonials (index) ---------- */
.testimonials { padding: 4rem 0; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.testimonial-stars { color: #F5A623; font-size: 1rem; margin-bottom: .5rem; letter-spacing: 2px; }
.testimonial-content { margin-bottom: 1rem; }
.testimonial-author { display: flex; flex-direction: column; gap: .15rem; }
.author-name { font-weight: 600; color: #1E5AA8; }
.author-detail { font-size: .85rem; color: #777; }

/* ---------- CTA Content ---------- */
.cta-content { text-align: center; }

/* ---------- Mission Block (about) ---------- */
.mission-block {
  background: linear-gradient(135deg, #1E5AA8, #4A90D9);
  border-radius: 4px;
  padding: 2.5rem;
  margin: 2.5rem 0;
  text-align: center;
  color: #fff;
}
.mission-block h3 { color: #fff; margin-bottom: 1rem; }
.mission-block blockquote { font-style: italic; font-size: 1.1rem; }
.mission-block blockquote p { color: rgba(255,255,255,.95); }
.mission-inner { max-width: 700px; margin: 0 auto; }

/* ---------- Values Grid (about) ---------- */
.values-grid { margin: 2.5rem 0; }
.values-heading { text-align: center; color: #1E5AA8; margin-bottom: 1.5rem; }
.values-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.value-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.value-icon { font-size: 1.75rem; color: #1E5AA8; margin-bottom: .75rem; }
.value-card h4 { margin-bottom: .5rem; }
.value-card p { color: #555; font-size: .9rem; margin: 0; }

/* ---------- Stats Row (about) ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.stat-card {
  background: #1E5AA8;
  color: #fff;
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
}
.stat-card .stat-number { font-size: 2rem; }

/* ---------- Modalities (about/programs) ---------- */
.modalities-grid, .modalities-section { margin: 2.5rem 0; }
.modalities-grid h3, .modalities-section h3 { color: #1E5AA8; margin-bottom: 1.5rem; text-align: center; }
.modality-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.modality-card {
  background: #F8F9FA;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 1.25rem;
}
.modality-card h4 { color: #1E5AA8; margin-bottom: .35rem; }
.modality-card p { color: #555; font-size: .9rem; margin: 0; }

/* ---------- Continuum (about) ---------- */
.continuum { margin: 2.5rem 0; }
.continuum h3 { color: #1E5AA8; margin-bottom: .5rem; }
.continuum > p { color: #555; margin-bottom: 1.5rem; }
.continuum-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.continuum-step { display: flex; gap: 1rem; align-items: flex-start; }
.step-number {
  width: 36px;
  height: 36px;
  background: #1E5AA8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.continuum-step h4 { margin-bottom: .25rem; color: #1E5AA8; }
.continuum-step p { color: #555; font-size: .9rem; margin: 0; }

/* ---------- Team (about) ---------- */
.team-leaders { display: flex; flex-direction: column; gap: 1.5rem; }
.leader-card {
  background: #F8F9FA;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 1.25rem;
}
.leader-card h4 { color: #1E5AA8; margin-bottom: .35rem; }
.leader-card p { color: #555; font-size: .9rem; margin: 0; }

/* ---------- Credentials (about) ---------- */
.credentials-grid { margin: 2.5rem 0; }
.credentials-grid h3 { color: #1E5AA8; margin-bottom: .5rem; }
.credentials-grid > p { color: #555; margin-bottom: 1.5rem; }
.credential-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.credential-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.credential-icon { font-size: 1.5rem; color: #1E5AA8; flex-shrink: 0; }
.credential-card h4 { margin-bottom: .25rem; }
.credential-card p { color: #555; font-size: .9rem; margin: 0; }

/* ---------- Gallery Grid (about) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.gallery-item img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }
.gallery-item--large { grid-column: 1 / -1; }
.gallery-item--large img { height: 300px; }

/* ---------- Amenities Cards (about) ---------- */
.amenities-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.amenity-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  align-items: flex-start;
}
.amenity-icon { font-size: 1.5rem; color: #1E5AA8; flex-shrink: 0; width: 40px; text-align: center; }
.amenity-item h4 { margin-bottom: .25rem; }
.amenity-item p { color: #555; font-size: .9rem; margin: 0; }

/* ---------- Insurance (about) ---------- */
.insurance-logos {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.insurance-badge {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: .6rem 1.25rem;
  font-weight: 500;
  color: #333;
  transition: border-color .3s;
}
.insurance-badge:hover { border-color: #1E5AA8; }
.insurance-note { text-align: center; color: #555; font-size: .95rem; }

/* ---------- CTA Block (about) ---------- */
.cta-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  background: linear-gradient(135deg, #1E5AA8, #4A90D9);
  border-radius: 4px;
  overflow: hidden;
  color: #fff;
}
.cta-image { width: 100%; height: auto; object-fit: cover; display: block; }
.cta-block .cta-content { padding: 2rem; text-align: left; }
.cta-block h2 { color: #fff; margin-bottom: .75rem; }
.cta-block p { color: rgba(255,255,255,.9); }
.phone-link { font-size: 1.5rem; font-weight: 700; color: #fff; }
.phone-link:hover { color: #fff; }
.cta-address { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: 1rem; }
.section-cta {
  background: linear-gradient(135deg, #1E5AA8, #4A90D9);
  padding: 4rem 0;
  color: #fff;
}
.section-cta h2 { color: #fff; }
.section-cta p { color: rgba(255,255,255,.9); }

/* ---------- Breadcrumb (about/privacy ol pattern) ---------- */
.breadcrumb ol {
  display: flex;
  gap: .5rem;
  list-style: none;
  font-size: .85rem;
  color: rgba(255,255,255,.8);
}
.breadcrumb ol li + li::before { content: '\203A'; margin-right: .5rem; }
.breadcrumb ol a { color: rgba(255,255,255,.9); }

/* ---------- Programs Page Specifics ---------- */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.program-detail--alt { background: #F8F9FA; }
.check-list { list-style: none; margin-bottom: 1.5rem; }
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .5rem;
  color: #555;
  font-size: .95rem;
}
.check-list li::before { content: '\2713'; position: absolute; left: 0; color: #28A745; font-weight: 700; }
.timeline-marker {
  position: absolute;
  left: 10px;
  top: 4px;
  width: 22px;
  height: 22px;
  background: #1E5AA8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #4A90D9;
}
.timeline-content h4 { margin-bottom: .25rem; color: #1E5AA8; }
.timeline-content p { color: #555; font-size: .95rem; margin: 0; }
.substances-section, .timeline-section, .schedule-section, .outpatient-comparison { margin-top: 2.5rem; }
.substances-section h3 { color: #1E5AA8; margin-bottom: .5rem; }
.substance-tags, .modality-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.substance-tag, .modality-tag {
  background: #EBF3FB;
  color: #1E5AA8;
  padding: .4rem .85rem;
  border-radius: 4px;
  font-size: .85rem;
  font-weight: 500;
}
.highlight-box {
  background: #F8F9FA;
  border: 1px solid #e9ecef;
  border-left: 4px solid #1E5AA8;
  border-radius: 0 4px 4px 0;
  padding: 1.5rem;
  margin: 2rem 0;
}
.highlight-box-inner { display: flex; gap: 1rem; align-items: flex-start; }
.highlight-icon { font-size: 1.5rem; color: #1E5AA8; flex-shrink: 0; }
.highlight-box h4 { margin-bottom: .35rem; color: #1E5AA8; }
.highlight-box p { color: #555; font-size: .95rem; margin: 0; }
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.schedule-table th {
  background: #1E5AA8;
  color: #fff;
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 500;
}
.schedule-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid #e9ecef;
  color: #555;
}
.schedule-table tr:nth-child(even) td { background: #F8F9FA; }
.duration-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.duration-card {
  background: #EBF3FB;
  border-radius: 4px;
  padding: 1rem 1.25rem;
}
.duration-card strong { color: #1E5AA8; }
.duration-card p { color: #555; font-size: .9rem; margin: .25rem 0 0; }
.outpatient-tracks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}
.track-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  overflow: hidden;
}
.track-header {
  background: #1E5AA8;
  color: #fff;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.track-header h3 { color: #fff; font-size: 1.15rem; margin: 0; }
.track-duration {
  background: rgba(255,255,255,.2);
  padding: .25rem .75rem;
  border-radius: 4px;
  font-size: .8rem;
  font-weight: 600;
}
.track-body { padding: 1.5rem; }
.track-body p { color: #555; }
.track-body ul { list-style: disc; margin-left: 1.5rem; margin-top: .75rem; }
.track-body ul li { color: #555; margin-bottom: .5rem; font-size: .95rem; }
.condition-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.condition-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 1.5rem;
}
.condition-card h4 { color: #1E5AA8; margin-bottom: .5rem; }
.condition-card p { color: #555; font-size: .95rem; margin: 0; }
.approach-section { margin: 2rem 0; }
.approach-section h3 { color: #1E5AA8; margin-bottom: 1.5rem; text-align: center; }
.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.approach-item {
  background: #F8F9FA;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 1.25rem;
}
.approach-item h4 { color: #1E5AA8; margin-bottom: .35rem; }
.approach-item p { color: #555; font-size: .9rem; margin: 0; }
.cta-section {
  background: linear-gradient(135deg, #1E5AA8, #4A90D9);
  color: #fff;
  padding: 4rem 0;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.9); }
.cta-subtext { font-size: .9rem; color: rgba(255,255,255,.7); margin-top: .5rem; }
.levels-comparison { /* base section styles inherited */ }

/* ---------- Admissions Extras ---------- */
.two-col-text { }
.two-col-text h2 { margin-bottom: .5rem; }
.two-col-text p { color: #555; }

/* ---------- Privacy Extras ---------- */
.page-hero--simple {
  background: linear-gradient(135deg, rgba(30,90,168,.95), rgba(74,144,217,.85));
  padding: 8rem 0 4rem;
  margin-top: 60px;
  color: #fff;
}
.page-hero--simple h1 { color: #fff; }
.legal-effective-date { color: #777; font-size: .9rem; margin-bottom: 2rem; }
.legal-contact-block {
  background: #F8F9FA;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* ========== NEW-CLASS RESPONSIVE ========== */

@media (min-width: 768px) {
  .trust-items { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .content-grid, .content-grid--two-col, .content-grid--2col { grid-template-columns: 1fr 1fr; }
  .content-grid--reverse { direction: rtl; }
  .content-grid--reverse > * { direction: ltr; }
  .programs-grid, .program-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .values-cards { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .modality-cards { grid-template-columns: repeat(2, 1fr); }
  .credential-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item--large { grid-column: 1 / -1; }
  .amenities-cards { grid-template-columns: repeat(2, 1fr); }
  .condition-cards { grid-template-columns: repeat(2, 1fr); }
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
  .duration-options { grid-template-columns: repeat(3, 1fr); }
  .cta-block { grid-template-columns: 1fr 1fr; }
  .amenities-gallery { grid-template-columns: repeat(2, 1fr); }
  .amenity-img img { height: 250px; }
  .gallery-item img { height: 220px; }
  .gallery-item--large img { height: 350px; }
}

@media (min-width: 1024px) {
  .about-preview, .programs-overview, .why-choose, .amenities-preview, .testimonials { padding: 5rem 0; }
  .programs-grid, .program-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .outpatient-tracks { grid-template-columns: repeat(3, 1fr); }
  .stats-row { grid-template-columns: repeat(6, 1fr); }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .amenities-gallery { grid-template-columns: repeat(4, 1fr); }
  .amenity-img img { height: 220px; }
}

@media (min-width: 1200px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .values-cards { grid-template-columns: repeat(3, 1fr); }
  .modality-cards { grid-template-columns: repeat(3, 1fr); }
  .credential-cards { grid-template-columns: repeat(3, 1fr); }
  .amenities-cards { grid-template-columns: repeat(3, 1fr); }
  .approach-grid { grid-template-columns: repeat(3, 1fr); }
  .condition-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ========== RESPONSIVE ========== */

/* Tablet (768px+) */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .hero-content h1 { font-size: 2.75rem; }
  .trust-bar-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .two-col { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .insurance-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .header-phone { display: flex; align-items: center; gap: .5rem; }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .hero-content h1 { font-size: 3.25rem; }
  .page-hero .hero-content h1 { font-size: 2.5rem; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .insurance-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .header-cta { display: inline-block; }
  .section { padding: 5rem 0; }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
  .insurance-grid { grid-template-columns: repeat(5, 1fr); }
}
