/* =========================================================================
   Jagajyoti Mahaseva Sangha Samsthe — main stylesheet
   Palette: cream white · navy blue · gold
   ========================================================================= */
:root {
  --navy-900: #071a33;
  --navy-800: #0b2545;
  --navy-700: #13315c;
  --navy-600: #1d4174;
  --gold-500: #c9a227;
  --gold-400: #ddb94a;
  --gold-300: #ecd27f;
  --gold-text: #7d5f0c;       /* gold dark enough for text on cream (AA) */
  --cream-50: #fffdf8;
  --cream-100: #fbf7ee;
  --cream-200: #f3ebda;
  --cream-300: #e8dcc1;
  --ink: #1b2333;
  --muted: #535c6e;
  --line: #e4dccb;
  --success: #1e7b48;
  --success-bg: #e8f5ee;
  --error: #b3261e;
  --error-bg: #fdecea;
  --info: #1d4174;
  --info-bg: #eaf0f9;

  --font-en: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-kn: "Noto Sans Kannada", "Tunga", "Nirmala UI", sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, 0.06);
  --shadow: 0 12px 32px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.16);
  --container: 1200px;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-100);
  overflow-x: hidden;
}
html[data-lang="kn"] body { font-family: var(--font-kn), var(--font-en); }
.kn { font-family: var(--font-kn), var(--font-en); }
html[data-lang="kn"] .en, html[data-lang="en"] .kn { display: none !important; }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--navy-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { color: var(--navy-800); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; vertical-align: -0.2em; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-900); box-shadow: 0 8px 22px rgba(201, 162, 39, .35); }
.btn-gold:hover { color: var(--navy-900); box-shadow: 0 12px 28px rgba(201, 162, 39, .45); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; box-shadow: var(--shadow); }
.btn-outline { border-color: currentColor; color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-ghost-light:hover { background: #fff; color: var(--navy-800); }
.btn-sm { padding: .6em 1.15em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { max-width: 1440px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { flex-shrink: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-800); min-width: 0; }
.brand img { width: 48px; height: 48px; flex-shrink: 0; }
.brand-text { white-space: nowrap; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-kn { font-family: var(--font-kn); font-weight: 700; font-size: 1rem; color: var(--navy-800); }
.brand-en { font-family: var(--font-en); font-size: .72rem; letter-spacing: .04em; color: var(--gold-text); font-weight: 600; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 18px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 8px 9px; border-radius: 8px; text-decoration: none;
  color: var(--ink); font-weight: 500; font-size: .9rem; position: relative; white-space: nowrap;
}
.nav-list a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--navy-800); font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; background: var(--cream-200); border-radius: 999px; padding: 3px; }
.lang-switch button {
  border: 0; background: transparent; padding: 6px 11px; border-radius: 999px;
  font: inherit; font-size: .82rem; font-weight: 600; color: var(--muted); cursor: pointer;
}
.lang-switch button[lang="kn"] { font-family: var(--font-kn); }
.lang-switch button[aria-pressed="true"] { background: var(--navy-800); color: #fff; }
.nav-toggle {
  display: none; border: 0; background: var(--navy-800); color: #fff; width: 46px; height: 46px;
  border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .i-shut { display: none; }
.nav-open .nav-toggle .i-shut { display: block; }
.nav-open .nav-toggle .i-open { display: none; }

@media (max-width: 1320px) {
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream-50); }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--cream-50); padding: 24px; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a::after { display: none; }
  .nav-list a[aria-current="page"] { color: var(--gold-text); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .lang-switch { align-self: flex-start; }
  .lang-switch button { padding: 9px 18px; font-size: .95rem; }
  .nav-actions .btn { padding: 1em; }
}
@media (max-width: 420px) {
  .brand-kn { font-size: .88rem; }
  .brand-en { font-size: .62rem; }
  .brand img { width: 40px; height: 40px; }
  .container { padding-inline: 16px; }
}

@media (min-width: 1321px) and (max-width: 1500px) {
  .site-header .brand-en { display: none; }
  .main-nav { gap: 12px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--cream-50); }
.section-navy { background: var(--navy-800); color: #dfe6f1; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-navy .section-head p { color: #c3cee0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text);
}
html[data-lang="kn"] .eyebrow { letter-spacing: .02em; font-size: .9rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold-500); }
.section-navy .eyebrow { color: var(--gold-300); }
.divider-lotus { display: block; width: 90px; height: 14px; margin: 14px auto 0; color: var(--gold-500); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% 10%, #1f4a85 0%, transparent 60%),
              linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: url("../assets/img/pattern.svg") center/520px repeat;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
  padding-top: clamp(60px, 8vw, 110px); padding-bottom: clamp(80px, 10vw, 130px);
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 .kn { font-size: .92em; line-height: 1.35; display: block; }
.hero h1 .hero-sub-en { display: block; font-size: .52em; font-weight: 500; color: var(--gold-300); margin-top: .5em; font-family: var(--font-en); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d4dceb; max-width: 560px; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; color: #c3cee0; font-size: .92rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .icon { color: var(--gold-400); }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 520px; margin-inline: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.35)); animation: float 7s ease-in-out infinite; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; color: var(--cream-100); line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  padding: clamp(56px, 8vw, 96px) 0 clamp(70px, 9vw, 110px);
}
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .45; background: url("../assets/img/pattern.svg") center/480px repeat; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero p { color: #cfd8e8; max-width: 680px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 0 0 14px; font-size: .9rem; color: var(--gold-300); }
.breadcrumb a { color: var(--gold-300); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; opacity: .7; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-300); }
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; text-decoration: none; color: var(--navy-700); }
.card .card-link:hover { gap: 10px; }
.icon-badge {
  display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 18px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--gold-300);
  box-shadow: 0 10px 24px rgba(11,37,69,.22);
}
.icon-badge .icon { width: 30px; height: 30px; }
.icon-badge.gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: var(--navy-900); }
.service-card::before {
  content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500)); transform: scaleX(0); transition: transform .4s var(--ease);
}
.service-card:hover::before { transform: scaleX(1); }

/* About visual */
.about-visual { position: relative; }
.about-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.about-visual .float-card {
  position: absolute; right: -14px; bottom: -24px; background: #fff; border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; max-width: 280px;
}
.float-card strong { display: block; color: var(--navy-800); }
.float-card span { font-size: .85rem; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: #fff; background: var(--gold-500); border-radius: 50%; padding: 4px; width: 24px; height: 24px; margin-top: 3px; }

/* Impact */
.impact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.impact-item {
  text-align: center; padding: 30px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(236,210,127,.22);
}
.impact-item .icon { width: 38px; height: 38px; color: var(--gold-400); }
.impact-num { display: block; font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 700; color: #fff; margin: 10px 0 4px; font-family: var(--font-en); }
.impact-num.pending { font-size: 1.05rem; font-weight: 600; color: var(--gold-300); padding: 14px 0 8px; }
.impact-label { color: #c3cee0; font-size: .95rem; }
.note-banner {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 30px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: rgba(236,210,127,.12); border: 1px dashed rgba(236,210,127,.5); color: #e9dcb4; font-size: .92rem;
}
.note-banner .icon { color: var(--gold-400); margin-top: 3px; }
.note-banner.light { background: #fff8e4; border-color: #dfc06a; color: #5c4708; }
.note-banner.light .icon { color: var(--gold-text); }

/* Activities */
.activity-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.activity-card .thumb { aspect-ratio: 16 / 10; background: var(--cream-200); position: relative; overflow: hidden; }
.activity-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.activity-card:hover .thumb img { transform: scale(1.06); }
.activity-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.activity-card h3 { margin-top: 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--muted); }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700;
  background: var(--cream-200); color: var(--gold-text); letter-spacing: .03em;
}
.tag-demo { position: absolute; top: 12px; left: 12px; background: var(--navy-800); color: var(--gold-300); z-index: 1; }

/* Gallery */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px;
  padding: 8px 18px; font: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; transition: all .25s;
}
.chip:hover { border-color: var(--gold-500); }
.chip[aria-pressed="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gallery-item {
  margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; padding: 0; border: 0;
  cursor: zoom-in; background: var(--cream-200); box-shadow: var(--shadow-sm); display: block; width: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item figcaption, .gallery-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; text-align: left; color: #fff; font-size: .92rem; font-weight: 500;
  background: linear-gradient(transparent, rgba(7,26,51,.85));
}
.gallery-item[hidden] { display: none; }
.lightbox {
  position: fixed; inset: 0; z-index: 500; background: rgba(7,26,51,.92); display: none;
  align-items: center; justify-content: center; padding: 24px; flex-direction: column; gap: 16px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 78vh; max-width: min(1000px, 100%); border-radius: 12px; width: auto; }
.lightbox p { color: #fff; margin: 0; text-align: center; }
.lightbox-btn {
  position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer; display: grid; place-items: center; font-size: 1.5rem;
}
.lightbox-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px);
  background: linear-gradient(130deg, var(--navy-800), var(--navy-600)); color: #dbe3f0;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(221,185,74,.35), transparent 70%);
}
.cta-band h2 { color: #fff; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }

/* Contact blocks */
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact-item h3 { margin: 0 0 4px; font-size: 1rem; }
.contact-item p { margin: 0; color: var(--muted); word-break: break-word; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.placeholder-text { color: var(--muted); font-style: italic; }
.site-footer .placeholder-text { color: #9fb0c9; }
.map-box {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--cream-200);
  min-height: 320px; display: grid; place-items: center; text-align: center; padding: 20px;
}
.map-box iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-box.has-map { padding: 0; display: block; }
.map-box .icon { width: 44px; height: 44px; color: var(--gold-text); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend { font-weight: 600; font-size: .93rem; color: var(--navy-800); }
.req { color: var(--error); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--cream-50);
  border: 1.5px solid var(--cream-300); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(29,65,116,.12); background: #fff; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); background: #fffafa; }
.field-error { color: var(--error); font-size: .84rem; min-height: 0; }
.field-error:empty { display: none; }
.hint { font-size: .82rem; color: var(--muted); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 4px; }
.check {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--cream-300);
  border-radius: 12px; cursor: pointer; background: var(--cream-50); font-weight: 500; font-size: .94rem; transition: border-color .2s, background .2s;
}
.check:hover { border-color: var(--gold-400); }
.check input { width: 18px; height: 18px; accent-color: var(--navy-800); flex-shrink: 0; }
.check:has(input:checked) { border-color: var(--navy-700); background: var(--info-bg); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--navy-800); flex-shrink: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; margin-top: 18px; font-size: .95rem;
}
.alert[hidden] { display: none; }
.alert .icon { margin-top: 3px; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid #b9dfc9; }
.alert-error { background: var(--error-bg); color: var(--error); border: 1px solid #f3c1bc; }
.alert-info { background: var(--info-bg); color: var(--info); border: 1px solid #c6d4ea; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(0,0,0,.2); border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Donation ---------- */
.donate-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.amount-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.amount-btn {
  border: 2px solid var(--cream-300); background: var(--cream-50); border-radius: 14px; padding: 16px 8px;
  font: inherit; font-size: 1.2rem; font-weight: 700; color: var(--navy-800); cursor: pointer; transition: all .2s; font-family: var(--font-en);
}
.amount-btn:hover { border-color: var(--gold-400); transform: translateY(-2px); }
.amount-btn[aria-pressed="true"] { background: var(--navy-800); border-color: var(--navy-800); color: var(--gold-300); box-shadow: var(--shadow); }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--muted); }
.input-prefix input { padding-left: 32px; }
.pay-panel { position: sticky; top: calc(var(--header-h) + 20px); }
.pay-card { background: var(--navy-800); color: #d8e0ee; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.pay-card h2, .pay-card h3 { color: #fff; }
.qr-box {
  background: #fff; border-radius: var(--radius); padding: 18px; display: grid; place-items: center; text-align: center;
  color: var(--muted); aspect-ratio: 1 / 1; max-width: 260px; margin: 18px auto;
}
.qr-box img { width: 100%; height: 100%; object-fit: contain; }
.qr-box .icon { width: 64px; height: 64px; color: var(--navy-700); }
.upi-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; margin: 14px 0; }
.upi-row code { color: var(--gold-300); font-size: 1rem; word-break: break-all; font-family: var(--font-en); }
.icon-btn { border: 0; background: rgba(255,255,255,.12); color: #fff; border-radius: 10px; padding: 8px 10px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; font: inherit; font-size: .85rem; }
.icon-btn:hover { background: rgba(255,255,255,.22); }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.summary-row strong { color: #fff; }
.trust-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: .9rem; }
.trust-list li { display: flex; gap: 10px; }
.trust-list .icon { color: var(--gold-400); margin-top: 3px; }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; }
.steps li::before {
  content: counter(step); flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900); font-weight: 700; font-size: .85rem; font-family: var(--font-en);
}

/* ---------- Tables (transparency) ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
caption { text-align: left; padding: 16px 18px 0; font-weight: 700; color: var(--navy-800); }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .94rem; }
th { background: var(--cream-100); color: var(--navy-800); font-weight: 600; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--font-en); }
.demo-row td { color: var(--muted); font-style: italic; }
.demo-stamp {
  display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 6px; background: #fff3cd; color: #6b4e00; border: 1px dashed #c9a227; text-transform: uppercase;
}
.report-card { display: flex; flex-direction: column; gap: 10px; }
.report-card .btn { align-self: flex-start; margin-top: auto; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

/* Timeline (about) */
.values-grid .card { text-align: center; }
.values-grid .icon-badge { margin-inline: auto; }
.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--cream-300); }
.timeline li { position: relative; padding-left: 50px; margin-bottom: 26px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-500); border: 4px solid var(--cream-100); box-shadow: 0 0 0 2px var(--gold-500); }

/* Privacy / prose */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose li { margin-bottom: .4em; }

/* 404 */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-code { margin: 0 0 20px; font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; color: var(--gold-500); line-height: 1; font-family: var(--font-en); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b7c3d6; font-size: .94rem; }
.footer-top { padding: 70px 0 50px; border-top: 4px solid var(--gold-500); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-kn { color: #fff; }
.site-footer .brand-en { color: var(--gold-300); }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold-500); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #d2dbe9; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--gold-400); margin-top: 4px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.social a:hover { background: var(--gold-500); color: var(--navy-900); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.footer-bottom p { margin: 0; font-size: .87rem; }
.to-top { font-size: .87rem; }

/* Floating action buttons — only rendered when numbers are configured */
.fab-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); }
.fab .icon { width: 26px; height: 26px; }
.fab-wa { background: #1f9d55; }
.fab-call { background: var(--navy-700); }
.fab:hover { color: #fff; transform: scale(1.06); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4, .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .donate-layout { grid-template-columns: 1fr; }
  .pay-panel { position: static; }
}
@media (max-width: 900px) {
  .hero-inner, .split, .cta-band { grid-template-columns: 1fr; }
  .hero-art { max-width: 300px; margin-inline: auto; }
  .hero-inner { padding-top: 48px; }
  .hero-inner { text-align: center; gap: 20px; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-badges { justify-content: center; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band .actions { justify-content: flex-start; }
  .about-visual .float-card { right: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .impact-item { padding: 22px 10px; }
  .amount-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-actions .btn { width: 100%; }
  .cta-band .actions .btn { width: 100%; }
  .section-head { margin-bottom: 34px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .hero-art { max-width: 220px; }
}
@media print {
  .site-header, .site-footer, .fab-wrap, .hero-wave { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.gallery-grid[data-static] .gallery-item { cursor: default; }

/* ---------- Additions ---------- */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.about-visual-img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.about-visual-img:hover, .about-visual img:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 30px 70px rgba(11,37,69,.22); }
.about-visual img { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.split .icon-badge + h2 { margin-top: 16px; }
.justify-center { justify-content: center; }
.form-card + .form-card { margin-top: 28px; }
.gallery-item:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.pay-card h3 { margin-top: 22px; }
.pay-card a { color: var(--gold-300); }
@media (max-width: 900px) { .split > img.about-visual-img:last-child { order: -1; } }
