/* ============================================================
   Hope Serenity - Fresh Start Style (#8) + Hub & Spoke Architecture (#9)
   Generated: 2026-02-06
   ============================================================ */

/* --- CSS Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #3EB489;
  --primary-dark: #2E9A73;
  --primary-light: #6DC9A5;
  --secondary: #F7DC6F;
  --secondary-dark: #F0C930;
  --accent: #85C1E9;
  --accent-dark: #5DADE2;
  --text: #2E4A3E;
  --text-light: #4A6B5D;
  --text-muted: #7A9B8C;
  --bg: #FEFFFE;
  --bg-alt: #F0FFF4;
  --bg-card: #FFFFFF;
  --white: #FFFFFF;
  --border: #D5EEE2;
  --shadow: rgba(62, 180, 137, 0.1);
  --shadow-lg: rgba(62, 180, 137, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
  --font-heading: 'Quicksand', 'Comfortaa', sans-serif;
  --font-body: 'Nunito', 'Open Sans', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
h1 { font-size: 2.75rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* --- Skip Navigation --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-nav:focus { top: 0; }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(254, 255, 254, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo span { color: var(--text); }
.logo svg { width: 36px; height: 36px; }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: var(--bg-alt);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header-phone {
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.header-phone svg { width: 18px; height: 18px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(62, 180, 137, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(62, 180, 137, 0.4);
  color: var(--white);
}
.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  color: var(--primary);
}
.btn-accent {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--text);
  box-shadow: 0 4px 15px rgba(247, 220, 111, 0.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(247, 220, 111, 0.4);
  color: var(--text);
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 3px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  margin-top: var(--header-height);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 50%, #E8F8F0 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240, 255, 244, 0.92) 0%, rgba(254, 255, 254, 0.85) 50%, rgba(133, 193, 233, 0.15) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 3rem 0;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.hero h1 .highlight { color: var(--primary); }
.hero p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Inner Page Hero --- */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  margin-top: var(--header-height);
  background: linear-gradient(135deg, var(--bg-alt), #E8F8F0, var(--bg));
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(62, 180, 137, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { color: var(--text-light); font-size: 1.15rem; max-width: 650px; margin: 0 auto; }

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--primary); }
.breadcrumbs span { margin: 0 0.5rem; }

/* --- Trust Bar --- */
.trust-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 1.25rem 0;
  color: var(--white);
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.trust-item svg { width: 22px; height: 22px; flex-shrink: 0; }

/* --- Hub Navigation (Homepage Cards) --- */
.hub-section { padding: 5rem 0; }
.hub-section h2 { text-align: center; margin-bottom: 0.75rem; }
.hub-section .section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.hub-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.hub-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px var(--shadow-lg);
}
.hub-card-img {
  height: 200px;
  overflow: hidden;
}
.hub-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hub-card:hover .hub-card-img img { transform: scale(1.05); }
.hub-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.hub-card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.hub-card-icon svg { width: 24px; height: 24px; }
.hub-card h3 { margin-bottom: 0.75rem; font-size: 1.35rem; }
.hub-card p { color: var(--text-light); font-size: 0.95rem; flex: 1; }
.hub-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}
.hub-card .card-link:hover { gap: 0.7rem; }

/* --- Section Styling --- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.section-heading h2 { margin-bottom: 0.75rem; }
.section-heading p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* --- Programs Cards --- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.program-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px var(--shadow);
  transition: all var(--transition);
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px var(--shadow-lg);
}
.program-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.program-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--bg-alt), #D4F5E3);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}
.program-icon svg { width: 26px; height: 26px; }
.program-card h3 { font-size: 1.3rem; }
.program-card p { color: var(--text-light); font-size: 0.95rem; }

/* --- About / Approach Sections --- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-story-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 30px var(--shadow); }
.about-story-img img { width: 100%; height: 400px; object-fit: cover; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px var(--shadow); }
.value-card svg { width: 40px; height: 40px; color: var(--primary); margin-bottom: 1rem; }
.value-card h4 { margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--text-light); }

/* --- Stats Bar --- */
.stats-bar {
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  padding: 3.5rem 0;
  color: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item h3 { font-size: 2.5rem; font-weight: 700; margin-bottom: 0.25rem; }
.stat-item p { font-size: 0.95rem; opacity: 0.9; }

/* --- Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px var(--shadow);
}
.team-avatar {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-heading);
}
.team-card h4 { margin-bottom: 0.25rem; }
.team-card .role { color: var(--primary); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.team-card .credentials { color: var(--text-muted); font-size: 0.85rem; }

/* --- Amenities Gallery --- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.amenity-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 250px;
  box-shadow: 0 4px 15px var(--shadow);
}
.amenity-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.amenity-item:hover img { transform: scale(1.08); }
.amenity-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(46, 74, 62, 0.8));
  color: var(--white);
  padding: 1.5rem 1rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
  opacity: 0.4;
}
.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
}
.testimonial-author { font-weight: 700; color: var(--text); font-size: 0.95rem; }
.testimonial-program { color: var(--primary); font-size: 0.85rem; font-weight: 600; }

/* --- Admissions Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px var(--shadow);
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h4 { margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; color: var(--text-light); }

/* --- Insurance Logos --- */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.insurance-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}
.insurance-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 15px var(--shadow);
}

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question:hover { color: var(--primary); }
.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Blog Grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px var(--shadow);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px var(--shadow-lg);
}
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.5rem; }
.blog-category {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.blog-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { font-size: 0.9rem; color: var(--text-light); }
.blog-meta { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; }

/* --- Contact Section --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px var(--shadow);
  margin-bottom: 1.5rem;
}
.contact-info-card h3 { margin-bottom: 1rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-detail svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 0.2rem; }
.contact-detail strong { display: block; margin-bottom: 0.2rem; }
.contact-detail span { color: var(--text-light); font-size: 0.95rem; }

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--border);
}
.map-container iframe { width: 100%; height: 400px; display: block; }

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--accent-dark));
  padding: 4.5rem 0;
  text-align: center;
  color: var(--white);
}
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary);
}
.cta-section .btn-primary:hover {
  background: var(--secondary);
  color: var(--text);
}
.cta-section .btn-secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.cta-section .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Return to Hub Button --- */
.return-hub {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  background: var(--primary);
  color: var(--white);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(62, 180, 137, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.return-hub.visible { opacity: 1; visibility: visible; }
.return-hub:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(62, 180, 137, 0.5);
  color: var(--white);
}
.return-hub svg { width: 24px; height: 24px; }

/* --- Footer --- */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo {
  color: var(--primary-light);
  margin-bottom: 1rem;
}
.footer-brand .logo span { color: rgba(255,255,255,0.9); }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 0.3rem 0;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--primary-light); }
.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.footer-contact-item svg { width: 18px; height: 18px; color: var(--primary-light); flex-shrink: 0; margin-top: 0.15rem; }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--primary-light); }

/* --- Privacy Policy --- */
.legal-content { max-width: 800px; margin: 0 auto; padding: 3rem 0 5rem; }
.legal-content h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; color: var(--primary-dark); }
.legal-content h3 { font-size: 1.2rem; margin: 1.5rem 0 0.75rem; }
.legal-content p { margin-bottom: 1rem; color: var(--text-light); }
.legal-content ul { margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.5rem; color: var(--text-light); }

/* --- Modalities List --- */
.modalities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.modality-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.modality-item svg { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; margin-top: 0.15rem; }
.modality-item h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.modality-item p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

/* --- Daily Schedule --- */
.schedule-list { max-width: 600px; }
.schedule-item {
  display: flex;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.schedule-time {
  font-weight: 700;
  color: var(--primary);
  min-width: 110px;
  font-size: 0.9rem;
}
.schedule-activity { color: var(--text-light); font-size: 0.95rem; }

/* --- Substances List --- */
.substances-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.substance-tag {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--transition);
}
.substance-tag:hover {
  border-color: var(--primary);
  background: #E8F8F0;
}

/* --- What to Bring --- */
.bring-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.bring-list h4 { margin-bottom: 1rem; color: var(--primary-dark); }
.bring-list li { margin-bottom: 0.5rem; color: var(--text-light); }

/* --- Comparison Table --- */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
  margin: 2rem 0;
}
.comparison-table th {
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  font-weight: 700;
  text-align: left;
}
.comparison-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.comparison-table tr:nth-child(even) td { background: var(--bg-alt); }
.comparison-table tr:last-child td { border-bottom: none; }

/* --- Featured Blog Post --- */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 6px 25px var(--shadow);
  margin-bottom: 3rem;
}
.featured-post-img { height: 350px; }
.featured-post-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-post-body { padding: 2rem; }

/* --- HIPAA Notice --- */
.hipaa-notice {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2.2rem; }
  .hero-content { padding: 2rem 0; }
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 2rem;
    gap: 0.5rem;
    overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.85rem 1rem; font-size: 1.1rem; }
  .hamburger { display: block; }
  .header-phone { display: none; }
  .hub-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .insurance-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-img { height: 250px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-bar-inner { gap: 1.5rem; }
  .modalities-grid { grid-template-columns: 1fr; }
  .substances-grid { grid-template-columns: repeat(2, 1fr); }
  .bring-grid { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.85rem; }
  .section { padding: 3.5rem 0; }
  .cta-section { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hub-card-img { height: 160px; }
  .values-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: 1fr; }
  .substances-grid { grid-template-columns: 1fr 1fr; }
  .insurance-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
