/* ==========================================================================
   शिव प्रतिष्ठान – official site stylesheet (v2)
   Type: Martel (serif, headings) + Mukta (sans, body). Palette: navy / saffron / cream / gold.
   ========================================================================== */
:root {
  --navy: #14213d;
  --navy-700: #1d2f52;
  --navy-soft: #e9edf5;
  --saffron: #e4571b;
  --saffron-700: #c2440f;
  --saffron-soft: #fdeee5;
  --gold: #d4a017;
  --gold-soft: #fbf3dc;
  --green: #1d7a46;
  --green-soft: #e6f6ec;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --info-soft: #e8f1fb;
  --wa: #25d366;
  --bg: #f8f5ef;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #5c6670;
  --line: #e6e0d6;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
  --shadow-sm: 0 2px 10px rgba(20, 33, 61, 0.06);
  --font-body: 'Mukta', 'Noto Sans Devanagari', 'Segoe UI', Arial, 'Segoe UI Emoji', sans-serif;
  --font-head: 'Martel', 'Mukta', 'Noto Serif Devanagari', Georgia, serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; font-family: var(--font-body); font-size: 16.5px; line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--saffron-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; line-height: 1.18; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.3rem); }
h4 { font-size: 1.05rem; color: var(--navy); margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 9999; }
.skip-link:focus { left: 8px; top: 8px; }
.icon { width: 1.1em; height: 1.1em; vertical-align: -.2em; flex-shrink: 0; }
.muted { color: var(--muted); }
.text-center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); line-height: 1.75; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--saffron-700); margin-bottom: .9rem; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--saffron); border-radius: 2px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c9d3e3; font-size: .84rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar-left { display: flex; align-items: center; gap: .5rem; white-space: nowrap; overflow: hidden; }
.topbar-right { display: flex; gap: 1.1rem; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: .4rem; color: #d9e1ec; white-space: nowrap; }
.topbar-item:hover { color: #fff; text-decoration: none; }
.topbar-wa { background: var(--wa); color: #0b3d1f; font-weight: 700; padding: 3px 11px; border-radius: 20px; }
.topbar-wa:hover { color: #0b3d1f; background: #1fc95a; }
@media (max-width: 760px) {
  .topbar-left { display: none; }
  .topbar-right { width: 100%; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
}
@media (max-width: 480px) { .topbar-right .topbar-item:nth-child(2) { display: none; } }

/* ---------- Header ---------- */
.site-header { background: var(--surface); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(20, 33, 61, 0.03); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .85rem; color: var(--navy); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 56px; height: 59px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-size: 1.65rem; font-weight: 800; color: var(--navy); }
.brand-sub { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav-list a { display: block; padding: .55rem .72rem; color: var(--navy); font-weight: 600; font-size: .95rem; border-radius: 8px; position: relative; white-space: nowrap; }
.nav-list a:hover { background: var(--bg); text-decoration: none; }
.nav-list a.active { color: var(--saffron-700); }
.nav-list a.active::after { content: ''; position: absolute; left: .72rem; right: .72rem; bottom: .2rem; height: 2px; background: var(--saffron); border-radius: 2px; }
.nav-donate-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.nav-toggle { display: none; width: 46px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .6rem 0 .8rem; }
  .site-nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 0; max-width: var(--container); margin: 0 auto; padding: 0 12px; }
  .nav-list a { padding: .8rem 1rem; font-size: 1.02rem; border-radius: 8px; }
  .nav-list a.active::after { display: none; }
  .nav-list a.active { background: var(--saffron-soft); }
  .nav-donate-mobile { display: block; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 70px; }
  .brand-logo { width: 46px; height: 48px; }
  .brand-name { font-size: 1.35rem; }
  .brand-sub { display: none; }
  .header-actions .btn { padding: .55rem .9rem; font-size: .9rem; }
}

/* ---------- Announcement ---------- */
.announce { background: var(--gold-soft); border-bottom: 1px solid #efdfae; font-size: .9rem; color: #5a4300; }
.announce-inner { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; padding-top: .5rem; padding-bottom: .5rem; }
.announce-badge { display: inline-flex; align-items: center; gap: .35rem; background: var(--gold); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: 2px 10px; border-radius: 20px; text-transform: uppercase; }
.announce a { color: #5a4300; font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.announce-sep { color: #d8c27a; }
.announce-close { margin-left: auto; background: none; border: 0; font-size: 1.3rem; color: #8a6d00; cursor: pointer; line-height: 1; }
@media (max-width: 640px) { .announce-sep { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .78rem 1.4rem; border-radius: 10px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s, color .2s; text-decoration: none; }
.btn .icon { width: 18px; height: 18px; }
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 33, 61, 0.12); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary, .btn-donate { background: var(--saffron); color: #fff; }
.btn-primary:hover, .btn-donate:hover { background: var(--saffron-700); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: #c9ccd4; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-success { background: var(--green); color: #fff; }
.btn-success:hover { background: #155f36; color: #fff; }
.btn-wa { background: var(--wa); color: #0b3d1f; }
.btn-wa:hover { background: #1fc95a; color: #0b3d1f; }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.05rem; }
.btn-sm { padding: .45rem .95rem; font-size: .88rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: .7rem; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fbf9f5 0%, #f4efe6 100%); }
.hero::before { content: ''; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(228, 87, 27, 0.12) 0%, rgba(228, 87, 27, 0) 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 22px; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--saffron); }
.hero-lead { font-size: 1.15rem; color: #3c4653; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.8rem; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; font-weight: 600; color: var(--navy); }
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust .icon { color: var(--green); width: 1.2em; height: 1.2em; }
.hero-media { position: relative; aspect-ratio: 5 / 4; }
.hero-img-main { position: absolute; right: 0; top: 0; width: 84%; height: 86%; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); }
.hero-img-small { position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 5px solid #fff; box-shadow: var(--shadow); }
.hero-card { position: absolute; right: -6px; bottom: 14%; background: #fff; border-radius: 12px; padding: .75rem 1.1rem; box-shadow: var(--shadow); border-left: 4px solid var(--saffron); }
.hero-card strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--navy); line-height: 1.1; }
.hero-card span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-media { max-width: 520px; }
  .hero-card { right: 0; }
}

/* ---------- Impact numbers ---------- */
.impact { background: var(--navy); color: #fff; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.8rem 22px; }
.impact-item { text-align: center; padding: .4rem 0; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.impact-item:last-child { border-right: 0; }
.impact-item strong { display: block; font-family: var(--font-head); font-size: clamp(1.7rem, 3vw, 2.3rem); color: #fff; line-height: 1.1; }
.impact-item span { font-size: .92rem; color: #b9c4d8; }
@media (max-width: 760px) { .impact-grid { grid-template-columns: repeat(2, 1fr); } .impact-item:nth-child(2) { border-right: 0; } }

/* ---------- Sections ---------- */
.section { padding: clamp(2.8rem, 6vw, 5rem) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #d9e1ec; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 2.4rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: .4rem 0 0; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .eyebrow { justify-content: flex-start; }
.prose { max-width: 800px; }
.prose p { font-size: 1.04rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--saffron-soft); color: var(--saffron-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.card-icon .icon { width: 24px; height: 24px; }
.card h3, .card h4 { margin-bottom: .45rem; }
.card p:last-child { margin-bottom: 0; }
.card-accent { border-top: 4px solid var(--saffron); }
.card-link { display: inline-flex; align-items: center; gap: .3rem; margin-top: .6rem; font-weight: 700; }
.card.featured { background: linear-gradient(160deg, #fff 0%, #fdf6f1 100%); }
.list-check { list-style: none; padding: 0; margin: 0 0 1em; }
.list-check li { position: relative; padding-left: 1.75em; margin-bottom: .5em; }
.list-check li::before { content: ''; position: absolute; left: 0; top: .45em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7a46' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 60% no-repeat; }

/* ---------- Home: about ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3.5rem; align-items: center; }
.photo-frame { position: relative; }
.photo-frame img { border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-frame figcaption { margin-top: .7rem; font-size: .88rem; color: var(--muted); }
.photo-frame::after { content: ''; position: absolute; left: -18px; bottom: 26px; width: 120px; height: 120px; border-radius: var(--radius); background: var(--saffron-soft); z-index: -1; }
.quote-box { position: relative; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--saffron); padding: 1.3rem 1.5rem 1.2rem 1.6rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0; box-shadow: var(--shadow-sm); }
.quote-box p { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy); }
.quote-box .who { display: block; margin-top: .6rem; font-weight: 700; color: var(--saffron-700); font-size: .95rem; }
.info-box { background: var(--navy-soft); border-left: 4px solid var(--navy); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.2rem 0; }
.success-box { background: var(--green-soft); border-left: 4px solid var(--green); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.2rem 0; }
.warn-box { background: var(--gold-soft); border-left: 4px solid var(--gold); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.2rem 0; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Home: programs ---------- */
.program-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.program-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pc-media { aspect-ratio: 16 / 10; overflow: hidden; background: #e9e4dc; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.program-card:hover .pc-media img { transform: scale(1.04); }
.pc-body { padding: 0 1.4rem 1.4rem; }
.pc-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: -24px; position: relative; border: 3px solid #fff; box-shadow: var(--shadow-sm); margin-bottom: .8rem; }
.pc-icon .icon { width: 22px; height: 22px; }
.pc-body h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.pc-body p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 960px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .program-grid { grid-template-columns: 1fr; } }

/* ---------- Home: award band ---------- */
.award-band { background: var(--navy); color: #d9e1ec; position: relative; overflow: hidden; }
.award-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(212, 160, 23, 0.18), transparent 45%); }
.award-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: clamp(2.8rem, 6vw, 4.5rem) 22px; }
.award-band h2 { color: #fff; }
.award-band .eyebrow { color: var(--gold); }
.award-band .eyebrow::before { background: var(--gold); }
.award-band p { color: #c9d3e3; }
.award-band .list-check li { color: #e6ecf5; }
.award-media { position: relative; }
.award-media img { border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35); }
.award-media .award-thumb { position: absolute; left: -24px; bottom: -24px; width: 34%; border: 4px solid #fff; border-radius: 12px; cursor: zoom-in; }
.tag { display: inline-flex; align-items: center; gap: .4rem; background: var(--gold); color: #1f1700; font-weight: 700; font-size: .8rem; padding: .25rem .8rem; border-radius: 20px; }
@media (max-width: 900px) { .award-grid { grid-template-columns: 1fr; } .award-media { max-width: 520px; } }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.feature-card .card-icon { background: var(--navy); color: #fff; }
.feature-card h3 { font-size: 1.2rem; }
.feature-card p { color: var(--muted); flex: 1; }
.feature-card .meta { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding: 1rem 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; }
.trust-list li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--navy); font-size: .93rem; }
.trust-list .icon { color: var(--saffron); width: 1.25em; height: 1.25em; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: #fff; padding: clamp(2.6rem, 6vw, 4.2rem) 0; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; opacity: .28; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 33, 61, 0.96) 0%, rgba(20, 33, 61, 0.75) 60%, rgba(20, 33, 61, 0.45) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .5rem; max-width: 820px; }
.page-hero p { color: #d5dde9; margin: 0; max-width: 760px; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: #aab6c9; margin-bottom: .8rem; }
.breadcrumb a { color: #d5dde9; }

/* ---------- Split / misc blocks ---------- */
.split { display: grid; gap: 2.8rem; grid-template-columns: 1fr 1fr; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.award-steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: .8rem; margin: 0; }
.award-steps li { counter-increment: step; position: relative; padding: 1rem 1.1rem 1rem 3.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.award-steps li::before { content: counter(step); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-family: var(--font-head); display: flex; align-items: center; justify-content: center; }
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.benefit { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem .8rem; }
.benefit .ico { width: 44px; height: 44px; margin: 0 auto .5rem; border-radius: 12px; background: var(--saffron-soft); color: var(--saffron-700); display: flex; align-items: center; justify-content: center; }
.benefit .ico .icon { width: 22px; height: 22px; }
.benefit strong { display: block; color: var(--navy); }
.benefit span { font-size: .85rem; color: var(--muted); }

/* ---------- Gallery / documents ---------- */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery-item { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: #ddd; aspect-ratio: 4 / 3; cursor: zoom-in; border: 0; padding: 0; margin: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.72)); color: #fff; padding: 1.6rem .8rem .6rem; font-size: .88rem; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: .9rem; }
.mosaic .gallery-item { aspect-ratio: auto; height: 100%; }
.mosaic .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }
.doc-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.doc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.doc-card button { display: block; width: 100%; border: 0; padding: 0; background: #f1ede6; cursor: zoom-in; }
.doc-card img { width: 100%; height: 250px; object-fit: cover; object-position: top; }
.doc-card-body { padding: 1rem 1.1rem; }
.doc-card-body h3 { font-family: var(--font-body); font-size: 1rem; margin-bottom: .2rem; }
.doc-card-body p { font-size: .88rem; color: var(--muted); margin: 0; }
.event-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.6rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; margin-bottom: 1.3rem; box-shadow: var(--shadow-sm); }
.event-card img { border-radius: var(--radius-sm); cursor: zoom-in; }
.event-date { display: inline-flex; align-items: center; gap: .35rem; background: var(--navy-soft); color: var(--navy); font-weight: 700; padding: .2rem .75rem; border-radius: 20px; font-size: .85rem; margin-bottom: .6rem; }
@media (max-width: 760px) { .event-card { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10, 15, 25, 0.94); z-index: 5000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 96vw); max-height: 92vh; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: 84vh; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.lightbox figcaption { color: #fff; margin-top: .7rem; font-size: 1rem; text-align: center; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Team ---------- */
.team-grid { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.3rem; text-align: center; box-shadow: var(--shadow-sm); }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1rem; background: var(--navy-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 2rem; font-weight: 800; }
.team-card.lead-card .team-avatar { background: var(--saffron-soft); color: var(--saffron-700); width: 104px; height: 104px; font-size: 2.4rem; }
.team-card h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.team-role { color: var(--saffron-700); font-weight: 700; margin-bottom: .5rem; display: block; font-size: .95rem; }
.team-card p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--navy); font-size: .93rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .95rem; border: 1.5px solid #d9d2c7; border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(228, 87, 27, 0.15); }
.field textarea { min-height: 120px; resize: vertical; }
.field .help { display: block; font-size: .84rem; color: var(--muted); margin-top: .3rem; }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field .error-text { color: var(--danger); font-size: .85rem; margin-top: .3rem; display: none; }
.field.has-error .error-text { display: block; }
.form-section-title { font-family: var(--font-body); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--saffron-700); border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin: 1.6rem 0 1rem; }
.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); border: 1px solid transparent; margin-bottom: 1rem; }
.alert-success { background: var(--green-soft); border-color: #bfe3cc; color: #14532d; }
.alert-error, .alert-danger { background: var(--danger-soft); border-color: #f5b5ae; color: #7f1d1d; }
.alert-info { background: var(--info-soft); border-color: #bcd4ef; color: #1e3a5f; }
.alert-warn { background: var(--gold-soft); border-color: #efdfae; color: #5a4300; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.checkbox input { width: auto; margin-top: .3rem; }

/* ---------- Donate ---------- */
.donate-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.donate-tabs { display: flex; gap: .4rem; margin-bottom: 1.2rem; background: #efe9df; padding: .3rem; border-radius: 12px; }
.donate-tab { flex: 1; background: none; border: 0; border-radius: 9px; padding: .7rem .6rem; font-family: inherit; font-weight: 700; font-size: .95rem; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.donate-tab.active { color: var(--navy); background: #fff; box-shadow: var(--shadow-sm); }
.donate-panel[hidden] { display: none; }
.pay-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1.4rem; }
.pay-step { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); }
.pay-step b { width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; flex-shrink: 0; }
.amount-presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: .8rem; }
.amount-btn { border: 1.5px solid #d9d2c7; background: #fff; border-radius: var(--radius-sm); padding: .7rem .4rem; font-family: inherit; font-size: 1.05rem; font-weight: 700; color: var(--navy); cursor: pointer; transition: all .15s; }
.amount-btn:hover { border-color: var(--saffron); }
.amount-btn.active { background: var(--saffron); border-color: var(--saffron); color: #fff; }
.amount-input-wrap { position: relative; }
.amount-input-wrap .rupee { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--navy); font-size: 1.2rem; }
.amount-input-wrap input { padding-left: 2.3rem !important; font-size: 1.3rem !important; font-weight: 700; }
.pay-methods { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .9rem; font-size: .88rem; color: var(--muted); }
.pay-methods .upi-chip { display: inline-flex; align-items: center; gap: .35rem; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: .25rem .7rem; font-size: .85rem; font-weight: 700; color: var(--navy); }
.pay-methods .upi-chip i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.secure-note { display: flex; gap: .6rem; align-items: flex-start; background: var(--info-soft); border-radius: var(--radius-sm); padding: .85rem 1rem; font-size: .9rem; color: #1e3a5f; margin: 1rem 0 0; }
.secure-note .icon { color: #1e3a5f; width: 1.3em; height: 1.3em; margin-top: .1em; }
.upi-box { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.upi-box img { max-width: 230px; margin: 0 auto .8rem; border-radius: var(--radius-sm); }
.upi-id { display: inline-flex; align-items: center; gap: .5rem; background: var(--navy-soft); padding: .45rem .9rem; border-radius: 20px; font-weight: 700; color: var(--navy); font-family: ui-monospace, Menlo, monospace; font-size: 1rem; }
.copy-btn { border: 1px solid var(--navy); background: #fff; color: var(--navy); border-radius: 20px; padding: .15rem .6rem; font-size: .8rem; cursor: pointer; font-family: inherit; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-sm); margin-bottom: 1.3rem; }
.side-card h3 { font-size: 1.05rem; margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.side-card h3 .icon { color: var(--saffron); }
.side-card ul, .side-card ol { padding-left: 1.2rem; margin: 0; }
.side-card li { margin-bottom: .4rem; font-size: .94rem; }
.summary-card { background: var(--navy); color: #d9e1ec; border: 0; }
.summary-card h3 { color: #fff; }
.summary-card .sum-amount { font-family: var(--font-head); font-size: 2.2rem; color: #fff; line-height: 1.1; }
.summary-card .sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: .92rem; }
.summary-card .sum-row:first-of-type { border-top: 0; }
.summary-card .sum-row span:last-child { color: #fff; font-weight: 600; text-align: right; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: .7rem; }
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; }
.faq p { margin: .6rem 0 0; color: var(--muted); font-size: .95rem; }
.pay-status { text-align: center; padding: 2rem 1rem; }
.spinner { display: inline-block; width: 42px; height: 42px; border: 4px solid var(--line); border-top-color: var(--saffron); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .donate-layout { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .amount-presets { grid-template-columns: repeat(2, 1fr); } .pay-steps { grid-template-columns: 1fr; } }

/* ---------- Receipt ---------- */
.receipt-toolbar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin: 1.2rem 0 1.5rem; }
.receipt-wrap { padding: 0 0 2rem; }
.receipt-card { font-size: 14px; }
.receipt-qr canvas, .receipt-qr img { width: 92px !important; height: 92px !important; }
.success-mark, .fail-mark { width: 92px; height: 92px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.success-mark { background: var(--green-soft); color: var(--green); border: 3px solid #bfe3cc; }
.fail-mark { background: var(--danger-soft); color: var(--danger); border: 3px solid #f5b5ae; }
.success-mark .icon, .fail-mark .icon { width: 44px; height: 44px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 2.2rem; align-items: start; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; margin-bottom: .9rem; }
.contact-item .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--saffron-soft); color: var(--saffron-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .ico .icon { width: 22px; height: 22px; }
.contact-item h3 { font-family: var(--font-body); font-size: 1rem; margin-bottom: .15rem; }
.contact-item p { margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Tables / badges ---------- */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .95rem; }
table.table th, table.table td { padding: .7rem .85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.table th { background: var(--navy-soft); color: var(--navy); font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .65rem; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-orange { background: var(--saffron-soft); color: var(--saffron-700); }
.badge-red { background: var(--danger-soft); color: var(--danger); }
.badge-grey { background: #eef0f3; color: #4b5563; }
.badge-blue { background: var(--info-soft); color: #1e3a5f; }
.badge-gold { background: var(--gold-soft); color: #7a5b00; }

/* ---------- CTA band & footer ---------- */
.cta-band { background: linear-gradient(120deg, var(--saffron) 0%, #f07a3c 100%); color: #fff; padding: 2.8rem 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; max-width: 640px; color: #fff3ea; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.site-footer { background: #0f1a30; color: #b7c2d6; font-size: .93rem; border-top: 4px solid var(--saffron); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 2.2rem; padding: 3.2rem 22px 2.2rem; }
.footer-col h3 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a { color: #b7c2d6; }
.footer-col a:hover { color: #fff; }
.footer-brand { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { border-radius: 50%; background: #fff; padding: 2px; }
.footer-brand-name { color: #fff; font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; line-height: 1.1; }
.footer-brand-sub { font-size: .78rem; }
.footer-motto { color: #ffd1b8; font-family: var(--font-head); font-size: .98rem; }
.footer-reg { font-size: .8rem; margin-top: 1rem; color: #8ea0bd; line-height: 1.7; }
address { font-style: normal; margin-bottom: .8rem; line-height: 1.65; }
.footer-contact li a { display: inline-flex; align-items: center; gap: .45rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 1rem 0; font-size: .8rem; color: #8ea0bd; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Print ---------- */
@media print {
  .topbar, .site-header, .announce, .cta-band, .site-footer, .receipt-toolbar, .no-print { display: none !important; }
  body { background: #fff; }
  .receipt-card { border-width: 1px !important; box-shadow: none !important; max-width: 100% !important; }
  @page { margin: 12mm; }
}
