/* ==========================================================================
   MDNT Rehab — Mountain Serenity (#9) + Sticky Header Minimal (#7)
   Site #51 | mdntrehab.com
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --clr-primary: #4A5568;
  --clr-secondary: #48624D;
  --clr-accent: #9DC3C1;
  --clr-text: #1A202C;
  --clr-text-light: #5A6577;
  --clr-bg: #F7F8F9;
  --clr-bg-white: #FFFFFF;
  --clr-border: #D8DDE4;
  --clr-overlay: rgba(26, 32, 44, .55);
  --ff-heading: 'Montserrat', sans-serif;
  --ff-body: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --transition: .3s ease;
  --max-width: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--clr-text);
  background: var(--clr-bg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-secondary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-primary); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  color: var(--clr-text);
  line-height: 1.25;
  font-weight: 700;
}

/* ---------- Utility ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }
.bg-light { background: var(--clr-bg); }
.bg-white { background: var(--clr-bg-white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-heading); font-weight: 600; font-size: .95rem;
  padding: 12px 28px; border-radius: var(--radius-md);
  border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); text-align: center;
}
.btn-primary {
  background: var(--clr-secondary); color: #fff; border-color: var(--clr-secondary);
}
.btn-primary:hover { background: #3a5040; border-color: #3a5040; color: #fff; }
.btn-secondary {
  background: transparent; color: var(--clr-secondary); border-color: var(--clr-secondary);
}
.btn-secondary:hover { background: var(--clr-secondary); color: #fff; }
.btn-accent {
  background: var(--clr-accent); color: var(--clr-text); border-color: var(--clr-accent);
}
.btn-accent:hover { background: #89b5b3; border-color: #89b5b3; }
.btn-white { background: #fff; color: var(--clr-secondary); border-color: #fff; }
.btn-white:hover { background: var(--clr-accent); border-color: var(--clr-accent); color: var(--clr-text); }
.btn-sm { padding: 8px 20px; font-size: .85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ==========================================================================
   HEADER — Sticky Header Minimal (#7)
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--clr-border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  height: 72px;
}
.logo { font-family: var(--ff-heading); font-weight: 700; font-size: 1.4rem; color: var(--clr-text); }
.logo span { color: var(--clr-secondary); }

/* Primary nav — 4 visible links */
.primary-nav { display: flex; align-items: center; gap: 32px; }
.primary-nav a {
  font-family: var(--ff-heading); font-weight: 600; font-size: .9rem;
  color: var(--clr-text-light); padding: 4px 0;
  border-bottom: 2px solid transparent; transition: all var(--transition);
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--clr-secondary); border-bottom-color: var(--clr-secondary); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-cta { display: none; }
@media(min-width:768px) { .header-cta { display: inline-flex; } }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--clr-text);
  transition: all var(--transition); border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Slide-out menu */
.slide-menu {
  position: fixed; top: 72px; right: -320px; width: 300px;
  height: calc(100vh - 72px); background: var(--clr-bg-white);
  box-shadow: var(--shadow-lg); z-index: 999;
  padding: 32px 28px; transition: right var(--transition);
  overflow-y: auto;
}
.slide-menu.open { right: 0; }
.slide-menu a {
  display: block; font-family: var(--ff-heading); font-weight: 600;
  font-size: 1.05rem; padding: 14px 0;
  color: var(--clr-text); border-bottom: 1px solid var(--clr-border);
}
.slide-menu a:hover { color: var(--clr-secondary); }
.slide-menu .menu-cta {
  margin-top: 24px; text-align: center;
}
.slide-menu .menu-phone {
  display: block; margin-top: 16px; font-size: 1.15rem; font-weight: 700;
  color: var(--clr-secondary); text-align: center;
}
.menu-overlay {
  position: fixed; top: 72px; left: 0; width: 100%; height: calc(100vh - 72px);
  background: rgba(0,0,0,.35); z-index: 998; opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.menu-overlay.active { opacity: 1; pointer-events: auto; }

/* Mobile nav */
@media(max-width:767px) {
  .primary-nav { display: none; }
  .slide-menu { width: 100%; right: -100%; }
  .slide-menu .mobile-primary a { font-size: 1.1rem; }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative; min-height: 540px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; color: #fff;
}
.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: var(--clr-overlay); z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; max-width: 720px; padding: 60px 24px;
}
.hero h1 { font-size: 2.6rem; margin-bottom: 16px; color: #fff; }
.hero p { font-size: 1.15rem; margin-bottom: 28px; opacity: .92; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero--sm { min-height: 320px; }
.hero--sm h1 { font-size: 2rem; }

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
  background: var(--clr-secondary); color: #fff; padding: 18px 0;
}
.trust-bar .container {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem;
}
.trust-item svg { width: 22px; height: 22px; fill: var(--clr-accent); flex-shrink: 0; }

/* ==========================================================================
   SECTION HEADINGS
   ========================================================================== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; margin-bottom: 12px; }
.section-header p { color: var(--clr-text-light); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.section-line {
  display: block; width: 60px; height: 3px;
  background: var(--clr-accent); margin: 16px auto 0; border-radius: 2px;
}

/* ==========================================================================
   CARD GRIDS
   ========================================================================== */
.card-grid { display: grid; gap: 28px; }
.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.card {
  background: var(--clr-bg-white); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img { height: 200px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card-body p { color: var(--clr-text-light); font-size: .95rem; margin-bottom: 14px; }

.card-icon {
  background: var(--clr-bg); border-radius: var(--radius-md);
  padding: 24px; text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card-icon:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon svg { width: 44px; height: 44px; fill: var(--clr-secondary); margin-bottom: 14px; }
.card-icon h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card-icon p { color: var(--clr-text-light); font-size: .9rem; }

/* ==========================================================================
   ABOUT PREVIEW
   ========================================================================== */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-preview img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.about-preview h2 { font-size: 1.8rem; margin-bottom: 16px; }
.about-preview p { color: var(--clr-text-light); margin-bottom: 16px; }
@media(max-width:767px) { .about-preview { grid-template-columns: 1fr; } }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-row {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding: 40px 0; text-align: center;
}
.stat-item h3 { font-size: 2.2rem; color: var(--clr-secondary); margin-bottom: 4px; }
.stat-item p { font-size: .9rem; color: var(--clr-text-light); }

/* ==========================================================================
   GALLERY / IMAGE GRID
   ========================================================================== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-grid img {
  border-radius: var(--radius-md); width: 100%; height: 220px;
  object-fit: cover; transition: transform var(--transition);
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
  background: var(--clr-bg); border-radius: var(--radius-md);
  padding: 32px; position: relative;
}
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 12px; left: 20px;
  font-size: 4rem; color: var(--clr-accent); opacity: .5; line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-card p { font-style: italic; margin-bottom: 16px; padding-top: 20px; }
.testimonial-card .author { font-weight: 700; color: var(--clr-secondary); font-size: .9rem; }
.testimonial-card .program { font-size: .82rem; color: var(--clr-text-light); }

.testimonial-slider { position: relative; overflow: hidden; }
.testimonial-track { display: flex; transition: transform .5s ease; }
.testimonial-track .testimonial-card { min-width: 100%; }
.testimonial-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 20px;
}
.testimonial-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--clr-border); border: none; cursor: pointer;
  transition: background var(--transition);
}
.testimonial-dots button.active { background: var(--clr-secondary); }

/* ==========================================================================
   CTA SECTIONS
   ========================================================================== */
.cta-section {
  background: var(--clr-primary); color: #fff; text-align: center;
  padding: 64px 24px;
}
.cta-section h2 { color: #fff; font-size: 2rem; margin-bottom: 14px; }
.cta-section p { opacity: .9; margin-bottom: 24px; font-size: 1.05rem; }
.cta-phone {
  display: inline-block; font-family: var(--ff-heading); font-size: 1.6rem;
  font-weight: 700; color: var(--clr-accent); margin-bottom: 20px;
}
.cta-phone:hover { color: #fff; }

.cta-banner {
  background: linear-gradient(135deg, var(--clr-secondary), var(--clr-primary));
  color: #fff; border-radius: var(--radius-md); padding: 40px; text-align: center;
}
.cta-banner h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.cta-banner p { opacity: .9; margin-bottom: 20px; }

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.feature-item { text-align: center; padding: 20px; }
.feature-item svg {
  width: 48px; height: 48px; fill: var(--clr-secondary); margin-bottom: 14px;
}
.feature-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-item p { color: var(--clr-text-light); font-size: .92rem; }

/* ==========================================================================
   PROGRAMS PAGE
   ========================================================================== */
.program-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; padding: 48px 0;
  border-bottom: 1px solid var(--clr-border);
}
.program-detail:last-child { border-bottom: none; }
.program-detail.reverse .program-img { order: -1; }
.program-detail img { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.program-detail h2 { font-size: 1.6rem; margin-bottom: 14px; }
.program-detail p { color: var(--clr-text-light); margin-bottom: 12px; }
.program-detail ul { margin-bottom: 16px; }
.program-detail ul li {
  padding: 6px 0 6px 24px; position: relative; color: var(--clr-text-light); font-size: .95rem;
}
.program-detail ul li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--clr-accent);
}
@media(max-width:767px) {
  .program-detail { grid-template-columns: 1fr; }
  .program-detail.reverse .program-img { order: 0; }
}

/* Schedule table */
.schedule-table {
  width: 100%; border-collapse: collapse; margin: 20px 0;
  border-radius: var(--radius-md); overflow: hidden;
}
.schedule-table th {
  background: var(--clr-secondary); color: #fff; padding: 12px 16px;
  text-align: left; font-family: var(--ff-heading); font-weight: 600; font-size: .9rem;
}
.schedule-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--clr-border); font-size: .92rem;
}
.schedule-table tr:nth-child(even) td { background: var(--clr-bg); }

/* Levels of care */
.care-levels {
  display: flex; gap: 0; position: relative; justify-content: center;
  flex-wrap: wrap; padding: 20px 0;
}
.care-level {
  flex: 1; min-width: 140px; max-width: 220px; padding: 20px 16px;
  text-align: center; position: relative; background: var(--clr-bg);
  border: 1px solid var(--clr-border);
}
.care-level:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.care-level:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.care-level h4 { font-size: .95rem; margin-bottom: 6px; }
.care-level p { font-size: .82rem; color: var(--clr-text-light); }
.care-level.active { background: var(--clr-secondary); color: #fff; border-color: var(--clr-secondary); }
.care-level.active h4 { color: #fff; }
.care-level.active p { color: rgba(255,255,255,.85); }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.timeline {
  position: relative; padding: 20px 0;
}
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--clr-accent); transform: translateX(-50%);
}
.timeline-item {
  display: flex; align-items: flex-start; gap: 32px;
  margin-bottom: 40px; position: relative;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
  flex: 1; background: var(--clr-bg-white); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm);
}
.timeline-content h3 { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-content p { font-size: .92rem; color: var(--clr-text-light); }
.timeline-dot {
  width: 16px; height: 16px; border-radius: 50%; background: var(--clr-secondary);
  border: 3px solid var(--clr-accent); flex-shrink: 0; margin-top: 6px;
  z-index: 1;
}
@media(max-width:767px) {
  .timeline::before { left: 8px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; gap: 20px; }
}

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.team-card {
  background: var(--clr-bg); border-radius: var(--radius-md);
  padding: 28px; text-align: center;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-card .role { color: var(--clr-secondary); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.team-card .credentials { font-size: .82rem; color: var(--clr-text-light); margin-bottom: 10px; }
.team-card p { font-size: .9rem; color: var(--clr-text-light); }

/* Amenities list */
.amenities-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.amenity-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--clr-bg); border-radius: var(--radius-md); font-size: .95rem;
}
.amenity-item svg { width: 24px; height: 24px; fill: var(--clr-secondary); flex-shrink: 0; }

/* ==========================================================================
   ADMISSIONS PAGE
   ========================================================================== */
.steps-row {
  display: flex; gap: 0; justify-content: center; flex-wrap: wrap;
  margin: 32px 0;
}
.step-card {
  flex: 1; min-width: 200px; max-width: 280px; padding: 28px 20px;
  text-align: center; position: relative;
  background: var(--clr-bg-white); border: 1px solid var(--clr-border);
}
.step-card:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.step-card:last-child { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.step-number {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--clr-secondary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-heading); font-weight: 700; font-size: 1rem;
  margin: 0 auto 12px;
}
.step-card h3 { font-size: 1rem; margin-bottom: 6px; }
.step-card p { font-size: .85rem; color: var(--clr-text-light); }

/* Insurance grid */
.insurance-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.insurance-item {
  padding: 16px; background: var(--clr-bg); border-radius: var(--radius-md);
  text-align: center; font-weight: 600; font-size: .95rem;
  border: 1px solid var(--clr-border);
}

/* FAQ accordion */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--clr-border); }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-family: var(--ff-heading); font-weight: 600;
  font-size: 1rem; color: var(--clr-text); text-align: left;
}
.faq-question::after {
  content: '+'; font-size: 1.4rem; color: var(--clr-secondary);
  flex-shrink: 0; margin-left: 16px; transition: transform var(--transition);
}
.faq-item.active .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .4s ease;
}
.faq-answer-inner {
  padding: 0 0 20px; color: var(--clr-text-light); font-size: .95rem; line-height: 1.7;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-info-card {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: var(--clr-bg); border-radius: var(--radius-md);
  margin-bottom: 16px;
}
.contact-info-card svg { width: 28px; height: 28px; fill: var(--clr-secondary); flex-shrink: 0; margin-top: 2px; }
.contact-info-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--clr-text-light); font-size: .92rem; }
.contact-info-card a { color: var(--clr-secondary); font-weight: 600; }
.map-container {
  border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md);
}
.map-container iframe { width: 100%; height: 400px; border: 0; }
@media(max-width:767px) { .contact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.blog-card {
  background: var(--clr-bg-white); border: 1px solid var(--clr-border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-card-body .category {
  display: inline-block; font-size: .75rem; font-weight: 700;
  color: var(--clr-secondary); text-transform: uppercase;
  letter-spacing: .5px; margin-bottom: 8px;
}
.blog-card-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-card-body p { font-size: .9rem; color: var(--clr-text-light); margin-bottom: 14px; }
.blog-card-body .read-more { font-weight: 600; font-size: .88rem; color: var(--clr-secondary); }

/* Blog detail */
.blog-content { max-width: 760px; margin: 0 auto; }
.blog-content h2 { font-size: 1.5rem; margin: 32px 0 12px; }
.blog-content h3 { font-size: 1.25rem; margin: 24px 0 10px; }
.blog-content p { margin-bottom: 16px; color: var(--clr-text-light); }
.blog-content ul { margin: 16px 0 16px 24px; }
.blog-content ul li { padding: 4px 0; color: var(--clr-text-light); list-style: disc; }
.blog-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .85rem; color: var(--clr-text-light); margin-bottom: 24px;
}

/* ==========================================================================
   PRIVACY PAGE
   ========================================================================== */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin: 32px 0 12px; color: var(--clr-primary); }
.legal-content h3 { font-size: 1.15rem; margin: 20px 0 8px; }
.legal-content p { margin-bottom: 14px; color: var(--clr-text-light); }
.legal-content ul { margin: 12px 0 16px 24px; }
.legal-content ul li { padding: 4px 0; color: var(--clr-text-light); list-style: disc; font-size: .95rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--clr-text); color: rgba(255,255,255,.8); padding: 56px 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,.12);
}
.footer-brand .logo { color: #fff; font-size: 1.3rem; margin-bottom: 12px; display: inline-block; }
.footer-brand p { font-size: .9rem; opacity: .8; margin-bottom: 12px; }
.site-footer h4 {
  color: #fff; font-size: .95rem; margin-bottom: 16px;
  position: relative; padding-bottom: 10px;
}
.site-footer h4::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 32px; height: 2px; background: var(--clr-accent);
}
.site-footer ul li { padding: 5px 0; }
.site-footer ul li a { color: rgba(255,255,255,.7); font-size: .9rem; }
.site-footer ul li a:hover { color: var(--clr-accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px; padding: 20px 0;
  font-size: .82rem; opacity: .6;
}
@media(max-width:767px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs { padding: 12px 0; font-size: .85rem; }
.breadcrumbs a { color: var(--clr-text-light); }
.breadcrumbs span { color: var(--clr-text-light); opacity: .6; margin: 0 6px; }

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media(max-width:992px) {
  .hero h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.7rem; }
  .section-pad { padding: 60px 0; }
}
@media(max-width:767px) {
  .hero { min-height: 420px; }
  .hero h1 { font-size: 1.7rem; }
  .hero p { font-size: 1rem; }
  .section-pad { padding: 48px 0; }
  .stats-row { gap: 24px; }
  .stat-item h3 { font-size: 1.8rem; }
  .care-levels { flex-direction: column; align-items: center; }
  .care-level { border-radius: var(--radius-md) !important; max-width: 100%; }
  .steps-row { flex-direction: column; align-items: center; }
  .step-card { border-radius: var(--radius-md) !important; max-width: 100%; width: 100%; }
}
