/* =========================================================
   Rohit Chakraborty — "Celestial Mandir" theme
   Mobile-first · breakpoints 480 / 768 / 1024 / 1280
   ========================================================= */
:root {
  --indigo-night: #1A1238;
  --royal-purple: #3A1F6B;
  --temple-gold: #D4AF37;
  --gold-light: #F5D67A;
  --saffron: #F28C28;
  --kumkum-red: #A81E2C;
  --sandal-ivory: #FFF6E5;
  --deep-brown: #2B1A10;

  --grad-dark: linear-gradient(160deg, #1A1238 0%, #3A1F6B 100%);
  --grad-gold: linear-gradient(90deg, #D4AF37, #F5D67A, #D4AF37);
  --grad-btn: linear-gradient(100deg, #F28C28 0%, #F5A93B 55%, #D4AF37 100%);

  --text-on-dark: #F6EEDC;
  --muted-on-dark: rgba(246, 238, 220, .72);
  --muted-on-light: #5E4636;

  --f-head: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --f-body: "Poppins", "Inter", system-ui, sans-serif;
  --f-bn: "Tiro Bangla", "Hind Siliguri", serif;

  --radius: 16px;
  --header-h: 68px;
  --tb: 0px;
  --shadow-gold: 0 0 0 1px rgba(212,175,55,.35), 0 18px 40px -18px rgba(212,175,55,.55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.is-splash { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--deep-brown);
  background: var(--sandal-ivory);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex-shrink: 0; }
.ic { width: 18px; height: 18px; vertical-align: -3px; }
.bn { font-family: var(--f-bn); }
.center { text-align: center; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

/* ---------- Section themes ---------- */
.dark { background: var(--grad-dark); color: var(--text-on-dark); position: relative; overflow: hidden; }
.light { background: var(--sandal-ivory); color: var(--deep-brown); position: relative; }
.section { padding: 72px 0; scroll-margin-top: var(--header-h); }
@media (min-width: 1024px) { .section { padding: 104px 0; } }
.dark > .container, .dark > .hero-grid { position: relative; z-index: 2; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-family: var(--f-head); font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 14px; }
.section-head p:last-child { margin: 0; }
.dark .section-head p:last-child { color: var(--muted-on-dark); }
.light .section-head p:last-child { color: var(--muted-on-light); }
.light h2 { color: var(--deep-brown); }
.light .accent { color: var(--kumkum-red); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600;
  color: var(--temple-gold); margin-bottom: 10px;
}
.light .eyebrow { color: #A8831C; }
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }

/* Gold medalist highlight under Awards heading */
.medal-badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  padding: 8px 20px; border-radius: 999px;
  font-size: .95rem; font-weight: 700; letter-spacing: .04em; color: #4A2A05;
  background: linear-gradient(90deg, #D4AF37 0%, #F5D67A 35%, #FFF3C4 50%, #F5D67A 65%, #D4AF37 100%);
  background-size: 200% auto;
  border: 1px solid #B8912A;
  box-shadow: 0 4px 16px rgba(212,175,55,.45), inset 0 1px 0 rgba(255,255,255,.6);
  animation: shimmerText 6s linear infinite;
}
.medal-badge .ic { width: 1.1em; height: 1.1em; color: #8A5A00; }
.medal-badge .bn { font-weight: 600; }

/* Shimmering gold headings */
.gold-text {
  background: linear-gradient(90deg, #D4AF37 0%, #F5D67A 25%, #FFF3C4 50%, #F5D67A 75%, #D4AF37 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shimmerText 6s linear infinite;
}
@keyframes shimmerText { to { background-position: -200% center; } }

/* Lotus divider overlapping section boundary */
.divider { position: relative; height: 0; z-index: 5; color: var(--temple-gold); }
.divider svg { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: min(260px, 70vw); height: 52px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  border: 1.5px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn::after { /* shimmer sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s ease;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn-saffron { background: var(--grad-btn); color: #2B1407; box-shadow: 0 10px 26px -10px rgba(242,140,40,.75); }
.btn-saffron:hover { box-shadow: 0 14px 32px -10px rgba(242,140,40,.9); }
.btn-outline { border-color: var(--temple-gold); color: var(--gold-light); background: rgba(212,175,55,.06); }
.btn-outline:hover { background: rgba(212,175,55,.16); }
.btn-dark { background: var(--indigo-night); color: var(--gold-light); }
.btn-sm { min-height: 44px; padding: 9px 18px; font-size: .86rem; border-color: var(--acc, var(--temple-gold)); color: var(--gold-light); background: transparent; }
.btn-sm.btn-dark { border-color: transparent; background: var(--indigo-night); color: var(--gold-light); }
.btn-sm.btn-saffron { border-color: transparent; background: var(--grad-btn); color: #2B1407; }
.btn-block { width: 100%; }

/* =========================================================
   SPLASH — Ma Jagaddhatri
   ========================================================= */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: radial-gradient(circle at 50% 45%, #3A1F6B 0%, #1A1238 65%, #0F0A24 100%);
  transition: opacity .7s ease, visibility .7s;
  overflow: hidden;
}
.splash.hide { opacity: 0; visibility: hidden; }
.splash-stage { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 4vw, 48px); padding: 0 16px; }
.splash-ma { position: relative; width: min(56vw, 340px); aspect-ratio: 1; animation: maIn 1s ease both; }
.splash-ma img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  border: 3px solid var(--temple-gold);
  box-shadow: 0 0 0 6px rgba(212,175,55,.15), 0 0 40px rgba(242,140,40,.45);
}
.splash-halo {
  position: absolute; inset: -22px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,214,122,.45) 0%, rgba(242,140,40,.18) 50%, transparent 70%);
  animation: haloPulse 2s ease-in-out infinite;
}
@keyframes maIn { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: none; } }
@keyframes haloPulse { 50% { transform: scale(1.06); opacity: .75; } }

.splash-aarti { position: relative; width: min(28vw, 170px); aspect-ratio: 1; animation: maIn 1s .25s ease both; }
.aarti-path { position: absolute; inset: 0; animation: aarti 1.8s linear infinite; }
.aarti-thali { width: 100%; height: 100%; filter: drop-shadow(0 0 14px rgba(242,140,40,.55)); }
@keyframes aarti {
  from { transform: rotate(0deg) translateX(9%) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(9%) rotate(-360deg); }
}
.flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker .35s ease-in-out infinite alternate; }
@keyframes flicker { from { transform: scale(1, 1) skewX(0); } to { transform: scale(.92, 1.1) skewX(3deg); } }
.aarti-smoke { position: absolute; left: 50%; top: 4%; width: 30%; height: 40%; transform: translateX(-50%); }
.aarti-smoke i {
  position: absolute; bottom: 0; left: 40%; width: 8px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.25); filter: blur(4px); opacity: 0;
  animation: smoke 2.2s ease-out infinite;
}
.aarti-smoke i:nth-child(2) { animation-delay: .7s; left: 20%; }
.aarti-smoke i:nth-child(3) { animation-delay: 1.4s; left: 60%; }
@keyframes smoke { 20% { opacity: .7; } to { opacity: 0; transform: translate(10px, -60px) scale(2.2); } }

.splash-petals i {
  position: absolute; top: -24px; width: 12px; height: 9px;
  border-radius: 60% 0 60% 0; background: #F5A93B; opacity: .9;
  animation: petal 2.6s linear infinite;
}
.splash-petals i:nth-child(even) { background: #E2483A; width: 9px; height: 7px; }
.splash-petals i:nth-child(1) { left: 8%;  animation-delay: 0s; }
.splash-petals i:nth-child(2) { left: 18%; animation-delay: .6s; }
.splash-petals i:nth-child(3) { left: 28%; animation-delay: 1.1s; }
.splash-petals i:nth-child(4) { left: 38%; animation-delay: .3s; }
.splash-petals i:nth-child(5) { left: 50%; animation-delay: .9s; }
.splash-petals i:nth-child(6) { left: 61%; animation-delay: .2s; }
.splash-petals i:nth-child(7) { left: 70%; animation-delay: 1.3s; }
.splash-petals i:nth-child(8) { left: 79%; animation-delay: .5s; }
.splash-petals i:nth-child(9) { left: 88%; animation-delay: 1s; }
.splash-petals i:nth-child(10){ left: 95%; animation-delay: .1s; }
@keyframes petal {
  to { transform: translate(40px, 105vh) rotate(540deg); }
}
.splash-text { margin: 0; font-size: clamp(1.3rem, 4.5vw, 2rem); color: var(--gold-light); letter-spacing: .04em; animation: maIn 1s .4s ease both; text-shadow: 0 0 18px rgba(242,140,40,.6); }

/* =========================================================
   HEADER
   ========================================================= */
.topbar { display: none; }
@media (min-width: 1024px) {
  :root { --tb: 38px; }
  .topbar {
    display: block; position: absolute; top: 0; left: 0; right: 0; z-index: 60;
    height: var(--tb); font-size: .82rem; color: var(--muted-on-dark);
    border-bottom: 1px solid rgba(212,175,55,.18);
    background: rgba(26,18,56,.55);
  }
  .topbar-inner { display: flex; align-items: center; gap: 28px; height: 100%; }
  .topbar-inner .tb-addr { margin-left: auto; }
  .tb-social { display: flex; gap: 14px; }
  .topbar a:hover { color: var(--gold-light); }
  .topbar .ic { color: var(--temple-gold); width: 15px; height: 15px; }
}

.header {
  position: fixed; top: var(--tb); left: 0; right: 0; z-index: 70;
  height: var(--header-h);
  transition: top .35s ease, background .35s ease, box-shadow .35s ease;
}
.header.scrolled {
  top: 0;
  background: rgba(26,18,56,.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(212,175,55,.3), 0 10px 30px -15px rgba(0,0,0,.6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }

.logo { display: flex; align-items: center; gap: 10px; color: var(--text-on-dark); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--temple-gold); color: var(--temple-gold);
  box-shadow: 0 0 16px rgba(212,175,55,.35);
}
.logo-mark svg { width: 28px; height: 28px; animation: spin 40s linear infinite; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: var(--f-head); font-size: 1.05rem; color: var(--gold-light); letter-spacing: .03em; }
.logo-text small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark); }
@media (max-width: 479px) { .logo-text strong { font-size: .88rem; letter-spacing: .01em; } .logo-text small { font-size: .62rem; letter-spacing: .1em; } }

.menu-btn {
  position: relative; z-index: 80;
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.4); color: var(--gold-light);
}
.menu-btn svg { width: 24px; height: 24px; }

.nav {
  position: fixed; inset: 0; z-index: 75;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: radial-gradient(circle at 70% 20%, #3A1F6B, #1A1238 70%);
  transform: translateX(100%); transition: transform .45s cubic-bezier(.7,0,.2,1);
  visibility: hidden;
}
.nav.open { transform: none; visibility: visible; }
.nav a:not(.btn) {
  font-family: var(--f-head); font-size: 1.35rem; color: var(--gold-light);
  padding: 10px 20px; min-height: 44px;
}
.nav a:not(.btn):hover { color: #fff; }
.nav .nav-cta { margin-top: 16px; }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav {
    position: static; transform: none; visibility: visible; background: none;
    flex-direction: row; gap: 2px;
  }
  .nav a:not(.btn) {
    position: relative; font-family: var(--f-body); font-size: .88rem; font-weight: 500;
    color: var(--text-on-dark); padding: 8px 10px; min-height: 0;
  }
  .nav a:not(.btn)::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 1.5px;
    background: var(--grad-gold); transform: scaleX(0); transition: transform .3s;
  }
  .nav a:not(.btn):hover, .nav a.active { color: var(--gold-light); }
  .nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
  .nav .nav-cta { display: none; }
}
@media (min-width: 1280px) {
  .nav { gap: 6px; }
  .nav .nav-cta { display: inline-flex; margin: 0 0 0 12px; min-height: 42px; padding: 8px 20px; }
}

/* =========================================================
   STARS (generated by JS)
   ========================================================= */
.stars-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.star {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 6px rgba(255,255,255,.8);
  animation: twinkle var(--tw, 3s) ease-in-out infinite; animation-delay: var(--td, 0s);
}
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.7); } 50% { opacity: 1; transform: scale(1); } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + var(--tb) + 24px) 0 72px;
  display: flex; align-items: center;
}
.hero-mandala {
  position: absolute; z-index: 1; pointer-events: none;
  width: 1100px; height: 1100px; left: 50%; top: 50%; margin: -550px 0 0 -550px;
  opacity: .07; color: var(--temple-gold);
  animation: spin 180s linear infinite;
}
.hero-mandala svg, .zodiac-ring svg { width: 100%; height: 100%; }
.hero-grid { display: grid; gap: 36px; align-items: center; width: 100%; }
.hero-text { text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  padding: 7px 16px; border-radius: 999px; font-size: .82rem; font-weight: 500;
  background: rgba(168,30,44,.25); border: 1px solid rgba(212,175,55,.5); color: var(--gold-light);
}
.badge .ic { color: var(--temple-gold); }
.hero-jai { margin: 0 0 6px; color: var(--saffron); font-size: 1.05rem; letter-spacing: .05em; }
.hero h1 { font-family: var(--f-head); font-weight: 700; font-size: clamp(2rem, 7.4vw, 3.6rem); margin-bottom: 10px; }
.hero h1 .gold-text { display: block; }
.hero-bn { display: block; font-size: .5em; font-weight: 400; color: var(--text-on-dark); margin-top: 8px; letter-spacing: .02em; }
.hero-sub { font-size: clamp(1rem, 2.6vw, 1.2rem); color: var(--text-on-dark); font-weight: 500; margin-bottom: 16px; }
.hero-sub-bn { font-size: clamp(1.05rem, 2.8vw, 1.3rem); color: var(--gold-light); margin: -8px 0 16px; }
.hero-socials { justify-content: center; margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.chips li {
  font-size: .8rem; padding: 5px 13px; border-radius: 999px;
  border: 1px solid rgba(212,175,55,.38); color: var(--muted-on-dark); background: rgba(255,255,255,.03);
}
.sector-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.pill {
  --c: var(--temple-gold);
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px;
  border-radius: 12px; font-weight: 600; font-size: .92rem;
  border: 1px solid var(--c); color: var(--text-on-dark);
  background: color-mix(in srgb, var(--c) 14%, transparent);
  transition: transform .25s, box-shadow .25s, background .25s;
}
.pill svg { width: 22px; height: 22px; color: var(--c); }
.pill:hover { transform: translateY(-3px); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 55%, transparent); }
.pill-saffron { --c: var(--saffron); }
.pill-red { --c: #E0505E; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* hero line-by-line entrance */
.js .hero-line { opacity: 0; transform: translateY(22px); }
.hero-ready .hero-line { animation: fadeUp .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-ready .hero-line:nth-child(2) { animation-delay: .12s; }
.hero-ready .hero-line:nth-child(3) { animation-delay: .24s; }
.hero-ready .hero-line:nth-child(4) { animation-delay: .36s; }
.hero-ready .hero-line:nth-child(5) { animation-delay: .48s; }
.hero-ready .hero-line:nth-child(6) { animation-delay: .6s; }
.hero-ready .hero-line:nth-child(7) { animation-delay: .72s; }
.hero-ready .hero-line:nth-child(8) { animation-delay: .84s; }
.hero-ready .hero-line:nth-child(9) { animation-delay: .96s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(212,175,55,.6); border-radius: 14px; display: none;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--temple-gold); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---- Cosmos: client as Surya, Navagraha orbiting ---- */
.cosmos {
  --s: min(calc(100vw - 32px), 440px);
  position: relative; width: var(--s); height: var(--s); margin: 0 auto;
}
.cosmos > * { position: absolute; }
.cosmos-glow {
  inset: 18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,140,40,.55) 0%, rgba(212,175,55,.2) 45%, transparent 70%);
  filter: blur(10px); animation: haloPulse 5s ease-in-out infinite;
}
.orbit-line { border-radius: 50%; border: 1px dashed rgba(212,175,55,.28); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.orbit-line.o1 { width: 70%; height: 70%; }
.orbit-line.o2 { width: 84%; height: 84%; border-style: solid; border-color: rgba(212,175,55,.16); }
.orbit-line.o3 { width: 98%; height: 98%; }
.zodiac-ring { inset: 20%; color: var(--temple-gold); opacity: .9; animation: spin 60s linear infinite; }
.cosmos-sun {
  inset: 27%; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--temple-gold);
  box-shadow: 0 0 0 5px rgba(212,175,55,.18), 0 0 46px 6px rgba(242,140,40,.55), inset 0 0 20px rgba(0,0,0,.4);
}
.cosmos-sun img { width: 100%; height: 100%; object-fit: cover; }

.graha-track {
  inset: 0; pointer-events: none;
  animation: spin var(--d) linear infinite;
  animation-delay: calc(var(--a) * var(--d) / -360);
}
.graha-track.rev { animation-direction: reverse; }
.graha {
  --gs: calc(var(--s) * .062);
  position: absolute; top: 50%; left: calc(50% + var(--r) * var(--s));
  width: var(--gs); height: var(--gs); margin: calc(var(--gs) / -2) 0 0 calc(var(--gs) / -2);
  border-radius: 50%; pointer-events: auto;
  /* counter-rotate so labels stay upright */
  animation: spin var(--d) linear infinite reverse;
  animation-delay: calc(var(--a) * var(--d) / -360);
}
.rev .graha { animation-direction: normal; }
.graha b {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 3px;
  font-size: 10px; font-weight: 500; letter-spacing: .08em; color: var(--gold-light);
  white-space: nowrap; opacity: .85; display: none;
}
@media (min-width: 480px) { .graha b { display: block; } }
.g-surya  { --gs: calc(var(--s) * .078); background: radial-gradient(circle at 35% 35%, #FFF3B0, #F7B733 45%, #E8590C); box-shadow: 0 0 16px #F7B733; }
.g-chandra{ background: radial-gradient(circle at 35% 35%, #fff, #d9dce6 50%, #8f95a8); box-shadow: 0 0 12px rgba(255,255,255,.6); }
.g-mangal { background: radial-gradient(circle at 35% 35%, #FFB199, #D9472B 50%, #7A1A0E); box-shadow: 0 0 12px rgba(217,71,43,.7); }
.g-budh   { background: radial-gradient(circle at 35% 35%, #C9F2C7, #3FA34D 50%, #1D5C2A); box-shadow: 0 0 12px rgba(63,163,77,.6); }
.g-guru   { --gs: calc(var(--s) * .08); background: radial-gradient(circle at 35% 35%, #FFF1C1, #E3A948 50%, #9B5D1C); box-shadow: 0 0 14px rgba(227,169,72,.7); }
.g-shukra { background: radial-gradient(circle at 35% 35%, #fff, #F7D9E8 50%, #C98FB1); box-shadow: 0 0 12px rgba(247,217,232,.7); }
.g-shani  { --gs: calc(var(--s) * .07); background: radial-gradient(circle at 35% 35%, #E9D8A6, #6E7BB0 50%, #2C3566); box-shadow: 0 0 12px rgba(110,123,176,.7); }
.g-shani::before {
  content: ""; position: absolute; left: -35%; right: -35%; top: 38%; height: 24%;
  border: 1.5px solid rgba(233,216,166,.85); border-radius: 50%; transform: rotate(-18deg);
}
.g-rahu   { background: radial-gradient(circle at 35% 35%, #8A8AB0, #2C2C44 55%, #0E0E1A); border: 1px solid rgba(212,175,55,.7); box-shadow: 0 0 10px rgba(138,138,176,.5); }
.g-ketu   { background: radial-gradient(circle at 35% 35%, #E3B98C, #7B4B2A 55%, #3A2112); border: 1px solid rgba(212,175,55,.7); box-shadow: 0 0 10px rgba(227,185,140,.5); }

@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .hero-text { text-align: left; }
  .chips, .sector-pills, .hero-cta, .hero-socials { justify-content: flex-start; }
  .cosmos { --s: min(42vw, 540px); }
  .scroll-hint { display: block; }
}
@media (max-width: 1023px) {
  .cosmos { order: -1; }
}

/* =========================================================
   REVEAL
   ========================================================= */
.js .reveal, .js .reveal-left, .js .reveal-right {
  opacity: 0; transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.js .reveal { transform: translateY(32px); }
.js .reveal-left { transform: translateX(-40px); }
.js .reveal-right { transform: translateX(40px); }
.js .in { opacity: 1 !important; transform: none !important; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-photo { position: relative; max-width: 460px; margin: 0 auto; width: 100%; }
.photo-frame {
  border-radius: 24px; padding: 8px;
  background: linear-gradient(140deg, #D4AF37, #F5D67A 40%, #A97E1E);
  box-shadow: 0 30px 60px -25px rgba(168,120,20,.6), 0 0 50px rgba(212,175,55,.25);
}
.photo-frame img { border-radius: 18px; width: 100%; aspect-ratio: 857 / 900; object-fit: cover; }
.exp-badge {
  position: absolute; right: -6px; bottom: -22px;
  width: 124px; height: 124px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--grad-dark); color: var(--gold-light);
  border: 2px solid var(--temple-gold); box-shadow: 0 0 0 6px rgba(212,175,55,.22), 0 16px 34px -10px rgba(26,18,56,.7);
  animation: float 5s ease-in-out infinite;
}
.exp-badge strong { font-family: var(--f-head); font-size: 2rem; line-height: 1; }
.exp-badge span { font-size: .72rem; line-height: 1.25; margin-top: 4px; color: var(--text-on-dark); }
@keyframes float { 50% { transform: translateY(-8px); } }
.about-text h2 { font-family: var(--f-head); font-size: clamp(1.7rem, 4.6vw, 2.5rem); margin-bottom: 18px; }
.about-text > p { color: var(--muted-on-light); }
.about-text > p strong { color: var(--deep-brown); }

.role-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-top: 26px; }
.role-card {
  --c: var(--temple-gold);
  display: block; padding: 18px 16px; border-radius: 14px; background: #fff;
  border: 1px solid rgba(212,175,55,.35); border-top: 3px solid var(--c);
  transition: transform .3s, box-shadow .3s;
}
.role-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.role-card svg { width: 34px; height: 34px; color: var(--c); margin-bottom: 8px; }
.role-card h3 { font-family: var(--f-head); font-size: 1.05rem; margin-bottom: 4px; }
.role-card p { font-size: .85rem; color: var(--muted-on-light); margin: 0; }
.rc-saffron { --c: var(--saffron); }
.rc-red { --c: var(--kumkum-red); }

.highlight-card {
  margin-top: 64px; padding: 28px 24px; border-radius: 20px;
  display: grid; gap: 18px; align-items: center; text-align: center;
  background: var(--grad-dark); color: var(--text-on-dark);
  border: 1px solid rgba(212,175,55,.55);
  box-shadow: 0 30px 60px -30px rgba(26,18,56,.8);
  position: relative; overflow: hidden;
}
.highlight-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 0% 0%, rgba(242,140,40,.25), transparent 45%);
}
.hc-title { font-family: var(--f-head); font-size: clamp(1.05rem, 2.6vw, 1.35rem); color: var(--gold-light); margin: 0 0 4px; }
.hc-sub { margin: 0; color: var(--muted-on-dark); font-size: .9rem; }
.hc-fee span { display: block; font-size: .78rem; color: var(--muted-on-dark); letter-spacing: .1em; text-transform: uppercase; }
.hc-fee strong { font-family: var(--f-head); font-size: 2rem; color: var(--saffron); }
@media (min-width: 768px) {
  .highlight-card { grid-template-columns: 1fr auto auto; text-align: left; gap: 32px; padding: 30px 36px; }
}

.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
.stat {
  text-align: center; padding: 22px 10px; border-radius: 16px; background: #fff;
  border: 1px solid rgba(212,175,55,.35);
}
.stat strong, .stat > span { font-family: var(--f-head); font-size: clamp(1.8rem, 5vw, 2.4rem); color: var(--kumkum-red); line-height: 1; }
.stat > span { color: var(--temple-gold); }
.stat p { margin: 8px 0 0; font-size: .85rem; color: var(--muted-on-light); }
.stat:last-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(5, 1fr); } .stat:last-child { grid-column: auto; } }
@media (min-width: 1024px) {
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; }
}

/* ---------- বাংলা block ---------- */
.bn-block { display: grid; gap: 22px; margin-top: 48px; }
@media (min-width: 900px) { .bn-block { grid-template-columns: 1fr 1fr; gap: 28px; } }
.bn-card { padding: 28px 22px; border-radius: 20px; line-height: 1.75; }
@media (min-width: 768px) { .bn-card { padding: 34px 32px; } }
.bn-services {
  background: #fff; border: 1px solid rgba(212,175,55,.45); border-top: 4px solid var(--kumkum-red);
  box-shadow: 0 24px 50px -30px rgba(120,80,10,.5); text-align: center;
}
.bn-name { font-size: clamp(1.6rem, 4.5vw, 2.1rem); color: var(--kumkum-red); font-weight: 700; margin: 0; line-height: 1.3; }
.bn-medal { color: #A8831C; font-weight: 600; margin: 2px 0 2px; }
.bn-role { font-size: 1.1rem; color: var(--deep-brown); margin-bottom: 18px; }
.bn-list { text-align: left; display: grid; gap: 10px; margin-bottom: 20px; }
.bn-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--deep-brown); }
.bn-list span {
  flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--kumkum-red); color: #fff; border: 2px solid var(--temple-gold); font-size: .9rem;
}
.bn-note { color: var(--muted-on-light); font-size: .95rem; margin-bottom: 8px; }
.bn-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 1.6rem; font-weight: 700; color: var(--kumkum-red); }
.bn-phone .ic { width: 22px; height: 22px; vertical-align: 0; }
.bn-phone:hover { color: var(--saffron); }
.bn-sub { margin: 8px 0 0; color: #A8831C; font-weight: 600; }
.bn-message {
  background: var(--grad-dark); color: var(--text-on-dark);
  border: 1px solid rgba(212,175,55,.55); box-shadow: 0 30px 60px -30px rgba(26,18,56,.8);
  position: relative; overflow: hidden;
}
.bn-message::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgba(242,140,40,.22), transparent 50%);
}
.bn-message > * { position: relative; }
.bn-jai { font-size: 1.5rem; color: var(--saffron); margin-bottom: 6px; }
.bn-q { font-size: 1.2rem; color: var(--gold-light); margin-bottom: 12px; }
.bn-problems { display: grid; gap: 8px; margin-bottom: 18px; }
.bn-problems li { position: relative; padding-left: 24px; color: var(--muted-on-dark); }
.bn-problems li::before { content: "✦"; position: absolute; left: 0; color: var(--temple-gold); }
.bn-message strong { color: var(--gold-light); }
.bn-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* =========================================================
   SERVICES
   ========================================================= */
.tabs { display: none; }
.panel { --acc-ic: var(--acc); scroll-margin-top: calc(var(--header-h) + 12px); }
.panel + .panel { margin-top: 80px; padding-top: 64px; border-top: 1px solid rgba(212,175,55,.2); }
#vastu { --acc-ic: #E8606D; }

@media (min-width: 1024px) {
  .tabs {
    position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
    margin-bottom: 56px; padding-bottom: 14px;
  }
  .tab {
    display: flex; align-items: center; gap: 16px; padding: 20px 22px; text-align: left;
    border-radius: var(--radius); color: var(--text-on-dark);
    background: rgba(58,31,107,.35); border: 1px solid rgba(212,175,55,.25);
    transition: background .3s, border-color .3s, box-shadow .3s, transform .3s;
  }
  .tab svg { width: 44px; height: 44px; color: var(--acc); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--acc) 60%, transparent)); }
  .tab strong { display: block; font-family: var(--f-head); font-size: 1.25rem; }
  .tab small { color: var(--muted-on-dark); font-size: .82rem; }
  .tab:hover { transform: translateY(-3px); border-color: var(--acc); }
  .tab.active { background: rgba(58,31,107,.7); border-color: var(--acc); box-shadow: 0 0 34px -8px var(--acc); }
  .tab-indicator {
    position: absolute; bottom: 0; height: 3px; border-radius: 3px; left: 0; width: 0;
    background: var(--ind, var(--temple-gold)); box-shadow: 0 0 14px var(--ind, var(--temple-gold));
    transition: left .45s cubic-bezier(.6,0,.2,1), width .45s, background .45s;
  }
  .panel { display: none; }
  .panel.active { display: block; animation: panelIn .55s ease; }
  .panel + .panel { margin-top: 0; padding-top: 0; border-top: 0; }
}
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.panel-intro { display: grid; gap: 28px; align-items: center; margin-bottom: 40px; }
.panel-img {
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(212,175,55,.5);
  box-shadow: 0 0 40px -10px var(--acc), 0 24px 50px -24px rgba(0,0,0,.7);
}
.panel-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.panel-tag {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--acc-ic);
}
.panel-tag svg { width: 24px; height: 24px; }
.panel-title { font-family: var(--f-head); font-size: clamp(1.4rem, 3.6vw, 2rem); color: var(--gold-light); margin-bottom: 10px; }
.panel-lead { color: var(--text-on-dark); font-size: 1.05rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; color: var(--muted-on-dark); }
.ticks svg { width: 20px; height: 20px; color: var(--acc-ic); margin-top: 3px; }
@media (min-width: 768px) { .panel-intro { grid-template-columns: .9fr 1.1fr; gap: 44px; } }

.subhead { margin: 48px 0 20px; }
.subhead h4 {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-head); font-size: 1.25rem; color: var(--gold-light);
}
.subhead h4::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--acc), transparent); }
.subhead p { margin: 8px 0 0; color: var(--muted-on-dark); font-size: .92rem; }

/* Card grid — horizontal swipe on mobile */
.cards {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 16px 18px; margin: 0 -16px;
  scrollbar-width: thin; scrollbar-color: var(--temple-gold) transparent;
}
.cards > .card { flex: 0 0 80%; scroll-snap-align: center; }
@media (min-width: 480px) { .cards > .card { flex-basis: 62%; } }
@media (min-width: 768px) {
  .cards { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; padding: 10px 0 0; margin: 0; gap: 20px; }
}
@media (min-width: 1024px) {
  .cards.grid-4 { grid-template-columns: repeat(4, 1fr); }
  .cards.grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 24px 20px; border-radius: var(--radius);
  background: rgba(58,31,107,.4);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(212,175,55,.28); border-top: 3px solid var(--acc);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,.6); border-top-color: var(--acc); box-shadow: 0 0 36px -6px color-mix(in srgb, var(--acc) 60%, transparent), 0 20px 40px -20px rgba(0,0,0,.6); }
.card-ic { width: 42px; height: 42px; color: var(--acc-ic); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--acc-ic) 55%, transparent)); }
.card h4 { font-size: 1.02rem; font-weight: 600; color: #fff; line-height: 1.35; }
.card p { margin: 0; font-size: .9rem; color: var(--muted-on-dark); }
.card .btn { margin-top: auto; align-self: flex-start; }
.modes { display: flex; gap: 6px; }
.modes span {
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px; background: rgba(212,175,55,.14); color: var(--gold-light);
  border: 1px solid rgba(212,175,55,.35);
}

.pcard { padding: 0; overflow: hidden; gap: 0; }
.pcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; cursor: zoom-in; }
.pcard:hover img { transform: scale(1.06); }
.pcard-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.pcard-body p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-body .btn { margin-top: auto; }

/* Diya flicker glow */
.flicker { animation: diya 2.4s ease-in-out infinite; }
@keyframes diya {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(242,140,40,.6)); }
  30% { filter: drop-shadow(0 0 12px rgba(255,190,80,.95)); }
  55% { filter: drop-shadow(0 0 6px rgba(242,140,40,.7)); }
  75% { filter: drop-shadow(0 0 14px rgba(255,200,90,.9)); }
}

/* Gem strip */
.gem-strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 16px 16px; margin: 0 -16px;
}
.gem-strip figure { flex: 0 0 150px; margin: 0; scroll-snap-align: start; text-align: center; }
.gem-strip img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; cursor: zoom-in;
  border: 2px solid rgba(212,175,55,.6); box-shadow: 0 0 20px -6px rgba(212,175,55,.6);
  transition: transform .35s;
}
.gem-strip img:hover { transform: scale(1.05); }
.gem-strip figcaption { font-size: .8rem; color: var(--muted-on-dark); margin-top: 8px; }
@media (min-width: 1024px) {
  .gem-strip { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; padding: 6px 0 0; margin: 0; }
}

/* Vastu steps */
.steps { display: grid; gap: 16px; counter-reset: s; margin-bottom: 36px; }
.steps li {
  position: relative; padding: 22px 20px 20px 76px; border-radius: var(--radius);
  background: rgba(58,31,107,.4); border: 1px solid rgba(212,175,55,.25);
}
.steps span {
  position: absolute; left: 18px; top: 20px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--f-head); font-weight: 700;
  background: var(--kumkum-red); color: #fff; border: 2px solid var(--temple-gold);
  box-shadow: 0 0 18px rgba(168,30,44,.7);
}
.steps strong { display: block; color: var(--gold-light); margin-bottom: 4px; }
.steps p { margin: 0; font-size: .88rem; color: var(--muted-on-dark); }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .steps li { padding: 70px 18px 22px; text-align: center; }
  .steps span { left: 50%; top: 16px; margin-left: -21px; }
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 37px; right: -20px; width: 20px; height: 2px;
    background: var(--grad-gold);
  }
}

/* =========================================================
   AWARDS
   ========================================================= */
.featured-awards { display: grid; gap: 26px; margin-bottom: 48px; }
@media (min-width: 768px) { .featured-awards { grid-template-columns: 1fr 1fr; } }
.award-card {
  border-radius: 22px; overflow: hidden; background: #fff;
  border: 1px solid rgba(212,175,55,.5);
  box-shadow: 0 24px 50px -28px rgba(120,80,10,.55);
  transition: transform .35s, box-shadow .35s;
}
.award-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.award-card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; cursor: zoom-in; border-bottom: 3px solid var(--temple-gold); }
.award-body { padding: 22px 24px 24px; position: relative; }
.award-year {
  position: absolute; top: -18px; right: 22px; padding: 6px 14px; border-radius: 999px;
  background: var(--kumkum-red); color: #fff; font-weight: 600; font-size: .85rem;
  border: 2px solid var(--temple-gold);
}
.award-body h3 { font-family: var(--f-head); font-size: 1.3rem; margin-bottom: 8px; }
.award-body h3 small { font-family: var(--f-body); font-size: .8rem; color: #A8831C; font-weight: 600; }
.award-body p { color: var(--muted-on-light); font-size: .92rem; margin-bottom: 8px; }
.award-by { margin: 0 !important; font-size: .85rem !important; }

.award-swiper { padding-bottom: 44px !important; }
.gframe {
  margin: 0; padding: 7px; border-radius: 14px; background: #fff;
  border: 2px solid var(--temple-gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.15), 0 16px 30px -18px rgba(120,80,10,.6);
}
.gframe img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; cursor: zoom-in; }
.gframe figcaption { font-size: .82rem; text-align: center; padding: 8px 4px 2px; color: var(--muted-on-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swiper-pagination-bullet { background: var(--temple-gold) !important; }
.swiper-pagination-bullet-active { background: var(--kumkum-red) !important; }
/* fallback layout before Swiper loads / without JS */
.award-swiper:not(.swiper-initialized) .swiper-wrapper { display: flex; gap: 16px; overflow-x: auto; }
.award-swiper:not(.swiper-initialized) .swiper-slide { flex: 0 0 240px; }

.certs { display: grid; gap: 12px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .certs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .certs { grid-template-columns: repeat(5, 1fr); } }
.certs li {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px;
  background: #fff; border: 1px dashed rgba(168,131,28,.55);
}
.certs svg { width: 34px; height: 34px; color: #A8831C; }
.certs span { font-size: .8rem; color: var(--muted-on-light); line-height: 1.35; }
.certs strong { display: block; font-size: .92rem; color: var(--deep-brown); }

/* =========================================================
   REVIEWS
   ========================================================= */
.review-panel {
  display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between;
  max-width: 860px; margin: 0 auto; padding: 26px 28px; border-radius: 20px;
  background: rgba(58,31,107,.45); border: 1px solid rgba(212,175,55,.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.g-badge { display: flex; align-items: center; gap: 14px; }
.g-badge svg { background: #fff; border-radius: 50%; padding: 6px; }
.g-badge strong { display: block; font-size: 1.15rem; color: #fff; }
.stars { display: flex; gap: 3px; color: var(--temple-gold); }
.stars svg { width: 20px; height: 20px; background: none; padding: 0; }
.review-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .review-panel { justify-content: center; text-align: center; } .review-actions { justify-content: center; } }
.reviews-widget { margin-top: 36px; }
.reviews-widget:empty { display: none; }
.g-score { display: flex; align-items: center; gap: 8px; }
.g-score b { font-size: 1.3rem; color: var(--gold-light); }
.g-score small { color: var(--muted-on-dark); font-size: .85rem; }
.r-grid { display: grid; gap: 18px; }
@media (min-width: 768px) { .r-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .r-grid { grid-template-columns: repeat(3, 1fr); } }
.r-card {
  display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border-radius: 18px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(212,175,55,.35);
  transition: transform .3s, box-shadow .3s;
}
.r-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.r-card header { display: flex; align-items: center; gap: 12px; }
.r-card strong { display: block; color: #fff; font-size: .98rem; }
.r-card strong a:hover { color: var(--gold-light); }
.r-card small { color: var(--muted-on-dark); font-size: .8rem; }
.r-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--temple-gold); }
.r-avatar img { width: 100%; height: 100%; object-fit: cover; }
.r-avatar span { display: grid; place-items: center; width: 100%; height: 100%; background: var(--kumkum-red); color: #fff; font-weight: 600; }
.r-stars { display: flex; gap: 2px; }
.r-stars svg { width: 16px; height: 16px; }
.r-stars .on { color: var(--temple-gold); }
.r-stars .off { color: rgba(246,238,220,.25); }
.r-text { margin: 0; color: var(--text-on-dark); font-size: .92rem; line-height: 1.7; white-space: pre-line; }
.r-powered { margin: 16px 0 0; text-align: right; font-size: .78rem; color: var(--muted-on-dark); }

/* =========================================================
   CONTACT
   ========================================================= */
.chambers { display: grid; gap: 18px; margin-bottom: 48px; }
@media (min-width: 768px) { .chambers { grid-template-columns: repeat(3, 1fr); } }
.chamber {
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px 22px; border-radius: 18px; background: #fff;
  border: 1px solid rgba(212,175,55,.4); border-top: 3px solid var(--temple-gold);
  transition: transform .3s, box-shadow .3s;
}
.chamber:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); }
.chamber h3 { font-family: var(--f-head); font-size: 1.2rem; margin-bottom: 8px; }
.chamber p { display: flex; gap: 10px; margin: 0 0 8px; font-size: .92rem; color: var(--muted-on-light); }
.chamber p .ic { color: #A8831C; margin-top: 3px; }
.chamber p a { color: var(--deep-brown); font-weight: 500; }
.chamber .btn { margin-top: auto; align-self: flex-start; }
.chamber-online { border-top-color: var(--saffron); }

.contact-grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.05fr 1fr; gap: 36px; } }
.enquiry {
  padding: 28px 22px; border-radius: 20px; background: #fff;
  border: 1px solid rgba(212,175,55,.45);
  box-shadow: 0 24px 50px -30px rgba(120,80,10,.5);
}
@media (min-width: 768px) { .enquiry { padding: 34px 32px; } }
.enquiry h3 { font-family: var(--f-head); font-size: 1.4rem; margin-bottom: 4px; }
.form-note { font-size: .85rem; color: var(--muted-on-light); }
.enquiry label { display: block; font-size: .85rem; font-weight: 500; margin-bottom: 14px; }
.enquiry input, .enquiry select, .enquiry textarea {
  display: block; width: 100%; margin-top: 6px; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 16px; color: var(--deep-brown);
  background: #FFFBF3; border: 1px solid #E3D3B3; border-radius: 12px;
  transition: border-color .25s, box-shadow .25s;
}
.enquiry textarea { resize: vertical; min-height: 96px; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus {
  outline: none; border-color: var(--temple-gold); box-shadow: 0 0 0 3px rgba(212,175,55,.25);
}
.enquiry .invalid { border-color: var(--kumkum-red); }
.cond { border: 0; padding: 14px 14px 0; margin: 0 0 14px; border-radius: 12px; background: rgba(212,175,55,.08); animation: panelIn .4s ease; }
.row2, .row3 { display: grid; gap: 0 14px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: repeat(3, 1fr); } }
.form-error { color: var(--kumkum-red); font-size: .88rem; min-height: 1.2em; margin: 0 0 8px; }

.map-box { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 2px solid var(--temple-gold); background: #fff; min-height: 380px; }
.map-tabs { display: flex; background: var(--indigo-night); }
.map-tab {
  flex: 1; min-height: 48px; border: 0; background: transparent; color: var(--muted-on-dark);
  font-weight: 600; border-bottom: 3px solid transparent; transition: color .3s, border-color .3s;
}
.map-tab.active { color: var(--gold-light); border-bottom-color: var(--saffron); }
.map-box iframe { flex: 1; width: 100%; min-height: 340px; border: 0; display: block; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 64px 0 24px; border-top: 1px solid var(--temple-gold); }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--grad-gold); z-index: 3; }
.footer-grid { display: grid; gap: 32px 20px; grid-template-columns: 1fr 1fr; }
.f-brand { grid-column: 1 / -1; }
.f-tag { margin: 14px 0 4px; color: var(--gold-light); }
.f-bn { color: var(--muted-on-dark); font-size: .95rem; }
.footer h4 { font-family: var(--f-head); color: var(--gold-light); font-size: 1rem; margin-bottom: 12px; }
.footer ul li { margin-bottom: 6px; }
.footer ul a, .footer ul li { color: var(--muted-on-dark); font-size: .9rem; }
.footer ul a:hover { color: var(--gold-light); }
.f-contact .ic { color: var(--temple-gold); width: 15px; height: 15px; margin-right: 4px; }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(212,175,55,.5); color: var(--gold-light); transition: background .3s, color .3s, transform .3s;
}
.socials a:hover { background: var(--temple-gold); color: var(--indigo-night); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.copyright { margin: 44px 0 0; padding-top: 20px; border-top: 1px solid rgba(212,175,55,.2); text-align: center; font-size: .85rem; color: var(--muted-on-dark); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr repeat(5, 1fr); } .f-brand { grid-column: auto; } }

/* =========================================================
   FLOATING
   ========================================================= */
.wa-float {
  position: fixed; right: 18px; bottom: 82px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 10px 24px -6px rgba(37,211,102,.7);
  animation: waPulse 2.4s infinite;
}
.wa-float svg { width: 30px; height: 30px; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.to-top {
  position: fixed; right: 24px; bottom: 150px; z-index: 60;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-gold); color: var(--indigo-night); border: 0;
  box-shadow: 0 8px 20px -6px rgba(212,175,55,.7);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .3s, transform .3s, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  display: grid; grid-template-columns: 1fr 1fr; height: 60px;
  background: var(--indigo-night); border-top: 1px solid var(--temple-gold);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; color: var(--gold-light); }
.mobile-bar a:first-child { background: var(--grad-btn); color: #2B1407; }
.mobile-bar a:last-child { background: #1F9E4F; color: #fff; }
/* room for the mobile call bar, kept inside the dark footer */
.footer { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) {
  .mobile-bar { display: none; }
  .footer { padding-bottom: 24px; }
  .wa-float { bottom: 90px; right: 24px; }
  .to-top { bottom: 158px; right: 30px; }
}

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(10,6,24,.94); padding: 16px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 92vw; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; margin: 0 auto; border-radius: 10px; border: 2px solid var(--temple-gold); }
.lightbox figcaption { color: var(--gold-light); margin-top: 12px; font-size: .9rem; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(212,175,55,.15); border: 1px solid rgba(212,175,55,.6); color: var(--gold-light);
}
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .graha-track, .graha, .zodiac-ring, .hero-mandala { animation: none !important; }
  .graha-track { transform: rotate(calc(var(--a) * 1deg)); }
  .graha { transform: rotate(calc(var(--a) * -1deg)); }
  .js .hero-line { opacity: 1; transform: none; }
  .splash-petals { display: none; }
}
