/* ==========================================================================
   MSAP Recovery - Warm Earth Style (#2) + Card-Grid Dashboard (#6)
   Site #15 | Domain: msaprecovery.website
   Generated: 2026-02-06
   ========================================================================== */

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

:root {
  --primary: #8B5A2B;
  --primary-dark: #6B4423;
  --primary-light: #A87340;
  --secondary: #C4A77D;
  --secondary-light: #D9C4A0;
  --accent: #E07B53;
  --accent-dark: #C4603A;
  --text: #3D2914;
  --text-light: #6B5B4D;
  --bg: #FDF8F3;
  --bg-alt: #FFFFFF;
  --bg-card: #FFFFFF;
  --border: #E8DDD0;
  --border-light: #F0E8DD;
  --shadow: rgba(139, 90, 43, 0.1);
  --shadow-hover: rgba(139, 90, 43, 0.2);
  --radius: 6px;
  --radius-lg: 10px;
  --font-heading: 'Merriweather', 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans Pro', 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
  --transition: 0.3s ease;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }

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

/* --- Typography --- */
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.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-light); }
strong { color: var(--text); }

/* --- Skip Navigation --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 10000;
  font-size: 0.875rem;
}
.skip-nav:focus { top: 16px; color: #fff; }

/* ==========================================================================
   HEADER — Card-Grid Dashboard: Minimal header with logo + phone + CTA
   ========================================================================== */
.site-header {
  background: var(--bg-alt);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  box-shadow: 0 2px 8px var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.header-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.header-logo span { color: var(--accent); }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}
.header-phone svg { width: 20px; height: 20px; fill: var(--accent); }
.header-nav { display: flex; align-items: center; gap: 24px; }
.header-nav a {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
  border-bottom-color: var(--accent);
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-cta:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(224, 123, 83, 0.3); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-secondary:hover { background: var(--primary); color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: 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); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-alt);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .btn-cta { margin-top: 16px; justify-content: center; }

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61,41,20,0.82) 0%, rgba(139,90,43,0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 60px 0;
}
.hero h1 { color: #fff; font-size: 2.8rem; margin-bottom: 1rem; }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.2rem; margin-bottom: 1.5rem; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-cta { padding: 14px 32px; font-size: 1.05rem; }
.hero .btn-secondary { color: #fff; border-color: #fff; }
.hero .btn-secondary:hover { background: #fff; color: var(--primary); }

/* Inner Page Hero */
.hero-inner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 50px 0;
  text-align: center;
}
.hero-inner h1 { color: #fff; font-size: 2.4rem; }
.hero-inner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 12px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.875rem;
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { color: var(--text-light); margin: 0 6px; }
.breadcrumbs .current { color: var(--primary); font-weight: 600; }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}
.trust-item svg { width: 24px; height: 24px; fill: var(--accent); flex-shrink: 0; }

/* ==========================================================================
   CARD GRID — Primary navigation style for Card-Grid Dashboard
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 48px 0;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px var(--shadow-hover);
  border-color: var(--secondary);
}
.card-image {
  height: 200px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-image img { transform: scale(1.08); }
.card-body { padding: 24px; }
.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--primary);
}
.card-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
}
.card-link::after { content: '\2192'; transition: transform var(--transition); }
.card:hover .card-link::after { transform: translateX(4px); }

/* Small cards for sub-navigation */
.card-grid-sm {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.card-sm {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.card-sm:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
  border-color: var(--accent);
}
.card-sm .card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-sm .card-icon svg { width: 28px; height: 28px; fill: var(--primary); }
.card-sm h4 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary); }
.card-sm p { font-size: 0.875rem; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
  padding: 64px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-warm {
  background: linear-gradient(135deg, var(--bg) 0%, #F5EDE3 100%);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}
.section-header h2 { position: relative; padding-bottom: 16px; }
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.section-header p { color: var(--text-light); font-size: 1.05rem; margin-top: 12px; }

/* --- About Preview --- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-preview-img { border-radius: var(--radius-lg); overflow: hidden; }
.about-preview-img img { width: 100%; height: 100%; object-fit: cover; }

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  background: var(--bg-card);
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* --- Why Choose Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--bg) 0%, #F0E8DD 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg { width: 32px; height: 32px; fill: var(--primary); }
.feature-item h4 { color: var(--primary); margin-bottom: 8px; }

/* --- Testimonials --- */
.testimonials-slider { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; }
.testimonial-slide { display: none; padding: 0 20px; }
.testimonial-slide.active { display: block; }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--secondary-light);
  position: absolute;
  top: 10px;
  left: 24px;
  line-height: 1;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}
.testimonial-author {
  font-weight: 700;
  color: var(--primary);
}
.testimonial-program {
  font-size: 0.875rem;
  color: var(--text-light);
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.testimonial-dot.active { background: var(--accent); }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 56px 0;
  text-align: center;
  color: #fff;
}
.cta-banner h2 { color: #fff; font-size: 2rem; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 24px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-cta { padding: 14px 36px; font-size: 1.05rem; }
.cta-phone {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: block;
}
.cta-phone a { color: #fff; }
.cta-phone a:hover { color: var(--secondary-light); }

/* ==========================================================================
   PROGRAMS PAGE — Tabs & Detail Sections
   ========================================================================== */
.program-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border-light);
}
.program-detail:last-child { border-bottom: none; }
.program-detail.reverse { direction: rtl; }
.program-detail.reverse > * { direction: ltr; }
.program-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.program-detail-img img { width: 100%; object-fit: cover; }
.program-detail-content h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.program-list {
  margin: 16px 0;
}
.program-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-light);
}
.program-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

/* Daily Schedule */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.schedule-table th,
.schedule-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.schedule-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   ADMISSIONS — Insurance, FAQ
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 40px 0;
}
.step-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
}
.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step-card h4 { color: var(--primary); margin-bottom: 8px; }

/* Insurance Grid */
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.insurance-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  font-weight: 600;
  color: var(--primary);
  transition: all var(--transition);
}
.insurance-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px var(--shadow);
}

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

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item svg { width: 24px; height: 24px; fill: var(--accent); flex-shrink: 0; margin-top: 2px; }
.contact-info-item h4 { margin-bottom: 4px; color: var(--primary); font-size: 1rem; }
.contact-info-item p { margin-bottom: 0; font-size: 0.95rem; }
.contact-info-item a { color: var(--primary); font-weight: 600; }
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-container iframe { width: 100%; height: 400px; display: block; }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}
.blog-card-image { height: 200px; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-category {
  display: inline-block;
  background: var(--bg);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.blog-card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--primary); }
.blog-card-date { font-size: 0.8rem; color: var(--text-light); margin-top: 12px; }

/* Blog Article */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}
.blog-article h2 { font-size: 1.5rem; margin-top: 32px; }
.blog-article p { font-size: 1.05rem; line-height: 1.9; }
.blog-article ul { margin: 16px 0; padding-left: 20px; }
.blog-article ul li {
  padding: 4px 0 4px 12px;
  position: relative;
  color: var(--text-light);
}
.blog-article ul li::before {
  content: '\2022';
  color: var(--accent);
  position: absolute;
  left: -8px;
}

/* ==========================================================================
   PRIVACY PAGE
   ========================================================================== */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0;
}
.privacy-content h2 { font-size: 1.5rem; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border-light); }
.privacy-content h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.privacy-content p { line-height: 1.9; }
.privacy-content ul { margin: 12px 0; padding-left: 20px; }
.privacy-content ul li {
  padding: 4px 0;
  color: var(--text-light);
  list-style: disc;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-dark);
  font-weight: 700;
}
.team-card h4 { color: var(--primary); margin-bottom: 4px; }
.team-card .team-title { color: var(--accent); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 700;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--secondary-light); }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* ==========================================================================
   AMENITIES LIST
   ========================================================================== */
.amenities-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.amenity-item svg { width: 20px; height: 20px; fill: var(--accent); flex-shrink: 0; }
.amenity-item span { font-weight: 500; color: var(--text); }

/* ==========================================================================
   MODALITIES
   ========================================================================== */
.modalities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.modality-tag {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  transition: all var(--transition);
}
.modality-tag:hover {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-preview { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .program-detail { grid-template-columns: 1fr; }
  .program-detail.reverse { direction: ltr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 2rem; }
  .hero-content { padding: 40px 0; }
  .hero-buttons { flex-direction: column; }
  .hero .btn-cta, .hero .btn-secondary { width: 100%; justify-content: center; }
  .trust-bar-inner { flex-direction: column; gap: 16px; align-items: center; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-sm { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-list { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-phone { font-size: 1.4rem; }
  .section { padding: 40px 0; }
  .header-phone span { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .card-grid-sm { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .insurance-grid { grid-template-columns: 1fr; }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Print Styles --- */
@media print {
  .site-header, .site-footer, .cta-banner, .mobile-nav, .hamburger { display: none; }
  body { color: #000; background: #fff; }
  a { color: #000; }
}
