/* Swami Baldev Bharti Ji — Shri Saibaba Seva Sadhanashram
   Palette: saffron, sindoor maroon, temple gold on warm ivory. */
:root {
    --saffron: #e8730c;
    --saffron-deep: #c85a00;
    --maroon: #8a1c14;
    --maroon-deep: #5e100b;
    --gold: #d4a017;
    --gold-soft: #f3d98b;
    --ivory: #fffaf0;
    --cream: #fbefd9;
    --ink: #2b1a12;
    --muted: #6e5a4c;
    --line: #ead6b4;
    --card: #ffffff;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(94, 16, 11, .10);
    --serif: "Cormorant Garamond", "Tiro Devanagari Hindi", Georgia, serif;
    --sans: "Mukta", system-ui, -apple-system, "Segoe UI", sans-serif;
    --deva: "Tiro Devanagari Hindi", "Mukta", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1.075rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--saffron-deep); }
h1, h2, h3 { font-family: var(--serif); color: var(--maroon-deep); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }
code { background: var(--cream); padding: .1em .35em; border-radius: 4px; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(460px, 100% - 32px); }
.deva { font-family: var(--deva); }
.big { font-size: 1.4rem; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.center { text-align: center; }
.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .02em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker {
    font-size: .82rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: var(--saffron-deep); margin-bottom: .4em;
}
ul.plain { list-style: none; padding: 0; margin: 0; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: .4em;
    padding: .72em 1.5em; border-radius: 999px; border: 2px solid transparent;
    background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
    color: #fff; font-weight: 600; font-family: var(--sans); font-size: 1rem;
    text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(200, 90, 0, .28);
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(200, 90, 0, .35); }
.btn-ghost { background: transparent; color: var(--maroon); border-color: var(--maroon); box-shadow: none; }
.btn-ghost:hover { background: var(--maroon); color: #fff; }
.btn-small { padding: .45em 1.15em; font-size: .95rem; }
.link-arrow { font-weight: 600; text-decoration: none; }

.preview-banner { background: #1f3a5f; color: #fff; text-align: center; font-size: .88rem; padding: .35rem 16px; }

/* Top bar & header */
.topbar { background: var(--maroon-deep); color: var(--gold-soft); font-size: .9rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .35rem 0; }
.topbar-links a { color: var(--gold-soft); text-decoration: none; margin-left: 1.2rem; }
.topbar-links a:hover { color: #fff; }
.topbar-links { margin-left: auto; }

/* Language switch: ENG / हिंदी / मराठी */
.lang-switch {
    display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px;
    border: 1px solid rgba(243, 217, 139, .45); background: rgba(0, 0, 0, .18);
}
.lang-switch a {
    color: var(--gold-soft); text-decoration: none; font-weight: 600; font-size: .85rem; line-height: 1;
    padding: .38rem .8rem; border-radius: 999px;
}
.lang-switch a[lang="hi"], .lang-switch a[lang="mr"] { font-family: var(--sans); font-size: .9rem; }
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lang-switch a.active { background: #fff; color: var(--maroon-deep); }

/* Hindi & Marathi: Devanagari reads better without wide letter-spacing and needs a little more line-height */
:lang(hi) .kicker, :lang(mr) .kicker, :lang(hi) .hero-place, :lang(mr) .hero-place { letter-spacing: .03em; }
:lang(hi) body, :lang(mr) body { line-height: 1.8; }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(mr) h1, :lang(mr) h2, :lang(mr) h3 { line-height: 1.35; }
:lang(mr) { --serif: "Cormorant Garamond", "Tiro Devanagari Marathi", "Tiro Devanagari Hindi", Georgia, serif; }
@media (max-width: 480px) {
    .lang-switch a { padding: .34rem .55rem; font-size: .8rem; }
    .topbar-phone { font-size: .8rem; }
}

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 250, 240, .94); backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand strong { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--maroon-deep); line-height: 1.1; }
.brand small { display: block; color: var(--muted); font-size: .82rem; }
.site-nav { display: flex; align-items: center; gap: .2rem; flex-wrap: wrap; }
/* Header and top bar get a wider container than the page, so the menu, Donate and the credit fit on one line. */
.topbar .container, .site-header .container { width: min(1280px, 100% - 32px); }
.site-nav a:not(.btn) {
    padding: .4rem .55rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem;
}
.site-nav a:not(.btn):hover, .site-nav a.active:not(.btn) { color: var(--maroon); background: var(--cream); }
.site-nav .btn { margin-left: .4rem; }
/* "Created by CloudRobos.com" credit after the Donate button: two small lines so it takes little width. */
.site-nav a.nav-credit {
    display: flex; flex-direction: column; margin-left: .5rem; padding: .15rem .45rem;
    font-size: .7rem; line-height: 1.2; color: var(--muted); font-weight: 400;
}
.site-nav a.nav-credit strong { font-size: .82rem; font-weight: 700; color: var(--maroon); }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--maroon); margin: 5px 0; transition: .2s; }

/* Below 1280px the full menu plus Donate and the credit no longer fit on one line (English needs 1274px): use the menu button. */
@media (max-width: 1279px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
        background: var(--ivory); border-bottom: 1px solid var(--line); padding: .5rem 16px 1rem;
        display: none;
    }
    .site-nav.open { display: flex; }
    .site-nav .btn { margin: .5rem 0 0; justify-content: center; }
    .site-nav a.nav-credit { flex-direction: row; justify-content: center; gap: .3rem; margin: .6rem 0 0; font-size: .85rem; }
    .site-nav a.nav-credit strong { font-size: .9rem; }
    .brand small { display: none; }
    .topbar-mantra, .topbar-fb { display: none; }
    .topbar-inner { justify-content: space-between; }
    .topbar-links { margin-left: 0; }
    .topbar-links a { margin-left: 0; }
}

/* Hero */
.hero {
    position: relative; overflow: hidden; color: #fff; text-align: center;
    background:
        radial-gradient(ellipse at 50% 120%, rgba(212, 160, 23, .45), transparent 60%),
        linear-gradient(160deg, var(--maroon-deep) 0%, var(--maroon) 45%, var(--saffron-deep) 100%);
    padding: clamp(4rem, 10vw, 7.5rem) 0;
}
.hero::before {
    content: ""; position: absolute; inset: 0; opacity: .08;
    background-image: url("../images/mandala.svg"); background-size: 520px; background-position: center;
}
.hero-glow {
    position: absolute; left: 50%; top: 50%; width: 520px; height: 520px; transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 210, 120, .35), transparent 65%); pointer-events: none;
}
.hero-inner { position: relative; }
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .25); margin-bottom: .3em; }
.hero-mantra { color: var(--gold-soft); font-size: 1.25rem; margin-bottom: 1rem; }
.hero-sub { font-size: 1.2rem; max-width: 720px; margin: 0 auto .6rem; color: #fff5e6; }
.hero-sub strong { color: var(--gold-soft); }
.hero-place { color: var(--gold-soft); letter-spacing: .06em; font-size: .95rem; text-transform: uppercase; }
.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .btn-ghost:hover { background: #fff; color: var(--maroon); }

.page-hero {
    background:
        linear-gradient(160deg, rgba(94, 16, 11, .96), rgba(200, 90, 0, .92)),
        url("../images/mandala.svg") center / 420px;
    color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero .kicker { color: var(--gold-soft); }
.page-hero .lead { color: #fff1dc; font-size: 1.15rem; max-width: 640px; margin-inline: auto; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-tinted { background: var(--cream); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.two-col.reverse { grid-template-columns: 1fr 1.2fr; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
@media (max-width: 820px) {
    .two-col, .two-col.reverse { grid-template-columns: 1fr; }
}

.portrait-card {
    margin: 0; background: var(--card); padding: 14px; border-radius: 20px; box-shadow: var(--shadow);
    border: 1px solid var(--line); max-width: 360px; justify-self: center; width: 100%;
}
.portrait-card img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; width: 100%; background: var(--cream); }
.portrait-card figcaption { text-align: center; font-family: var(--serif); font-size: 1.3rem; color: var(--maroon); padding-top: .6rem; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.pillar {
    background: var(--card); border-radius: var(--radius); padding: 1.6rem 1.2rem; text-align: center;
    border-top: 4px solid var(--saffron); box-shadow: var(--shadow);
}
.pillar h3 { margin-bottom: 0; font-size: 1.35rem; }
.pillar .deva { color: var(--saffron-deep); margin-bottom: .5rem; }
.pillar p:last-child { font-size: .96rem; color: var(--muted); margin: 0; }
.pillar-icon { font-size: 2rem; display: block; margin-bottom: .4rem; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

/* Vision & mission */
.vm-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.5rem; }
.vm-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.vm-card .deva { color: var(--saffron-deep); font-size: 1.2rem; margin: 0; }
.vm-card ul { padding-left: 1.2rem; margin: 0; }
.vm-card li { margin-bottom: .55rem; }
.vm-vision {
    background: linear-gradient(160deg, var(--maroon-deep), var(--maroon)); color: #fff5e6; border: 0;
    display: flex; flex-direction: column; justify-content: center;
}
.vm-vision h3 { color: var(--gold-soft); font-size: 1.8rem; }
.vm-vision .deva { color: var(--gold); }
.vm-vision p:last-child { font-family: var(--serif); font-size: 1.35rem; line-height: 1.5; margin: 0; }
@media (max-width: 820px) { .vm-grid { grid-template-columns: 1fr; } }

/* Cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .cards-3, .cards-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.feature-card, .info-card {
    background: var(--card); border-radius: var(--radius); border: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 1.4rem; color: var(--ink); text-decoration: none;
    transition: transform .2s ease;
}
.feature-card:hover { transform: translateY(-4px); color: var(--ink); }
.feature-card p, .info-card p { color: var(--muted); margin: 0; }
.feature-art { height: 150px; border-radius: 10px; margin-bottom: 1rem; }
.art-panel { min-height: 320px; border-radius: 20px; box-shadow: var(--shadow); }
.feature-photo { width: 100%; object-fit: cover; object-position: center 30%; }
.photo-panel {
    margin: 0; background: var(--card); padding: 12px; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.photo-panel img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; }
.photo-panel figcaption { text-align: center; font-family: var(--serif); font-size: 1.15rem; color: var(--maroon); padding-top: .5rem; }
.gallery-item { position: relative; }
.gallery-item span {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .8rem .6rem; color: #fff; font-size: .95rem;
    background: linear-gradient(transparent, rgba(30, 8, 4, .8));
}
.art-temple, .art-diya, .art-path, .art-ganesh {
    background-color: var(--maroon); background-repeat: no-repeat; background-position: center bottom;
}
.art-temple { background-image: url("../images/temple.svg"), linear-gradient(180deg, #f6b24a, var(--saffron-deep)); background-size: auto 85%, cover; }
.art-diya { background-image: url("../images/diya.svg"), radial-gradient(circle at 50% 60%, #6b1a10, #2b0b06); background-size: auto 70%, cover; background-position: center; }
.art-path { background-image: url("../images/path.svg"), linear-gradient(180deg, #ffd38a, #e88a2b); background-size: cover, cover; }
.art-ganesh { background-image: url("../images/om.svg"), radial-gradient(circle, var(--saffron), var(--maroon-deep)); background-size: 45%, cover; background-position: center; }

/* Quote */
.quote-band { background: var(--maroon-deep); color: #fff; text-align: center; padding: 4rem 0; }
.quote-band blockquote { margin: 0; }
.quote-band .deva { font-size: 2.2rem; color: var(--gold); margin-bottom: .3rem; }
.quote-band p { font-family: var(--serif); font-size: 1.6rem; }
.quote-band cite { color: var(--gold-soft); font-style: normal; letter-spacing: .1em; }

/* CTA */
.cta {
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
    background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.6rem);
    box-shadow: var(--shadow);
}
.cta > div:first-child { max-width: 640px; }
.cta p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; border-left: 3px solid var(--gold); }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 1rem; padding: 0 0 2rem 1.6rem; position: relative; }
.timeline li::before {
    content: ""; position: absolute; left: -10px; top: .45rem; width: 17px; height: 17px; border-radius: 50%;
    background: var(--saffron); border: 3px solid var(--cream);
}
.tl-year { font-weight: 700; color: var(--saffron-deep); }
.timeline p { color: var(--muted); margin: 0; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 0; } }

/* Seva list */
.seva-list { display: grid; gap: 1.2rem; max-width: 900px; }
.seva-item {
    display: grid; grid-template-columns: 64px 1fr; gap: 1.2rem; align-items: start;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow);
}
.seva-num {
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--saffron), var(--maroon)); color: #fff; font-family: var(--serif); font-size: 1.8rem; font-weight: 700;
}
.seva-item h2 { font-size: 1.7rem; }
.seva-item h2 .deva { font-size: 1.1rem; color: var(--saffron-deep); margin-left: .4rem; }
.seva-item p { margin: 0; color: var(--muted); }

/* Aarti & events */
.aarti-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 800px) { .aarti-grid { grid-template-columns: repeat(2, 1fr); } }
.aarti { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-align: center; box-shadow: var(--shadow); }
.aarti h3 { margin: 0; font-size: 1.3rem; }
.aarti .deva { color: var(--saffron-deep); margin: 0; }
.aarti .time { margin: .3rem 0 0; font-weight: 600; color: var(--maroon); }
.note { text-align: center; margin-top: 1.6rem; font-size: 1.1rem; }
.events { display: grid; gap: 1rem; margin-bottom: 1.4rem; }
.event { display: grid; grid-template-columns: 140px 1fr; gap: 1.2rem; align-items: center; background: var(--card); border-radius: var(--radius); padding: 1.2rem 1.4rem; border-left: 5px solid var(--saffron); box-shadow: var(--shadow); }
.event-when { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--saffron-deep); }
.event h3 { margin: 0 0 .2rem; }
.event p { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .event { grid-template-columns: 1fr; gap: .2rem; } }

/* Upcoming events & booking */
.event-cards { display: grid; gap: 1.2rem; max-width: 900px; margin-inline: auto; }
.event-card {
    display: grid; grid-template-columns: 110px 1fr; gap: 1.4rem; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow);
}
.event-date {
    background: linear-gradient(160deg, var(--maroon), var(--saffron-deep)); color: #fff; border-radius: 12px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .8rem .4rem; align-self: start;
}
.event-date .d { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.event-date .m { font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.event-body h3 { margin-bottom: .2rem; }
.event-meta { color: var(--muted); font-size: .98rem; }
.event-desc { white-space: pre-line; }
.seats { margin-left: .8rem; color: var(--saffron-deep); font-weight: 600; font-size: .95rem; }
@media (max-width: 560px) { .event-card { grid-template-columns: 1fr; } .event-date { flex-direction: row; gap: .6rem; justify-self: start; padding: .5rem 1rem; } .event-date .d { font-size: 1.6rem; } }
.booking-done { background: #fff8e8; border: 2px solid var(--gold); border-radius: 20px; padding: 2rem; text-align: center; }
.alert-warn { background: #fff4e0; border: 1px solid #f0c27a; color: #7a4b00; padding: 1rem 1.2rem; border-radius: 10px; }
.admin-event { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 1.2rem; }
.admin-event-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: flex-start; }
.admin-event-head p { margin: 0; }
.admin-actions { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.admin-event .table-wrap { margin: 1rem 0 0; }
.admin-head { flex-wrap: wrap; }
.admin-head h1 { margin-right: auto; }

/* Pilgrimage */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .places { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.place { margin: 0; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.place img { width: 100%; height: 220px; object-fit: cover; }
.place figcaption { padding: 1rem 1.2rem 1.2rem; }
.place h3 { margin-bottom: .2rem; font-size: 1.3rem; }
.place p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Created by CloudRobos */
.cb-card {
    background: linear-gradient(155deg, #0f172a, #1e3a8a); color: #e2e8f0; border-radius: 20px;
    padding: clamp(1.6rem, 4vw, 2.4rem); box-shadow: var(--shadow); text-align: center;
}
.cb-logo { font-family: var(--sans); font-size: 2.2rem; font-weight: 600; color: #fff; margin: 0; letter-spacing: .01em; }
.cb-logo span { color: #60a5fa; }
.cb-tagline { color: #cbd5e1; margin: .2rem 0 1.4rem; }
.cb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.cb-stats div { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: .9rem .5rem; }
.cb-stats strong { display: block; font-size: 1.6rem; color: #fff; line-height: 1.2; }
.cb-stats span { font-size: .85rem; color: #cbd5e1; line-height: 1.3; display: block; }

/* Visit */
.big-address { font-size: 1.15rem; margin-bottom: 1.2rem; }
.map-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* Gallery */
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery-item { display: block; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; break-inside: avoid; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.empty { text-align: center; padding: 3rem 1rem; background: var(--cream); border-radius: var(--radius); }
.lightbox { position: fixed; inset: 0; background: rgba(20, 6, 3, .92); display: grid; place-items: center; z-index: 100; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 8px; }
.lightbox-close { position: absolute; top: 12px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; }

/* Forms */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .3rem; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
    font: inherit; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--saffron); outline-offset: 1px; border-color: var(--saffron); }
.field-error, .form-errors { color: #b3261e; font-size: .92rem; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.check { display: flex; gap: .5rem; align-items: center; }
.alert-success { background: #eaf6e8; border: 1px solid #a8d5a0; color: #1f5a17; padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.4rem; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 2rem; box-shadow: var(--shadow); align-self: start; }
.contact-card h2 { font-size: 1.7rem; }
.contact-list { margin: 1rem 0 1.4rem; }
.contact-list li { padding: .3rem 0; }

/* Donate */
.tax-banner {
    display: grid; grid-template-columns: auto 1fr; gap: 1.8rem; align-items: center;
    background: linear-gradient(135deg, #fff6df, #ffe7bf); border: 2px solid var(--gold);
    border-radius: 20px; padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow);
}
.tax-badge {
    width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle, var(--saffron), var(--maroon)); color: #fff;
    font-family: var(--serif); font-size: 2.6rem; font-weight: 700; border: 5px solid var(--gold);
}
.tax-banner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.tax-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.tax-facts li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .9rem; font-size: .95rem; }
.tax-facts span { color: var(--muted); margin-right: .4rem; }
@media (max-width: 640px) { .tax-banner { grid-template-columns: 1fr; text-align: center; } .tax-badge { margin: 0 auto; } .tax-facts { justify-content: center; } }
.bank-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); margin-bottom: 1.2rem; }
.bank-card dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0 0 1rem; }
.bank-card dt { color: var(--muted); }
.bank-card dd { margin: 0; font-weight: 600; }
.bank-card dd { overflow-wrap: anywhere; }
.bank-card dl:last-child { margin-bottom: 0; }
.bank-card .tbc { color: var(--muted); font-weight: 500; font-style: italic; font-family: var(--sans); }
.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; margin-top: 1.4rem; }
.pay-grid .bank-card { margin-bottom: 0; }
@media (max-width: 480px) { .pay-grid { grid-template-columns: 1fr; } .bank-card dl { grid-template-columns: 1fr; gap: 0; } .bank-card dd { margin-bottom: .6rem; } }
.steps { padding-left: 1.3rem; }
.steps li { margin-bottom: .5rem; }

/* Donors */
.donor-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.donor-toolbar p { margin: 0; }
.search input { font: inherit; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px; width: min(320px, 100%); background: #fff; }
.search { width: min(320px, 100%); }
.year-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.year-tabs a { padding: .3rem .9rem; border-radius: 999px; background: var(--cream); text-decoration: none; font-weight: 600; }
.year-tabs a:hover { background: var(--saffron); color: #fff; }
.donor-year { margin-bottom: 2.6rem; scroll-margin-top: 90px; }
.donor-year > h2 { border-bottom: 2px solid var(--gold); padding-bottom: .3rem; }
.donor-year > h2 small { font-family: var(--sans); font-size: 1rem; color: var(--muted); font-weight: 400; margin-left: .5rem; }
.donor-month h3 { color: var(--saffron-deep); font-size: 1.25rem; margin: 1.2rem 0 .6rem; }
.donor-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .6rem; }
.donor-list li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: .7rem 1rem; display: flex; flex-direction: column; }
.donor-name { font-weight: 600; }
.donor-city { color: var(--muted); font-size: .9rem; }
.donor-tag { align-self: flex-start; margin-top: .3rem; font-size: .78rem; background: var(--cream); color: var(--saffron-deep); padding: .05rem .55rem; border-radius: 999px; }

/* Admin */
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.admin-form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; margin-bottom: 2.4rem; }
.table-wrap { overflow-x: auto; margin-bottom: 2.4rem; }
.table { width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem; }
.table th, .table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { background: var(--cream); }
.table .msg { max-width: 360px; white-space: pre-wrap; }
.link-danger { background: none; border: 0; color: #b3261e; cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }

/* Footer */
.site-footer { background: #2b0b06; color: #e8d7c2; padding: 3.5rem 0 0; margin-top: 0; }
.site-footer h3 { color: var(--gold-soft); font-size: 1.35rem; }
.site-footer a { color: #f4e3c8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer li { padding: .2rem 0; }
.site-footer .deva { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.4rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-credit { font-weight: 600; }
.footer-bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
    border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.1rem 0; font-size: .88rem; color: #b9a48c;
}

.whatsapp-fab {
    position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.whatsapp-fab:hover { color: #fff; transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
