/* ==========================================================================
   Sahayam Mind Clinic — Design System & Styles
   Brand palette derived from supplied logo (terracotta / warm sand)
   ========================================================================== */

:root {
  /* Brand colours */
  --terra: #9C5835;
  --sand: #E3D9C3;
  --dark-terra: #743D26;
  --clay: #B97856;
  --blush: #D2B19E;
  --pale-sand: #F1E9DA;
  --ivory: #FAF7F2;
  --paper: #FFFDF9;
  --umber: #342821;
  --text-muted: #71625B;
  --border: #E5D8CB;
  --emergency-bg: #F6E4DE;
  --emergency-text: #713C34;

  /* Type */
  --font-serif: 'Lora', 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing / radii / shadow */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --shadow-soft: 0 10px 30px -12px rgba(52, 40, 33, 0.16);
  --shadow-card: 0 4px 18px -6px rgba(52, 40, 33, 0.10);
  --header-h: 76px;
  --mobile-bar-h: 64px;
  --container-w: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--umber);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--terra); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--umber); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
button { font-family: inherit; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--terra);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}
:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}
.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;
}

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

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 88px 0; }
.section--sand { background: var(--pale-sand); }
.section--ivory { background: var(--ivory); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--dark-terra); color: var(--pale-sand); }
.section--dark h2, .section--dark h3, .appointment-section h2, .appointment-section h3 { color: var(--ivory); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head.align-left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}
.section--dark .eyebrow, .appointment-section .eyebrow { color: var(--blush); }
h2.section-title { font-size: clamp(28px, 4vw, 40px); }
.section-lede { color: var(--text-muted); font-size: 18px; }
.section--dark .section-lede, .appointment-section .section-lede { color: var(--sand); }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  text-decoration: none;
  min-height: 48px;
  line-height: 1;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--terra);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--dark-terra); }
.btn-outline {
  background: transparent;
  border-color: var(--terra);
  color: var(--terra);
}
.btn-outline:hover { background: rgba(156,88,53,0.08); }
.btn-ghost-light {
  background: transparent;
  border-color: var(--sand);
  color: var(--ivory);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); }
.btn-light {
  background: var(--ivory);
  color: var(--dark-terra);
}
.btn-light:hover { background: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; min-height: 40px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { height: 44px; width: auto; flex-shrink: 0; }
.brand-word { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-serif); font-size: 21px; font-weight: 600; color: var(--umber); }
.brand-caption { font-family: var(--font-sans); font-size: 10.5px; font-weight: 700; letter-spacing: 2px; color: var(--terra); }
.footer-brand-mark { margin-bottom: 14px; }
.footer-brand-mark .brand-mark { height: 38px; }
.footer-brand-mark .brand-name { color: var(--ivory); }
.footer-brand-mark .brand-caption { color: var(--sand); }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--umber);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav a:focus-visible { background: var(--pale-sand); color: var(--terra); }
.main-nav a.active { color: var(--terra); background: var(--pale-sand); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .icon-link {
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border);
}
.header-actions .icon-link:hover { background: var(--pale-sand); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--umber);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Mobile action bar ---------- */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 600;
  background: var(--paper);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 20px -10px rgba(52,40,33,0.2);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.mobile-action-bar .bar-inner { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 8px; }
.mobile-action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  min-height: 52px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  color: var(--umber);
  background: var(--pale-sand);
}
.mobile-action-bar a.bar-book { background: var(--terra); color: #fff; }
.mobile-action-bar svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ivory);
  overflow: hidden;
  padding: 64px 0 80px;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  opacity: 0.55;
}
.hero-shape.s1 { width: 420px; height: 420px; background: var(--pale-sand); top: -140px; right: -120px; }
.hero-shape.s2 { width: 260px; height: 260px; background: var(--blush); opacity: 0.35; bottom: -80px; left: -80px; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy h1 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 22px;
}
.hero-copy h1 em {
  color: var(--terra);
  font-style: italic;
}
.hero-lede { font-size: 19px; color: var(--text-muted); max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--umber); }
.trust-item svg { width: 18px; height: 18px; color: var(--terra); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--pale-sand);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-devanagari {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(52,40,33,0.55);
  backdrop-filter: blur(4px);
  color: var(--ivory);
  padding: 14px 18px;
  border-radius: var(--radius-md);
}
.hero-devanagari .deva { font-family: var(--font-serif); font-size: 22px; margin-bottom: 2px; }
.hero-devanagari .tagline { font-size: 12px; letter-spacing: .5px; color: var(--sand); }
.hours-card {
  position: absolute;
  bottom: -28px; right: -20px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 18px 22px;
  min-width: 200px;
}
.hours-card .h-title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--terra); margin-bottom: 6px; }
.hours-card .h-days { font-weight: 700; margin-bottom: 2px; }
.hours-card .h-time { color: var(--text-muted); font-size: 14px; }

/* ---------- Emergency banner ---------- */
.emergency-banner {
  background: var(--emergency-bg);
  color: var(--emergency-text);
  border-top: 1px solid rgba(113,60,52,0.15);
  border-bottom: 1px solid rgba(113,60,52,0.15);
}
.emergency-banner .container {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 24px;
}
.emergency-banner svg { flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; }
.emergency-banner p { margin: 0; font-size: 15px; line-height: 1.6; }
.emergency-banner a { color: var(--emergency-text); font-weight: 700; text-decoration: underline; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-highlight {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--terra);
  border-left: 4px solid var(--terra);
  padding-left: 22px;
  margin-top: 28px;
  line-height: 1.4;
}
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--pale-sand);
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  padding: 14%;
}
.about-visual img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--pale-sand);
  color: var(--terra);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card button.toggle-list {
  background: none; border: none; padding: 0;
  color: var(--terra); font-weight: 700; font-size: 14px;
  cursor: pointer; display: flex; align-items: center; gap: 6px;
  min-height: 44px;
}
.service-card button.toggle-list svg { width: 14px; height: 14px; transition: transform .2s ease; }
.service-card button.toggle-list[aria-expanded="true"] svg { transform: rotate(180deg); }
.service-card .condition-list {
  margin-top: 12px;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 14.5px;
  list-style: disc;
  display: grid;
  gap: 4px;
}
.service-card .condition-list[hidden] { display: none; }
.service-note {
  grid-column: 1 / -1;
  background: var(--pale-sand);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 15px;
  color: var(--umber);
}
.service-note strong { color: var(--dark-terra); }

/* ---------- Doctor ---------- */
.doctor-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.doctor-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--blush);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.doctor-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.credential-pill {
  display: inline-block;
  background: var(--pale-sand);
  color: var(--dark-terra);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}
.reg-box {
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--pale-sand);
  border: 1px dashed var(--clay);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-muted);
}
.reg-box strong { color: var(--umber); }

/* ---------- Why choose ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.why-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--pale-sand);
  color: var(--terra);
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; }
.why-item h3 { font-size: 16.5px; margin: 0; }

/* ---------- Philosophy ---------- */
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.value-circles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.value-circle {
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 1.5px solid var(--clay);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 20px;
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--ivory);
}
.value-circle:nth-child(1) { background: rgba(156,88,53,0.35); }
.value-circle:nth-child(2) { background: rgba(185,120,86,0.30); }
.value-circle:nth-child(3) { background: rgba(210,177,158,0.22); }
.value-circle:nth-child(4) { background: rgba(227,217,195,0.18); }

/* ---------- Journey ---------- */
.journey-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.journey-step { position: relative; padding-top: 8px; }
.journey-step .num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--terra);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.journey-step h3 { font-size: 18px; margin-bottom: 8px; }
.journey-step p { color: var(--text-muted); font-size: 15px; margin: 0; }
.journey-connector {
  display: none;
}

/* ---------- Resources ---------- */
.resources-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.resource-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.resource-badge {
  align-self: flex-start;
  background: var(--pale-sand);
  color: var(--dark-terra);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}
.resource-card h3 { font-size: 17.5px; margin: 4px 0 0; }
.resource-meta { font-size: 13px; color: var(--text-muted); margin-top: auto; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--pale-sand);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-frame .ph-icon { width: 40px; height: 40px; color: var(--clay); margin-bottom: 10px; }
.gallery-frame .ph-content {
  display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px;
}
.gallery-frame .ph-label { font-weight: 700; color: var(--dark-terra); font-size: 14.5px; margin-bottom: 4px; }
.gallery-frame .ph-sub { font-size: 12.5px; color: var(--text-muted); }
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Appointment ---------- */
.appointment-section { background: var(--dark-terra); color: var(--pale-sand); }
.appointment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.appointment-actions { display: flex; flex-direction: column; gap: 14px; margin-top: 26px; }
.appointment-actions .btn { justify-content: flex-start; }
.clinic-hours-block {
  margin-top: 34px;
  padding: 20px 24px;
  border: 1px solid rgba(241,233,218,0.25);
  border-radius: var(--radius-md);
}
.clinic-hours-block h4 { color: var(--ivory); font-size: 15px; margin-bottom: 8px; }
.clinic-hours-block p { margin: 0; color: var(--sand); font-size: 14.5px; }

.booking-form {
  background: var(--paper);
  color: var(--umber);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}
.booking-form h3 { font-size: 20px; margin-bottom: 6px; }
.form-note { font-size: 13.5px; color: var(--text-muted); margin-bottom: 22px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--ivory);
  color: var(--umber);
  min-height: 44px;
}
.form-row input:focus, .form-row select:focus { border-color: var(--terra); outline: none; }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 500; min-height: 44px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.checkbox-row input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--terra); }
.checkbox-row label { font-size: 14px; color: var(--text-muted); }
.form-disclaimer {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--pale-sand);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 6px;
}
.form-status { font-size: 14px; margin-top: 14px; display: none; }
.form-status.visible { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-detail { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-detail .ic {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--pale-sand);
  color: var(--terra);
  display: flex; align-items: center; justify-content: center;
}
.contact-detail .ic svg { width: 20px; height: 20px; }
.contact-detail h4 { margin: 0 0 4px; font-size: 15.5px; }
.contact-detail p, .contact-detail a { margin: 0; color: var(--text-muted); font-size: 15px; }
.contact-detail a { color: var(--umber); }
.social-row { display: flex; gap: 12px; margin: 4px 0 22px; }
.social-ic {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--pale-sand);
  color: var(--terra);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.social-ic svg { width: 20px; height: 20px; }
.social-ic:hover, .social-ic:focus-visible { background: var(--terra); color: var(--ivory); transform: translateY(-2px); }
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
  background: var(--pale-sand);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.privacy-note {
  margin-top: 26px;
  padding: 18px 20px;
  background: var(--pale-sand);
  border-radius: var(--radius-md);
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--umber);
  color: var(--sand);
  padding: 56px 0 28px;
}
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 36px; }
.footer-brand p { color: var(--blush); font-family: var(--font-serif); font-size: 17px; max-width: 280px; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h5 { color: var(--ivory); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--sand); font-size: 14.5px; margin-bottom: 10px; opacity: 0.9; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom {
  border-top: 1px solid rgba(227,217,195,0.18);
  padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--blush);
}

/* ---------- Simple pages (privacy / disclaimer) ---------- */
.simple-page { padding: 60px 0 100px; }
.simple-page h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.simple-page .updated { color: var(--text-muted); font-size: 14px; margin-bottom: 40px; }
.simple-page h2 { font-size: 22px; margin-top: 40px; }
.simple-page p, .simple-page li { color: var(--umber); font-size: 16px; }
.simple-page ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.back-home { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-weight: 600; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-steps { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .about-grid, .doctor-grid, .philosophy-grid, .appointment-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual, .doctor-photo-frame { max-width: 420px; margin: 0 auto; }
  body { padding-bottom: var(--mobile-bar-h); }
  .mobile-action-bar { display: block; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .services-grid, .why-grid, .journey-steps, .gallery-grid, .resources-grid, .value-circles {
    grid-template-columns: 1fr;
  }
  .hours-card { position: static; margin-top: 16px; width: 100%; }
  .hero-devanagari { position: static; margin-top: 14px; display: inline-block; }
  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
}

/* Mobile nav drawer */
@media (max-width: 960px) {
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 12px;
    box-shadow: var(--shadow-soft);
    gap: 2px;
  }
  .main-nav.open a { padding: 14px 16px; }
}
