/* =====================================================
   Dr. Jaya's Ayurveda Blessings — 2026 Modern Design
   Brand: Teal + Gold + Coral Pink + Sage + Cream
===================================================== */

:root {
  /* --- Brand Palette (from clinic logo/label) --- */
  --teal: #1e6f6b;
  --teal-deep: #134744;
  --teal-soft: #2d8a85;
  --gold: #c9a066;
  --gold-deep: #a37a3d;
  --gold-soft: #e0c48c;
  --coral: #e07892;
  --coral-deep: #c74a6f;
  --sage: #d9e6d9;
  --sage-soft: #eef4ea;
  --cream: #faf6ec;
  --cream-warm: #f4ecdb;
  --ink: #2b3b39;
  --ink-soft: #6c7773;
  --white: #ffffff;

  /* --- Semantic --- */
  --bg: var(--cream);
  --bg-alt: var(--sage-soft);
  --text: var(--ink);
  --text-muted: var(--ink-soft);
  --primary: var(--teal);
  --primary-deep: var(--teal-deep);
  --accent: var(--gold);
  --pink: var(--coral);

  /* --- Typography --- */
  --font-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* --- Radii, Shadows --- */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 4px 20px rgba(19, 71, 68, 0.08);
  --shadow-md: 0 16px 40px rgba(19, 71, 68, 0.12);
  --shadow-lg: 0 30px 70px rgba(19, 71, 68, 0.20);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.25s var(--ease);
  --t: 0.4s var(--ease);
}

[data-theme="dark"] {
  --bg: #0e1a19;
  --bg-alt: #142523;
  --text: #ece7d7;
  --text-muted: #a4a89f;
  --white: #142523;
  --cream: #142523;
  --cream-warm: #1a2b28;
  --sage-soft: #142523;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
em { font-style: italic; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 100;
  color: var(--primary-deep);
}
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3, [data-theme="dark"] h4 { color: var(--gold-soft); }

h1 em, h2 em, h3 em { color: var(--gold); font-family: var(--font-serif); font-style: italic; font-weight: 500; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 0.92rem;
  border: none; cursor: pointer; transition: var(--t);
  white-space: nowrap; letter-spacing: 0.01em;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 30px rgba(19, 71, 68, 0.28);
}
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(19, 71, 68, 0.38); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  box-shadow: 0 10px 30px rgba(163, 122, 61, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(163, 122, 61, 0.5); }
.btn-outline {
  background: transparent; color: var(--primary); border: 1.5px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.btn-ghost {
  background: rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.btn-sm { padding: 11px 22px; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; }

/* ===================== PRELOADER ===================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; }
.preloader-logo {
  width: min(420px, 80vw); height: auto; margin: 0 auto 24px;
  animation: leaf-pulse 1.6s ease-in-out infinite;
}
.preloader-bar {
  display: block; width: 180px; height: 2px; margin: 24px auto 0;
  background: rgba(19, 71, 68, 0.1); border-radius: 2px; overflow: hidden;
}
.preloader-bar > span {
  display: block; width: 30%; height: 100%; background: var(--gold);
  animation: bar-slide 1.4s ease infinite;
}
@keyframes leaf-pulse {
  0%, 100% { transform: scale(1) rotate(-3deg); opacity: 1; }
  50% { transform: scale(1.08) rotate(3deg); opacity: 0.85; }
}
@keyframes bar-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* ===================== CUSTOM CURSOR ===================== */
.cursor-dot, .cursor-outline {
  position: fixed; top: 0; left: 0; border-radius: 50%;
  pointer-events: none; z-index: 9998; transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}
.cursor-dot { width: 8px; height: 8px; background: var(--gold); }
.cursor-outline { width: 38px; height: 38px; border: 1.5px solid var(--primary); transition: transform 0.18s ease, opacity 0.3s ease, border-color 0.3s ease; }
@media (hover: none), (max-width: 992px) {
  .cursor-dot, .cursor-outline { display: none; }
}

/* ===================== TOPBAR ===================== */
.topbar {
  background: var(--primary-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  padding: 9px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-left a, .topbar-hours { color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.topbar-left a:hover { color: var(--gold-soft); }
.topbar-sep { opacity: 0.4; }
.topbar-motto { color: var(--gold-soft); font-family: var(--font-serif); font-style: italic; font-size: 0.9rem; }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a {
  width: 26px; height: 26px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,0.1); transition: var(--t-fast);
}
.topbar-social a:hover { background: var(--gold); color: var(--primary-deep); }

/* ===================== NAVBAR ===================== */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: #ffffff;
  border-bottom: 1px solid rgba(19, 71, 68, 0.06);
  box-shadow: 0 2px 10px rgba(19, 71, 68, 0.04);
  transition: var(--t);
}
[data-theme="dark"] .navbar { background: #ffffff; }
.navbar.scrolled { box-shadow: 0 6px 24px rgba(19, 71, 68, 0.08); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 28px; gap: 30px; }

.logo { display: flex; align-items: center; }
.logo-img {
  height: 96px; width: auto; max-width: 100%; object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.logo:hover .logo-img { transform: scale(1.04); }

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text);
  position: relative; padding: 6px 0; transition: var(--t-fast);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.navbar-actions { display: flex; align-items: center; gap: 14px; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(19,71,68,0.15);
  background: transparent; color: var(--primary); cursor: pointer; transition: var(--t-fast);
  display: flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .theme-toggle { color: var(--gold); border-color: rgba(212,175,55,0.3); }
.theme-toggle:hover { background: var(--primary); color: #fff; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--primary); transition: var(--t-fast); }
[data-theme="dark"] .hamburger span { background: var(--gold); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1000px 500px at 100% 0%, rgba(224, 120, 146, 0.14), transparent 60%),
    radial-gradient(900px 700px at 0% 100%, rgba(30, 111, 107, 0.15), transparent 55%),
    linear-gradient(180deg, var(--sage-soft), var(--cream));
  padding: 60px 0 40px;
}

.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.35; z-index: 0; animation: blob-move 14s ease-in-out infinite; }
.blob-1 { width: 480px; height: 480px; background: var(--gold-soft); top: -12%; right: -10%; }
.blob-2 { width: 360px; height: 360px; background: var(--sage); bottom: -8%; left: -8%; animation-delay: 3s; }
.blob-3 { width: 300px; height: 300px; background: rgba(224,120,146,0.5); top: 40%; left: 45%; animation-delay: 5s; }
.blob-t { width: 450px; height: 450px; background: var(--gold); top: 25%; left: 50%; opacity: 0.12; }
@keyframes blob-move {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.15); }
}

.floating-leaf {
  position: absolute; z-index: 1;
  animation: float-leaf 7s ease-in-out infinite;
}
.leaf-1 { top: 10%; left: 44%;  font-size: 2.6rem; color: var(--gold);           opacity: 0.32; animation-delay: 0s; }
.leaf-2 { top: 18%; left: 6%;   font-size: 3.4rem; color: var(--coral);          opacity: 0.35; animation-delay: 1.1s; }
.leaf-3 { top: 30%; left: 90%;  font-size: 3rem;   color: var(--coral-deep);     opacity: 0.30; animation-delay: 2.2s; }
.leaf-4 { top: 58%; left: 3%;   font-size: 3.6rem; color: var(--coral);          opacity: 0.32; animation-delay: 3.3s; }
.leaf-5 { top: 72%; left: 88%;  font-size: 3.2rem; color: var(--gold-deep);      opacity: 0.30; animation-delay: 4.4s; }
.leaf-6 { top: 84%; left: 18%;  font-size: 3.4rem; color: var(--primary);        opacity: 0.28; animation-delay: 5.5s; }
.leaf-7 { top: 45%; left: 96%;  font-size: 2.8rem; color: var(--coral-deep);     opacity: 0.32; animation-delay: 2.7s; }
@keyframes float-leaf {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(15deg); }
}

.hero-swirl {
  position: absolute; top: 8%; right: 8%; width: 180px; height: 180px; color: var(--gold);
  opacity: 0.35; animation: spin 60s linear infinite; z-index: 1;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center;
  padding-top: 40px;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.7); border: 1px solid rgba(19,71,68,0.1);
  padding: 8px 18px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; color: var(--primary-deep);
  letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
}
.hero-tag-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse-dot 2s ease infinite; }
@keyframes pulse-dot { 0%,100% { box-shadow: 0 0 0 0 rgba(224,120,146,0.6); } 50% { box-shadow: 0 0 0 10px rgba(224,120,146,0); } }

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: var(--primary-deep);
  margin-bottom: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-content h1 em {
  color: var(--gold-deep); font-style: italic; font-weight: 600;
  position: relative; display: inline-block;
}
.hero-content h1 em::after {
  content: ""; position: absolute; left: 0; bottom: 0.05em; width: 100%; height: 0.12em;
  background: linear-gradient(90deg, transparent, var(--coral) 20%, var(--coral) 80%, transparent);
  opacity: 0.55; border-radius: 4px;
}

.hero-sub {
  max-width: 560px; margin-bottom: 40px;
  color: var(--text-muted); font-size: 1.05rem; line-height: 1.75;
}
.hero-sub strong { color: var(--primary-deep); font-weight: 600; }
.hero-sub em { color: var(--gold-deep); font-style: italic; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-cta .btn-ghost { background: rgba(19,71,68,0.06); color: var(--primary-deep); border-color: rgba(19,71,68,0.15); }
.hero-cta .btn-ghost:hover { background: var(--primary); color: #fff; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 520px;
  padding-top: 32px; border-top: 1px solid rgba(19,71,68,0.12);
}
.hero-stat h3 {
  font-size: 2rem; font-weight: 700; color: var(--primary-deep);
  font-family: var(--font-serif); display: flex; align-items: baseline; gap: 2px;
}
.hero-stat h3 em { color: var(--gold-deep); font-size: 1.4rem; font-style: normal; }
.hero-stat > span { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-top: 4px; }

/* Hero photo card */
.hero-media { position: relative; }
.hero-photo-wrap {
  position: relative;
  width: 100%; max-width: 480px; margin-left: auto;
  animation: float-slow 6s ease-in-out infinite;
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
.hero-photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  filter: saturate(1.05);
}
.hero-photo-frame {
  position: absolute; inset: -14px; z-index: -1;
  background: linear-gradient(135deg, var(--gold), var(--coral), var(--teal));
  border-radius: calc(var(--r-xl) + 14px);
  opacity: 0.25; filter: blur(24px);
}
.hero-photo-badge {
  position: absolute; bottom: 24px; left: -30px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(20px);
  padding: 14px 20px; border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.5);
}
.hero-photo-badge strong { display: block; font-family: var(--font-serif); font-size: 0.98rem; color: var(--primary-deep); }
.hero-photo-badge span { display: block; font-size: 0.72rem; color: var(--text-muted); }
.hero-photo-badge em { display: block; font-size: 0.68rem; color: var(--gold-deep); font-style: normal; margin-top: 2px; letter-spacing: 1px; }
.hero-photo-tag {
  position: absolute; top: 24px; right: -20px;
  background: var(--primary); color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-md);
}
.hero-photo-tag i { color: var(--gold-soft); }

.scroll-indicator {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 24px; height: 40px; border: 1.5px solid var(--primary); border-radius: 20px;
  opacity: 0.7;
}
.scroll-indicator span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--gold); border-radius: 3px;
  animation: scroll-dot 1.6s ease infinite;
}
@keyframes scroll-dot {
  0% { top: 8px; opacity: 1; }
  70% { top: 22px; opacity: 0; }
  100% { top: 8px; opacity: 0; }
}

/* ===================== MARQUEE ===================== */
.marquee {
  background: var(--primary-deep); color: var(--gold-soft);
  padding: 16px 0; overflow: hidden; white-space: nowrap; position: relative;
  border-top: 1px solid rgba(212,175,55,0.15);
  border-bottom: 1px solid rgba(212,175,55,0.15);
}
.marquee-track { display: inline-flex; gap: 50px; animation: marquee-scroll 30s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 0.85rem; }
.marquee-track i { color: var(--gold); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== SECTION SHARED ===================== */
section { padding: 120px 0; position: relative; }
.section-tag {
  display: inline-block; color: var(--gold-deep); background: rgba(201, 160, 102, 0.15);
  padding: 6px 18px; border-radius: 999px; font-weight: 600; font-size: 0.72rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px;
}
.section-tag.light { color: var(--gold-soft); background: rgba(212,175,55,0.15); }
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary-deep);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.section-title.light { color: #fff; }
.section-title.light em { color: var(--gold-soft); }
.section-sub {
  color: var(--text-muted); max-width: 620px;
  font-size: 1rem;
}
.section-sub.light { color: rgba(255,255,255,0.75); }
.section-head { max-width: 720px; margin: 0 auto 70px; }
.section-head.center, .center { text-align: center; margin-left: auto; margin-right: auto; }
.center-content { text-align: center; }
.center-content .section-sub { margin-left: auto; margin-right: auto; }

/* ===================== ABOUT ===================== */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 70px; align-items: center; }
.about-text .lead { font-size: 1.05rem; color: var(--text); margin-bottom: 20px; line-height: 1.8; }
.about-text .lead strong { color: var(--primary-deep); font-weight: 600; }
.about-text .lead em { color: var(--gold-deep); font-style: italic; }
.about-text p { color: var(--text-muted); margin-bottom: 30px; }
.about-text p em { color: var(--gold-deep); font-style: italic; }

.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.about-mini-card {
  padding: 22px; border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid rgba(19,71,68,0.06);
  transition: var(--t);
}
.about-mini-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.about-mini-card i { font-size: 1.4rem; color: var(--gold-deep); margin-bottom: 12px; }
.about-mini-card h4 { font-size: 0.95rem; color: var(--primary-deep); margin-bottom: 6px; }
.about-mini-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; line-height: 1.55; }

.about-visual { display: flex; flex-direction: column; gap: 24px; }
.about-quote-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; padding: 40px; border-radius: var(--r-lg);
  position: relative; box-shadow: var(--shadow-md);
  overflow: hidden;
}
.about-quote-card::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 200px; height: 200px;
  background: radial-gradient(circle, var(--gold), transparent 70%); opacity: 0.25;
}
.about-quote-card > i {
  font-size: 2.5rem; color: var(--gold-soft); opacity: 0.4; margin-bottom: 14px;
}
.about-quote-card blockquote {
  font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.55; font-style: italic;
  margin-bottom: 20px; font-weight: 400;
}
.about-quote-card cite {
  display: block; font-style: normal; font-size: 0.85rem; color: var(--gold-soft);
  letter-spacing: 1px; font-weight: 500;
}
.about-stats-card {
  background: var(--white); padding: 32px; border-radius: var(--r-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(19,71,68,0.05);
}
.about-stat strong {
  display: block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold-deep); margin-bottom: 4px;
}
.about-stat span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ===================== SERVICES BENTO ===================== */
.services { background: var(--bg-alt); }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 22px;
}
.bento-card {
  background: var(--white); padding: 32px 28px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(19,71,68,0.06);
  transition: var(--t);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.bento-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 100% 0%, rgba(201,160,102,0.1), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
}
.bento-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.bento-card:hover::before { opacity: 1; }

.bento-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--sage), var(--sage-soft));
  color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 20px; transition: var(--t);
}
.bento-card:hover .bento-icon { transform: rotate(-6deg) scale(1.08); background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #fff; }
.bento-card h3 { font-size: 1.25rem; color: var(--primary-deep); margin-bottom: 12px; }
.bento-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin: 0; }
.bento-card strong { color: var(--coral-deep); }
.bento-card em { color: var(--gold-deep); font-style: italic; }

/* Featured Panchakarma card - large */
.bento-featured {
  grid-column: span 2; grid-row: span 2;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  color: #fff;
  padding: 44px;
  border: none;
}
.bento-featured::after {
  content: ""; position: absolute; bottom: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, var(--gold), transparent 70%); opacity: 0.35;
}
.bento-featured h3 { color: #fff; font-size: 2.1rem; margin-bottom: 18px; position: relative; }
.bento-featured p { color: rgba(255,255,255,0.8); font-size: 1rem; position: relative; margin-bottom: 24px; }
.bento-featured em { color: var(--gold-soft); }
.bento-featured .bento-icon {
  background: rgba(255,255,255,0.15); color: var(--gold-soft);
  width: 64px; height: 64px; font-size: 1.6rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.bento-featured:hover .bento-icon { background: var(--gold); color: var(--primary-deep); }
.bento-link {
  color: var(--gold-soft); font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 8px; position: relative;
  margin-top: auto;
}
.bento-link i { transition: transform 0.3s ease; }
.bento-featured:hover .bento-link i { transform: translateX(6px); }

/* Accent tinted cards */
.bento-accent-1 { background: linear-gradient(160deg, var(--white), rgba(224,120,146,0.06)); }
.bento-accent-1 .bento-icon { background: linear-gradient(135deg, rgba(224,120,146,0.2), rgba(224,120,146,0.35)); color: var(--coral-deep); }
.bento-accent-2 { background: linear-gradient(160deg, var(--white), rgba(201,160,102,0.08)); }
.bento-accent-2 .bento-icon { background: linear-gradient(135deg, rgba(201,160,102,0.2), rgba(201,160,102,0.35)); color: var(--gold-deep); }
.bento-accent-3 { background: linear-gradient(160deg, var(--white), rgba(217,230,217,0.6)); }

/* ===================== PANCHAKARMA HIGHLIGHT ===================== */
.panchakarma {
  background:
    radial-gradient(600px 400px at 20% 30%, rgba(201,160,102,0.18), transparent 60%),
    linear-gradient(135deg, var(--primary-deep), #0d2f2c);
  color: #fff; overflow: hidden;
  position: relative;
}
.panchakarma::before {
  content: ""; position: absolute; top: 10%; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, var(--coral), transparent 70%);
  opacity: 0.15;
}

.panchakarma-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
  margin-top: 20px;
}
.pk-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px 20px; border-radius: var(--r-lg);
  text-align: center; backdrop-filter: blur(10px);
  transition: var(--t);
}
.pk-item:hover { transform: translateY(-8px); background: rgba(255,255,255,0.1); border-color: var(--gold); }
.pk-icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(212,175,55,0.15); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin: 0 auto 18px;
  border: 1px solid rgba(212,175,55,0.3);
}
.pk-item h4 { color: var(--gold-soft); font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: 8px; }
.pk-item p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0; }
.pk-cta { text-align: center; margin-top: 50px; }

/* ===================== DOCTOR PROFILE ===================== */
.doctor-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.doctor-photo-col { position: relative; }
.doctor-photo-wrap {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.doctor-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo-deco {
  position: absolute; inset: -12px; z-index: -1;
  background: linear-gradient(135deg, var(--gold-soft), var(--coral));
  border-radius: calc(var(--r-xl) + 12px);
  opacity: 0.35; filter: blur(20px);
}
.doctor-social-card {
  position: absolute; bottom: 24px; right: -16px;
  background: var(--white); padding: 18px 22px;
  border-radius: var(--r-md); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 16px;
}
.doctor-social-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }
.doctor-social-icons { display: flex; gap: 8px; }
.doctor-social-icons a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; font-size: 0.85rem;
  transition: var(--t-fast);
}
.doctor-social-icons a:hover { background: var(--gold); transform: translateY(-3px); }

.doctor-content .doctor-role {
  font-family: var(--font-serif); font-style: italic; font-size: 0.95rem;
  color: var(--gold-deep); margin-bottom: 20px; letter-spacing: 0.5px;
}
.doctor-content > p { color: var(--text-muted); margin-bottom: 30px; }
.doctor-content > p strong { color: var(--primary-deep); }
.doctor-credentials { margin-bottom: 36px; }
.doctor-credentials li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(19,71,68,0.1);
}
.doctor-credentials li:last-child { border-bottom: none; }
.doctor-credentials i {
  min-width: 40px; height: 40px; border-radius: 10px;
  background: rgba(201,160,102,0.12); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.doctor-credentials div { font-size: 0.9rem; color: var(--text); padding-top: 8px; }
.doctor-credentials strong { color: var(--primary-deep); font-weight: 600; }
.doctor-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===================== PROCESS ===================== */
.process { background: var(--bg-alt); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process-step {
  background: var(--white); padding: 44px 26px; border-radius: var(--r-lg);
  text-align: center; position: relative; box-shadow: var(--shadow-sm); transition: var(--t);
  border: 1px solid rgba(19,71,68,0.05);
}
.process-step:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.step-number {
  position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff; font-weight: 700; font-family: var(--font-serif);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; box-shadow: var(--shadow-sm);
}
.step-icon { font-size: 2rem; color: var(--primary); margin: 20px 0 14px; }
.process-step h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--primary-deep); }
.process-step p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ===================== PUBLICATIONS ===================== */
.publications-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.publication-card {
  aspect-ratio: 3/4;
  border-radius: var(--r-md); overflow: hidden;
  position: relative; box-shadow: var(--shadow-sm); transition: var(--t);
  cursor: pointer;
}
.publication-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.publication-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.publication-card:hover img { transform: scale(1.08); }
.publication-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(19,71,68,0.75));
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 22px;
  color: var(--gold-soft); font-size: 1.4rem;
  opacity: 0; transition: opacity 0.35s ease;
}
.publication-card:hover .publication-overlay { opacity: 1; }

/* ===================== EVENTS ===================== */
.events { background: var(--bg-alt); }
.events-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px; gap: 22px;
}
.event-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--t);
}
.event-large { grid-column: span 2; grid-row: span 2; }
.event-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.event-card:hover img { transform: scale(1.08); }
.event-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(19,71,68,0.85));
}
.event-caption {
  position: absolute; left: 22px; right: 22px; bottom: 20px;
  color: #fff; z-index: 2;
}
.event-badge {
  display: inline-block; background: var(--gold); color: var(--primary-deep);
  font-size: 0.7rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px;
}
.event-card h4 { color: #fff; font-size: 1.1rem; }
.event-large h4 { font-size: 1.35rem; }

/* ===================== TESTIMONIALS ===================== */
.testimonials {
  background:
    radial-gradient(700px 500px at 80% 20%, rgba(224,120,146,0.15), transparent 60%),
    linear-gradient(135deg, var(--primary-deep), #0d2f2c);
  color: #fff; overflow: hidden; position: relative;
}
.testimonial-slider { max-width: 780px; margin: 0 auto; overflow: hidden; position: relative; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
  min-width: 100%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  padding: 50px; border-radius: var(--r-xl); text-align: center;
  backdrop-filter: blur(10px);
}
.stars { color: var(--gold); margin-bottom: 22px; font-size: 1rem; letter-spacing: 3px; }
.testimonial-card p {
  font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.6;
  font-style: italic; margin-bottom: 30px; color: rgba(255,255,255,0.92);
  font-weight: 400;
}
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-initials {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--primary-deep); font-weight: 700; font-family: var(--font-serif);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold-soft);
}
.testimonial-author strong { display: block; font-family: var(--font-serif); font-size: 1.05rem; }
.testimonial-author span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.testimonial-dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.25); cursor: pointer; transition: var(--t-fast);
}
.testimonial-dots span.active { background: var(--gold); width: 32px; border-radius: 6px; }

/* ===================== GALLERY ===================== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; gap: 18px;
}
.gallery-item { border-radius: var(--r-md); overflow: hidden; position: relative; }
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: "\f00e"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--gold-soft); background: rgba(19,71,68,0.55);
  opacity: 0; transition: opacity 0.35s ease;
}
.gallery-item:hover::after { opacity: 1; }

/* ===================== FAQ ===================== */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; }
.faq-intro p { color: var(--text-muted); margin-bottom: 30px; }
.faq-item {
  background: var(--white); border-radius: var(--r-md); margin-bottom: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  border: 1px solid rgba(19,71,68,0.05);
  transition: var(--t-fast);
}
.faq-item:hover { border-color: var(--gold-soft); }
.faq-question {
  width: 100%; text-align: left; padding: 22px 26px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-serif); font-weight: 500; font-size: 1.02rem;
  color: var(--primary-deep);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq-question i { transition: transform 0.3s ease; color: var(--gold-deep); }
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 26px 24px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.faq-answer em { color: var(--gold-deep); font-style: italic; }

/* ===================== CONTACT ===================== */
.contact { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
.contact-grid--simple { grid-template-columns: 1fr 1fr; align-items: stretch; }
.contact-info-card {
  display: flex; gap: 18px; background: var(--white); padding: 22px 24px;
  border-radius: var(--r-md); margin-bottom: 16px; box-shadow: var(--shadow-sm);
  border: 1px solid rgba(19,71,68,0.04);
  transition: var(--t-fast);
}
.contact-info-card:hover { transform: translateX(4px); border-color: var(--gold-soft); }
.contact-info-card > i {
  font-size: 1.2rem; color: var(--gold-deep); width: 42px; height: 42px;
  background: rgba(201,160,102,0.12); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 0.98rem; color: var(--primary-deep); margin-bottom: 4px; }
.contact-info-card p { font-size: 0.88rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.contact-info-card p small { font-size: 0.75rem; opacity: 0.7; }
.contact-info-card a:hover { color: var(--gold-deep); }
.contact-info-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px; padding: 8px 14px;
  background: var(--primary); color: #fff !important;
  border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  transition: var(--t-fast);
}
.contact-info-link:hover { background: var(--gold-deep); transform: translateY(-2px); }

.timings-list { margin: 0; padding: 0; list-style: none; }
.timings-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(19,71,68,0.08);
  font-size: 0.86rem; color: var(--text);
}
.timings-list li:last-child { border-bottom: none; }
.timings-list li > span:first-child {
  font-weight: 600; color: var(--primary-deep); min-width: 90px;
}
.timings-list li > span:last-child {
  color: var(--text-muted); text-align: right; flex: 1;
}
.timings-list li.timings-closed > span:last-child {
  color: var(--coral-deep); font-weight: 600;
}
.map-embed {
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); margin-top: 24px;
  position: relative;
}
.map-embed--tall {
  margin-top: 0;
  min-height: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(19,71,68,0.06);
}
.map-embed--tall iframe { display: block; min-height: 560px; height: 100%; }

.map-navigate-btn {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff !important;
  font-family: var(--font-sans); font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 26px rgba(19, 71, 68, 0.28), 0 0 0 3px rgba(255,255,255,0.85);
  transition: var(--t-fast);
  white-space: nowrap;
}
.map-navigate-btn:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 14px 32px rgba(19, 71, 68, 0.36), 0 0 0 3px #fff;
  background: var(--primary);
}
.map-navigate-btn i { font-size: 1rem; }

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed; inset: 0; z-index: 9997;
  background: rgba(10, 24, 22, 0.92);
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 60px 80px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure {
  max-width: 92vw; max-height: 88vh; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  animation: lightbox-in 0.35s var(--ease);
}
@keyframes lightbox-in {
  from { transform: scale(0.94); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox-figure img {
  max-width: 100%; max-height: 78vh; object-fit: contain;
  border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  background: #000;
}
.lightbox-figure figcaption {
  color: var(--gold-soft); font-family: var(--font-serif); font-style: italic;
  font-size: 1rem; text-align: center; max-width: 80vw;
}
.lightbox-close, .lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; cursor: pointer; transition: var(--t-fast);
  backdrop-filter: blur(10px);
}
.lightbox-close { top: 26px; right: 26px; transform: none; width: 46px; height: 46px; }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); color: var(--primary-deep); border-color: var(--gold); }
.lightbox-counter {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 0.85rem; letter-spacing: 2px;
  font-family: var(--font-sans);
}
.publication-card, .event-card { cursor: zoom-in; }

.contact-form {
  background: var(--white); padding: 44px; border-radius: var(--r-xl); box-shadow: var(--shadow-md);
  border: 1px solid rgba(19,71,68,0.04);
}
.contact-form h3 { color: var(--primary-deep); margin-bottom: 26px; font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 500; margin-bottom: 8px; color: var(--text);
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px solid rgba(19,71,68,0.12);
  font-family: var(--font-sans); font-size: 0.92rem;
  background: var(--cream-warm); color: var(--text); transition: var(--t-fast);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,160,102,0.2);
  background: var(--white);
}
.form-note { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 16px; }
.form-success {
  display: none; text-align: center; color: #1f7a3d;
  background: rgba(31,122,61,0.1); padding: 14px;
  border-radius: var(--r-sm); margin-top: 16px; font-size: 0.9rem;
}
.form-success.show { display: block; }

/* ===================== FOOTER ===================== */
.footer { background: var(--primary-deep); color: rgba(255,255,255,0.75); }
.footer-top { padding: 80px 0 50px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 44px; }
.footer-brand p { font-size: 0.9rem; margin: 20px 0; line-height: 1.7; }
.footer-logo {
  display: inline-block; margin-bottom: 4px;
  background: var(--cream);
  padding: 18px 26px; border-radius: var(--r-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.footer-logo .logo-img {
  height: 92px; width: auto;
  filter: none;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; transition: var(--t-fast);
}
.footer-social a:hover { background: var(--gold); color: var(--primary-deep); transform: translateY(-3px); }
.footer-col h4 { color: #fff; margin-bottom: 22px; font-size: 1.1rem; }
.footer-col a { display: block; font-size: 0.88rem; margin-bottom: 12px; transition: var(--t-fast); }
.footer-col a:hover { color: var(--gold-soft); padding-left: 4px; }
.footer-col p {
  font-size: 0.85rem; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start;
}
.footer-col p i { color: var(--gold-soft); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; }
.footer-bottom-links { display: flex; gap: 20px; }

/* ===================== FLOATING ACTIONS ===================== */
.floating-actions {
  position: fixed; right: 24px; bottom: 90px; z-index: 900;
  display: flex; flex-direction: column; gap: 14px;
}
.fab {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; box-shadow: var(--shadow-md); cursor: pointer; border: none;
  transition: var(--t);
}
.fab-whatsapp { background: #25d366; color: #fff; animation: pulse-wa 2.2s ease infinite; }
.fab-call { background: var(--primary); color: #fff; }
.fab-top {
  background: var(--gold); color: var(--primary-deep);
  opacity: 0; visibility: hidden; transform: translateY(10px);
}
.fab-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.fab:hover { transform: scale(1.1); }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}

/* ===================== MOBILE STICKY BAR ===================== */
.mobile-sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 950;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 -6px 24px rgba(19,71,68,0.15);
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(19,71,68,0.05);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-sticky-bar a {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 12px 0 10px; font-size: 0.66rem; color: var(--primary-deep); font-weight: 600;
  letter-spacing: 0.2px;
  transition: var(--t-fast);
  position: relative;
}
.mobile-sticky-bar a i { font-size: 1.2rem; }
.mobile-sticky-bar a:active { transform: scale(0.94); }
.mobile-sticky-bar a.active-cta {
  color: #fff;
}
.mobile-sticky-bar a.active-cta::before {
  content: ""; position: absolute; inset: 6px 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(163,122,61,0.35);
  z-index: -1;
}

/* ===================== RESPONSIVE ===================== */

/* ---- Large tablet ---- */
@media (max-width: 1200px) {
  .bento-grid { grid-template-columns: repeat(3, 1fr); }
  .bento-featured { grid-column: span 3; grid-row: span 1; }
  .publications-grid, .panchakarma-grid { grid-template-columns: repeat(3, 1fr); }
  .events-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 480px; margin: 0 auto; }
  .hero-photo-wrap { max-width: 100%; }
  .hero-content { text-align: center; }
  .hero-content .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-content .hero-cta { justify-content: center; }
  .hero-stats { max-width: 100%; margin-left: auto; margin-right: auto; }
  .about-grid, .doctor-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-cards { grid-template-columns: repeat(3, 1fr); }
  .doctor-social-card { position: static; margin-top: 22px; }
  .map-embed--tall iframe { min-height: 420px; }
}

/* ---- Small tablet / large phone ---- */
@media (max-width: 992px) {
  .topbar { font-size: 0.72rem; }
  .topbar-motto, .topbar-sep { display: none; }
  .topbar-left, .topbar-right { justify-content: center; width: 100%; }
  .topbar-inner { justify-content: center; }

  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; height: 100dvh; width: min(320px, 80vw);
    background: var(--white); flex-direction: column; padding: 110px 32px 40px; gap: 6px;
    box-shadow: -20px 0 60px rgba(19,71,68,0.2);
    transition: right 0.4s var(--ease); z-index: 1000;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    font-size: 1.05rem; padding: 14px 0;
    border-bottom: 1px solid rgba(19,71,68,0.06);
  }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; z-index: 1001; }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .navbar-actions .btn-sm { display: none; }

  .hero-stats { grid-template-columns: repeat(3, 1fr); max-width: 520px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-featured { grid-column: span 2; }
  .panchakarma-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .publications-grid { grid-template-columns: repeat(3, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .event-large { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .mobile-sticky-bar { display: grid; }
  .floating-actions { bottom: calc(80px + env(safe-area-inset-bottom)); right: 16px; }
  .fab { width: 50px; height: 50px; font-size: 1.2rem; }
  section { padding: 80px 0; }
  .section-head { margin-bottom: 50px; }
}

/* ---- Phone ---- */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 64px 0; }

  /* Navbar */
  .navbar-inner { padding: 8px 18px; gap: 10px; }
  .logo-img { height: 64px; }

  /* Hero */
  .hero { padding: 30px 0 24px; min-height: auto; }
  .hero-content h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); margin-bottom: 20px; letter-spacing: -0.02em; }
  .hero-tag { font-size: 0.7rem; padding: 6px 14px; margin-bottom: 20px; }
  .hero-sub { font-size: 0.98rem; margin-bottom: 30px; }
  .hero-cta { flex-direction: column; align-items: center; gap: 12px; width: 100%; margin-bottom: 40px; }
  .hero-cta .btn { width: 100%; max-width: 320px; justify-content: center; padding: 14px 22px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; padding-top: 24px; }
  .hero-stat h3 { font-size: 1.5rem; }
  .hero-stat > span { font-size: 0.68rem; }

  /* Hero photo */
  .hero-media { max-width: 340px; }
  .hero-photo-badge { left: 8px; bottom: 12px; padding: 10px 14px; }
  .hero-photo-badge strong { font-size: 0.88rem; }
  .hero-photo-badge span { font-size: 0.66rem; }
  .hero-photo-badge em { font-size: 0.62rem; }
  .hero-photo-tag { right: 8px; top: 12px; padding: 8px 14px; font-size: 0.7rem; }
  .hero-swirl { width: 120px; height: 120px; top: 2%; right: 2%; }
  /* Reduce floating icon clutter on small phones */
  .leaf-3, .leaf-5, .leaf-7 { display: none; }
  .leaf-1, .leaf-2, .leaf-4, .leaf-6 { font-size: 2rem !important; opacity: 0.22 !important; }

  /* Section titles fluid */
  .section-title { font-size: clamp(1.65rem, 7vw, 2.4rem); margin-bottom: 14px; }
  .section-head { margin-bottom: 44px; }
  .section-tag { font-size: 0.68rem; padding: 5px 14px; margin-bottom: 14px; letter-spacing: 1.6px; }
  .section-sub { font-size: 0.95rem; }

  /* About */
  .about-cards { grid-template-columns: 1fr; gap: 14px; }
  .about-mini-card { padding: 18px 20px; }
  .about-quote-card { padding: 30px 26px; border-radius: var(--r-lg); }
  .about-quote-card blockquote { font-size: 1.05rem; }
  .about-stats-card { padding: 24px; gap: 16px; }
  .about-stat strong { font-size: 1.3rem; }

  /* Services bento */
  .bento-grid { grid-template-columns: 1fr; gap: 14px; }
  .bento-card { padding: 26px 22px; border-radius: var(--r-md); }
  .bento-card h3 { font-size: 1.15rem; }
  .bento-card p { font-size: 0.88rem; }
  .bento-featured { grid-column: span 1; padding: 32px 26px; }
  .bento-featured h3 { font-size: 1.7rem; }
  .bento-featured p { font-size: 0.95rem; }
  .bento-icon { width: 48px; height: 48px; font-size: 1.2rem; margin-bottom: 16px; }

  /* Panchakarma */
  .panchakarma-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pk-item { padding: 24px 16px; border-radius: var(--r-md); }
  .pk-icon { width: 48px; height: 48px; font-size: 1.15rem; margin-bottom: 12px; }
  .pk-item h4 { font-size: 1rem; }
  .pk-item p { font-size: 0.78rem; }

  /* Doctor profile */
  .doctor-photo-wrap { aspect-ratio: 4/5; max-width: 380px; margin: 0 auto; }
  .doctor-social-card { padding: 14px 18px; }
  .doctor-content { text-align: left; }
  .doctor-content .section-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .doctor-credentials li { padding: 10px 0; }
  .doctor-credentials i { min-width: 36px; height: 36px; font-size: 0.85rem; }
  .doctor-credentials div { font-size: 0.85rem; }
  .doctor-cta { justify-content: flex-start; }
  .doctor-cta .btn { flex: 1; justify-content: center; padding: 13px 20px; font-size: 0.85rem; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-step { padding: 34px 22px; }

  /* Publications - 2 col on mobile for better use of space */
  .publications-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Events - 2 col on mobile */
  .events-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 12px; }
  .event-large { grid-column: span 2; grid-row: span 1; }
  .event-caption { left: 14px; right: 14px; bottom: 14px; }
  .event-badge { font-size: 0.62rem; padding: 3px 10px; margin-bottom: 6px; }
  .event-card h4 { font-size: 0.9rem; }
  .event-large h4 { font-size: 1.05rem; }

  /* Testimonials */
  .testimonial-card { padding: 30px 22px; border-radius: var(--r-lg); }
  .testimonial-card p { font-size: 1rem; line-height: 1.55; }
  .stars { font-size: 0.88rem; letter-spacing: 2px; }

  /* FAQ */
  .faq-question { padding: 18px 20px; font-size: 0.95rem; }
  .faq-answer p { padding: 0 20px 20px; font-size: 0.88rem; }

  /* Contact */
  .contact-grid--simple { grid-template-columns: 1fr; gap: 24px; }
  .contact-info-card { padding: 18px 20px; gap: 14px; margin-bottom: 12px; }
  .contact-info-card > i { width: 40px; height: 40px; font-size: 1.05rem; }
  .contact-info-card h4 { font-size: 0.95rem; }
  .contact-info-card p { font-size: 0.85rem; }
  .contact-info-link { padding: 10px 16px; font-size: 0.8rem; margin-top: 12px; }
  .map-embed--tall iframe { min-height: 340px; }
  .map-navigate-btn { top: 12px; padding: 10px 18px; font-size: 0.8rem; }

  /* Timings list */
  .timings-list li { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 0; }
  .timings-list li > span:first-child { min-width: 0; }
  .timings-list li > span:last-child { text-align: left; }

  /* Footer */
  .footer-top { padding: 60px 0 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-logo { padding: 14px 20px; }
  .footer-logo .logo-img { height: 74px; }
  .footer-brand p { font-size: 0.85rem; margin: 16px 0; }
  .footer-col h4 { font-size: 1rem; margin-bottom: 16px; }
  .footer-col a, .footer-col p { font-size: 0.85rem; margin-bottom: 10px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; font-size: 0.75rem; }
  .footer-bottom { padding: 18px 0 calc(70px + env(safe-area-inset-bottom)); }

  /* Floating actions */
  .floating-actions { right: 14px; bottom: calc(78px + env(safe-area-inset-bottom)); gap: 10px; }
  .fab { width: 48px; height: 48px; font-size: 1.15rem; }
  .fab-top { display: none; }

  /* Lightbox */
  .lightbox { padding: 20px 12px; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1rem; }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-counter { bottom: 14px; font-size: 0.75rem; }
  .lightbox-figure figcaption { font-size: 0.85rem; }

  /* Marquee */
  .marquee { padding: 12px 0; }
  .marquee-track span { font-size: 0.78rem; gap: 8px; }
  .marquee-track { gap: 30px; }
}

/* ---- Small phone ---- */
@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .logo-img { height: 56px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .hero-stat h3 { font-size: 1.25rem; }
  .hero-stat > span { font-size: 0.62rem; }
  .hero-photo-badge { left: 6px; padding: 8px 12px; }
  .hero-photo-tag { display: none; }
  .publications-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .event-large { grid-column: span 1; }
  .mobile-sticky-bar a { font-size: 0.6rem; }
  .mobile-sticky-bar a i { font-size: 1.05rem; }
}

/* ---- Reduce motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
