/* ==========================================================================
   Page-specific sections
   ========================================================================== */

/* Home ------------------------------------------------------------------- */
.intro__media { position: relative; }
.intro__media .img-collage { height: clamp(360px, 30vw + 200px, 540px); }
.intro__media .frame__badge { left: auto; right: -0.5rem; bottom: -1.25rem; }
.frame__badge--top { top: 1.25rem; bottom: auto !important; left: -1rem !important; right: auto !important; }
.frame__badge--top strong { font-size: 1.35rem; color: var(--saffron-600); }
@media (min-width: 900px) {
  .intro .intro__media .img-collage { height: clamp(460px, 20rem + 18vw, 600px); }
}
@media (max-width: 599px) {
  .intro__media .img-collage { height: 380px; gap: 0.6rem; }
  .intro__media .frame__badge { right: 0.75rem; bottom: -1rem; }
  .frame__badge--top { left: 0.75rem !important; top: 0.75rem; }
}
.dot-pattern {
  position: absolute; z-index: -1; width: 140px; height: 140px;
  background-image: radial-gradient(var(--gold-200) 1.6px, transparent 1.6px);
  background-size: 14px 14px;
}
.intro__media .dot-pattern { right: -1.75rem; top: -1.5rem; }
.intro__media { isolation: isolate; }
.intro { overflow-x: clip; }
.intro h1 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.15rem); }
.intro .check-list { margin-top: 1.5rem; }
.intro .cluster { margin-top: 2rem; }

.donate-section__content .check-list { margin-top: 1.75rem; }
.donate-section__content .notice { margin-top: 1.75rem; max-width: 520px; }
.donate-section .stats { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 900px) {
  .donate-section .split { align-items: start; }
  .donate-section__content { position: sticky; top: calc(var(--header-h) + 2rem); padding-top: 1rem; }
}
.check-list--grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0.75rem 1.25rem; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 2rem; }
.mini-stat {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.mini-stat strong {
  display: block;
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1; letter-spacing: -0.03em;
  color: var(--saffron-600); font-variant-numeric: tabular-nums;
}
.mini-stat:nth-child(2) strong { color: var(--green-700); }
.mini-stat:nth-child(3) strong { color: var(--gold-700); }
.mini-stat span { display: block; margin-top: 0.45rem; font-size: 0.8rem; line-height: 1.35; font-weight: 500; color: var(--ink-600); }
@media (max-width: 379px) { .mini-stat { padding: 0.9rem 0.7rem; } .mini-stat span { font-size: 0.72rem; } }

.trust-media { position: relative; }
.trust-media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.glass-quote {
  position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-lg);
  background: rgba(14, 47, 34, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e6eee9;
  font-size: 0.95rem; line-height: 1.6;
}
.glass-quote .icon { color: var(--gold-300); width: 22px; height: 22px; margin-bottom: 0.5rem; }
.glass-quote footer { margin-top: 0.75rem; font-size: 0.85rem; color: #b9c9bf; }
.glass-quote footer strong { color: var(--white); }
@media (min-width: 900px) { .glass-quote { left: auto; right: -1.5rem; bottom: 2rem; max-width: 340px; } }
.trust-content .check-list { margin-top: 1.75rem; }
.trust-content .cluster { margin-top: 2rem; }

.faq-aside { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 900px) {
  .faq-layout { align-items: start; }
  .faq-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.faq-aside img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.help-card {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.25rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.help-card > div { flex: 1; min-width: 180px; }
.help-card strong { display: block; font-family: var(--font-heading); color: var(--ink-900); }
.help-card span { font-size: 0.9rem; color: var(--ink-600); }

.video-split .video-card { aspect-ratio: 4 / 3; }
.video-split .cluster { margin-top: 2rem; }

/* Inner pages ------------------------------------------------------------ */
.page-hero--compact { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.page-hero--center .container { text-align: center; }
.page-hero--center h1, .page-hero--center p { margin-inline: auto; }
.page-hero--center .breadcrumb, .page-hero--center .hero-pills { justify-content: center; }

.mvv-card { position: relative; overflow: hidden; }
.mvv-card::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, var(--saffron-50), transparent 70%);
}

.photo-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.photo-quad a { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; background: var(--cream-200); }
.photo-quad img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.photo-quad a:hover img { transform: scale(1.06); }
.photo-quad a:nth-child(1) { border-top-left-radius: var(--radius-xl); }
.photo-quad a:nth-child(4) { border-bottom-right-radius: var(--radius-xl); }

.leader-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.leader-grid a { display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4; cursor: zoom-in; background: var(--cream-200); }
.leader-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.leader-grid a:hover img { transform: scale(1.05); }

.icon-list { display: grid; gap: 0.85rem; }
.icon-list li {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  font-weight: 500; color: var(--ink-800);
}
.icon-list .icon-badge { --ib-size: 2.6rem; font-size: 1.1rem; flex-shrink: 0; }

.map-embed { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--cream-200); }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

.volunteer-layout { align-items: start; }
@media (min-width: 900px) { .volunteer-layout .form-card { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Donation pages ------------------------------------------------------- */
.seva-card .media-card__img { aspect-ratio: 4 / 3; }
.seva-card .media-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.seva-card h3 { font-size: 1.05rem; }
.seva-card .btn { margin-top: 1rem; }

.spend-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.spend-media img { width: 100%; height: 100%; min-height: 320px; max-height: 560px; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }

.video-portrait { max-width: 380px; margin-inline: auto; aspect-ratio: 9 / 16; }
@media (min-width: 900px) { .video-split--portrait { grid-template-columns: 0.8fr 1.2fr; } }

.process-cta { text-align: center; margin-top: 2.5rem; }

.donate-page__aside { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 1024px) {
  .donate-page { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .donate-page__widget { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.bank-card {
  position: relative; overflow: hidden;
  padding: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(24rem 14rem at 100% 0%, rgba(232, 200, 114, 0.25), transparent 60%),
    linear-gradient(140deg, var(--green-800), var(--green-950));
  color: #d4e1d9;
  box-shadow: var(--shadow-lg);
}
.bank-card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.bank-card__head h2 { color: var(--white); font-size: 1.35rem; }
.bank-card__head .icon-badge { background: rgba(255, 255, 255, 0.1); color: var(--gold-300); }
.bank-card .copy-row { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.bank-card .copy-row small { color: #a9bcb1; }
.bank-card .copy-row strong { color: var(--white); font-size: 1.05rem; letter-spacing: 0.01em; }
.bank-card .copy-btn { background: rgba(232, 200, 114, 0.16); color: var(--gold-300); }
.bank-card .copy-btn:hover { background: rgba(232, 200, 114, 0.28); }
.bank-card .copy-btn.is-copied { background: rgba(47, 138, 87, 0.3); color: #bff0d2; }

.upi-card { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 600px) { .upi-card { grid-template-columns: 220px 1fr; } }
.upi-card__qr { display: block; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); cursor: zoom-in; max-width: 260px; margin-inline: auto; }
.upi-card h2 { font-size: 1.35rem; }
.upi-card .copy-row { margin-top: 1rem; }
.upi-apps { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
/* Legal pages ------------------------------------------------------------ */
.legal-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .legal-layout { grid-template-columns: 260px 1fr; gap: 3.5rem; } }
.legal-nav {
  padding: 1.25rem; border-radius: var(--radius-lg);
  background: var(--cream-100); border: 1px solid var(--cream-200);
}
@media (min-width: 960px) { .legal-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.legal-nav h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-600); margin-bottom: 0.75rem; }
.legal-nav ul { display: grid; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.legal-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.6rem 0.75rem; border-radius: 10px;
  font-family: var(--font-heading); font-weight: 500; font-size: 0.925rem;
  color: var(--ink-800); text-decoration: none;
}
.legal-nav a:hover { background: var(--white); color: var(--saffron-600); }
.legal-nav a[aria-current="page"] { background: var(--white); color: var(--saffron-700); box-shadow: var(--shadow-sm); }
.legal-nav .icon { width: 16px; height: 16px; }
.legal-nav__help { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--cream-200); font-size: 0.875rem; color: var(--ink-600); overflow-wrap: anywhere; }
.legal-nav__help a { display: inline; padding: 0; color: var(--saffron-600); font-family: var(--font-body); }
.prose { max-width: 72ch; color: var(--ink-700); }
.prose > h2:first-child { margin-top: 0; }
.prose .updated { font-size: 0.9rem; color: var(--ink-600); }
.prose dl { display: grid; gap: 0.6rem; }
.prose dt { font-family: var(--font-heading); font-weight: 600; color: var(--ink-900); }
.prose dd { margin-left: 0; margin-top: -0.3rem; }

.status-page { text-align: center; max-width: 640px; margin-inline: auto; }
.status-page .icon-badge { --ib-size: 5rem; font-size: 2.2rem; margin-inline: auto; }
.status-page h1 { margin-top: 1.5rem; font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.status-page .lead { margin-top: 1rem; }
.status-page .cluster { justify-content: center; margin-top: 2rem; }
.status-code { font-family: var(--font-heading); font-weight: 700; font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--saffron-100); -webkit-text-stroke: 2px var(--saffron-500); }

.upi-apps span { padding: 0.25rem 0.65rem; border-radius: var(--radius-pill); background: var(--cream-100); border: 1px solid var(--line); font-size: 0.78rem; font-weight: 600; color: var(--ink-700); }
