/* ============================================================
   Saraswathi Clinic — Design System
   Aesthetic: Emerald Botanical Wellness · High-End Medical Glassmorphism
   Default: Dark Emerald Theme (`[data-theme="dark"]` / system default)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* ── Dark Emerald Base (Default) ── */
  --bg-deep:       #0A1412;
  --bg-dark:       #101C1A;
  --bg-card:       #162623;
  --bg-surface:    #1D302C;
  --bg-glass:      rgba(16, 28, 26, 0.78);

  /* ── Brand Colors ── */
  --emerald-950:   #04120E;
  --emerald-900:   #09241D;
  --emerald-800:   #114236;
  --emerald-700:   #186351;
  --emerald-600:   #21856D;
  --emerald-500:   #10B981; /* Main Brand Accent */
  --emerald-400:   #34D399;
  --emerald-300:   #6EE7B7;
  --emerald-200:   #A7F3D0;
  --emerald-100:   #D1FAE5;

  /* ── Warm Gold / Amber Accent ── */
  --gold-500:      #F59E0B;
  --gold-400:      #FBBF24;
  --gold-300:      #FDE047;
  --gold-100:      #FEF3C7;

  /* ── Foreground Ink ── */
  --white:         #F3FAF7;
  --muted:         rgba(215, 237, 231, 0.65);
  --muted-2:       rgba(215, 237, 231, 0.42);
  --border:        rgba(16, 185, 129, 0.16);
  --border-strong: rgba(16, 185, 129, 0.32);

  /* ── Typography ── */
  --font-display:  'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:     'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --fs-xs:   0.75rem;    /* 12px */
  --fs-sm:   0.875rem;   /* 14px */
  --fs-base: 1rem;       /* 16px */
  --fs-md:   1.125rem;   /* 18px */
  --fs-lg:   1.375rem;   /* 22px */
  --fs-xl:   1.75rem;    /* 28px */
  --fs-2xl:  2.5rem;     /* 40px */
  --fs-3xl:  3.5rem;     /* 56px */

  /* ── Spacing ── */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 16px;
  --sp-4: 24px;  --sp-5: 32px;  --sp-6: 48px;
  --sp-7: 64px;  --sp-8: 96px;  --sp-9: 128px;

  /* ── Radii ── */
  --r-xs: 6px;   --r-sm: 10px;  --r-md: 16px;
  --r-lg: 24px;  --r-xl: 32px;  --r-pill: 999px;

  /* ── Shadows ── */
  --shadow-emerald: 0 0 40px rgba(16, 185, 129, 0.18);
  --shadow-card:    0 24px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow:    0 0 80px rgba(16, 185, 129, 0.14);
  --shadow-btn:     0 8px 24px rgba(16, 185, 129, 0.32);

  --container-max: 1200px;
}

/* ============================================================
   Light Mode Theme Overrides
   ============================================================ */
[data-theme="light"] {
  --bg-deep:       #F2F9F6;
  --bg-dark:       #E6F4EE;
  --bg-card:       #FFFFFF;
  --bg-surface:    #D5EBE2;
  --bg-glass:      rgba(255, 255, 255, 0.88);

  --white:         #0C1E1A;
  --muted:         rgba(12, 30, 26, 0.68);
  --muted-2:       rgba(12, 30, 26, 0.46);

  --emerald-400:   #059669;
  --emerald-300:   #047857;

  --border:        rgba(16, 185, 129, 0.22);
  --border-strong: rgba(16, 185, 129, 0.38);

  --shadow-emerald: 0 0 30px rgba(16, 185, 129, 0.12);
  --shadow-card:    0 12px 36px rgba(0, 0, 0, 0.07);
  --shadow-glow:    0 0 60px rgba(16, 185, 129, 0.08);
  --shadow-btn:     0 6px 20px rgba(16, 185, 129, 0.28);

  --gold-400:      #D97706;
}

/* ── Reset & Global Setup ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--white);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5, figure, p { margin: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ── Screen Reader Utility ── */
.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;
}
.sr-only:focus {
  position: fixed; top: 16px; left: 16px;
  width: auto; height: auto; padding: 8px 20px;
  background: var(--emerald-500); color: #04120E;
  border-radius: var(--r-sm); z-index: 1000; clip: auto;
  font-weight: 700;
}

/* ── Headings ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--white);
}

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

section { padding: var(--sp-8) 0; }

/* ── Ambient Background Noise Texture ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-400);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald-400), transparent);
  border-radius: var(--r-pill);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }
.eyebrow--light { color: var(--emerald-300); }

/* ── Section Headings ── */
.section-head { max-width: 680px; margin-bottom: var(--sp-7); }
.section-head.center, .section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: var(--fs-3xl);
  background: linear-gradient(135deg, var(--white) 30%, var(--emerald-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-head .section-lede, .section-head p {
  margin-top: var(--sp-3);
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.75;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 var(--sp-5);
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-sm);
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.98); }

.btn--primary, .btn-primary {
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700));
  color: #FFFFFF;
  box-shadow: var(--shadow-btn);
  border-color: var(--emerald-400);
}
.btn--primary:hover, .btn-primary:hover {
  background: linear-gradient(135deg, var(--emerald-400), var(--emerald-600));
  box-shadow: 0 12px 36px rgba(16, 185, 129, 0.45);
  transform: translateY(-2px);
}

.btn--ghost, .btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover, .btn-secondary:hover {
  border-color: var(--emerald-400);
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.08);
  transform: translateY(-2px);
}

.btn--lg { height: 56px; padding: 0 var(--sp-6); font-size: var(--fs-base); }
.btn--full { width: 100%; justify-content: center; }
.btn--nav { display: inline-flex; height: 42px; padding: 0 var(--sp-4); font-size: var(--fs-xs); }

/* ============================================================
   Top Bar
   ============================================================ */
.topbar {
  background: #061613;
  color: #D1FAE5;
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  position: relative;
  z-index: 101;
}
[data-theme="light"] .topbar {
  background: #082E26;
  color: #E6F4EE;
  border-bottom-color: rgba(16, 185, 129, 0.3);
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  height: 42px;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #D1FAE5;
}
.topbar__item a {
  color: #D1FAE5;
  transition: color 0.2s;
}
.topbar__item a:hover { color: var(--emerald-300); }
[data-theme="light"] .topbar__item { color: #E6F4EE; }
[data-theme="light"] .topbar__item a { color: #E6F4EE; }

.topbar__item svg { color: #34D399; flex-shrink: 0; }
[data-theme="light"] .topbar__item svg { color: #6EE7B7; }

.topbar__cta {
  margin-left: auto;
  font-weight: 700;
  color: #34D399;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.topbar__cta:hover { color: #6EE7B7; text-decoration: underline; }
[data-theme="light"] .topbar__cta { color: #6EE7B7; }

/* ============================================================
   Header & Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 18, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
  z-index: -1;
}
[data-theme="light"] .site-header::before {
  background: rgba(242, 249, 246, 0.90);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--sp-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  border: 1px solid var(--border-strong);
  transition: transform 0.3s ease;
}
.brand:hover .brand__mark { transform: rotate(10deg) scale(1.05); }
.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--white);
  letter-spacing: -0.02em;
}
.brand__text em {
  font-style: normal;
  color: var(--emerald-400);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-left: auto;
}
.nav a {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--emerald-400);
  border-radius: 2px;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { right: 0; }

/* Active Nav State */
.nav a.active,
.nav a[aria-current="page"] {
  color: var(--emerald-400);
}
.nav a.active::after,
.nav a[aria-current="page"]::after {
  right: 0 !important;
}

/* Nav Actions Container */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-left: var(--sp-4);
}

/* Nav Toggle (Hamburger) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
}
.mobile-nav.is-open {
  display: flex;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 20, 18, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  z-index: 99;
  padding: var(--sp-6);
}
[data-theme="light"] .mobile-nav.is-open {
  background: rgba(242, 249, 246, 0.97);
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--emerald-400);
}

/* Theme Toggle Button */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--emerald-400);
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.08);
}
.theme-toggle .icon-sun  { display: block; }
.theme-toggle .icon-moon { display: none;  }
[data-theme="light"] .theme-toggle .icon-sun  { display: none;  }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-8);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -15%; right: -10%;
  width: 70vw; height: 70vw;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-7);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 4.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--sp-4);
  text-wrap: balance;
  max-width: 15ch;
  background: linear-gradient(135deg, var(--white) 50%, var(--emerald-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__lede {
  font-size: var(--fs-md);
  color: var(--muted);
  max-width: 520px;
  margin-bottom: var(--sp-6);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-7);
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: var(--sp-5);
}
.hero__trust-item {
  display: flex;
  flex-direction: column;
}
.hero__trust-item strong {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--emerald-400);
  line-height: 1;
}
.hero__trust-item span {
  font-size: var(--fs-xs);
  color: var(--muted-2);
  font-weight: 600;
  margin-top: 4px;
}

.hero__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__media-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  pointer-events: none;
}
.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.hero__badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
}
.hero__badge svg { color: var(--gold-400); flex-shrink: 0; }
.hero__badge strong { font-size: var(--fs-sm); color: var(--white); display: block; }
.hero__badge span { font-size: var(--fs-xs); color: var(--muted); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-5) 0;
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--muted);
}
.trust-strip__item svg { color: var(--emerald-400); flex-shrink: 0; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services { background: var(--bg-deep); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-500), var(--emerald-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-emerald);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald-400);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.service-card__icon--blue { background: rgba(16, 185, 129, 0.1); color: var(--emerald-400); }
.service-card__icon--mint { background: rgba(245, 158, 11, 0.1); color: var(--gold-400); border-color: rgba(245, 158, 11, 0.25); }

.service-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}
.service-card p {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
  flex: 1;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--emerald-400);
  transition: gap 0.2s ease, color 0.2s ease;
}
.service-card__link:hover { gap: 10px; color: var(--emerald-300); }

/* ============================================================
   WHY US / HYGIENE
   ============================================================ */
.hygiene { background: var(--bg-dark); }
.hygiene__inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: var(--sp-7);
  align-items: center;
}
.hygiene__media {
  position: relative;
}
.hygiene__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.hygiene__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin: var(--sp-5) 0 var(--sp-6);
}
.hygiene__list li {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  background: var(--bg-card);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.hygiene__check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hygiene__list strong { font-size: var(--fs-base); color: var(--white); display: block; margin-bottom: 2px; }
.hygiene__list p { font-size: var(--fs-sm); color: var(--muted); }

/* ============================================================
   DOCTOR SECTION
   ============================================================ */
.doctor { background: var(--bg-deep); }
.doctor__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-7);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-7);
  position: relative;
  overflow: hidden;
}
.doctor__inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--emerald-400), var(--emerald-700));
}

.doctor__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
}
.doctor__role {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--emerald-400);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: var(--sp-1) 0 var(--sp-3);
}
.doctor__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin: var(--sp-5) 0;
  background: var(--bg-surface);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  border: 1px solid var(--border);
}
.doctor__stats div { text-align: center; }
.doctor__stats strong {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--emerald-400);
  display: block;
}
.doctor__stats span { font-size: var(--fs-xs); color: var(--muted-2); font-weight: 600; }
.doctor__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bg-dark); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.stars { color: var(--gold-400); font-size: var(--fs-sm); letter-spacing: 2px; }
.testimonial-card blockquote {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testimonial-card figcaption {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--white);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-3);
}
.testimonials__more {
  text-align: center;
  margin-top: var(--sp-6);
}
.testimonials__more a {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--emerald-400);
  transition: color 0.2s;
}
.testimonials__more a:hover { color: var(--emerald-300); text-decoration: underline; }

/* ============================================================
   APPOINTMENT / FORM SECTION
   ============================================================ */
.appointment { background: var(--bg-deep); }
.appointment__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-7);
  align-items: center;
}
.appointment__text h2 {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-3);
}
.appointment__text p {
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}
.appointment__points {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.appointment__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--white);
}
.appointment__points li::before {
  content: '✓';
  color: var(--emerald-400);
  font-weight: 800;
}

.appointment__form {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.form-row label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-row input, .form-row select {
  height: 48px;
  padding: 0 var(--sp-3);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus, .form-row select:focus {
  outline: none;
  border-color: var(--emerald-400);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.form-note {
  font-size: var(--fs-xs);
  color: var(--emerald-400);
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-8);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr 1.2fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
}
.footer__brand p {
  font-size: var(--fs-sm);
  color: var(--muted-2);
  margin-top: var(--sp-3);
  max-width: 280px;
}
.footer__col h4, .footer__map h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.footer__col p {
  font-size: var(--fs-sm);
  color: var(--muted-2);
  margin-bottom: var(--sp-2);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.footer__col p svg { color: var(--emerald-400); flex-shrink: 0; margin-top: 3px; }

.footer__map-frame {
  width: 100%;
  height: 180px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.footer__map-frame iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(1) invert(0.9) contrast(1.1);
  opacity: 0.75;
}
[data-theme="light"] .footer__map-frame iframe {
  filter: none; opacity: 1;
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: var(--sp-4) 0;
  font-size: var(--fs-xs);
  color: var(--muted-2);
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer__bottom-links { display: flex; gap: var(--sp-4); }
.footer__bottom-links a:hover { color: var(--emerald-400); }

/* ============================================================
   ABOUT PAGE SPECIFICS
   ============================================================ */
.about-hero { padding-top: var(--sp-7); }
.about-hero__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-7);
  align-items: center;
}
.about-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.about-hero__lede {
  font-size: var(--fs-md);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: var(--sp-5);
}

.bio { background: var(--bg-dark); }
.bio__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-7);
  align-items: start;
}
.bio__text p {
  color: var(--muted);
  font-size: var(--fs-md);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}
.bio__card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}
.bio__card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-4); }
.bio__facts { display: flex; flex-direction: column; gap: var(--sp-3); }
.bio__facts li { display: flex; flex-direction: column; gap: 2px; }
.bio__fact-label { font-size: var(--fs-xs); font-weight: 700; color: var(--emerald-400); text-transform: uppercase; letter-spacing: 0.05em; }
.bio__facts span:last-child { font-size: var(--fs-sm); color: var(--muted); }

.care-areas { background: var(--bg-deep); }
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
}
.care-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  transition: transform 0.25s, border-color 0.25s;
}
.care-item:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.care-item strong { font-size: var(--fs-base); color: var(--white); display: block; margin-bottom: 4px; }
.care-item p { font-size: var(--fs-sm); color: var(--muted); }

.about-cta { background: var(--bg-dark); text-align: center; }
.about-cta__inner {
  background: linear-gradient(135deg, #0F332A 0%, #061B16 100%);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  box-shadow: var(--shadow-card);
}
.about-cta h2 {
  font-size: var(--fs-3xl);
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
}
.about-cta p {
  color: rgba(215, 237, 231, 0.88);
  font-size: var(--fs-md);
  max-width: 480px;
}

[data-theme="light"] .about-cta__inner {
  background: linear-gradient(135deg, #0A362C 0%, #051F19 100%);
  border-color: rgba(16, 185, 129, 0.4);
}
[data-theme="light"] .about-cta h2 {
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
}
[data-theme="light"] .about-cta p {
  color: rgba(255, 255, 255, 0.88);
}

/* ============================================================
   Focus-Visible Accessibility
   ============================================================ */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--emerald-400);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
.btn:focus-visible { outline-offset: 2px; border-radius: var(--r-pill); }
.theme-toggle:focus-visible, .nav-toggle:focus-visible { outline-offset: 2px; border-radius: 50%; }

/* Smooth Theme Transitions */
.theme-transitioning, .theme-transitioning * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive Adjustments
   ============================================================ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .btn--nav { display: none; }
  .hero__inner, .hygiene__inner, .doctor__inner, .appointment__inner, .about-hero__inner, .bio__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .hero__media, .hygiene__media, .doctor__media, .about-hero__media {
    order: -1;
  }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --fs-3xl: 2.25rem; --fs-2xl: 1.85rem; }
  section { padding: var(--sp-6) 0; }
  .topbar { display: none; }
  .header__inner { height: 68px; }
  .service-grid, .testimonial-grid, .care-grid { grid-template-columns: 1fr; }
  .form-row--split { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .doctor__stats { grid-template-columns: 1fr; gap: var(--sp-3); }
}
