/* ==========================================================================
   NRVT Rehabilitation - Luxury Retreat #7 + Sidebar Navigation #4
   ========================================================================== */

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

:root {
  --primary: #2C3E50;
  --secondary: #8B7355;
  --accent: #D4AF37;
  --text: #1A1A1A;
  --text-light: #555;
  --bg: #FAF8F5;
  --bg-white: #FFFFFF;
  --sidebar-w: 280px;
  --gold-gradient: linear-gradient(135deg, #D4AF37, #F5D77A, #D4AF37);
  --shadow-soft: 0 2px 20px rgba(44,62,80,0.08);
  --shadow-card: 0 4px 24px rgba(44,62,80,0.10);
  --radius: 4px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Lato', 'Raleway', sans-serif;
  color: var(--text);
  background: 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; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  color: var(--primary);
  line-height: 1.3;
  font-weight: 600;
}
h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.85rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: var(--text-light); }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--primary); color: #fff;
  padding: 0.75rem 1.5rem; z-index: 10000;
  font-size: 0.9rem;
}
.skip-link:focus { top: 0; }

/* ---------- Top Bar ---------- */
.top-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 50px; z-index: 1000;
  background: var(--primary);
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 2rem;
  gap: 1.5rem;
}
.top-bar__phone a {
  color: #fff; font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.top-bar__phone a:hover { color: var(--accent); }
.top-bar__cta {
  display: inline-block;
  background: var(--accent); color: var(--primary);
  padding: 0.4rem 1.2rem; border-radius: var(--radius);
  font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 1px;
  transition: all var(--transition);
}
.top-bar__cta:hover {
  background: #F5D77A; color: var(--primary);
  transform: translateY(-1px);
}
.top-bar__hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.5rem; color: #fff; font-size: 1.5rem;
  line-height: 1;
}

/* ---------- Sidebar ---------- */
.sidebar {
  position: fixed; top: 50px; left: 0; bottom: 0;
  width: var(--sidebar-w); z-index: 900;
  background: var(--bg-white);
  border-right: 1px solid rgba(139,115,85,0.15);
  overflow-y: auto; padding: 2rem 0;
  box-shadow: 2px 0 20px rgba(0,0,0,0.04);
  transition: transform var(--transition);
}
.sidebar__logo {
  display: block; text-align: center;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(212,175,55,0.2);
  margin-bottom: 1.5rem;
}
.sidebar__logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--primary); letter-spacing: 1px;
}
.sidebar__logo-sub {
  font-size: 0.7rem; color: var(--secondary);
  text-transform: uppercase; letter-spacing: 2px;
  margin-top: 0.25rem;
}
.sidebar__nav { padding: 0 0.75rem; }
.sidebar__nav-item { margin-bottom: 0.15rem; }
.sidebar__nav-link {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1rem; border-radius: var(--radius);
  color: var(--text); font-size: 0.95rem; font-weight: 400;
  transition: all var(--transition);
  position: relative;
}
.sidebar__nav-link:hover,
.sidebar__nav-link--active {
  background: rgba(212,175,55,0.08);
  color: var(--accent);
}
.sidebar__nav-link--active::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 60%;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}
.sidebar__nav-link i { width: 20px; text-align: center; font-size: 1rem; }

/* Expandable sub-nav */
.sidebar__subnav { padding-left: 2.75rem; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.sidebar__subnav--open { max-height: 300px; }
.sidebar__subnav-link {
  display: block; padding: 0.4rem 0.75rem;
  font-size: 0.85rem; color: var(--text-light);
  border-left: 2px solid rgba(139,115,85,0.15);
  transition: all var(--transition);
}
.sidebar__subnav-link:hover {
  color: var(--accent);
  border-left-color: var(--accent);
}
.sidebar__toggle {
  background: none; border: none; cursor: pointer;
  margin-left: auto; padding: 0.25rem;
  color: var(--secondary); font-size: 0.75rem;
  transition: transform var(--transition);
}
.sidebar__toggle--open { transform: rotate(180deg); }

/* ---------- Main Content ---------- */
.main-content {
  margin-left: var(--sidebar-w);
  margin-top: 50px;
  min-height: calc(100vh - 50px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 500px;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(44,62,80,0.85), rgba(44,62,80,0.55));
}
.hero__content {
  position: relative; z-index: 2;
  text-align: center; padding: 3rem 2rem;
  max-width: 700px;
}
.hero__badge {
  display: inline-block;
  background: rgba(212,175,55,0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.35rem 1.2rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: #fff; font-size: 2.8rem; margin-bottom: 1rem; }
.hero__subtitle { color: rgba(255,255,255,0.85); font-size: 1.15rem; line-height: 1.7; margin-bottom: 2rem; }
.hero__cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 0.85rem 2rem;
  font-family: 'Lato', sans-serif; font-weight: 700;
  font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 1.5px; border: none; border-radius: var(--radius);
  cursor: pointer; transition: all var(--transition);
  text-align: center;
}
.btn--primary {
  background: var(--accent); color: var(--primary);
}
.btn--primary:hover {
  background: #F5D77A; transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,175,55,0.35);
  color: var(--primary);
}
.btn--secondary {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn--secondary:hover {
  border-color: #fff; background: rgba(255,255,255,0.1);
  color: #fff;
}
.btn--outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--accent);
}
.btn--outline:hover {
  background: var(--accent); color: var(--primary);
  transform: translateY(-2px);
}
.btn--dark {
  background: var(--primary); color: #fff;
}
.btn--dark:hover {
  background: #1a2a38; transform: translateY(-2px);
  color: #fff;
}

/* ---------- Sections ---------- */
.section {
  padding: 4rem 3rem;
}
.section--alt { background: var(--bg-white); }
.section--dark { background: var(--primary); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.8); }

.section__header {
  text-align: center; max-width: 700px;
  margin: 0 auto 3rem;
}
.section__header h2 { position: relative; padding-bottom: 1rem; }
.section__header h2::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px;
  background: var(--accent);
}
.section__header p { color: var(--text-light); margin-top: 1rem; }

/* ---------- Trust Bar ---------- */
.trust-bar {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; padding: 2.5rem 3rem;
  background: var(--bg-white);
  border-bottom: 1px solid rgba(139,115,85,0.1);
}
.trust-bar__item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem;
}
.trust-bar__icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.1);
  color: var(--accent);
  border-radius: var(--radius);
  font-size: 1.25rem; flex-shrink: 0;
}
.trust-bar__text h4 { font-size: 1rem; margin-bottom: 0.15rem; font-family: 'Lato', sans-serif; }
.trust-bar__text p { font-size: 0.85rem; margin: 0; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--bg-white);
  border: 1px solid rgba(139,115,85,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(212,175,55,0.3);
}
.card__img { width: 100%; height: 200px; object-fit: cover; }
.card__body { padding: 1.5rem; }
.card__title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.card__text { font-size: 0.9rem; line-height: 1.6; }
.card__link {
  display: inline-block; margin-top: 1rem;
  color: var(--accent); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 1px;
}
.card__link:hover { color: var(--secondary); }

/* ---------- Programs Section ---------- */
.program-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.program-card {
  background: var(--bg-white);
  border: 1px solid rgba(139,115,85,0.1);
  padding: 2rem; border-radius: var(--radius);
  text-align: center; transition: all var(--transition);
}
.program-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.program-card__icon {
  width: 60px; height: 60px; margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.1);
  color: var(--accent); font-size: 1.5rem;
  border-radius: 50%;
}
.program-card__title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.program-card__text { font-size: 0.9rem; }

/* ---------- Why Choose Us ---------- */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature-item {
  display: flex; gap: 1rem; align-items: flex-start;
}
.feature-item__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.1);
  color: var(--accent); border-radius: 50%;
  font-size: 1rem;
}
.feature-item h4 { font-size: 1rem; margin-bottom: 0.25rem; font-family: 'Lato', sans-serif; font-weight: 700; }
.feature-item p { font-size: 0.85rem; margin: 0; }

/* ---------- Gallery Grid ---------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius);
  transition: transform var(--transition);
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial {
  background: var(--bg-white);
  border: 1px solid rgba(139,115,85,0.1);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.testimonial::before {
  content: '\201C'; position: absolute; top: 0.5rem; left: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; color: rgba(212,175,55,0.2);
  line-height: 1;
}
.testimonial__quote {
  font-style: italic; font-size: 0.95rem; color: var(--text-light);
  margin-bottom: 1.25rem; padding-top: 1rem; line-height: 1.7;
}
.testimonial__author { font-weight: 700; color: var(--primary); font-size: 0.9rem; }
.testimonial__program { font-size: 0.8rem; color: var(--secondary); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--primary);
  padding: 3.5rem 3rem;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 2rem; }
.cta-banner .btn { margin: 0 0.5rem; }

/* ---------- Admissions Steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; counter-reset: step;
}
.step {
  text-align: center; padding: 1.5rem;
  position: relative;
}
.step__number {
  width: 50px; height: 50px; margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; font-weight: 700;
  border-radius: 50%;
}
.step h4 { font-size: 1.05rem; margin-bottom: 0.5rem; font-family: 'Lato', sans-serif; }
.step p { font-size: 0.85rem; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(139,115,85,0.15);
}
.faq-question {
  width: 100%; background: none; border: none;
  text-align: left; padding: 1.25rem 0;
  font-family: 'Lato', sans-serif; font-size: 1rem;
  font-weight: 600; color: var(--primary);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-question::after {
  content: '+'; font-size: 1.25rem; font-weight: 300;
  color: var(--accent); flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item--open .faq-question::after { content: '\2212'; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item--open .faq-answer {
  max-height: 500px; padding-bottom: 1.25rem;
}
.faq-answer p { font-size: 0.9rem; line-height: 1.7; }

/* ---------- Insurance Grid ---------- */
.insurance-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.insurance-item {
  background: var(--bg-white);
  border: 1px solid rgba(139,115,85,0.1);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600; font-size: 0.9rem;
  color: var(--primary);
  transition: all var(--transition);
}
.insurance-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

/* ---------- Contact Info ---------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.contact-card {
  background: var(--bg-white);
  border: 1px solid rgba(139,115,85,0.1);
  padding: 2rem; border-radius: var(--radius);
  text-align: center;
}
.contact-card__icon {
  width: 56px; height: 56px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.1);
  color: var(--accent); font-size: 1.25rem;
  border-radius: 50%;
}
.contact-card h4 { margin-bottom: 0.5rem; font-family: 'Lato', sans-serif; }
.contact-card p { font-size: 0.9rem; margin-bottom: 0.25rem; }
.contact-card a { color: var(--accent); font-weight: 600; }

/* ---------- Map ---------- */
.map-container { width: 100%; border-radius: var(--radius); overflow: hidden; }
.map-container iframe { width: 100%; height: 400px; border: 0; }

/* ---------- Blog Grid ---------- */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--bg-white);
  border: 1px solid rgba(139,115,85,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.blog-card__img { width: 100%; height: 200px; object-fit: cover; }
.blog-card__body { padding: 1.5rem; }
.blog-card__category {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent); margin-bottom: 0.75rem;
}
.blog-card__title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.blog-card__excerpt { font-size: 0.9rem; line-height: 1.6; }
.blog-card__meta { font-size: 0.8rem; color: var(--secondary); margin-top: 1rem; }

/* ---------- Blog Post Full ---------- */
.blog-post { max-width: 800px; }
.blog-post h2 { font-size: 1.6rem; margin-top: 2rem; }
.blog-post h3 { font-size: 1.3rem; margin-top: 1.5rem; }
.blog-post p { font-size: 1rem; line-height: 1.8; }
.blog-post ul, .blog-post ol {
  padding-left: 1.5rem; margin-bottom: 1rem;
}
.blog-post li {
  margin-bottom: 0.5rem; font-size: 0.95rem;
  color: var(--text-light); list-style: disc;
}

/* ---------- Privacy Page ---------- */
.privacy-content { max-width: 800px; }
.privacy-content h2 { font-size: 1.5rem; margin-top: 2.5rem; border-bottom: 1px solid rgba(139,115,85,0.15); padding-bottom: 0.5rem; }
.privacy-content h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.privacy-content p { font-size: 0.95rem; }
.privacy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.privacy-content li { list-style: disc; margin-bottom: 0.35rem; font-size: 0.9rem; color: var(--text-light); }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding: 3.5rem 3rem 1.5rem;
  margin-left: var(--sidebar-w);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer h4 {
  color: #fff; font-family: 'Lato', sans-serif;
  font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 1.25rem;
  position: relative; padding-bottom: 0.75rem;
}
.footer h4::after {
  content: ''; position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--accent);
}
.footer p { font-size: 0.85rem; margin-bottom: 0.5rem; color: rgba(255,255,255,0.65); }
.footer a { color: rgba(255,255,255,0.65); font-size: 0.85rem; transition: color var(--transition); }
.footer a:hover { color: var(--accent); }
.footer ul li { margin-bottom: 0.4rem; }
.footer__brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: #fff; font-weight: 600;
  margin-bottom: 1rem;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem; text-align: center;
  font-size: 0.8rem;
}
.footer__bottom a { margin: 0 0.5rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 1rem 0 0; font-size: 0.85rem;
}
.breadcrumb a { color: var(--secondary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-light); }

/* ---------- Content Helpers ---------- */
.content-block { margin-bottom: 3rem; }
.content-block:last-child { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.gold-divider { width: 60px; height: 3px; background: var(--accent); margin: 1.5rem 0; }
.text-center { text-align: center; }
.text-gold { color: var(--accent); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }

/* Amenity / Modality List */
.amenity-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.amenity-list li {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9rem; color: var(--text-light);
  padding: 0.5rem 0;
}
.amenity-list li::before {
  content: '\2713'; color: var(--accent);
  font-weight: 700; font-size: 0.8rem;
}

/* ---------- Substances Treated ---------- */
.substance-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.substance-tag {
  background: rgba(212,175,55,0.08);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 0.4rem 1rem; border-radius: 2px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--primary);
}

/* ---------- Daily Schedule ---------- */
.schedule-list { max-width: 600px; }
.schedule-item {
  display: flex; gap: 1.5rem; padding: 0.75rem 0;
  border-bottom: 1px solid rgba(139,115,85,0.1);
  font-size: 0.9rem;
}
.schedule-item__time { font-weight: 700; color: var(--accent); min-width: 100px; }
.schedule-item__activity { color: var(--text-light); }

/* ---------- Team Grid ---------- */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.team-member {
  text-align: center; padding: 2rem;
  background: var(--bg-white);
  border: 1px solid rgba(139,115,85,0.1);
  border-radius: var(--radius);
}
.team-member__icon {
  width: 70px; height: 70px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(212,175,55,0.1);
  color: var(--accent); border-radius: 50%;
  font-size: 1.5rem;
}
.team-member h4 { font-family: 'Lato', sans-serif; margin-bottom: 0.25rem; }
.team-member__title { font-size: 0.8rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.team-member p { font-size: 0.85rem; margin-top: 0.75rem; }

/* ---------- Stats Bar ---------- */
.stats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem; text-align: center;
}
.stat-item__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.stat-item__label { font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.35rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar--open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .footer { margin-left: 0; }
  .top-bar__hamburger { display: block; }
  .top-bar { justify-content: space-between; }
  .section { padding: 3rem 2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
  .trust-bar { grid-template-columns: 1fr; }
  .hero { min-height: 400px; }
  .hero h1 { font-size: 1.75rem; }
  .hero__cta-group { flex-direction: column; align-items: center; }
  .section { padding: 2.5rem 1.25rem; }
  .footer { padding: 2.5rem 1.25rem 1.25rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .top-bar { padding: 0 1rem; }
  .hero h1 { font-size: 1.5rem; }
  .section { padding: 2rem 1rem; }
  .btn { padding: 0.75rem 1.5rem; font-size: 0.8rem; }
}

/* ---------- Sidebar Overlay (mobile) ---------- */
.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 899;
}
.sidebar-overlay--visible { display: block; }

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