/* ================================================================
   OPL HELPLINE — Fresh Start (#8) Design Style
   Architecture: Card-Grid Dashboard (#6)
   Shared Stylesheet for all pages:
     index.html, about.html, programs.html, admissions.html,
     contact.html, blog.html, privacy.html

   COVERS ALL CLASS NAMING VARIANTS:
     - Flat (index.html, blog.html): header-container, nav-links, hero-background, etc.
     - BEM (about.html, programs.html): header__inner, header__nav, section__title, etc.
     - Mixed (privacy.html): header-inner, main-nav, page-hero__bg, footer-grid, etc.
     - Admissions (admissions.html): site-nav, nav__list, nav__link, footer__inner, etc.
   ================================================================ */

/* ===========================
   1. CSS CUSTOM PROPERTIES
   =========================== */
:root {
  /* --- Colors --- */
  --primary: #3EB489;
  --primary-dark: #2D8F6B;
  --primary-light: #5CC9A1;
  --secondary: #F7DC6F;
  --secondary-dark: #D4B83E;
  --secondary-light: #FAE99A;
  --accent: #85C1E9;
  --accent-dark: #5DADE2;
  --accent-light: #AED6F1;
  --text: #2E4A3E;
  --text-light: #4A6B5D;
  --text-muted: #6B8E7E;
  --bg: #FEFFFE;
  --bg-alt: #F0FFF4;
  --bg-soft: #E8F8F0;
  --bg-white: #FFFFFF;
  --border: #D0E8DA;
  --border-light: #E4F2EA;
  --color-accent: #85C1E9;

  /* --- Shadows (soft, subtle) --- */
  --shadow-xs: 0 1px 4px rgba(62, 180, 137, 0.06);
  --shadow: 0 2px 12px rgba(62, 180, 137, 0.08);
  --shadow-md: 0 4px 20px rgba(62, 180, 137, 0.10);
  --shadow-lg: 0 8px 40px rgba(62, 180, 137, 0.14);
  --shadow-card: 0 4px 16px rgba(62, 180, 137, 0.08);
  --shadow-card-hover: 0 12px 36px rgba(62, 180, 137, 0.16);

  /* --- Radii (rounded shapes 16-24px) --- */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* --- Typography --- */
  --font-heading: 'Quicksand', 'Segoe UI', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;

  /* --- Spacing --- */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 80px;

  /* --- Widths --- */
  --max-width: 1200px;
  --max-width-narrow: 900px;
}


/* ===========================
   2. RESET & BASE STYLES
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  color: var(--primary-dark);
}

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

ul, ol {
  padding-left: 1.25rem;
}

address {
  font-style: normal;
}

button {
  cursor: pointer;
  font-family: inherit;
}


/* ===========================
   3. UTILITY CLASSES
   =========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: var(--space-xl) 0;
}

.text-center {
  text-align: center;
}

.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;
}

.hidden {
  display: none !important;
}


/* ===========================
   4. SKIP NAVIGATION
   =========================== */
.skip-nav {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  z-index: 9999;
  font-size: 14px;
  border-radius: 0 0 8px 8px;
  font-family: var(--font-body);
}

.skip-nav:focus {
  left: 16px;
  top: 0;
}


/* ===========================
   5. HEADER — ALL VARIANTS
   =========================== */
/* Base header */
.site-header {
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Inner wrapper — flat (index, blog), BEM (about, programs, contact), mixed (privacy, admissions) */
.header-container,
.header__inner,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  gap: 16px;
}

/* Logo — all variants */
.logo,
.header__logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover,
.header__logo:hover {
  color: var(--primary-dark);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
}

.header__logo-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
}

.logo span {
  color: var(--primary);
}

/* Desktop navigation — flat (index, blog) */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Desktop navigation — BEM (about, programs, contact) */
.header__nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header__nav-link {
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Desktop navigation — admissions (site-nav, nav__list, nav__link) */
.site-nav {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}

.site-nav .nav__list {
  list-style: none;
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  justify-content: center;
}

.site-nav .nav__list li {
  list-style: none;
}

.nav__link {
  display: block;
  padding: 12px 20px;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover,
.nav__link.nav__link--active {
  color: var(--primary);
  background: rgba(62, 180, 137, 0.08);
}

/* Privacy page main-nav (direct links, not in a list) */
.header-inner .main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* ===========================
   NAV DROPDOWN MENU BUTTON
   =========================== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-alt);
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav-dropdown-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.nav-dropdown-btn:hover svg {
  stroke: #fff;
}

.nav-dropdown-btn svg {
  transition: transform 0.25s ease, stroke 0.2s;
  stroke: var(--text);
}

.nav-dropdown.open .nav-dropdown-btn {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.nav-dropdown.open .nav-dropdown-btn svg {
  transform: rotate(180deg);
  stroke: #fff;
}

.nav-dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  list-style: none;
  padding: 8px 0;
  margin: 0;
  z-index: 1100;
}

.nav-dropdown.open .nav-dropdown-list {
  display: block;
}

.nav-dropdown-list li {
  list-style: none;
}

.nav-dropdown-list a {
  display: block;
  padding: 10px 22px;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown-list a:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.nav-dropdown-list a.active {
  color: var(--primary);
  font-weight: 700;
  background: var(--bg-alt);
}

.header-inner .main-nav a {
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.header-inner .main-nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Header phone — flat (index, blog, privacy) */
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-phone:hover {
  color: var(--primary-dark);
}

.header-phone svg,
.icon-phone {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Header phone — BEM (about, programs, contact) */
.header__cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  transition: background 0.25s;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.header__cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
}

/* Header phone — admissions */
.header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: var(--primary);
}

.header__phone-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.header__phone-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary);
}

/* Header brand for admissions */
.header__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
}

/* Header right wrapper (index, blog) */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}


/* ===========================
   6. HAMBURGER / MOBILE TOGGLE — ALL VARIANTS
   =========================== */
/* Flat (index, blog, privacy) */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger-line,
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* BEM (about, programs, contact) */
.header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.header__hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Admissions (nav__toggle) */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle-bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}


/* ===========================
   7. MOBILE MENU — ALL VARIANTS
   =========================== */
/* Flat dropdown (index, blog) */
.mobile-menu {
  display: none;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 16px 20px;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-links li a {
  display: block;
  padding: 12px 0;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
  color: var(--primary);
}

/* Slideout menu (about, programs, contact) */
.slideout-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--bg-white);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  padding: 60px 24px 24px;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.slideout-menu.open {
  right: 0;
}

.slideout-menu__link {
  display: block;
  padding: 12px 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}

.slideout-menu__link:hover {
  color: var(--primary);
}

.slideout-menu__phone {
  margin-top: 20px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

.slideout-menu__phone a {
  color: var(--primary);
}

/* Mobile nav (privacy) */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--bg-white);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  padding: 60px 24px 24px;
  transition: right 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--primary);
}

.mobile-phone {
  margin-top: 16px;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 18px;
}

/* Overlay for mobile menus */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1500;
}

.overlay.active {
  display: block;
}


/* ===========================
   8. HERO SECTIONS — ALL VARIANTS
   =========================== */
/* Base hero shared */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Flat hero background (index) */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 74, 62, 0.72), rgba(62, 180, 137, 0.55));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 60px 20px;
  max-width: 740px;
}

.hero-content h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 24px;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BEM hero (about, programs, contact) */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* When hero__bg is used as img tag directly (programs) */
img.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 74, 62, 0.72), rgba(62, 180, 137, 0.55));
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 60px 20px;
  max-width: 740px;
}

.hero__title {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 14px;
}

.hero__subtitle {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 22px;
  opacity: 0.95;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__phone {
  font-size: 2rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}

.hero__phone a {
  color: #fff;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 2px;
}

.hero__phone a:hover {
  color: var(--secondary);
}

/* Page hero (privacy) */
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* When page-hero__bg is used as img tag */
img.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 74, 62, 0.72), rgba(62, 180, 137, 0.55));
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 60px 20px;
  max-width: 700px;
}

.page-hero__title {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.page-hero__subtitle {
  font-size: 1.1rem;
  opacity: 0.92;
  line-height: 1.7;
}


/* ===========================
   9. TRUST BAR (index)
   =========================== */
.trust-bar {
  background: var(--bg-alt);
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.trust-item svg {
  flex-shrink: 0;
  color: var(--primary);
}

.trust-icon {
  flex-shrink: 0;
  color: var(--primary);
}

.trust-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
}


/* ===========================
   10. BREADCRUMBS — ALL VARIANTS
   =========================== */
/* BEM breadcrumbs (about, programs, contact) */
.breadcrumbs {
  padding: 14px 0;
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumbs__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
}

.breadcrumbs__separator {
  margin: 0 8px;
  color: #a3d4b8;
}

.breadcrumbs__item a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumbs__item a:hover {
  text-decoration: underline;
}

.breadcrumbs__item--active {
  color: var(--text);
  font-weight: 500;
}

/* Flat breadcrumb (admissions, blog hero) */
.breadcrumb {
  max-width: var(--max-width);
  margin: 20px auto 0;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 8px;
  color: #aac4b8;
}

/* Privacy breadcrumbs (direct child elements) */
.breadcrumbs .separator {
  margin: 0 8px;
  color: #a3d4b8;
}

.breadcrumbs > .container > a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumbs > .container > a:hover {
  text-decoration: underline;
}


/* ===========================
   11. SECTIONS — BEM PATTERN (about, programs)
   =========================== */
.section {
  padding: var(--space-xl) 0;
}

.section--white {
  background: var(--bg-white);
}

.section--gray {
  background: #f5f9f7;
}

.section--dark {
  background: linear-gradient(135deg, var(--text) 0%, #1a352b 100%);
  color: #fff;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.88);
}

.section--mint {
  background: var(--bg-alt);
}

.section--alt {
  background: var(--bg-alt);
}

/* Section header */
.section-header,
.section__header {
  text-align: center;
  margin-bottom: 40px;
}

.section__label {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section--dark .section__label {
  background: rgba(62, 180, 137, 0.15);
}

.section__title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section--dark .section__title {
  color: #fff;
}

.section__divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  margin: 14px auto 18px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.section--dark .section__desc {
  color: rgba(255, 255, 255, 0.88);
}


/* ===========================
   12. CONTENT BLOCKS (about, programs)
   =========================== */
.content-block {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 2rem;
}

.content-block--reverse {
  direction: rtl;
}

.content-block--reverse > * {
  direction: ltr;
}

.content-block__text {
  /* inherits */
}

.content-block__text h3 {
  margin-bottom: 12px;
}

.content-block__text p {
  margin-bottom: 14px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-light);
}

.content-block__text ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.content-block__text li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  line-height: 1.65;
}

.content-block__image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
}


/* ===========================
   13. CARDS — ALL VARIANTS
   =========================== */
/* Card grid */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid:not(.card-grid--2):not(.card-grid--3):not(.card-grid--4) {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* BEM card (about, programs) */
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card__image {
  width: 100%;
  overflow: hidden;
}

.card__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card__image img {
  transform: scale(1.03);
}

.card__body {
  padding: 28px 24px;
}

.card__icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
  color: var(--primary);
}

.card__icon--number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.card__title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
}

.card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 10px;
}

.card__text:last-child {
  margin-bottom: 0;
}

.card__link {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.card__link:hover {
  color: var(--primary-dark);
}

/* Flat program card (index) */
.program-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card-image {
  width: 100%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.program-card:hover .card-image img {
  transform: scale(1.03);
}

.card-body {
  padding: 24px;
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--primary);
}

.card-link {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.card-link:hover {
  color: var(--primary-dark);
}


/* ===========================
   14. INDEX-SPECIFIC SECTIONS
   =========================== */
/* About Preview */
.about-preview {
  padding: var(--space-xl) 0;
  background: var(--bg-white);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-preview-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
}

.about-preview-text h2 {
  margin-bottom: 16px;
}

.about-preview-text p {
  margin-bottom: 14px;
  color: var(--text-light);
}

/* Programs Grid (index) */
.programs-grid {
  padding: var(--space-xl) 0;
  background: #f5f9f7;
}

/* Why Choose Us (index) */
.why-choose-us {
  padding: var(--space-xl) 0;
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-item h3 {
  margin-bottom: 2px;
}

.feature-item p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.feature-icon svg {
  color: var(--primary);
}

/* Amenities Preview (index) */
.amenities-preview {
  padding: var(--space-xl) 0;
  background: #f5f9f7;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.amenity-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.amenity-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.amenity-body {
  padding: 20px;
}

.amenity-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.amenity-body p {
  font-size: 0.92rem;
  color: var(--text-light);
}

.section-cta {
  text-align: center;
  margin-top: 24px;
}

/* Map section (index) */
.map-section {
  padding: var(--space-lg) 0;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  border: 0;
}


/* ===========================
   15. FEATURE LIST — BEM (about, programs)
   =========================== */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-list .feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.feature-item__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.feature-item__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 6px;
}

.feature-item__text {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
}


/* ===========================
   16. STEPS / TIMELINE (about, programs)
   =========================== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.step {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s;
}

.step:hover {
  transform: translateY(-3px);
}

.step__number {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 16px;
}

.step__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--text);
}

.step__text {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

.section--dark .step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section--dark .step__title {
  color: #fff;
}

.section--dark .step__text {
  color: rgba(255, 255, 255, 0.8);
}


/* ===========================
   17. STATS (about)
   =========================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat__number,
.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 6px;
}

.section--dark .stat__number,
.section--dark .stat-number {
  color: var(--secondary);
}

.stat__label,
.stat-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section--dark .stat__label,
.section--dark .stat-label {
  color: rgba(255, 255, 255, 0.75);
}


/* ===========================
   18. TEAM (about)
   =========================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-member {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.2s;
}

.team-member:hover {
  transform: translateY(-3px);
}

.team-member__avatar {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 14px;
}

.team-member__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text);
}

.team-member__title {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.team-member__creds {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  text-align: left;
}


/* ===========================
   19. GALLERY (about)
   =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid__item,
.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.gallery-grid__item:hover,
.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-grid__item img,
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.lightbox {
  cursor: pointer;
}


/* ===========================
   20. TESTIMONIALS — ALL VARIANTS
   =========================== */
/* Index carousel */
.testimonials {
  padding: var(--space-xl) 0;
  background: var(--bg-white);
}

.testimonials-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  padding: 32px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide blockquote {
  margin: 0;
}

.testimonial-slide blockquote p {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 16px;
}

.testimonial-slide footer cite {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  font-style: normal;
}

.testimonial-program {
  display: block;
  font-size: 0.88rem;
  color: var(--primary);
  margin-top: 4px;
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.carousel-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.carousel-btn:hover svg {
  stroke: #fff;
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: var(--primary);
}

/* BEM testimonials grid (about) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.testimonial,
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.testimonial__text {
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-light);
  margin-bottom: 16px;
}

.testimonial__author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.testimonial__program {
  font-size: 0.88rem;
  color: var(--primary);
}


/* ===========================
   21. CARE PROGRESSION (programs)
   =========================== */
.care-progression {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.care-progression__step {
  flex: 1;
  min-width: 180px;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.care-progression__number {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 12px;
}

.care-progression__content h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.care-progression__content p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

.care-progression__arrow {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}


/* ===========================
   22. TABLES (programs)
   =========================== */
.comparison-table,
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: 0.92rem;
}

.comparison-table thead,
.schedule-table thead {
  background: var(--primary);
  color: #fff;
}

.comparison-table th,
.schedule-table th {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
}

.comparison-table td,
.schedule-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-light);
}

.comparison-table tbody tr:hover,
.schedule-table tbody tr:hover {
  background: var(--bg-alt);
}

.comparison-table tbody tr:last-child td,
.schedule-table tbody tr:last-child td {
  border-bottom: none;
}


/* ===========================
   23. CHECKLIST (programs)
   =========================== */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
}

.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}


/* ===========================
   24. CTA SECTIONS — ALL VARIANTS
   =========================== */
/* Admissions CTA (index) */
.admissions-cta {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
}

.admissions-cta h2 {
  color: #fff;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content p {
  margin-bottom: 24px;
  opacity: 0.95;
}

.cta-insurance {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* BEM CTA (about, programs) */
.cta-section {
  padding: var(--space-xl) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-section p {
  max-width: 640px;
  margin: 0 auto 24px;
  opacity: 0.95;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}


/* ===========================
   25. BUTTONS — ALL VARIANTS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.15s, box-shadow 0.25s;
  border: 2px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

/* Primary */
.btn-primary,
.btn.btn-primary,
.btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(62, 180, 137, 0.25);
}

.btn-primary:hover,
.btn.btn-primary:hover,
.btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

/* Secondary */
.btn-secondary,
.btn.btn-secondary,
.btn--secondary {
  background: var(--bg-white);
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover,
.btn.btn-secondary:hover,
.btn--secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* Outline */
.btn-outline,
.btn.btn-outline,
.btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover,
.btn.btn-outline:hover,
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Outline Light (on dark backgrounds) */
.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* CTA section outline override */
.cta-section .btn--outline,
.admissions-cta .btn-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.cta-section .btn--outline:hover,
.admissions-cta .btn-secondary:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

/* Accent */
.btn--accent {
  background: var(--secondary);
  color: var(--text);
  border-color: var(--secondary);
}

.btn--accent:hover {
  background: var(--secondary-dark);
  color: var(--text);
}

/* Phone */
.btn--phone {
  gap: 8px;
}

/* CTA */
.btn-cta,
.btn--cta {
  background: var(--secondary);
  color: var(--text);
  border-color: var(--secondary);
  box-shadow: 0 4px 16px rgba(247, 220, 111, 0.3);
}

.btn-cta:hover,
.btn--cta:hover {
  background: var(--secondary-dark);
}

/* Large */
.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}


/* ===========================
   26. FOOTER — ALL VARIANTS
   =========================== */
.site-footer {
  background: var(--text);
  color: #b8d4c6;
  padding: 48px 0 0;
}

/* Flat footer grid (index, blog) */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-grid .container {
  /* if nested, let flex handle */
}

.footer-col {
  /* columns in flat footer */
}

.footer-col h3 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-size: 16px;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  color: #9abfab;
  font-size: 14px;
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-col address p {
  font-size: 14px;
  margin-bottom: 4px;
  color: #9abfab;
}

.footer-col address a {
  color: #9abfab;
}

.footer-col address a:hover {
  color: var(--primary);
}

/* BEM footer grid (about, programs, contact) */
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.footer__desc {
  font-size: 14px;
  line-height: 1.7;
  color: #9abfab;
}

.footer__heading {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-size: 16px;
  margin-bottom: 14px;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 6px;
}

.footer__links a {
  color: #9abfab;
  font-size: 14px;
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--primary);
}

.footer__contact-item {
  font-size: 14px;
  margin-bottom: 8px;
  color: #9abfab;
}

.footer__contact-icon {
  margin-right: 6px;
}

.footer__contact-item a {
  color: #9abfab;
  text-decoration: none;
}

.footer__contact-item a:hover {
  color: var(--primary);
}

/* Footer bottom — all variants */
.footer-bottom,
.footer__bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 13px;
  color: #6b8a7a;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom a,
.footer__bottom a {
  color: #7fa693;
  text-decoration: none;
}

.footer-bottom a:hover,
.footer__bottom a:hover {
  color: var(--primary);
}

.footer-disclaimer {
  font-size: 12px;
  color: #5a7a6a;
  margin-top: 8px;
}

/* Admissions footer (footer__inner, footer__info, etc.) */
.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer__info {
  /* admissions footer info column */
}

.footer__tagline {
  font-size: 13px;
  color: #9abfab;
  margin-bottom: 10px;
}

.footer__address {
  font-size: 14px;
  color: #9abfab;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer__phone {
  margin-bottom: 4px;
}

.footer__phone a {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.footer__phone a:hover {
  color: var(--primary-light);
}

.footer__email a {
  color: #9abfab;
  text-decoration: none;
}

.footer__email a:hover {
  color: var(--primary);
}

.footer__hours {
  font-size: 13px;
  color: #7fa693;
  margin-top: 8px;
}

.footer__programs ul,
.footer__admissions ul {
  list-style: none;
  padding: 0;
}

.footer__programs li,
.footer__admissions li {
  margin-bottom: 6px;
}

.footer__programs a,
.footer__admissions a {
  color: #9abfab;
  font-size: 14px;
  text-decoration: none;
}

.footer__programs a:hover,
.footer__admissions a:hover {
  color: var(--primary);
}

.footer__programs h4,
.footer__admissions h4,
.footer__inner h4 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-size: 16px;
  margin-bottom: 14px;
}

.footer__admissions p {
  font-size: 14px;
  color: #9abfab;
  margin-bottom: 10px;
}

.footer__cta {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.25s;
}

.footer__cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* Privacy page footer (flat with no .container) */
.site-footer > .footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px 36px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand .logo,
.footer-brand a {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #9abfab;
  margin-top: 10px;
}

.footer-heading {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-size: 16px;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #9abfab;
  font-size: 14px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact p {
  font-size: 14px;
  color: #9abfab;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.footer-contact p svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 3px;
}

.footer-contact a {
  color: #9abfab;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--primary);
}


/* ===========================
   27. PRIVACY PAGE SPECIFIC
   =========================== */
.page-section {
  padding: var(--space-xl) 0;
}

.page-section--white {
  background: var(--bg-white);
}

.privacy-content {
  max-width: 860px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-top: 20px;
  border-top: 2px solid var(--border-light);
}

.privacy-content h2:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.privacy-content h3 {
  font-size: 1.2rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.privacy-content p {
  font-size: 0.96rem;
  color: var(--text-light);
  line-height: 1.8;
}

.privacy-content ul {
  margin-bottom: 16px;
}

.privacy-content li {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}

.privacy-section {
  margin-bottom: 32px;
}


/* ===========================
   28. BACK TO TOP
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

.back-to-top svg {
  stroke: #fff;
}


/* ===========================
   29. ANIMATIONS
   =========================== */
.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible,
.fade-in.animated {
  opacity: 1;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-up.visible,
.slide-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible,
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}


/* ===========================
   30. ACCESSIBILITY
   =========================== */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in,
  .slide-up,
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}


/* ===========================
   31. RESPONSIVE — 1200px
   =========================== */
@media (max-width: 1200px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===========================
   32. RESPONSIVE — 1024px
   =========================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .care-progression__arrow {
    display: none;
  }

  .care-progression {
    flex-direction: column;
    gap: 16px;
  }

  .care-progression__step {
    width: 100%;
  }
}


/* ===========================
   33. RESPONSIVE — 768px
   =========================== */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.15rem; }

  /* Header — show hamburgers, hide desktop navs */
  .hamburger,
  .header__hamburger {
    display: flex;
  }

  .nav__toggle {
    display: flex;
  }

  .nav-links,
  .header__nav,
  .nav-dropdown,
  .header-right .header-phone {
    display: none;
  }

  .header__cta {
    display: none;
  }

  .header-inner .main-nav {
    display: none;
  }

  .header-inner .header-phone {
    display: none;
  }

  /* Site nav (admissions) */
  .site-nav .nav__list {
    display: none;
  }

  .site-nav {
    display: none;
  }

  /* Content blocks */
  .content-block {
    grid-template-columns: 1fr;
  }

  .content-block--reverse {
    direction: ltr;
  }

  /* About preview */
  .about-preview-grid {
    grid-template-columns: 1fr;
  }

  /* Card grids */
  .card-grid--2,
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Amenities */
  .amenities-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Hero */
  .hero {
    min-height: 380px;
  }

  .hero-content h1,
  .hero__title,
  .page-hero__title {
    font-size: 1.9rem;
  }

  .hero__phone {
    font-size: 1.5rem;
  }

  .hero__actions,
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  /* Section */
  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: 1.6rem;
  }

  /* Steps */
  .steps {
    grid-template-columns: 1fr;
  }

  /* Tables */
  .comparison-table,
  .schedule-table {
    font-size: 0.82rem;
  }

  .comparison-table th,
  .comparison-table td,
  .schedule-table th,
  .schedule-table td {
    padding: 10px 12px;
  }

  /* Footer */
  .footer-grid,
  .footer__grid,
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__contact-item {
    justify-content: center;
  }

  .footer-bottom,
  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Breadcrumbs */
  .breadcrumb {
    margin: 14px auto 0;
  }
}


/* ===========================
   34. RESPONSIVE — 480px
   =========================== */
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }

  .hero {
    min-height: 320px;
  }

  .hero-content h1,
  .hero__title,
  .page-hero__title {
    font-size: 1.6rem;
  }

  .hero-content {
    padding: 40px 16px;
  }

  .hero__content {
    padding: 40px 16px;
  }

  .page-hero__content {
    padding: 40px 16px;
  }

  .section {
    padding: 36px 0;
  }

  .trust-items {
    flex-direction: column;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .btn-lg {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .footer-grid,
  .footer__grid,
  .footer__inner {
    gap: 24px;
  }
}


/* ===========================
   35. RESPONSIVE — 320px
   =========================== */
@media (max-width: 320px) {
  body {
    font-size: 15px;
  }

  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.2rem; }

  .container {
    padding: 0 12px;
  }

  .hero-content h1,
  .hero__title,
  .page-hero__title {
    font-size: 1.4rem;
  }

  .header-container,
  .header__inner,
  .header-inner {
    padding: 10px 12px;
  }

  .logo,
  .header__logo {
    font-size: 18px;
  }
}


/* ===========================
   36. PRINT STYLES
   =========================== */
@media print {
  .site-header,
  .hamburger,
  .header__hamburger,
  .nav__toggle,
  .mobile-menu,
  .slideout-menu,
  .mobile-nav,
  .overlay,
  .back-to-top,
  .cta-section,
  .admissions-cta,
  .carousel-controls {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding: 20px;
  }

  .hero__overlay,
  .hero-overlay,
  .page-hero__overlay {
    display: none;
  }

  .hero__content,
  .hero-content,
  .page-hero__content {
    color: #000;
  }

  .hero__title,
  .hero-content h1,
  .page-hero__title {
    color: #000;
  }
}
