:root {
  /* Krishna-themed peacock blue + gold palette */
  --bg: #f5f1e6;
  --ink: #1a2230;
  --brand: #0d4d6b;          /* deep peacock teal */
  --brand-deep: #063549;
  --brand-soft: #14788f;
  --gold: #c9a24a;
  --gold-deep: #9e7c26;
  --gold-soft: #ecd48a;
  --card: #ffffff;
  --line: #e2dcc6;
  --muted: #5b6471;
  --shadow: 0 14px 36px rgba(13, 77, 107, 0.15);
  --shadow-soft: 0 6px 18px rgba(13, 77, 107, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, #d4ecf3 0, transparent 40%),
    radial-gradient(circle at 100% 10%, #f6e4b0 0, transparent 35%),
    radial-gradient(circle at 50% 100%, #e4f2f6 0, transparent 45%),
    var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ============ TOPBAR ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--brand), var(--brand-soft));
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px var(--gold);
  font-size: 1.05rem;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--brand-deep);
  font-family: "Cinzel", serif;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--brand);
}

nav a.nav-donate {
  background: linear-gradient(140deg, var(--gold), var(--gold-deep));
  color: #fff;
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
}

nav a.nav-donate:hover {
  color: #fff;
  filter: brightness(1.05);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
}

/* ============ HERO ============ */
.hero {
  padding: 72px 0 52px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><path d='M30 10 L40 25 L55 30 L40 35 L30 50 L20 35 L5 30 L20 25 Z' fill='none' stroke='%23c9a24a' stroke-width='0.6' opacity='0.15'/></svg>");
  background-size: 120px 120px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-grid {
  display: block;
  position: relative;
  text-align: center;
}

.hero-grid .cta-row {
  justify-content: center;
}

.tag {
  display: inline-block;
  margin: 0;
  font-size: 0.85rem;
  background: rgba(201, 162, 74, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  border-radius: 100px;
  padding: 6px 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  margin-top: 14px;
  font-size: clamp(1.1rem, 2.8vw, 2.4rem);
  font-family: "Cinzel", serif;
  color: var(--brand-deep);
  font-weight: 700;
  white-space: nowrap;
}

h1 .accent {
  color: var(--gold-deep);
  display: inline-block;
}

.sanskrit {
  font-family: "Cinzel", serif;
  font-style: italic;
  color: var(--brand);
  font-size: 1.05rem;
  margin: 6px 0 14px;
  letter-spacing: 0.5px;
}

.subhead {
  color: var(--muted);
  margin: 8px 0 12px;
  font-weight: 700;
}

.lead {
  font-size: 1.05rem;
  color: #2e3947;
}

.cta-row {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s;
  display: inline-block;
}

.btn.primary {
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  color: #fff;
  box-shadow: 0 10px 22px rgba(158, 124, 38, 0.3);
}

.btn.primary:hover { transform: translateY(-2px); }

.btn.ghost {
  color: var(--brand);
  border: 2px solid var(--brand);
  background: transparent;
}

.btn.ghost:hover {
  background: var(--brand);
  color: #fff;
}

.hero-image {
  margin: 22px auto 10px;
  max-width: 760px;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft) 50%, var(--gold));
  box-shadow: var(--shadow);
  position: relative;
}

.hero-image img {
  border-radius: 14px;
  display: block;
  width: 100%;
  height: auto;
}

/* ============ HERO CAROUSEL ============ */
.hero-carousel {
  margin: 22px auto 10px;
  max-width: 860px;
  border-radius: 20px;
  padding: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-soft) 50%, var(--gold));
  box-shadow: var(--shadow);
  position: relative;
}

/* Full-bleed full-viewport variant */
.hero-carousel--full {
  margin: 0;
  max-width: none;
  width: 100%;
  border-radius: 0;
  padding: 0;
  background: #0a1f2c;
  box-shadow: none;
}

.hero-carousel--full .hero-slides {
  border-radius: 0;
  aspect-ratio: auto;
  height: calc(100vh - 76px);
  min-height: 420px;
}

.hero-slides {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #8b1a1f 0%, #c9262c 28%, #e85a1a 62%, #f2a51f 100%);
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide--contain {
  background: transparent;
}

.hero-slide--contain img {
  object-fit: contain;
  object-position: center;
  padding: 20px;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.04) saturate(1.06);
}

.hero-slide--contain .hero-caption--center {
  background: none;
}

.hero-carousel--full .hero-slide img + .hero-caption {
  background: none;
}

/* Portrait deity slides — blurred backdrop with sharp centered artwork */
.hero-slide--merged {
  --merged-deity-width: min(22vw, 260px);
  --merged-deity-ratio: 0.72;
  background: linear-gradient(90deg, #8d200a 0%, #d9410e 48%, #f26b14 100%);
  overflow: hidden;
}

.hero-slide--merged .hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(24px) brightness(0.78) saturate(1.12);
  transform: scale(1.08);
  z-index: 0;
}

.hero-slide--merged .hero-slide-fg {
  position: absolute;
  left: 6%;
  bottom: 6%;
  width: var(--merged-deity-width);
  aspect-ratio: var(--merged-deity-ratio);
  max-height: 76%;
  object-fit: contain;
  object-position: center bottom;
  z-index: 1;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.32));
}

.hero-slide--merged::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 6%;
  width: var(--merged-deity-width);
  aspect-ratio: var(--merged-deity-ratio);
  max-height: 76%;
  background: url("assets/banner-bal-krishna.jpg") center bottom / contain no-repeat;
  z-index: 1;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.32));
}

.hero-slide--merged .hero-caption--center {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(46vw, 560px);
  padding: 24px 32px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 180, 77, 0.22), rgba(255, 132, 0, 0.18));
  border: 1px solid rgba(255, 224, 178, 0.35);
  box-shadow: 0 18px 40px rgba(82, 16, 0, 0.24);
  z-index: 2;
}

.hero-slide--merged .hero-caption-title {
  font-size: clamp(2rem, 4.4vw, 4rem);
}
.hero-slide--portrait {
  background:
    linear-gradient(135deg, #8b1a1f 0%, #c9262c 28%, #e85a1a 62%, #f2a51f 100%);
  overflow: hidden;
}

.hero-slide--portrait .hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(28px) brightness(0.88) saturate(1.08);
  transform: scale(1.15);
  z-index: 0;
}

.hero-slide--portrait .hero-slide-fg {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  image-rendering: -webkit-optimize-contrast;
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  text-align: left;
  background: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-caption--center {
  inset: 0;
  background: none;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.hero-slide--portrait .hero-caption--center {
  inset: auto 0 0 0;
  justify-content: flex-end;
  padding-bottom: 60px;
  z-index: 2;
  background: none;
}

.hero-caption-kicker {
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.85rem, 1.4vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.95;
}

.hero-caption-title {
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  color: #fff;
}

.hero-carousel--full .hero-caption-title {
  font-size: clamp(2rem, 6vw, 4.5rem);
}

.hero-carousel--full .hero-caption-kicker,
.hero-carousel--full .hero-caption-sub {
  font-size: clamp(1rem, 1.8vw, 1.4rem);
}

.hero-caption--center .hero-caption-title {
  color: #fff4d9;
}

.hero-caption-sub {
  font-family: "Manrope", sans-serif;
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 500;
  opacity: 0.9;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--brand-deep);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, transform 0.2s;
  z-index: 3;
}

.hero-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}

.hero-nav--prev { left: 20px; }
.hero-nav--next { right: 20px; }

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.hero-dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ============ QUICK STRIP ============ */
.quick-strip {
  padding: 24px 0;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand) 50%, var(--brand-deep));
  color: #fff;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.strip-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.strip-item strong {
  display: block;
  color: var(--gold-soft);
  font-family: "Cinzel", serif;
  letter-spacing: 0.5px;
}

.strip-item span {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* ============ SECTIONS ============ */
.section { padding: 64px 0; }

.section.alt {
  background: linear-gradient(180deg, #eef4f7 0%, #f5f1e6 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-deep);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.eyebrow.center, h2.center, .section-note.center {
  display: block;
  text-align: center;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-family: "Cinzel", serif;
  color: var(--brand-deep);
  margin-bottom: 14px;
}

h2.center {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

h2.center::after {
  content: "❋";
  display: block;
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 8px;
}

.section-note {
  color: var(--muted);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 32px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.split {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}

.lang-block {
  font-family: "Noto Sans Tamil", sans-serif;
  color: var(--brand-deep);
  background: linear-gradient(135deg, rgba(201, 162, 74, 0.08), rgba(13, 77, 107, 0.04));
  padding: 24px;
  border-radius: 14px;
  border-left: 4px solid var(--gold);
}

/* ============ TEMPLE JOURNEY (before/after) ============ */
.journey-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 20px;
}

.journey-col {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--line);
}

.journey-col.before { border-top-color: #a8786e; }
.journey-col.after { border-top-color: var(--gold); }

.journey-label {
  margin: 0 0 14px;
  font-family: "Cinzel", serif;
  font-weight: 700;
  color: var(--brand-deep);
  text-align: center;
  letter-spacing: 0.5px;
}

.journey-col.before .journey-label { color: #7a5248; }

.journey-gallery {
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
}

/* ============ GENERIC GALLERY ============ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery figure {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.25s, box-shadow 0.25s;
}

.gallery figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.gallery figure img {
  border-radius: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: linear-gradient(135deg, #eef4f7, #f5f1e6);
}

.gallery figcaption {
  padding: 10px 12px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--brand-deep);
  text-align: center;
}

.doc-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doc-gallery figure img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #faf7ec;
  padding: 8px;
}

/* Placeholder when image missing */
.gallery figure.placeholder {
  position: relative;
  min-height: 180px;
  background: repeating-linear-gradient(45deg, #f1ead9, #f1ead9 10px, #ebe2c7 10px, #ebe2c7 20px);
}

.gallery figure.placeholder img { display: none; }

.gallery figure.placeholder::before {
  content: "📷 Add image";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============ CEREMONY GALLERY ============ */
.ceremony-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ============ UTILITY ============ */
.hidden { display: none !important; }
.hidden-extra { display: none; }

/* ============ "Show all" button row ============ */
.gallery-more {
  text-align: center;
  margin-top: 24px;
}

.gallery-more .btn {
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  font-size: 0.95rem;
}

/* ============ VIDEO TABS ============ */
.video-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab-btn {
  border: 2px solid var(--brand);
  background: transparent;
  color: var(--brand);
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.tab-btn:hover {
  background: rgba(13, 77, 107, 0.08);
}

.tab-btn.active {
  background: linear-gradient(145deg, var(--brand), var(--brand-soft));
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 8px 18px rgba(13, 77, 107, 0.25);
}

/* ============ VIDEOS ============ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-card {
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
}

.video-card figcaption {
  padding: 14px;
  font-weight: 600;
  color: var(--brand-deep);
  text-align: center;
  font-family: "Cinzel", serif;
}

/* ============ TRUSTEES ============ */
.trustees-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.person {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s;
}

.person h3 { margin-bottom: 10px; }
.person .role {
  margin-top: auto;
  margin-bottom: 0;
}

.person:hover { transform: translateY(-3px); }

.person-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand), var(--brand-soft));
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 0 auto 12px;
  box-shadow: inset 0 0 0 2px var(--gold);
}

.person-photo {
  width: 54px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 2px var(--gold);
}

.person h3 {
  font-size: 1.05rem;
  min-height: 2.6em;
  margin-bottom: 6px;
  line-height: 1.2;
  font-family: "Cinzel", serif;
  color: var(--brand-deep);
}

.qualification {
  min-height: 2.8em;
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--muted);
}

.role {
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 8px;
  font-size: 0.88rem;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

.person p {
  margin: 3px 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ============ ACTIVITY PILLS ============ */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill-row span {
  background: linear-gradient(135deg, rgba(201, 162, 74, 0.1), rgba(13, 77, 107, 0.05));
  border: 1px solid var(--gold);
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: 0.9rem;
}

.pill-row .pill-done {
  background: linear-gradient(135deg, #1f7d4d, #15633c);
  color: #fff;
  border-color: #15633c;
}

.pill-row .pill-active {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  border-color: var(--gold-deep);
}

.pill-row .pill-planned {
  background: #fff;
  border: 1px dashed var(--muted);
  color: var(--muted);
}

/* Status badge in hero */
.status-badge {
  display: inline-block;
  margin: 6px 0 14px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(201, 162, 74, 0.18), rgba(201, 162, 74, 0.08));
  border: 1px solid var(--gold);
  border-radius: 10px;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
}

/* ============ DONATE SECTION ============ */
.donate-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(201,162,74,0.3), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(20,120,143,0.3), transparent 40%),
    linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.donate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='20' cy='20' r='1' fill='%23c9a24a' opacity='0.3'/></svg>");
  background-size: 50px 50px;
  pointer-events: none;
}

.eyebrow.light, h2.light, .section-note.light {
  color: #fff;
}
.eyebrow.light { color: var(--gold-soft); }
h2.light { color: #fff; }
.section-note.light { color: rgba(255,255,255,0.85); }

h2.light::after { color: var(--gold); }

.donate-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  position: relative;
  margin-top: 20px;
}

.donate-card {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  border-top: 5px solid var(--gold);
}

.qr-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.qr-card:hover,
.qr-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.qr-card:focus-visible {
  outline: 3px solid rgba(201, 162, 74, 0.45);
  outline-offset: 3px;
}

.qr-title, .bank-title {
  margin: 0 0 18px;
  font-family: "Cinzel", serif;
  color: var(--brand-deep);
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.qr-frame {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 16px;
  padding: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-radius: 18px;
  display: grid;
  place-items: center;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 8px;
}

.qr-fallback {
  display: none;
  background: #fff;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.qr-fallback span {
  font-size: 2.5rem;
}

.qr-fallback code {
  background: #f1ead9;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--brand-deep);
}

.qr-placeholder .qr-fallback {
  display: flex;
}

.qr-note {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
}

.pay-modal {
  max-width: 520px;
}

.pay-modal-banner {
  background: linear-gradient(135deg, rgba(13, 77, 107, 0.96), rgba(20, 120, 143, 0.9));
}

.pay-modal-body {
  text-align: center;
}

.pay-qr-wrap {
  max-width: 280px;
  margin: 0 auto 18px;
  padding: 12px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(201,162,74,0.12), rgba(13,77,107,0.05));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.pay-qr-wrap img {
  width: 100%;
  border-radius: 14px;
}

.pay-modal-note,
.pay-modal-foot {
  margin: 0;
  color: var(--muted);
}

.pay-modal-note {
  font-size: 0.98rem;
}

.pay-modal-foot {
  font-size: 0.84rem;
}

.pay-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}

.bank-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bank-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  gap: 12px;
}

.bank-list li:last-child { border-bottom: none; }

.bank-list li span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.bank-list li strong {
  color: var(--brand-deep);
  text-align: right;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
}

.bank-foot {
  margin: 18px 0 0;
  padding: 12px;
  background: linear-gradient(135deg, rgba(201,162,74,0.12), rgba(13,77,107,0.06));
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--brand-deep);
  text-align: center;
  border-left: 3px solid var(--gold);
}

/* ============ CONTACT ============ */
.contact-card { padding: 34px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 18px;
}

.contact-grid p strong {
  display: block;
  color: var(--gold-deep);
  margin-bottom: 6px;
  font-family: "Cinzel", serif;
  letter-spacing: 0.5px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--brand-deep);
  color: #e6eef4;
  padding: 36px 0 20px;
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  margin: 0 0 6px;
  font-family: "Cinzel", serif;
  font-weight: 700;
  color: var(--gold-soft);
  font-size: 1.05rem;
}

.footer-sub {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a {
  color: #e6eef4;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.footer-links a:hover { color: var(--gold-soft); }

.footer-bottom {
  text-align: center;
  padding-top: 16px;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ============ KUMBABHISHEKAM BANNER (below hero) ============ */
.kumb-banner {
  background:
    linear-gradient(90deg, #c9262c 0%, #e85a1a 35%, #f2a51f 70%, #c9a24a 100%);
  color: #fff;
  padding: 16px 0;
  position: relative;
  border-top: 3px solid var(--gold-soft);
  border-bottom: 3px solid var(--gold-soft);
  box-shadow: 0 10px 25px rgba(232, 90, 26, 0.25);
  overflow: hidden;
}

.kumb-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><text x='20' y='28' font-size='18' text-anchor='middle' opacity='0.08'>🪷</text></svg>");
  background-size: 80px 80px;
  pointer-events: none;
  opacity: 0.6;
}

.kumb-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
}

.kumb-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kumb-lotus {
  font-size: 2.2rem;
  animation: floatUp 3s ease-in-out infinite;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-4px) rotate(3deg); }
}

.kumb-banner-title {
  margin: 0;
  font-family: "Cinzel", serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.kumb-banner-sub {
  margin: 2px 0 0;
  font-size: 0.88rem;
  opacity: 0.95;
}

.kumb-banner-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.kumb-countdown-compact {
  display: flex;
  gap: 10px;
}

.kumb-countdown-compact > div {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  padding: 6px 12px;
  text-align: center;
  min-width: 54px;
}

.kumb-countdown-compact strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold-soft);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.kumb-countdown-compact span {
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.9;
}

.kumb-details-btn {
  background: #fff;
  color: #c9262c;
  border: 2px solid #fff;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 100px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.kumb-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* Nav Kumbabishekam link */
.nav-kumb {
  background: linear-gradient(135deg, #c9262c, #e85a1a);
  color: #fff !important;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.85rem !important;
  box-shadow: var(--shadow-soft);
  animation: nav-glow 2.5s ease-in-out infinite;
}

.nav-kumb:hover {
  filter: brightness(1.05);
}

@keyframes nav-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 90, 26, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(232, 90, 26, 0); }
}

/* Pulse animation for status badge */
.status-badge.pulse {
  background: linear-gradient(135deg, #c9262c, #e85a1a);
  color: #fff;
  border-color: #c9262c;
  animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(232, 90, 26, 0.4); }
  50% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(232, 90, 26, 0); }
}

/* ============ KUMBABHISHEKAM MODAL ============ */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 53, 73, 0.85);
  backdrop-filter: blur(6px);
  z-index: 10000;
  padding: 24px;
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  position: relative;
  background: #fff;
  border-radius: 20px;
  max-width: 820px;
  width: 100%;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  overflow: hidden;
  margin: auto;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 3px solid var(--gold);
}

@keyframes slideUp {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--brand-deep);
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 3;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.modal-close:hover {
  background: #fff;
  transform: rotate(90deg);
  color: #c9262c;
}

/* Modal banner with festive gradient */
.modal-banner {
  background:
    linear-gradient(135deg, #8b1a1f 0%, #c9262c 25%, #e85a1a 55%, #f2a51f 80%, #c9a24a 100%);
  color: #fff;
  padding: 34px 28px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}

.modal-fireworks {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3) 0, transparent 1.5%),
    radial-gradient(circle at 80% 20%, rgba(255,235,180,0.4) 0, transparent 1.5%),
    radial-gradient(circle at 50% 70%, rgba(255,255,255,0.25) 0, transparent 1.5%),
    radial-gradient(circle at 90% 80%, rgba(255,235,180,0.3) 0, transparent 1.5%),
    radial-gradient(circle at 10% 85%, rgba(255,255,255,0.3) 0, transparent 1.5%),
    radial-gradient(circle at 35% 15%, rgba(255,235,180,0.35) 0, transparent 1%),
    radial-gradient(circle at 65% 50%, rgba(255,255,255,0.3) 0, transparent 1%);
  pointer-events: none;
  animation: sparkle 4s ease-in-out infinite alternate;
}

@keyframes sparkle {
  from { opacity: 0.5; transform: scale(1); }
  to { opacity: 1; transform: scale(1.1); }
}

.modal-lotus-left,
.modal-lotus-right {
  position: absolute;
  top: 14px;
  font-size: 2rem;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
  animation: floatUp 3s ease-in-out infinite;
}

.modal-lotus-left { left: 20px; }
.modal-lotus-right { right: 70px; animation-delay: -1.5s; }

.modal-sanskrit {
  margin: 0 0 8px;
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  letter-spacing: 2px;
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
}

.modal-banner h2 {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 3px 8px rgba(0,0,0,0.4), 0 0 20px rgba(255,235,180,0.5);
  position: relative;
}

.modal-banner h2::after { display: none; }

.modal-tamil {
  margin: 8px 0 0;
  font-family: "Noto Sans Tamil", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-soft);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
}

/* Modal body */
.modal-body {
  padding: 28px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  background: linear-gradient(180deg, #fff 0%, #fffbee 100%);
}

.kumb-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.kumb-date-card {
  background: linear-gradient(135deg, #c9262c, #e85a1a);
  color: #fff;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(201, 38, 44, 0.3);
  border: 2px solid var(--gold);
}

.kumb-date-label {
  margin: 0 0 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
  font-weight: 700;
}

.kumb-date-big {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 4.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-soft);
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.kumb-date-month {
  margin: 4px 0 0;
  font-family: "Cinzel", serif;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1rem;
}

.kumb-date-day {
  margin: 10px 0 4px;
  font-size: 0.88rem;
  opacity: 0.95;
  font-family: "Noto Sans Tamil", sans-serif;
}

.kumb-date-time {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 6px 10px;
  display: inline-block;
  margin-top: 8px;
  border: 1px solid rgba(255,255,255,0.3);
}

.kumb-countdown {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #fff;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(13, 77, 107, 0.3);
  border: 2px solid var(--gold);
}

.kumb-countdown-label {
  margin: 0 0 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-soft);
  font-weight: 700;
}

.kumb-countdown-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.kumb-countdown-row > div {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 8px 4px;
}

.kumb-countdown-row strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--gold-soft);
}

.kumb-countdown-row span {
  display: block;
  margin-top: 4px;
  font-size: 0.7rem;
  letter-spacing: 1px;
  opacity: 0.9;
  text-transform: uppercase;
}

.kumb-subtitle {
  background: linear-gradient(135deg, rgba(201,162,74,0.15), rgba(232,90,26,0.1));
  border-left: 4px solid var(--gold);
  border-right: 4px solid var(--gold);
  border-radius: 10px;
  padding: 14px 18px;
  text-align: center;
  margin-bottom: 22px;
}

.kumb-subtitle p {
  margin: 0;
  font-family: "Cinzel", serif;
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 1.02rem;
}

.kumb-subtitle-ta {
  margin-top: 6px !important;
  font-family: "Noto Sans Tamil", sans-serif !important;
  font-size: 1rem !important;
  color: #a3371c !important;
}

.kumb-schedule {
  margin-bottom: 22px;
}

.kumb-schedule h3 {
  font-family: "Cinzel", serif;
  color: var(--brand-deep);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--gold);
  font-size: 1.15rem;
}

.kumb-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 14px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s;
}

.kumb-row:hover { transform: translateX(4px); }

.kumb-row.highlight {
  background: linear-gradient(135deg, #fff6dc, #fce3a8);
  border: 2px solid var(--gold);
  box-shadow: 0 10px 24px rgba(201,162,74,0.3);
  position: relative;
}

.kumb-row.highlight::before {
  content: "முக்கிய நாள்";
  position: absolute;
  top: -10px;
  right: 14px;
  background: linear-gradient(135deg, #c9262c, #e85a1a);
  color: #fff;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 4px 10px rgba(201,38,44,0.4);
}

.kumb-date-chip {
  background: linear-gradient(135deg, var(--brand), var(--brand-soft));
  color: #fff;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  align-self: start;
  box-shadow: inset 0 0 0 2px var(--gold);
}

.kumb-date-chip.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: inset 0 0 0 2px #fff, 0 6px 14px rgba(201,162,74,0.4);
}

.kumb-date-chip strong {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold-soft);
}

.kumb-date-chip.gold strong { color: #fff; }

.kumb-date-chip span {
  display: block;
  font-size: 0.72rem;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.9;
}

.kumb-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.kumb-meta p.kumb-day {
  color: var(--brand-deep);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.kumb-location,
.kumb-priests {
  background: linear-gradient(135deg, rgba(13,77,107,0.05), rgba(201,162,74,0.06));
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 14px;
}

.kumb-priests {
  border-left-color: var(--gold);
}

.kumb-location p,
.kumb-priests p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.65;
}

.kumb-location strong,
.kumb-priests strong {
  color: var(--brand-deep);
  font-family: "Cinzel", serif;
  letter-spacing: 0.5px;
}

.kumb-invite-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
}

.kumb-invite-images figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-soft);
  background: #fff;
  cursor: zoom-in;
  transition: transform 0.2s;
}

.kumb-invite-images figure:hover { transform: translateY(-3px); }

.kumb-invite-images figure img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #fffbee;
  padding: 6px;
  border-radius: 0;
}

.kumb-invite-images figcaption {
  padding: 10px;
  text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}

.kumb-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 22px 0 14px;
}

.kumb-cta .btn.primary {
  background: linear-gradient(135deg, #c9262c, #e85a1a);
  box-shadow: 0 10px 24px rgba(201,38,44,0.35);
}

.kumb-cta .btn.ghost {
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.kumb-foot {
  text-align: center;
  margin: 18px 0 0;
  font-family: "Noto Sans Tamil", sans-serif;
  color: var(--brand-deep);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 14px;
  background: linear-gradient(135deg, rgba(201,162,74,0.08), rgba(232,90,26,0.05));
  border-radius: 10px;
  border: 1px dashed var(--gold);
}

.kumb-foot em {
  display: block;
  margin-top: 4px;
  font-family: "Manrope", sans-serif;
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero-slide--contain-mobile {
    background:
      radial-gradient(circle at center, rgba(240, 224, 180, 0.16) 0%, rgba(10, 31, 44, 0.92) 60%, #0a1f2c 100%);
  }

  .hero-slide--contain-mobile img {
    object-fit: contain;
    object-position: center;
    padding: 14px;
    image-rendering: -webkit-optimize-contrast;
  }

  .hero-slide--contain-mobile .hero-caption--center {
    background: linear-gradient(to top, rgba(6, 53, 73, 0.8) 0%, rgba(6, 53, 73, 0.24) 48%, rgba(6, 53, 73, 0.06) 100%);
  }

  .hero-slide--merged .hero-slide-fg,
  .hero-slide--merged::after {
    width: 34vw;
    max-height: 46%;
    bottom: 10%;
  }

  .hero-slide--merged .hero-slide-fg {
    left: 2%;
  }

  .hero-slide--merged::after {
    right: 2%;
  }

  .hero-slide--merged .hero-caption--center {
    width: min(72vw, 420px);
    padding: 18px 20px;
  }

  .hero-grid,
  .split,
  .trustees-grid,
  .gallery,
  .journey-split,
  .donate-grid,
  .video-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    white-space: normal;
  }

  .hero-nav {
    width: 34px;
    height: 34px;
    font-size: 1.3rem;
  }

  .hero-nav--prev { left: 10px; }
  .hero-nav--next { right: 10px; }

  .hero-caption { padding: 18px 18px; }

  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ceremony-gallery,
  .doc-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-links {
    justify-content: flex-start;
  }

  nav {
    position: absolute;
    top: 76px;
    right: 4%;
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--shadow);
    min-width: 180px;
  }

  nav.open { display: flex; }

  nav a.nav-donate { text-align: center; }

  .menu-btn { display: inline-block; }

  .brand-sub { display: none; }
}

@media (max-width: 960px) {
  .kumb-banner-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .kumb-banner-left {
    justify-content: center;
  }

  .kumb-banner-right {
    justify-content: center;
  }

  .kumb-hero,
  .kumb-invite-images {
    grid-template-columns: 1fr;
  }

  .kumb-row {
    grid-template-columns: 60px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-banner {
    padding: 28px 20px 22px;
  }

  .modal-lotus-right {
    right: 60px;
  }
}

@media (max-width: 560px) {
  .gallery,
  .ceremony-gallery,
  .journey-gallery {
    grid-template-columns: 1fr 1fr !important;
  }

  .qr-frame {
    width: 220px;
    height: 220px;
  }

  .bank-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .bank-list li strong {
    text-align: left;
  }

  .kumb-countdown-compact > div {
    min-width: 44px;
    padding: 4px 8px;
  }

  .kumb-countdown-compact strong {
    font-size: 1.1rem;
  }

  .kumb-date-big {
    font-size: 3.5rem;
  }

  .kumb-countdown-row strong {
    font-size: 1.3rem;
  }

  .modal {
    border-radius: 14px;
  }
}

