/* ==========================================================================
   Arya Ayurveda — Design System
   Palette: Sage #6E8B74 · Forest #2F5D50 · Ivory #F7F4EE · Gold #C6A35B · Charcoal #2B2B2B
   Type: Fraunces (headings) + Inter (body)
   ========================================================================== */

/* ------------- Font-display overrides (reduce layout shift) ------------- */
/* Inter 400 & 500 are body text — use 'optional' so if they don't load in
   time the browser sticks with the system font and avoids a visible reflow. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: local('Inter'), local('Inter-Regular');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: local('Inter Medium'), local('Inter-Medium');
}

/* Fraunces (headings) — swap is fine here; headings benefit from the branded font */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: local('Fraunces');
}

/* ------------------------------- Tokens --------------------------------- */
:root {
  --forest: #2F5D50;
  --forest-dark: #244A40;
  --forest-deep: #1D3A32;
  --sage: #6E8B74;
  --sage-soft: #E8EDE7;
  --sage-tint: rgba(110, 139, 116, 0.10);
  --ivory: #F7F4EE;
  --ivory-2: #FBF9F4;
  --card: #FFFFFF;
  --gold: #C6A35B;
  --gold-soft: #E7D6AE;
  --charcoal: #2B2B2B;
  --charcoal-70: rgba(43, 43, 43, 0.70);
  --charcoal-55: rgba(43, 43, 43, 0.55);
  --line: rgba(43, 43, 43, 0.10);
  --line-strong: rgba(43, 43, 43, 0.16);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(29, 58, 50, 0.06);
  --shadow: 0 10px 30px rgba(29, 58, 50, 0.08);
  --shadow-lg: 0 24px 60px rgba(29, 58, 50, 0.14);
  --shadow-gold: 0 10px 30px rgba(198, 163, 91, 0.28);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --container-narrow: 900px;
  --header-h: 78px;
  --topbar-h: 42px;
  --header-total: calc(var(--topbar-h) + var(--header-h));

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--ivory);
  /* subtle paper grain texture (pre-rendered tile — avoids feTurbulence compositor cost) */
  background-image: url("grain.png");
  background-repeat: repeat;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------- Typography -------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  color: var(--forest-deep);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 480; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

.lead { font-size: 1.12rem; color: var(--charcoal-70); }
.muted { color: var(--charcoal-55); }
.serif-accent { font-family: var(--font-head); font-style: italic; color: var(--sage); }

/* ---------------------------- Layout ------------------------------------ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--container-narrow); }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.bg-sage { background: linear-gradient(180deg, var(--ivory-2), var(--sage-soft)); }
.bg-forest { background: var(--forest-deep); color: var(--ivory); }
.bg-forest h1, .bg-forest h2, .bg-forest h3 { color: var(--ivory); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 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;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.96rem;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s;
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--forest); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--forest-dark); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn-gold { background: var(--gold); color: #3a2f16; box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-3px); filter: brightness(1.04); }
.btn-outline { background: transparent; color: var(--forest); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--forest); background: var(--sage-tint); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

/* ----------------------------- Top bar ---------------------------------- */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  height: 42px;
  background: var(--forest-deep);
  display: flex;
  align-items: center;
  font-size: 0.84rem;
  color: rgba(247, 244, 238, 0.75);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.top-bar.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.top-bar a { color: rgba(247, 244, 238, 0.75); transition: color 0.25s; }
.top-bar a:hover { color: var(--gold-soft); }
.top-bar-left { display: flex; align-items: center; gap: 0.6rem; }
.top-bar-left a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(247, 244, 238, 0.25); transition: background 0.25s, border-color 0.25s; }
.top-bar-left a:hover { background: rgba(247, 244, 238, 0.12); border-color: rgba(247, 244, 238, 0.45); }
.top-bar-left svg { width: 14px; height: 14px; }
.top-bar-right { display: flex; align-items: center; gap: 0.5rem; }
.top-bar-right svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 560px) {
  .top-bar { font-size: 0.76rem; height: 38px; }
}

/* ---------------------------- Header ------------------------------------ */
.site-header {
  position: fixed;
  top: 42px; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease), top 0.4s var(--ease);
}
.site-header.scrolled {
  top: 0;
  background: rgba(247, 244, 238, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
  height: 66px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; gap: 1rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 44px; width: auto; transition: height 0.4s var(--ease); background: rgba(255,255,255,0.92); border-radius: 50%; padding: 3px; }
.scrolled .brand img { height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
/* Header text is light while transparent over the dark hero... */
.brand-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; color: #fff; letter-spacing: 0.01em; transition: color 0.4s var(--ease); }
.brand-tag { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); margin-top: 3px; transition: color 0.4s var(--ease); }
/* ...and switches to dark once the header becomes solid ivory on scroll */
.scrolled .brand-name { color: var(--forest-deep); }
.scrolled .brand-tag { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.93rem;
  font-weight: 500;
  color: rgba(247, 244, 238, 0.82);
  position: relative;
  transition: color 0.25s, background 0.25s;
}
.nav a:hover { color: #fff; }
.nav a.active { color: #fff; font-weight: 600; }
.scrolled .nav a { color: var(--charcoal-70); }
.scrolled .nav a:hover,
.scrolled .nav a.active { color: var(--forest); }
.nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
.header-cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle { display: none; background: none; border: none; padding: 8px; color: #fff; transition: color 0.4s var(--ease); }
.scrolled .nav-toggle { color: var(--forest-deep); }
.nav-toggle svg { width: 26px; height: 26px; }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ivory);
  padding: calc(var(--header-total) + 20px) 28px 40px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--font-head); font-size: 1.5rem; color: var(--forest-deep); padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.mobile-nav a.active { color: var(--gold); }
.mobile-nav .btn { margin-top: 1.5rem; }

/* --------------------------- Page shell --------------------------------- */
main { min-height: 60vh; }

/* Page hero (interior pages) */
.page-hero {
  padding: calc(var(--header-total) + 60px) 0 60px;
  background: linear-gradient(160deg, var(--forest-deep), var(--forest));
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(198,163,91,0.22), transparent 70%);
}
.page-hero h1 { color: #fff; margin-bottom: 0.4rem; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero p { color: rgba(247,244,238,0.82); max-width: 620px; }
.breadcrumb { font-size: 0.82rem; color: rgba(247,244,238,0.65); margin-bottom: 1.2rem; display: flex; gap: 0.5rem; align-items: center; }
.breadcrumb a:hover { color: var(--gold-soft); }

/* ------------------------------ Cards ----------------------------------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--sage); }

.card-icon {
  width: 58px; height: 58px; border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--sage-tint); color: var(--forest);
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--charcoal-70); font-size: 0.98rem; }

/* Service card with number */
.service-card { position: relative; overflow: hidden; }
.service-card .num {
  position: absolute; top: 1.2rem; right: 1.4rem;
  font-family: var(--font-head); font-size: 2.4rem; color: var(--sage-soft);
  font-weight: 600; line-height: 1;
}
.service-card .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.service-card .tag {
  font-size: 0.74rem; padding: 0.3rem 0.7rem; border-radius: var(--radius-pill);
  background: var(--sage-tint); color: var(--forest); font-weight: 500;
}

/* ------------------------------ Hero (home) ----------------------------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--forest-deep); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.1s var(--ease);
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(29,58,50,0.92) 0%, rgba(29,58,50,0.78) 42%, rgba(29,58,50,0.35) 100%);
}
.hero-inner { position: relative; z-index: 3; width: 100%; padding-top: var(--header-total); }
.hero-content { max-width: 640px; color: var(--ivory); }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 .accent { color: var(--gold-soft); font-style: italic; }
.hero p { color: rgba(247,244,238,0.85); font-size: 1.15rem; max-width: 520px; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem; color: rgba(247,244,238,0.8); font-size: 0.9rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta svg { width: 18px; height: 18px; color: var(--gold-soft); }

.hero-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 0.6rem; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: none; background: rgba(247,244,238,0.35); transition: background 0.3s; padding: 0; }
.hero-dots button.active { background: var(--gold); }

/* Shloka band */
.shloka {
  text-align: center;
  padding: clamp(48px, 7vw, 90px) 0;
  position: relative;
}
.shloka .sanskrit { font-family: var(--font-head); font-size: clamp(1.4rem, 3vw, 2.1rem); color: var(--forest); line-height: 1.5; margin-bottom: 0.8rem; }
.shloka .translit { font-style: italic; color: var(--sage); font-size: 1.05rem; margin-bottom: 0.6rem; }
.shloka .meaning { color: var(--charcoal-70); max-width: 640px; margin: 0 auto; font-size: 1.02rem; }
.shloka .om { font-family: var(--font-head); color: var(--gold); font-size: 1.8rem; margin-bottom: 0.6rem; display: block; }
.shloka.on-forest .sanskrit { color: var(--gold-soft); }
.shloka.on-forest .translit { color: var(--sage-soft); }
.shloka.on-forest .meaning { color: rgba(247,244,238,0.8); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.4rem 1rem; }
.stat .num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold); font-weight: 600; line-height: 1; }
.stat .label { font-size: 0.88rem; color: var(--charcoal-70); margin-top: 0.5rem; }
.bg-forest .stat .label { color: rgba(247,244,238,0.78); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step .dot {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--forest); color: #fff; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.step p { color: var(--charcoal-70); font-size: 0.95rem; margin: 0; }

/* Split / feature blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
.media-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: var(--sage-soft);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame.tall { aspect-ratio: 4 / 5; }
.media-frame.wide { aspect-ratio: 4 / 3; }

/* Placeholder image styling */
.ph {
  display: grid; place-items: center; text-align: center;
  background:
    linear-gradient(135deg, rgba(110,139,116,0.18), rgba(47,93,80,0.10)),
    var(--sage-soft);
  color: var(--forest);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.03em;
  min-height: 220px; padding: 1rem;
}
.ph svg { width: 40px; height: 40px; opacity: 0.5; margin-bottom: 0.6rem; }
.ph small { display: block; color: var(--charcoal-55); font-weight: 400; margin-top: 0.3rem; letter-spacing: 0; }

/* Floating badge on media */
.media-badge {
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
  border-radius: var(--radius); padding: 0.9rem 1.2rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.8rem;
}
.media-badge .b-num { font-family: var(--font-head); font-size: 1.6rem; color: var(--forest); font-weight: 600; line-height: 1; }
.media-badge .b-label { font-size: 0.78rem; color: var(--charcoal-70); }

/* About page — doctor image slider */
.about-slider { position: relative; }
.about-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s var(--ease);
}
.about-slide.active { opacity: 1; position: relative; }

/* --------------------------- Treatments --------------------------------- */

/* Search / filter */
.treatment-search { margin-bottom: 2.5rem; }
.search-input-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.search-input-wrap .search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--sage);
  pointer-events: none;
}
.condition-search-input {
  width: 100%;
  padding: 0.95rem 2.8rem 0.95rem 3rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--card);
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  outline: none;
}
.condition-search-input::placeholder { color: var(--charcoal-55); }
.condition-search-input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(47, 93, 80, 0.10), var(--shadow);
}
.search-clear {
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--sage-tint);
  color: var(--charcoal-70);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}
.search-clear:hover { background: var(--sage); color: #fff; }
.search-no-results {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--charcoal-70);
  font-size: 0.95rem;
}
.search-no-results a { color: var(--forest); text-decoration: underline; }

/* Filter visibility states */
.cat-block.filter-hidden { display: none; }
.condition.filter-hidden { display: none; }
.condition.filter-match { border-color: var(--gold); }

.cat-block { margin-bottom: 3rem; }
.cat-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.cat-head .card-icon { margin: 0; }
.cat-head h3 { margin: 0; }
.condition-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.condition {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.condition summary {
  list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; color: var(--forest-deep);
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.98rem;
}
.condition summary::-webkit-details-marker { display: none; }
.condition summary .chev { transition: transform 0.3s var(--ease); flex: none; color: var(--sage); }
.condition summary .chev svg { width: 18px; height: 18px; }
.condition[open] summary .chev { transform: rotate(45deg); }
.condition .body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s var(--ease);
}
.condition[open] .body { grid-template-rows: 1fr; }
.condition .body > .body-inner {
  overflow: hidden;
  padding: 0 1.2rem;
  color: var(--charcoal-70);
  font-size: 0.92rem;
}
.condition[open] .body > .body-inner { padding-bottom: 1.2rem; }
.condition:hover { border-color: var(--sage); }

/* Chips / pills */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip { padding: 0.5rem 1rem; border-radius: var(--radius-pill); background: var(--card); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; color: var(--forest); }

/* -------------------------- Panchkarma list ----------------------------- */
.therapy { display: flex; gap: 1.2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.therapy:last-child { border-bottom: none; }
.therapy .t-icon { flex: none; width: 52px; height: 52px; border-radius: var(--radius); background: var(--sage-tint); color: var(--forest); display: grid; place-items: center; }
.therapy .t-icon svg { width: 26px; height: 26px; }
.therapy h3 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.therapy p { margin: 0; color: var(--charcoal-70); font-size: 0.96rem; }

/* ------------------------------ Gallery --------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; grid-auto-flow: dense; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item.wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.gallery-item .ph { height: 100%; width: 100%; }
.gallery-item::after {
  content: "⤢"; position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(29,58,50,0.55); color: #fff; font-size: 1.6rem;
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.gallery-item:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(29,58,50,0.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img, .lightbox .ph { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox .lb-close { position: absolute; top: 22px; right: 26px; background: none; border: none; color: #fff; font-size: 2rem; line-height: 1; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.14); border: none; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.4rem; }
.lightbox .lb-prev { left: 20px; } .lightbox .lb-next { right: 20px; }

/* ------------------------------ Video ----------------------------------- */
.video-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-frame .ph { height: 100%; }
.video-frame .play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  background: var(--gold); color: #3a2f16; display: grid; place-items: center; border: none;
  box-shadow: var(--shadow-gold); transition: transform 0.3s var(--ease);
}
.video-frame .play:hover { transform: scale(1.08); }
.video-frame .play svg { width: 30px; height: 30px; margin-left: 4px; }

/* ------------------------------ Forms ----------------------------------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--forest-deep); margin-bottom: 0.45rem; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--ivory-2); font-family: inherit; font-size: 1rem; color: var(--charcoal);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); background: #fff; box-shadow: 0 0 0 4px var(--sage-tint);
}
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #c0553b; box-shadow: 0 0 0 4px rgba(192,85,59,0.12); }
.field .err { color: #c0553b; font-size: 0.8rem; margin-top: 0.35rem; display: none; }
.field.show-err .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-note { font-size: 0.85rem; color: var(--charcoal-55); margin-top: 0.5rem; }
.form-success {
  display: none; text-align: center; padding: 2.5rem 1rem;
}
.form-success.show { display: block; }
.form-success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--sage-tint); color: var(--forest); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.form-success .tick svg { width: 36px; height: 36px; }

/* ------------------------------ Quiz ------------------------------------ */
.quiz-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: var(--shadow); }
.quiz-progress { height: 6px; border-radius: 6px; background: var(--sage-soft); overflow: hidden; margin-bottom: 1.6rem; }
.quiz-progress span { display: block; height: 100%; background: var(--gold); width: 0; transition: width 0.4s var(--ease); border-radius: 6px; }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: fadeUp 0.5s var(--ease); }
.quiz-q { font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.8rem); color: var(--forest-deep); margin-bottom: 1.4rem; }
.quiz-count { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.6rem; }
.quiz-options { display: grid; gap: 0.8rem; }
.quiz-opt {
  text-align: left; padding: 1rem 1.2rem; border-radius: var(--radius); border: 1.5px solid var(--line-strong);
  background: var(--ivory-2); font-size: 1rem; color: var(--charcoal); display: flex; align-items: center; gap: 0.9rem;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.quiz-opt:hover { border-color: var(--sage); transform: translateX(4px); }
.quiz-opt.selected { border-color: var(--forest); background: var(--sage-tint); }
.quiz-opt .mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); display: grid; place-items: center; }
.quiz-opt.selected .mark { border-color: var(--forest); background: var(--forest); }
.quiz-opt.selected .mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 1.8rem; gap: 1rem; }
.quiz-result { display: none; text-align: center; }
.quiz-result.show { display: block; animation: fadeUp 0.5s var(--ease); }
.dosha-badge { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-size: 2.4rem; color: var(--forest); margin-bottom: 0.5rem; }
.dosha-bars { max-width: 420px; margin: 1.6rem auto; display: grid; gap: 0.8rem; }
.dosha-bar { text-align: left; }
.dosha-bar .bl { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--forest-deep); }
.dosha-bar .track { height: 10px; border-radius: 10px; background: var(--sage-soft); overflow: hidden; }
.dosha-bar .fill { height: 100%; background: linear-gradient(90deg, var(--sage), var(--forest)); border-radius: 10px; width: 0; transition: width 0.9s var(--ease); }

/* ------------------------------ FAQ ------------------------------------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.3rem 0; font-family: var(--font-head); font-size: 1.15rem; color: var(--forest-deep); display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex: none; color: var(--gold); transition: transform 0.3s var(--ease); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .body { padding: 0 0 1.4rem; color: var(--charcoal-70); }

/* --------------------------- Blog cards --------------------------------- */
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post .thumb { aspect-ratio: 16 / 10; }
.post .post-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post .tagline { font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 0.6rem; }
.post h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.post p { color: var(--charcoal-70); font-size: 0.95rem; flex: 1; }
.post .read { margin-top: 1rem; font-weight: 600; color: var(--forest); display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; }
.badge-soon { display: inline-block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold-soft); color: #6a5320; padding: 0.25rem 0.6rem; border-radius: var(--radius-pill); font-weight: 700; }

/* --------------------------- Info / location ---------------------------- */
.info-list { display: grid; gap: 1.3rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item .i-icon { flex: none; width: 46px; height: 46px; border-radius: var(--radius); background: var(--sage-tint); color: var(--forest); display: grid; place-items: center; }
.info-item .i-icon svg { width: 22px; height: 22px; }
.info-item h4 { margin: 0 0 0.15rem; font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--charcoal-55); font-weight: 700; }
.info-item p { margin: 0; color: var(--forest-deep); font-weight: 500; }
.info-item a:hover { color: var(--gold); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* Fee highlight */
.fee-card { background: linear-gradient(150deg, var(--forest), var(--forest-deep)); color: var(--ivory); border-radius: var(--radius-lg); padding: 2rem; text-align: center; box-shadow: var(--shadow-lg); }
.fee-card .price { font-family: var(--font-head); font-size: 3rem; color: var(--gold-soft); line-height: 1; margin: 0.4rem 0; }
.fee-card .price small { font-size: 1rem; color: rgba(247,244,238,0.7); }
.fee-card p { color: rgba(247,244,238,0.82); }

/* Offer ribbon (hidden until copy provided) */
.offer-ribbon { display: none; background: var(--gold); color: #3a2f16; text-align: center; padding: 0.6rem 1rem; font-weight: 600; font-size: 0.9rem; }
.offer-ribbon.show { display: block; }

/* ------------------------------ Footer ---------------------------------- */
.site-footer { background: var(--forest-deep); color: rgba(247,244,238,0.72); padding: clamp(48px, 7vw, 80px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.2rem; font-weight: 700; }
.site-footer a { color: rgba(247,244,238,0.72); transition: color 0.25s; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-links { display: grid; gap: 0.7rem; font-size: 0.95rem; }
.footer-brand img { height: 52px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { font-size: 0.95rem; max-width: 300px; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(247,244,238,0.2); display: grid; place-items: center; }
.footer-social a:hover { background: var(--gold); color: #3a2f16; border-color: var(--gold); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(247,244,238,0.12); padding-top: 1.6rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; font-size: 0.82rem; color: rgba(247,244,238,0.5); }
.footer-contact-line { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.7rem; font-size: 0.95rem; }
.footer-contact-line svg { width: 16px; height: 16px; color: var(--gold-soft); flex: none; }

/* Floating WhatsApp */
.wa-float { position: fixed; bottom: 22px; right: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,0.4); transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: attr(data-tip); position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--forest-deep); color: #fff; padding: 0.5rem 0.9rem; border-radius: var(--radius-sm);
  font-size: 0.82rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s; font-family: var(--font-body);
}
.wa-float:hover::after { opacity: 1; }

/* --------------------------- Scroll reveal ------------------------------ */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal-delay="3"] { transition-delay: 0.24s; }
.js [data-reveal-delay="4"] { transition-delay: 0.32s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ------------------------------ CTA band -------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--forest), var(--forest-deep)); color: var(--ivory); border-radius: var(--radius-xl); padding: clamp(2.4rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(198,163,91,0.25), transparent 70%); }
.cta-band h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-band p { color: rgba(247,244,238,0.82); max-width: 540px; margin: 0 auto 1.8rem; }
.cta-band .hero-cta { justify-content: center; margin-bottom: 0; }

/* ------------------------------ Utilities ------------------------------- */
.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; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; } .mt-4 { margin-top: 2.4rem; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav, .header-cta .btn-book-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.wide { grid-column: span 2; }
  .hero p { font-size: 1.05rem; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
