:root {
  --blue: #0a4a86;
  --blue-deep: #062c52;
  --gold: #d4a017;
  --gold-soft: #f4d27a;
  --saffron: #c45c12;
  --cream: #faf6ee;
  --ivory: #fffdf8;
  --ink: #1c2430;
  --muted: #5c6570;
  --line: #e6dcc8;
  --maroon: #7a1f2b;
  --shadow: 0 18px 50px rgba(6, 44, 82, 0.12);
  --radius: 18px;
  --max: 1180px;
  --header: 92px;
  --font: "Poppins", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--saffron); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: var(--blue-deep);
  color: #fff;
  font-size: 0.82rem;
  overflow: hidden;
}
.mantra-ticker {
  overflow: hidden;
  width: 100%;
  padding: 8px 0 6px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mantra-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: mantra-scroll 110s linear infinite;
}
.mantra-loop {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2.4rem;
  padding-right: 2.4rem;
}
.mantra-item {
  display: inline-flex;
  align-items: baseline;
  gap: 1.1rem;
  white-space: nowrap;
}
.mantra-te {
  font-family: "Noto Sans Telugu", "Nirmala UI", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold-soft);
}
.mantra-om {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.05rem;
}
.mantra-en {
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
}
@keyframes mantra-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.topbar .wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.topbar a { color: #fff; }
.topbar-meta {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
}
.topbar-hours { line-height: 1.35; }
.topbar-phone { font-weight: 800; white-space: nowrap; }
.topbar-social {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.topbar-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  margin-left: 4px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--blue-deep) !important;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.topbar-donate:hover { background: var(--gold-soft); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-deep);
}
.brand img { height: 58px; width: 58px; object-fit: contain; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font); font-size: 1.12rem; font-weight: 600; }
.brand-text span { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--saffron); }
nav ul { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; }
nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}
nav a:hover, nav a.active {
  background: var(--blue);
  color: #fff;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  color: #fff;
  overflow: hidden;
  background: #062c52 center/cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 44, 82, 0.82) 0%, rgba(6, 44, 82, 0.35) 55%, rgba(6, 44, 82, 0.2) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 72px 0; }
.kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--saffron);
  font-weight: 800;
}
.hero-slider .kicker,
.page-hero .kicker,
.goseva .kicker {
  color: var(--gold-soft);
}
h1, h2, h3 { font-family: var(--font); line-height: 1.25; font-weight: 600; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 10px 0 16px; max-width: 14ch; }
.mantra-box {
  display: inline-block;
  max-width: 100%;
  background: rgba(255, 253, 248, 0.92);
  color: var(--maroon);
  padding: 14px 22px;
  border-radius: 14px;
  font-family: var(--font);
  font-size: clamp(0.95rem, 3.6vw, 1.25rem);
  margin: 18px 0 24px;
  word-break: break-word;
}
.hero-actions, .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn { transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6,44,82,.18); }
.btn-gold {
  background: var(--gold);
  color: var(--blue-deep);
}
.btn-gold:hover { color: var(--blue-deep); filter: brightness(1.08); }
.card, .panel, .obj {
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover, .panel:hover, .obj:hover, .hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px rgba(6,44,82,.16);
}
.panel img, .gallery-grid img, .darshan-strip img {
  transition: transform .45s ease;
}
.panel:hover img, .gallery-grid a:hover img, .darshan-strip figure:hover img {
  transform: scale(1.06);
}
.chip { transition: background .2s ease, transform .2s ease; }
.chip:hover { transform: translateY(-2px); }
.soc { transition: transform .2s ease, background .2s ease; }
.soc:hover { transform: scale(1.12); color: #fff !important; }
.visit-list { margin: 16px 0 0 18px; }
.visit-list li { margin: 6px 0; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid #fff; }
.btn-outline.dark { color: var(--blue); border-color: var(--blue); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { color: #fff; }

.section { padding: 72px 0; }
.section h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 10px; }
.lead { color: var(--muted); max-width: 68ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.meta-grid, .card-grid, .card-grid, .program-grid, .gallery-grid {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}
.meta-grid { grid-template-columns: repeat(3, 1fr); }
.card-grid, .card-grid { grid-template-columns: repeat(3, 1fr); }
.program-grid { grid-template-columns: 1.1fr 1fr; }
.gallery-grid { grid-template-columns: repeat(3, 1fr); }
.card, .panel {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 24px; }
.card h3 { margin-bottom: 8px; font-size: 1.45rem; }
a.fest-card {
  color: inherit;
  text-decoration: none;
  display: block;
}
a.fest-card:hover { color: inherit; }
.fest-cta {
  margin-top: 12px;
  font-weight: 800;
  color: var(--saffron);
}
.seva-links { margin: 16px 0 16px 18px; }
.seva-links a { font-weight: 700; }
.panel { overflow: hidden; }
.panel img { width: 100%; height: 280px; object-fit: cover; }
.panel-body { padding: 22px; }
.icon-label { color: var(--saffron); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; }

.quote {
  background: var(--blue-deep);
  color: #fff;
  padding: 56px 0;
}
.quote p { font-family: var(--font); font-size: clamp(1.15rem, 2.6vw, 1.55rem); font-weight: 500; font-style: italic; max-width: 50ch; }
.quote cite { display: block; margin-top: 14px; color: var(--gold-soft); font-style: normal; }

.prose { max-width: 78ch; }
.prose p, .prose li { margin-bottom: 12px; }
.prose ul { padding-left: 1.2rem; }
.acharya-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.2fr;
  gap: 28px;
  align-items: start;
}
.acharya-intro img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  object-fit: cover;
  max-height: 520px;
}
.life-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  margin-top: 22px;
  align-items: center;
}
.life-grid.reverse { direction: rtl; }
.life-grid.reverse > * { direction: ltr; }
.life-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.life-grid figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.stat-row article {
  background: #fff;
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-row strong {
  display: block;
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blue-deep);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.photo-grid figure { margin: 0; }
.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.photo-grid figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}
.timeline { display: grid; gap: 14px; margin-top: 18px; }
.timeline article {
  background: #fff;
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 12px;
}
.timeline time { color: var(--saffron); font-weight: 800; font-size: 0.82rem; }
.objectives { display: grid; gap: 20px; margin-top: 28px; }
.obj {
  background: #fff;
  border-left: 5px solid var(--gold);
  padding: 22px 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.related { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  background: #eef5fb;
  color: var(--blue);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.page-hero {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #fff;
  padding: 56px 0;
}
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.page-hero--cover {
  background: var(--blue-deep);
  padding: 0;
}
.page-hero--cover .page-hero-bg {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  max-height: min(52svh, 520px);
  object-fit: cover;
  object-position: 72% 45%;
}
.page-hero--cover .wrap {
  padding: 28px 0 36px;
}
.cover-banner {
  display: block;
  margin: 0 0 28px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cover-banner img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 72% 45%;
}
.page-hero a,
.quote a,
.hero-slider a:not(.btn) {
  color: var(--gold-soft);
}
.page-hero a:hover,
.quote a:hover {
  color: #fff;
}

.gallery-grid a { display: block; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.gallery-grid img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.4s; }
.gallery-grid a:hover img { transform: scale(1.04); }

.cal-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}
.calendar {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(90deg, #0a4a86, #7a1f2b);
  color: #fff;
}
.cal-head button {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
}
.weekdays, .days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.weekdays span {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 10px 0;
  color: var(--saffron);
  background: #fff8ea;
}
.day {
  min-height: 92px;
  border: 1px solid #f0e8d6;
  padding: 8px;
  cursor: pointer;
  background: #fff;
}
.day:hover { background: #fff6e5; }
.day.empty { background: #fafafa; cursor: default; }
.day .n { font-weight: 800; }
.day .evt {
  font-size: 0.68rem;
  color: var(--maroon);
  margin-top: 4px;
  line-height: 1.25;
}
.day.festival {
  background: #ffe7b0;
  box-shadow: inset 0 5px 0 #c45c12;
}
.day.ekadashi {
  background: #cfe4ff;
  box-shadow: inset 0 5px 0 #0a4a86;
}
.day.festival.ekadashi {
  background: linear-gradient(#ffe7b0 52%, #cfe4ff 52%);
  box-shadow: inset 0 5px 0 #c45c12;
}
.day.has-gift {
  box-shadow: inset 0 5px 0 #c45c12, inset 0 -5px 0 #d4a017;
}
.day.ekadashi.has-gift:not(.festival) {
  box-shadow: inset 0 5px 0 #0a4a86, inset 0 -5px 0 #d4a017;
}
.day.has-gift .n::after {
  content: " ●";
  color: #b8860b;
  font-size: 0.85em;
}
.day.today { outline: 2px solid var(--gold); outline-offset: -2px; }
.day.selected { background: var(--blue); color: #fff; box-shadow: none; }
.day.selected .evt { color: var(--gold-soft); }
.day.selected .n::after { color: var(--gold-soft); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin: 12px 0 0; font-size: 0.88rem; font-weight: 700; }
.legend .leg { display: inline-flex; align-items: center; gap: 8px; }
.legend .leg i {
  width: 22px;
  height: 18px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid var(--line);
}
.legend .leg.festival i { background: #ffe7b0; box-shadow: inset 0 4px 0 #c45c12; }
.legend .leg.ekadashi i { background: #cfe4ff; box-shadow: inset 0 4px 0 #0a4a86; }
.legend .leg.donors i { background: #fff; box-shadow: inset 0 -4px 0 #d4a017; }

.form label { display: block; font-weight: 700; font-size: 0.86rem; margin: 12px 0 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: #fff;
}
.form input[type="file"] {
  padding: 14px 12px;
  background: #fff8ea;
  cursor: pointer;
  min-height: 48px;
}
.donor-item .print-rec {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.amount-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.amount-row button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}
.amount-row button.active { background: var(--gold); border-color: var(--gold); }
.donor-list { display: grid; gap: 10px; margin-top: 12px; }
.donor-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: #fff8ea;
  padding: 12px 14px;
  border-radius: 12px;
}
.qr-block img { width: min(280px, 100%); margin: 12px auto; border-radius: 12px; }
.bank dt { font-weight: 800; margin-top: 8px; }
.bank dd { color: var(--muted); }

.announce { display: grid; gap: 16px; }
.announce article {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--line);
}
.announce time { color: var(--saffron); font-weight: 800; font-size: 0.82rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: 16px; }

.site-footer {
  background: var(--blue-deep);
  color: #e8eef5;
  padding: 48px 0 20px;
  margin-top: 40px;
}
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; }
.site-footer .footer-brand,
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  margin-bottom: 14px;
}
.site-footer .footer-brand:hover,
.site-footer .footer-brand:hover { color: #fff !important; }
.site-footer .footer-brand img,
.site-footer .footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
}
.footer-brand strong {
  display: block;
  font-family: var(--font);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 600;
}
.footer-brand em {
  display: block;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.site-footer a { color: var(--gold-soft); }
.site-footer h3 { color: #fff; margin-bottom: 10px; }
.copy { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 14px; font-size: 0.86rem; }
.copy-bar {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 28px;
  padding-top: 14px;
  font-size: 0.86rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.copy-bar .credit {
  margin-left: auto;
  text-align: right;
}

.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,.86);
  display: none; place-items: center; z-index: 80; padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; max-width: 92vw; }

table.data { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: #fff; }
table.data th, table.data td { border: 1px solid var(--line); padding: 8px; text-align: left; }
table.data th { background: var(--blue); color: #fff; }

@media (max-width: 980px) {
  .meta-grid, .card-grid, .gallery-grid, .cal-shell, .program-grid, .contact-grid, .foot-grid, .volunteer-grid,
  .acharya-intro, .life-grid, .stat-row, .photo-grid {
    grid-template-columns: 1fr;
  }
  .life-grid img, .photo-grid img { height: 220px; }
  .acharya-intro img { max-height: 360px; }
  .nav-toggle { display: block; }
  nav { display: none; width: 100%; }
  nav.open { display: block; }
  .site-header .wrap { flex-wrap: wrap; padding: 10px 0; }
  nav ul { flex-direction: column; }
}

.drop { position: relative; }
.drop > a { cursor: pointer; }
.drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 50;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: block; }
.drop-menu a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--ink); }

.darshan-strip, .darshan-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 2px 18px;
  scroll-snap-type: x mandatory;
}
.darshan-strip a, .darshan-strip figure {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.darshan-strip img { width: 100%; height: 200px; object-fit: cover; }
.darshan-strip figcaption { padding: 10px 12px; background: #fff; font-weight: 800; font-size: 0.9rem; }

.goseva, .goseva {
  background: linear-gradient(135deg, #123a24, #1f6b45);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.goseva input[type="range"], .goseva input[type="range"] { width: 100%; accent-color: var(--gold); margin: 16px 0; }
.goseva .amt, .goseva .amt { font-size: 2rem; font-family: var(--font); font-weight: 700; color: var(--gold-soft); }

.fest-row, .fest-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.yt-frame { border: 0; width: 100%; height: 360px; border-radius: 16px; }

.soc {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff !important;
}
.soc svg { width: 18px; height: 18px; }
.topbar-social .soc { background: rgba(255,255,255,.16); }
.social-row { display: flex; gap: 8px; margin-top: 12px; }
.site-footer .soc { background: rgba(255,255,255,.12); }

.hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  max-height: min(72svh, 680px);
  overflow: hidden;
  color: #fff;
  background: #0c2e28;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.9s ease, visibility 0.9s;
}
.hero-slider .slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.slide-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
}
.slide-hit img {
  pointer-events: none;
  object-position: 72% 45%;
}
.hero-slider .hero-inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 88px;
  min-height: min(88svh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 640px;
}
.hero-slider h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  margin: 10px 0 16px;
  max-width: none;
  text-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.hero-nav, .hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.hero-prev { left: 16px; }
.hero-next { right: 16px; }
.hero-dots, .hero-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor: pointer;
}
.hero-dots button.active, .hero-dots button.active { background: var(--gold); }

.hero-slider.has-audio .hero-dots { bottom: 88px; }
.hero-audio {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  background: rgba(6, 32, 58, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: #fff;
  max-width: 920px;
  margin: 0 auto;
}
.hero-audio[hidden] { display: none !important; }
.hero-audio-play {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-deep);
  font-weight: 800;
  cursor: pointer;
}
.hero-audio-meta { min-width: 0; }
.hero-audio-meta strong, .hero-audio-meta span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-audio-meta strong { font-size: 0.82rem; }
.hero-audio-meta span { font-size: 0.7rem; color: var(--gold-soft); }
.hero-audio input[type="range"] { accent-color: var(--gold); }
#ha-seek { flex: 1; min-width: 80px; }
#ha-vol { width: 72px; }
.hero-audio button:not(.hero-audio-play) {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
}

.pay-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.scan-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: #fffaf0;
}
.scan-panel img {
  width: min(240px, 100%);
  display: block;
  margin: 12px auto;
  border-radius: 12px;
}
.scan-hint, .scan-hint { margin-top: 12px; font-size: 0.86rem; color: var(--muted); }
.scan-panel dl.bank-inline {
  display: grid;
  grid-template-columns: minmax(110px, 140px) 1fr;
  gap: 6px 12px;
  margin: 8px 0 16px;
  font-size: 0.92rem;
}
.scan-panel dl.bank-inline dt { color: var(--muted); font-weight: 600; }
.scan-panel dl.bank-inline dd { margin: 0; font-weight: 700; }
.paid-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 8px;
  font-weight: 700;
  cursor: pointer;
}
.paid-check input { margin-top: 3px; width: auto; }

@media (max-width: 720px) {
  .hero-audio { flex-wrap: wrap; border-radius: 18px; }
  #ha-vol { width: 100%; }
}

.hero-dock {
  background: var(--blue-deep);
  color: #fff;
  margin-top: -1px;
}
.hero-dock .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.hero-dock article {
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,.12);
}
.hero-dock article:last-child { border-right: 0; }
.hero-dock .icon-label { color: var(--gold-soft); }
.hero-dock h3 { color: #fff; font-size: 1.35rem; margin: 6px 0 4px; }
.hero-dock p { color: #d9e4ef; font-size: 0.92rem; }
.hero-dock a { color: var(--gold-soft); font-weight: 800; }

@media (max-width: 980px) {
  .hero-dock .wrap { grid-template-columns: 1fr; }
  .hero-dock article { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
}

.volunteer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}
@media (max-width: 980px) {
  .volunteer-grid { grid-template-columns: 1fr; }
}

body.has-player { padding-bottom: 84px; }
body.has-player .float-wa { bottom: 92px; }
body.has-player.player-min { padding-bottom: 52px; }
body.has-player.player-min .float-wa { bottom: 62px; }
.player-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1.2fr 1.6fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  background: #062c52;
  color: #fff;
  box-shadow: 0 -8px 30px rgba(0,0,0,.25);
}
.player-play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--gold);
  color: var(--blue-deep);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}
.player-meta strong, .player-meta span { display: block; }
.player-meta strong { font-size: 0.92rem; }
.player-meta span { font-size: 0.75rem; color: #d7c9a6; }
.player-seek { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; }
.player-seek input, .player-tools input { accent-color: var(--gold); }
.player-seek input { flex: 1; }
.player-tools { display: flex; align-items: center; gap: 8px; }
.player-tools button {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
}
.player-link { color: var(--gold-soft); font-weight: 800; font-size: 0.8rem; }
.player-tools input[type="range"] { width: 90px; }
.player-bar.collapsed .player-seek,
.player-bar.collapsed .player-meta span,
.player-bar.collapsed .player-tools a,
.player-bar.collapsed #p-vol {
  display: none;
}
.player-bar.collapsed {
  grid-template-columns: auto 1fr auto;
  padding: 6px 16px;
}
#donate-form, #donate-start { scroll-margin-top: 120px; }
.invoice-sheet {
  background: #fff;
  color: #1c2430;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 32px;
  max-width: 800px;
  margin: 16px 0 0;
  box-shadow: var(--shadow);
}
.invoice-sheet .inv-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 3px solid #d4a017;
  padding-bottom: 14px;
}
.invoice-sheet .inv-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.invoice-sheet .inv-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.invoice-sheet .inv-brand h1 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--blue-deep);
}
.invoice-sheet .inv-brand p { margin: 4px 0 0; font-size: 0.82rem; color: var(--muted); }
.invoice-sheet .inv-photo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.invoice-sheet .inv-title {
  text-align: center;
  margin: 18px 0 8px;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blue);
}
.invoice-sheet .inv-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.86rem;
  margin-bottom: 14px;
}
.invoice-sheet table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.invoice-sheet th, .invoice-sheet td {
  border: 1px solid #e6dcc8;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.invoice-sheet th { width: 34%; background: #fff8ea; font-weight: 700; }
.invoice-sheet .inv-amt { font-size: 1.15rem; font-weight: 800; }
.invoice-sheet .inv-words { font-style: italic; }
.invoice-sheet .inv-foot {
  margin-top: 22px;
  font-size: 0.8rem;
  color: var(--muted);
}
.invoice-sheet .inv-sign {
  margin-top: 36px;
  display: flex;
  justify-content: flex-end;
  font-size: 0.86rem;
  text-align: center;
}
.invoice-sheet .inv-sign span {
  display: block;
  border-top: 1px solid #cfc4b0;
  padding-top: 6px;
  min-width: 200px;
}
.invoice-actions { margin-top: 16px; }
@media print {
  .invoice-actions, #invoice-wrap .kicker, #invoice-wrap h2, #invoice-wrap > .wrap > .lead { display: none !important; }
}
.photo-preview {
  display: none;
  max-width: 160px;
  max-height: 160px;
  margin: 10px 0 0;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.photo-preview.is-on { display: block; }
.field-hint, .pay-note, .photo-msg {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 8px;
}
.field-hint.is-error, .photo-msg.is-error { color: #9b1c2c; font-weight: 700; }
.otp-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.otp-box input { flex: 1; min-width: 140px; }
.otp-box .btn { width: auto; }
.pay-actions .btn:disabled { opacity: 0.45; cursor: not-allowed; }
.upi-qr-only {
  width: min(280px, 100%);
  margin: 12px auto;
  display: block;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
}
.qr-block img {
  width: min(280px, 100%);
  margin: 12px auto;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
}
.photo-msg.is-error { color: #9b1c2c; font-weight: 700; }
.scan-panel[hidden], .form img[hidden] { display: none !important; }

.float-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  background: #25d366;
  color: #fff !important;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.float-wa svg { width: 28px; height: 28px; }
.float-wa { animation: wa-pulse 2.4s ease-in-out infinite; }
@keyframes wa-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.motion-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0ms);
}
.motion-in.is-visible {
  opacity: 1;
  transform: none;
}

.hero-nav:hover { transform: translateY(-50%) scale(1.08); background: rgba(255,255,255,.35); }
.hero-dock article { transition: background 0.25s ease; }
.hero-dock article:hover { background: rgba(255,255,255,.06); }
.day { transition: background 0.2s ease, transform 0.2s ease; }
.day:hover:not(.empty) { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-in, .btn, .card, .panel, .obj, .soc, .chip, .float-wa,
  .hero-slider .slide, .slide-bg {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .mantra-track { animation-duration: 160s; }
}

.audio-card audio { width: 100%; margin-top: 10px; }

@media (max-width: 980px) {
  .fest-row, .fest-row { grid-template-columns: 1fr 1fr; }
  .drop-menu { position: static; box-shadow: none; border: 0; }
  nav.open .drop-menu { display: block; }
  .player-bar { grid-template-columns: auto 1fr; }
  .player-seek, .player-tools { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .topbar .wrap {
    justify-content: center;
    padding: 8px 0 10px;
  }
  .mantra-te { font-size: 0.88rem; }
  .mantra-en { font-size: 0.78rem; }
  .topbar-social {
    width: 100%;
    justify-content: flex-start;
    gap: 12px;
  }
  .topbar-social .soc {
    width: 40px;
    height: 40px;
  }
  .topbar-donate {
    margin-left: auto;
    height: 40px;
    padding: 0 16px;
  }
  .brand img { height: 46px; width: 46px; }
  .brand-text strong { font-size: 1.05rem; }
  .hero-slider {
    aspect-ratio: 16 / 9;
    min-height: 220px;
    max-height: 58svh;
  }
  .slide-hit img { object-position: 78% 42%; }
  .hero-nav, .hero-nav { width: 36px; height: 36px; font-size: 1.2rem; }
  .hero-prev { left: 6px; }
  .hero-next { right: 6px; }
  .hero-dots { bottom: 14px; }
  .page-hero { padding: 32px 0; }
  .page-hero--cover { padding: 0; }
  .page-hero--cover .page-hero-bg,
  .cover-banner img { object-position: 78% 42%; }
  .section { padding: 48px 0; }
  .day { min-height: 58px; padding: 4px; }
  .day .evt {
    font-size: 0.55rem;
    max-height: 2.5em;
    overflow: hidden;
  }
  .weekdays span { font-size: 0.62rem; padding: 6px 0; }
  .copy-bar { flex-direction: column; text-align: center; }
  .copy-bar .credit { margin-left: 0; text-align: center; }
  .float-wa { width: 50px; height: 50px; right: 12px; bottom: 18px; }
  .kirtan-chip { right: 12px; bottom: 80px; }
  .yt-frame { height: 220px; }
  .map iframe { height: 240px; }
  table.data { display: block; overflow-x: auto; }
  .fest-row, .fest-row { grid-template-columns: 1fr; }
}

.poster-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.poster-pair img, .poster-hit img {
  width: 100%;
  border-radius: 16px;
  display: block;
  border: 1px solid var(--line);
}
.poster-hit {
  display: block;
  position: relative;
}
.seva-banners {
  display: grid;
  gap: 18px;
  margin: 20px 0 8px;
}
.seva-banners a { display: block; }
.seva-banners img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #062c22;
}
.hkm-kirtan #hkm-yt {
  position: fixed;
  left: -240px;
  bottom: 0;
  width: 200px;
  height: 120px;
  opacity: 0;
  pointer-events: none;
}
.kirtan-chip {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 73;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--gold);
  color: var(--blue-deep);
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(6, 44, 82, 0.28);
}
.kirtan-chip.is-on {
  background: var(--blue-deep);
  color: #fff;
}
.kirtan-ico {
  font-size: 1.1rem;
  line-height: 1;
}
.welcome-pop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(12, 28, 48, 0.55);
  display: grid;
  place-items: center;
  padding: 16px;
}
.welcome-pop-card {
  width: min(380px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 16px 16px 14px;
  position: relative;
  max-height: 82vh;
  overflow: auto;
}
.welcome-pop-card .kicker { margin-bottom: 4px; }
.welcome-pop-card h2 {
  font-size: 1.25rem;
  margin: 0 0 6px;
}
.welcome-pop-card > p {
  font-size: 0.82rem;
  margin: 0 0 10px;
  color: var(--muted);
}
.welcome-pop-card img {
  width: 100%;
  max-height: 42vh;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  background: #0f2a22;
}
.welcome-pop-x {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: none;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}
.welcome-pop-card .card {
  margin: 8px 0;
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 12px;
}
.welcome-pop-card .card h3 { font-size: 1.05rem; }
.welcome-pop-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.welcome-pop-actions .btn {
  padding: 8px 14px;
  font-size: 0.82rem;
}
@media (max-width: 720px) {
  .poster-pair { grid-template-columns: 1fr; }
}

@media print {
  .topbar, .site-header, .site-footer, .no-print, .player-bar, .float-wa, .hkm-kirtan, .welcome-pop { display: none !important; }
  body { background: #fff; }
  #print-root { display: none; }
  body.printing-invoice * { visibility: hidden !important; }
  body.printing-invoice #print-root,
  body.printing-invoice #print-root * { visibility: visible !important; }
  body.printing-invoice #print-root {
    display: block !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    box-shadow: none;
    background: #fff;
  }
}
#print-root { display: none; }
