/* ==========================================================================
   Sankalpam — site.css (hand-written design system, no framework)
   Palette: heritage maroon + marigold gold on warm ivory. Light + dark themes.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/marcellus-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/work-sans-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Sans Telugu";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/noto-telugu-var.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+1CF2,
    U+200C-200D, U+25CC;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #fbf6ec;
  --bg-soft: #f6eddb;
  --surface: #ffffff;
  --surface-2: #fffdf7;
  --ink: #1f1509;
  --muted: #6e5f4b;
  --primary: #8c1d18;
  --primary-strong: #6f130f;
  --primary-soft: rgba(140, 29, 24, 0.08);
  --accent: #e8a020;
  --accent-soft: rgba(232, 160, 32, 0.16);
  --saffron: #d96c2c;
  --success: #1e7a46;
  --gold-line: rgba(190, 141, 43, 0.28);
  --border: rgba(31, 21, 9, 0.1);
  --shadow-1: 0 1px 2px rgba(31, 21, 9, 0.05), 0 4px 16px rgba(31, 21, 9, 0.06);
  --shadow-2: 0 2px 6px rgba(31, 21, 9, 0.07), 0 14px 34px rgba(31, 21, 9, 0.11);
  --header-bg: rgba(255, 255, 255, 0.92);
  --hero-wash: radial-gradient(1100px 480px at 78% -10%, rgba(232, 160, 32, 0.22), transparent 62%),
    radial-gradient(900px 420px at 6% 8%, rgba(140, 29, 24, 0.1), transparent 58%);
  --meter-track: rgba(31, 21, 9, 0.1);
  --font-display: "Marcellus", "Georgia", serif;
  --font-body: "Work Sans", "Noto Sans Telugu", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-telugu: "Noto Sans Telugu", "Work Sans", sans-serif;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --container: 1200px;
  --wa-green: #1faa53;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #171310;
  --bg-soft: #1e1813;
  --surface: #241e18;
  --surface-2: #2a231c;
  --ink: #f3e9d8;
  --muted: #bda98d;
  --primary: #e0b15c;
  --primary-strong: #edc47c;
  --primary-soft: rgba(224, 177, 92, 0.12);
  --accent: #e8a020;
  --accent-soft: rgba(232, 160, 32, 0.14);
  --gold-line: rgba(224, 177, 92, 0.25);
  --border: rgba(243, 233, 216, 0.14);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-2: 0 2px 8px rgba(0, 0, 0, 0.45), 0 18px 44px rgba(0, 0, 0, 0.5);
  --header-bg: rgba(23, 19, 16, 0.92);
  --hero-wash: radial-gradient(1100px 480px at 78% -10%, rgba(232, 160, 32, 0.12), transparent 62%),
    radial-gradient(900px 420px at 6% 8%, rgba(224, 177, 92, 0.06), transparent 58%);
  --meter-track: rgba(243, 233, 216, 0.14);
  color-scheme: dark;
}

/* Buttons / bands that stay maroon in both themes */
:root, [data-theme="dark"] {
  --maroon: #8c1d18;
  --maroon-deep: #5d100c;
  --on-maroon: #fff6e6;
  --gold-soft: #f3cf8b;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.18; letter-spacing: 0.01em; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent-soft); }
[lang="te"] body, .font-telugu { font-family: var(--font-telugu); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 200; width: auto; height: auto;
  clip: auto; padding: 0.6rem 1rem; background: var(--maroon); color: var(--on-maroon);
  border-radius: var(--r-sm); font-weight: 600;
}

/* ---------- Layout primitives ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-alt { background: var(--surface); }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 46rem; margin-inline: auto; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-head p { margin-top: 0.75rem; color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.35rem 0.95rem; margin-bottom: 0.85rem;
  border: 1px solid var(--gold-line); border-radius: var(--r-pill);
  background: var(--accent-soft); color: var(--saffron);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
[data-theme="dark"] .eyebrow { color: var(--accent); }
.eyebrow .icon { width: 0.95rem; height: 0.95rem; }

.accent { color: var(--saffron); }
h1 .accent, h2 .accent {
  background: linear-gradient(120deg, var(--saffron), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.icon { display: inline-flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; flex: none; vertical-align: -0.22em; }
.icon svg { width: 100%; height: 100%; }

/* ---------- Buttons & chips ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.9rem; padding: 0.65rem 1.5rem;
  border-radius: var(--r-pill); font-weight: 600; font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.05rem; height: 1.05rem; }
.btn-primary { background: linear-gradient(135deg, var(--maroon), var(--maroon-deep)); color: var(--on-maroon); box-shadow: 0 6px 18px rgba(140, 29, 24, 0.32); }
.btn-primary:hover { box-shadow: 0 10px 24px rgba(140, 29, 24, 0.4); }
.btn-gold { background: linear-gradient(135deg, var(--accent), var(--saffron)); color: #2a1500; box-shadow: 0 6px 18px rgba(217, 108, 44, 0.3); }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary-soft); }
.btn-light { background: var(--on-maroon); color: var(--maroon); }
.btn-whatsapp { background: var(--wa-green); color: #fff; box-shadow: 0 6px 18px rgba(31, 170, 83, 0.35); }
.btn-sm { min-height: 2.35rem; padding: 0.35rem 1.1rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.34rem 0.9rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--ink); font-size: 0.85rem; font-weight: 500;
  box-shadow: var(--shadow-1);
}
a.chip { transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
a.chip:hover { border-color: var(--saffron); color: var(--saffron); transform: translateY(-1px); }
.chip .icon { width: 1rem; height: 1rem; color: var(--saffron); }
.chip-tag { background: var(--primary-soft); border: 0; box-shadow: none; color: var(--primary); font-size: 0.78rem; padding: 0.22rem 0.7rem; }

.text-link { color: var(--primary); font-weight: 600; display: inline-flex; align-items: center; gap: 0.3rem; }
.text-link:hover { color: var(--saffron); }
.text-link .icon { width: 1rem; height: 1rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.card:hover, .card.is-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--gold-line); }

.icon-badge {
  display: grid; place-items: center; width: 3rem; height: 3rem;
  border-radius: var(--r-pill); background: linear-gradient(135deg, var(--accent), var(--saffron));
  color: #2a1500; box-shadow: 0 4px 12px rgba(217, 108, 44, 0.3);
}
.icon-badge .icon { width: 1.35rem; height: 1.35rem; }

.date-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 4.1rem; min-height: 4.4rem; padding: 0.4rem; flex: none;
  border-radius: var(--r-md); background: linear-gradient(160deg, var(--maroon), var(--maroon-deep));
  color: var(--on-maroon); text-align: center;
}
.date-badge .d { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; }
.date-badge .m { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.25rem; }
.date-badge.is-past { background: var(--bg-soft); color: var(--muted); border: 1px solid var(--border); }

/* ---------- Top bar ---------- */
.topbar { background: var(--maroon-deep); color: var(--on-maroon); font-size: 0.83rem; }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 1.25rem; padding-block: 0.4rem; }
.topbar a { display: inline-flex; align-items: center; gap: 0.45rem; opacity: 0.92; white-space: nowrap; }
.topbar a:hover { opacity: 1; color: var(--gold-soft); }
.topbar .icon { width: 0.92rem; height: 0.92rem; }
.topbar-contacts, .topbar-social { display: flex; align-items: center; gap: 1.1rem; }
@media (max-width: 640px) {
  .topbar { font-size: 0.78rem; }
  .topbar .container { justify-content: center; gap: 0.25rem 0.9rem; }
  .topbar-contacts { gap: 0.9rem; }
  .topbar-social { display: none; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--header-bg); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { width: 2.1rem; height: 2.1rem; }
.brand span { font-family: var(--font-display); font-size: 1.35rem; color: var(--primary); letter-spacing: 0.02em; }
.nav-desktop { display: none; align-items: center; gap: 1.6rem; }
.nav-desktop a { font-weight: 500; font-size: 0.95rem; color: var(--ink); padding-block: 0.4rem; position: relative; }
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--saffron)); transition: right 0.22s ease;
}
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { right: 0; }
.nav-desktop a[aria-current="page"] { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-actions .btn-book { display: none; }
.icon-btn {
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem;
  border-radius: var(--r-pill); color: var(--ink); border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.icon-btn:hover { background: var(--primary-soft); color: var(--primary); }
.lang-btn {
  border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 0.35rem 0.8rem; font-family: var(--font-telugu); font-size: 0.85rem;
}
.lang-btn:hover { border-color: var(--saffron); color: var(--saffron); }
.theme-btn .icon-moon { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-moon { display: block; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-actions .btn-book { display: inline-flex; }
  .nav-burger { display: none; }
}

/* ---------- Mobile drawer ---------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 95; background: rgba(15, 8, 4, 0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.28s ease, visibility 0.28s;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 96;
  width: min(84vw, 21rem); display: flex; flex-direction: column;
  background: var(--surface); box-shadow: var(--shadow-2);
  transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.drawer.open { transform: translateX(0); }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 64px; padding-inline: 1.1rem; border-bottom: 1px solid var(--border); flex: none; }
.drawer nav { flex: 1; overflow-y: auto; padding: 0.6rem 1.1rem 1.4rem; }
.drawer nav a:not(.btn) { display: block; padding: 0.9rem 0.2rem; font-weight: 500; border-bottom: 1px solid var(--border); }
.drawer nav a[aria-current="page"] { color: var(--primary); }
.drawer nav .btn { margin-top: 1.2rem; }
.drawer-langrow { display: flex; gap: 0.6rem; margin-top: 0.9rem; }

/* ---------- Ticker banner ---------- */
.ticker-band { background: linear-gradient(90deg, var(--maroon-deep), var(--maroon)); color: var(--on-maroon); }
.ticker-band .container { display: flex; align-items: center; gap: 1rem; padding-block: 0.55rem; }
.ticker-band .btn { flex: none; }
.marquee { flex: 1; overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee > span { display: inline-block; padding-left: 100%; animation: marquee 28s linear infinite; font-size: 0.88rem; font-weight: 500; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero::before {
  content: ""; position: absolute; inset: 0; background: var(--hero-wash); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 560px; height: 560px;
  border-radius: 50%; pointer-events: none; opacity: 0.5;
  background:
    repeating-conic-gradient(from 0deg, var(--gold-line) 0deg 1.6deg, transparent 1.6deg 15deg);
  -webkit-mask-image: radial-gradient(circle, transparent 34%, #000 35%, #000 48%, transparent 49%, transparent 55%, #000 56%, #000 70%, transparent 71%);
  mask-image: radial-gradient(circle, transparent 34%, #000 35%, #000 48%, transparent 49%, transparent 55%, #000 56%, #000 70%, transparent 71%);
}
.hero .container { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 15em; }
.hero-sub { margin-top: 1.1rem; max-width: 34rem; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.hero-note { display: flex; align-items: center; gap: 0.5rem; margin-top: 1.1rem; color: var(--muted); font-size: 0.86rem; }
.hero-note .icon { width: 1rem; height: 1rem; color: var(--success); }

.hero-art { position: relative; display: none; justify-self: center; align-self: center; }
.hero-art .ring {
  width: clamp(260px, 30vw, 400px); height: clamp(260px, 30vw, 400px);
  border-radius: 50%; object-fit: cover;
  box-shadow: var(--shadow-2); border: 6px solid var(--surface);
  outline: 1px solid var(--gold-line);
}
.hero-art .float-chip {
  position: absolute; display: flex; align-items: center; gap: 0.55rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: 0.55rem 0.9rem; font-size: 0.82rem; font-weight: 600;
}
.hero-art .float-chip .icon { color: var(--saffron); }
.hero-art .chip-a { top: 8%; left: -14%; }
.hero-art .chip-b { bottom: 10%; right: -4%; }
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.15fr 0.85fr; }
  .hero-art { display: block; }
}

/* Stats strip */
.stats-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden;
  margin-top: clamp(2rem, 5vw, 3rem);
  border: 1px solid var(--gold-line); border-radius: var(--r-lg);
  background: var(--gold-line); box-shadow: var(--shadow-1);
}
.stats-strip > div { background: var(--surface); padding: 1.1rem 1rem; text-align: center; }
.stats-strip .n { font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.8rem); color: var(--primary); }
.stats-strip .l { margin-top: 0.15rem; font-size: 0.82rem; color: var(--muted); }
@media (min-width: 700px) { .stats-strip { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Carousels (self-hosted Swiper) ---------- */
.swiper { padding: 0.25rem 0.25rem 1rem; }
.swiper-slide { width: auto; height: auto; }
.snap-nav { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin-top: 0.75rem; }
.snap-btn {
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  border-radius: var(--r-pill); background: var(--primary-soft); color: var(--primary);
  transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.snap-btn:hover { background: var(--primary); color: var(--on-maroon); }
.snap-btn[disabled], .snap-btn.swiper-button-disabled { opacity: 0.35; pointer-events: none; }
.on-dark .snap-btn { background: rgba(255, 246, 230, 0.14); color: var(--on-maroon); }
.on-dark .snap-btn:hover { background: rgba(255, 246, 230, 0.28); }

/* ---------- Expert cards ---------- */
.expert-card { width: min(78vw, 19rem); padding: 1.4rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.expert-avatar {
  position: relative; width: 5.4rem; height: 5.4rem; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent-soft), var(--primary-soft));
  border: 2px solid var(--gold-line);
  font-family: var(--font-display); font-size: 1.7rem; color: var(--primary);
}
.expert-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.expert-avatar .dot {
  position: absolute; right: 0.15rem; bottom: 0.15rem; width: 0.85rem; height: 0.85rem;
  border-radius: 50%; background: var(--success); border: 2.5px solid var(--surface);
}
.expert-card h3 { margin-top: 0.9rem; font-size: 1.15rem; }
.expert-card .role { color: var(--saffron); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.2rem; }
.expert-card .meta { margin-top: 0.55rem; font-size: 0.84rem; color: var(--muted); }
.expert-card .tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem; margin-top: 0.75rem; }
.expert-card .btn { margin-top: 1.1rem; }

/* ---------- Service cards grid ---------- */
.svc-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.svc-card { display: flex; align-items: flex-start; gap: 0.95rem; padding: 1.25rem; }
.svc-card .icon-badge { width: 2.7rem; height: 2.7rem; flex: none; border-radius: var(--r-md); }
.svc-card h3 { font-size: 1.08rem; }
.svc-card p { margin-top: 0.25rem; font-size: 0.86rem; color: var(--muted); }
.svc-card .text-link { margin-top: 0.5rem; font-size: 0.85rem; }

/* Feature cards (image top) */
.feature-grid { display: grid; gap: 1.4rem; }
@media (min-width: 760px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature-card .pic { height: 11.5rem; overflow: hidden; }
.feature-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.feature-card:hover .pic img { transform: scale(1.04); }
.feature-card .body { padding: 1.4rem; }
.feature-card .icon-badge { margin-top: -2.8rem; position: relative; border: 4px solid var(--surface); }
.feature-card h3 { margin-top: 0.7rem; font-size: 1.3rem; }
.feature-card p { margin-top: 0.4rem; color: var(--muted); font-size: 0.92rem; }
.feature-card .text-link { margin-top: 0.7rem; font-size: 0.9rem; }

/* ---------- Category chips band ---------- */
.cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }
.cat-grid .chip { padding: 0.6rem 1.15rem; font-size: 0.92rem; }

/* ---------- Panchang & rashi widget ---------- */
.panchang-wrap { display: grid; gap: 1.4rem; }
@media (min-width: 980px) { .panchang-wrap { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.panchang-card { padding: 1.5rem; }
.panchang-card h3, .rashi-card h3 { display: flex; align-items: center; gap: 0.55rem; font-size: 1.25rem; }
.panchang-card h3 .icon, .rashi-card h3 .icon { color: var(--saffron); }
.panchang-date { color: var(--muted); font-size: 0.88rem; margin-top: 0.3rem; }
.panchang-rows { margin-top: 1.1rem; display: grid; gap: 0.6rem; }
.panchang-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.65rem 0.9rem; border-radius: var(--r-md);
  background: var(--bg-soft); border: 1px solid var(--border); font-size: 0.92rem;
}
.panchang-row .k { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.panchang-row .k .icon { width: 1rem; height: 1rem; color: var(--saffron); }
.panchang-row .v { font-weight: 600; text-align: right; }
.panchang-note { margin-top: 0.85rem; font-size: 0.76rem; color: var(--muted); }

.rashi-card { padding: 1.5rem; }
.rashi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-top: 1rem; }
@media (min-width: 640px) { .rashi-grid { grid-template-columns: repeat(6, 1fr); } }
.rashi-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
  padding: 0.55rem 0.25rem; border-radius: var(--r-md); border: 1px solid var(--border);
  background: var(--surface-2); font-size: 0.78rem; transition: border-color 0.15s ease, background-color 0.15s ease;
}
.rashi-btn .glyph { font-size: 1.25rem; line-height: 1.2; color: var(--saffron); }
.rashi-btn .te { font-size: 0.68rem; color: var(--muted); font-family: var(--font-telugu); }
.rashi-btn:hover { border-color: var(--saffron); }
.rashi-btn.active { border-color: var(--saffron); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--saffron); }
.rashi-reading { margin-top: 1.2rem; }
.rashi-reading h4 { font-size: 1.2rem; display: flex; align-items: baseline; gap: 0.5rem; }
.rashi-reading h4 .te { font-family: var(--font-telugu); font-size: 0.85rem; color: var(--muted); }
.rashi-reading .text { margin-top: 0.55rem; font-size: 0.94rem; color: var(--muted); }
.rashi-facts { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.85rem; }
.meters { display: grid; gap: 0.6rem; margin-top: 1rem; }
@media (min-width: 520px) { .meters { grid-template-columns: 1fr 1fr; } }
.meter { font-size: 0.8rem; }
.meter .row { display: flex; justify-content: space-between; margin-bottom: 0.25rem; color: var(--muted); }
.meter .row b { color: var(--ink); font-weight: 600; }
.meter .track { height: 0.45rem; border-radius: var(--r-pill); background: var(--meter-track); overflow: hidden; }
.meter .fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--accent), var(--saffron)); transition: width 0.5s ease; }
.rashi-ctas { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.25rem; }

/* ---------- Dark band sections (videos) ---------- */
.band-dark { background: linear-gradient(160deg, #221510, #170d0a); color: var(--on-maroon); }
.band-dark .section-head h2 { color: var(--on-maroon); }
.band-dark .section-head p { color: rgba(255, 246, 230, 0.72); }
.video-slide { width: min(80vw, 22rem); }
.video-slide video, .video-slide .yt-box { width: 100%; border-radius: var(--r-lg); background: #000; }

/* YouTube facades */
.yt-facade {
  position: relative; display: block; width: 100%; height: 12.5rem; overflow: hidden;
  border-radius: var(--r-lg); background: #000;
}
.yt-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: transform 0.4s ease, opacity 0.4s ease; }
.yt-facade:hover img { transform: scale(1.05); opacity: 1; }
.yt-facade .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: var(--maroon); color: #fff; box-shadow: var(--shadow-2);
}
.yt-box { position: relative; height: 12.5rem; overflow: hidden; border-radius: var(--r-lg); }
.yt-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Gallery ---------- */
.gallery-slide { width: min(74vw, 21rem); }
.gallery-slide img { width: 100%; height: 16rem; object-fit: cover; border-radius: var(--r-lg); cursor: zoom-in; }
@media (min-width: 640px) { .gallery-slide img { height: 19rem; } }
.lightbox {
  position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center;
  background: rgba(10, 5, 2, 0.88); padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 70rem); max-height: 86vh; border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.lightbox .close { position: absolute; top: 1rem; right: 1rem; }

/* ---------- Testimonials ---------- */
.quote-card { width: min(82vw, 24rem); padding: 1.6rem; display: flex; flex-direction: column; }
.quote-card .icon-quote { color: var(--accent); width: 1.6rem; height: 1.6rem; }
.quote-card blockquote { margin-top: 0.8rem; font-size: 0.95rem; color: var(--ink); flex: 1; }
.quote-card .who { margin-top: 1.1rem; display: flex; align-items: center; gap: 0.75rem; }
.quote-card .who .avatar {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-weight: 600; font-size: 0.95rem;
}
.quote-card .who .name { font-weight: 600; font-size: 0.92rem; }
.quote-card .who .place { font-size: 0.8rem; color: var(--muted); }
.stars { display: inline-flex; gap: 0.15rem; color: var(--accent); }
.stars .icon { width: 0.95rem; height: 0.95rem; }
.stars .icon svg { fill: currentColor; }

/* ---------- Trust band ---------- */
.trust-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-tile { text-align: center; padding: 1.6rem 1.1rem; }
.trust-tile .icon-badge { margin-inline: auto; }
.trust-tile h3 { margin-top: 0.85rem; font-size: 1.05rem; }
.trust-tile p { margin-top: 0.35rem; font-size: 0.85rem; color: var(--muted); }

/* ---------- FAQ / long-form ---------- */
.faq { max-width: 46rem; margin-inline: auto; display: grid; gap: 0.8rem; }
.faq details { border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 0.25s ease; color: var(--saffron); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 1.25rem 1.15rem; color: var(--muted); font-size: 0.94rem; }
.longform { max-width: 46rem; margin-inline: auto; }
.longform details { border-bottom: 1px solid var(--border); }
.longform summary { padding: 0.9rem 0.2rem; cursor: pointer; font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.longform summary::-webkit-details-marker { display: none; }
.longform summary .icon { color: var(--saffron); flex: none; transition: transform 0.25s ease; }
.longform details[open] summary .icon { transform: rotate(180deg); }
.longform .answer { padding: 0 0.2rem 1.1rem; color: var(--muted); font-size: 0.94rem; }
.longform .answer p + p { margin-top: 0.7rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 300px at 50% -80px, rgba(232, 160, 32, 0.25), transparent 70%),
    linear-gradient(150deg, var(--maroon), var(--maroon-deep));
  color: var(--on-maroon); text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cta-band p { margin: 0.8rem auto 0; max-width: 36rem; color: rgba(255, 246, 230, 0.82); }
.cta-band .hero-ctas { justify-content: center; }
.cta-band .btn-outline { border-color: var(--on-maroon); color: var(--on-maroon); }
.cta-band .btn-outline:hover { background: rgba(255, 246, 230, 0.12); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--gold-line); }
.footer-grid { display: grid; gap: 2.2rem; padding-block: clamp(2.5rem, 6vw, 3.8rem); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.35fr 1fr 1fr 1.25fr; } }
.footer-grid h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.footer-grid ul { display: grid; gap: 0.55rem; font-size: 0.9rem; }
.footer-grid ul a { color: var(--muted); }
.footer-grid ul a:hover { color: var(--primary); }
.footer-about p { margin-top: 0.8rem; color: var(--muted); font-size: 0.9rem; max-width: 24rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-social a {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: var(--r-pill);
  background: var(--primary-soft); color: var(--primary); transition: background-color 0.15s ease, color 0.15s ease;
}
.footer-social a:hover { background: var(--primary); color: var(--on-maroon); }
.footer-social .icon { width: 1.05rem; height: 1.05rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--muted); }
.footer-contact .icon { width: 1rem; height: 1rem; margin-top: 0.2rem; color: var(--saffron); flex: none; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; padding-bottom: 1.6rem; }
.footer-bottom { background: var(--maroon-deep); color: var(--on-maroon); font-size: 0.85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1rem; }
.footer-bottom a { opacity: 0.85; }
.footer-bottom a:hover { opacity: 1; color: var(--gold-soft); }
.footer-bottom .links { display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; }

/* ---------- Floating buttons ---------- */
.float-stack { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80; display: flex; flex-direction: column; gap: 0.7rem; }
.float-btn {
  display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%;
  color: #fff; box-shadow: var(--shadow-2); transition: transform 0.18s ease;
}
.float-btn:hover { transform: translateY(-2px) scale(1.04); }
.float-btn .icon { width: 1.5rem; height: 1.5rem; }
.float-whatsapp { background: var(--wa-green); }
.float-music { background: linear-gradient(135deg, var(--maroon), var(--maroon-deep)); }
.music-eq { display: flex; align-items: flex-end; gap: 3px; height: 1.2rem; }
.music-eq i { width: 3px; background: #fff; border-radius: 2px; animation: eq 0.9s ease-in-out infinite; }
.music-eq i:nth-child(1) { height: 55%; animation-delay: 0s; }
.music-eq i:nth-child(2) { height: 100%; animation-delay: 0.18s; }
.music-eq i:nth-child(3) { height: 70%; animation-delay: 0.36s; }
@keyframes eq { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }

/* ---------- Promo popup ---------- */
.promo-modal {
  position: fixed; inset: 0; z-index: 110; display: none; align-items: center; justify-content: center;
  background: rgba(10, 5, 2, 0.72); padding: 1.2rem;
}
.promo-modal.flex { display: flex; }
.promo-box {
  position: relative; width: 100%; max-width: 24rem; max-height: 92dvh; overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  opacity: 0; transform: scale(0.94) translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.promo-modal.show .promo-box { opacity: 1; transform: none; }
.promo-box .inner { overflow-y: auto; padding: 1.1rem; }
.promo-box img { border-radius: var(--r-md); }
.promo-close {
  position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2;
  display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); border: 1px solid var(--border);
}
.promo-close:hover { background: var(--maroon); color: var(--on-maroon); }

/* ---------- Event rows ---------- */
.event-row { display: flex; gap: 1.1rem; padding: 1.15rem; align-items: flex-start; }
.event-row h3 { font-size: 1.2rem; }
.event-row p { margin-top: 0.3rem; font-size: 0.9rem; color: var(--muted); }
.event-row .text-link { margin-top: 0.7rem; font-size: 0.9rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 300px at 50% -80px, rgba(232, 160, 32, 0.25), transparent 70%),
    linear-gradient(150deg, var(--maroon), var(--maroon-deep));
  color: var(--on-maroon);
}
.page-hero .container { padding-block: clamp(3rem, 7vw, 4.5rem); }
.page-hero.is-center { text-align: center; }
.page-hero.is-split .container { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .page-hero.is-split .container { grid-template-columns: 1.1fr 0.9fr; } }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-hero .lead { margin-top: 1rem; color: rgba(255, 246, 230, 0.85); max-width: 40rem; }
.page-hero.is-center .lead { margin-inline: auto; }
.page-hero .eyebrow { background: rgba(232, 160, 32, 0.18); border-color: rgba(243, 207, 139, 0.35); color: var(--gold-soft); }
.page-hero .hero-ctas { margin-top: 1.8rem; }
.page-hero.is-center .hero-ctas { justify-content: center; }
.page-hero .btn-outline { border-color: var(--on-maroon); color: var(--on-maroon); }
.page-hero .btn-outline:hover { background: rgba(255, 246, 230, 0.12); }
.page-hero .meta-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; margin-top: 1.2rem; color: rgba(255, 246, 230, 0.92); font-size: 0.95rem; }
.page-hero .meta-row p { display: flex; align-items: center; gap: 0.5rem; }
.page-hero .meta-row .icon { color: var(--gold-soft); }
.back-link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; color: rgba(255, 246, 230, 0.7); margin-bottom: 0.9rem; }
.back-link:hover { color: var(--gold-soft); }
.back-link .icon { width: 0.95rem; height: 0.95rem; }
.page-hero .hero-pic { position: relative; }
.page-hero .hero-pic img { width: 100%; height: clamp(16rem, 32vw, 24rem); object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-2); outline: 4px solid rgba(255, 246, 230, 0.15); }
.page-hero .hero-pic .date-badge { position: absolute; left: -0.9rem; bottom: -0.9rem; box-shadow: var(--shadow-2); outline: 4px solid rgba(93, 16, 12, 0.75); }

/* ---------- Step cards ---------- */
.steps-grid { display: grid; gap: 1.1rem; }
@media (min-width: 700px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.6rem 1.2rem; }
.step-card .icon-badge { margin-bottom: 0.9rem; }
.step-card .step-n { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--saffron); }
.step-card h3 { margin-top: 0.25rem; font-size: 1.15rem; }
.step-card p { margin-top: 0.45rem; font-size: 0.88rem; color: var(--muted); }

/* ---------- Timeline (schedules) ---------- */
.timeline { position: relative; display: grid; gap: 1.4rem; padding-left: 2rem; max-width: 42rem; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 0.55rem; top: 0.4rem; bottom: 0.4rem; width: 2px; background: var(--gold-line); }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -1.98rem; top: 0.3rem; width: 0.85rem; height: 0.85rem;
  border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--saffron));
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.timeline .t { font-weight: 600; }
.timeline p { font-size: 0.9rem; color: var(--muted); margin-top: 0.2rem; }

/* ---------- Prose (policies / long text) ---------- */
.prose { max-width: 46rem; margin-inline: auto; color: var(--muted); display: grid; gap: 1.6rem; }
.prose h2 { color: var(--ink); font-size: 1.45rem; }
.prose h2 + p, .prose h2 + ul { margin-top: 0.6rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: 0.35rem; }
.prose a { color: var(--primary); font-weight: 600; }
.prose a:hover { color: var(--saffron); }

/* ---------- Forms ---------- */
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.65rem 0.85rem; font: inherit; font-size: 0.92rem; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm);
  outline: none; transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--saffron); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.7; }
.form-grid-2 { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact cards ---------- */
.contact-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem; }
.contact-card .icon-badge { flex: none; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card p { margin-top: 0.2rem; font-size: 0.9rem; color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal-on-scroll { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: none; }
.reveal-delay-100 { transition-delay: 0.08s; }
.reveal-delay-200 { transition-delay: 0.16s; }
.reveal-delay-300 { transition-delay: 0.24s; }
.reveal-delay-400 { transition-delay: 0.32s; }
.reveal-delay-500 { transition-delay: 0.4s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee > span { animation: none; padding-left: 0; }
  .reveal-on-scroll { opacity: 1; transform: none; }
}
