/* =====================================================================
   Youth Wings Welfare Society — Stylesheet  (v0.4 — in development)
   Warm, hand-crafted bilingual design. Saffron + warm brown on paper.
   ===================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --saffron: #EE6C1A;
  --saffron-dark: #C2510E;
  --saffron-soft: #FBEADB;
  --terracotta: #B8451F;
  --ink: #2C2218;          /* warm dark brown — headings */
  --ink-soft: #4A3E32;
  --text: #463C31;
  --muted: #877A6B;
  --line: #E7DDCE;
  --paper: #FBF7F0;        /* warm off-white background */
  --paper-2: #F4EBDC;      /* alt section */
  --card: #FFFDFA;
  --green: #4F7A3A;
  --gold: #C99A4A;
  --shadow-sm: 0 2px 6px rgba(67,48,30,.07);
  --shadow-md: 0 14px 34px rgba(67,48,30,.12);
  --shadow-lg: 0 26px 60px rgba(67,48,30,.18);
  --radius: 12px;
  --radius-lg: 20px;
  --maxw: 1140px;
  --header-h: 72px;
  --ease: cubic-bezier(.4,0,.2,1);
  --font-head: "Fraunces", "Tiro Devanagari Hindi", Georgia, serif;
  --font-body: "Mukta", "Inter", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--paper);
  /* faint paper grain so flat colours don't feel "digital-perfect" */
  background-image:
    radial-gradient(rgba(120,90,50,.035) 1px, transparent 1px),
    radial-gradient(rgba(120,90,50,.025) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  line-height: 1.72;
  font-size: 16.5px;
  overflow-x: hidden;
}
body.lang-hi { line-height: 1.85; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.005em;
}
body.lang-hi h1, body.lang-hi h2, body.lang-hi h3, body.lang-hi h4 {
  font-family: "Tiro Devanagari Hindi", var(--font-head);
  font-weight: 400;
  letter-spacing: 0;
}
img { max-width: 100%; display: block; }
a { color: var(--saffron-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--saffron); }
ul { list-style: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 62px 0; position: relative; }
.section--alt { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #EBE2D6; }
.center { text-align: center; }

.section-head { max-width: 700px; margin: 0 auto 46px; text-align: center; }
.section-head .eyebrow,
.eyebrow {
  display: inline-block; color: var(--saffron-dark); font-weight: 700;
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px;
  font-family: var(--font-body);
}
.section-head h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* hand-drawn squiggle underline under section titles */
.squiggle { display: block; width: 92px; height: 11px; margin: 6px auto 0; color: var(--saffron); }
.squiggle--left { margin-left: 0; }

/* ---------- Icons ---------- */
.ic {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px; border-radius: 10px; font-weight: 600; font-size: .98rem;
  font-family: var(--font-body); cursor: pointer; border: 1.5px solid transparent;
  transition: all .22s var(--ease); white-space: nowrap;
}
.btn .ic { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--saffron); color: #fff; box-shadow: 0 8px 18px rgba(238,108,26,.28); }
.btn--primary:hover { background: var(--saffron-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--saffron-dark); border-color: var(--saffron); }
.btn--ghost:hover { background: var(--saffron-soft); color: var(--saffron-dark); }
.btn--white { background: #fff; color: var(--saffron-dark); }
.btn--white:hover { transform: translateY(-2px); color: var(--saffron-dark); }
.btn--lg { padding: 15px 32px; font-size: 1.05rem; }

/* =====================================================================
   DEV / WORK-IN-PROGRESS elements
   ===================================================================== */
.dev-badge {
  position: fixed; left: 14px; bottom: 14px; z-index: 95;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #F6E7C9; font-size: .76rem; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-md);
  font-family: var(--font-body); border: 1px solid rgba(255,255,255,.12);
}
.dev-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #E0B84B; box-shadow: 0 0 0 0 rgba(224,184,75,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(224,184,75,.55)} 70%{box-shadow:0 0 0 7px rgba(224,184,75,0)} 100%{box-shadow:0 0 0 0 rgba(224,184,75,0)} }

/* page-top development notice */
.dev-notice {
  background: repeating-linear-gradient(45deg, #FCEFCF, #FCEFCF 12px, #FBE8BC 12px, #FBE8BC 24px);
  border-bottom: 1px solid #EBD49A; color: #6E5212; font-size: .9rem;
}
.dev-notice .container { display: flex; align-items: center; gap: 10px; padding-top: 11px; padding-bottom: 11px; flex-wrap: wrap; }
.dev-notice strong { color: #5A4310; }
.dev-notice .tag { background: #6E5212; color: #FCEFCF; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 6px; letter-spacing: .04em; }

/* "coming soon" placeholder card */
.soon {
  border: 2px dashed var(--line); border-radius: var(--radius-lg); padding: 34px 24px; text-align: center;
  background: rgba(255,255,255,.5); color: var(--muted);
}
.soon .ic { width: 30px; height: 30px; color: var(--saffron); margin: 0 auto 12px; opacity: .8; }
.soon h4 { color: var(--ink-soft); margin-bottom: 6px; font-size: 1.05rem; }
.soon p { font-size: .92rem; }
.soon-pill { display: inline-block; margin-top: 12px; background: var(--saffron-soft); color: var(--saffron-dark); font-size: .76rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* handwritten-style margin note */
.note {
  font-family: "Caveat", cursive; color: var(--saffron-dark); font-size: 1.25rem; line-height: 1.3;
  display: inline-block; transform: rotate(-2.2deg);
}
.note--block { display: block; margin: 8px 0; }

/* roadmap / progress */
.roadmap { display: grid; gap: 16px; counter-reset: step; }
.road-item {
  display: flex; gap: 16px; align-items: flex-start; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.road-item .rstatus { font-size: 1.4rem; flex: none; line-height: 1.3; }
.road-item.done { border-left: 4px solid var(--green); }
.road-item.active { border-left: 4px solid var(--saffron); }
.road-item.todo { border-left: 4px solid var(--line); opacity: .8; }
.road-item h4 { margin-bottom: 3px; font-size: 1.05rem; }
.road-item p { font-size: .9rem; color: var(--muted); }
.road-item .when { font-size: .76rem; color: var(--saffron-dark); font-weight: 700; margin-top: 6px; letter-spacing: .04em; text-transform: uppercase; }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(251,247,240,.9);
  backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--line);
}
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 46px; height: 46px; border-radius: 50%; flex: none; overflow: hidden;
  background: radial-gradient(circle at 32% 28%, #F6A969, var(--saffron) 58%, var(--saffron-dark));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1rem;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), 0 4px 12px rgba(238,108,26,.35);
  font-family: var(--font-head);
}
.brand__logo img { width: 100%; height: 100%; object-fit: cover; }
.brand__name { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name .hi { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.04rem; }
body.lang-hi .brand__name .hi { font-family: "Tiro Devanagari Hindi", var(--font-head); font-weight: 400; }
.brand__name .en { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }

.nav__links { display: none; }
.nav__links a { color: var(--ink-soft); font-weight: 500; font-size: .97rem; padding: 8px 2px; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px; background: var(--saffron); border-radius: 2px; transition: width .25s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--saffron-dark); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: inline-flex; border: 1.5px solid var(--saffron); border-radius: 8px; overflow: hidden; font-size: .82rem; font-weight: 700; }
.lang-toggle button { border: 0; background: transparent; color: var(--saffron-dark); padding: 6px 11px; cursor: pointer; font-family: var(--font-body); transition: all .2s var(--ease); }
.lang-toggle button.active { background: var(--saffron); color: #fff; }
.nav__donate { display: none; }

.nav__burger { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav__burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform .3s var(--ease);
  z-index: 99; padding: 14px 22px 22px;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { display: block; padding: 13px 4px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 14px; }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; overflow: hidden; padding: 60px 0 70px; }
.hero::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(238,108,26,.14), transparent 68%); pointer-events: none;
}
.hero__grid { display: grid; gap: 42px; align-items: center; }
.hero__sanskrit {
  display: inline-flex; align-items: center; gap: 8px; background: var(--saffron-soft); color: var(--saffron-dark);
  font-weight: 600; padding: 7px 15px; border-radius: 999px; font-size: .92rem; margin-bottom: 22px; border: 1px solid #F0CFA9;
}
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 18px; }
.hero h1 .accent { color: var(--saffron); font-style: italic; }
body.lang-hi .hero h1 .accent { font-style: normal; }
.hero__lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 12px; }
.hero__tagline { color: var(--muted); font-style: italic; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__art { position: relative; }
.hero__illus {
  width: 100%; max-width: 460px; margin: 0 auto; filter: drop-shadow(0 18px 34px rgba(67,48,30,.16));
}
.hero__art .note { position: absolute; right: 4%; bottom: -6px; }

.hero__stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 42px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 14px; text-align: center; box-shadow: var(--shadow-sm); }
.stat__num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: var(--saffron-dark); }
.stat__label { font-size: .82rem; color: var(--muted); }

/* =====================================================================
   MISSION
   ===================================================================== */
.mission__grid { display: grid; gap: 22px; }
.mission-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.mission-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mission-card .ic { width: 38px; height: 38px; color: var(--saffron); margin-bottom: 14px; stroke-width: 1.5; }
.mission-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.mission-card p { color: var(--muted); font-size: .97rem; }

/* =====================================================================
   PROGRAMS
   ===================================================================== */
.programs__grid { display: grid; gap: 22px; }
.program-card {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #EAC9A3; }
.program-card__icon { width: 58px; height: 58px; border-radius: 16px; background: var(--saffron-soft); color: var(--saffron-dark); display: grid; place-items: center; margin-bottom: 16px; }
.program-card__icon .ic { width: 30px; height: 30px; stroke-width: 1.6; }
.program-card__num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-size: 2.3rem; font-weight: 600; color: #F0E7D8; }
.program-card h3 { font-size: 1.14rem; margin-bottom: 9px; }
.program-card .en-sub { color: var(--saffron-dark); font-weight: 600; font-size: .82rem; display: block; margin-bottom: 8px; font-family: var(--font-body); letter-spacing: .02em; }
.program-card p { color: var(--muted); font-size: .95rem; }

/* =====================================================================
   BUILDING / GYAN KENDRA
   ===================================================================== */
.building__grid { display: grid; gap: 38px; align-items: center; }
.building__visual { background: var(--ink); border-radius: var(--radius-lg); padding: 30px; color: #EBE2D6; box-shadow: var(--shadow-lg); }
.floor-stack { display: flex; flex-direction: column; gap: 10px; }
.floor { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 16px; transition: background .2s var(--ease); }
.floor:hover { background: rgba(238,108,26,.18); }
.floor .lvl { width: 40px; height: 40px; border-radius: 10px; background: var(--saffron); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; font-family: var(--font-head); }
.floor .desc strong { display: block; color: #fff; font-size: .98rem; font-weight: 600; }
.floor .desc span { color: rgba(235,226,214,.65); font-size: .82rem; }

.building__text h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 14px; }
.building__text p { color: var(--text); margin-bottom: 14px; }
.building__feat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.building__feat li { display: flex; gap: 9px; align-items: center; font-size: .95rem; }
.building__feat .ic { width: 18px; height: 18px; color: var(--saffron); }

/* =====================================================================
   PHILOSOPHY (Paathey)
   ===================================================================== */
.paathey { background: var(--ink); color: #F2E9DC; position: relative; overflow: hidden; }
.paathey::before { content: "\201C"; position: absolute; left: 3%; top: -30px; font-family: var(--font-head); font-size: 14rem; color: rgba(238,108,26,.16); }
.paathey .quote { max-width: 800px; margin: 0 auto; text-align: center; font-family: var(--font-head); font-size: clamp(1.2rem,2.7vw,1.55rem); font-weight: 500; line-height: 1.6; font-style: italic; }
body.lang-hi .paathey .quote { font-family: "Tiro Devanagari Hindi", var(--font-head); font-style: normal; font-weight: 400; }
.paathey .quote + .quote { margin-top: 30px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.18); }
.paathey .by { display: block; margin-top: 16px; font-family: var(--font-body); font-style: normal; font-size: .9rem; color: var(--gold); letter-spacing: .04em; }

/* =====================================================================
   GALLERY
   ===================================================================== */
.gallery__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.gallery__item {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--muted); box-shadow: var(--shadow-sm);
}
.gallery__item:nth-child(odd) { transform: rotate(-.6deg); }
.gallery__item:nth-child(even) { transform: rotate(.5deg); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item .ph { text-align: center; font-size: .88rem; padding: 10px; }
.gallery__item .ph .ic { width: 26px; height: 26px; color: var(--saffron); margin: 0 auto 6px; opacity: .7; }
a.gallery__item { cursor: zoom-in; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
a.gallery__item:hover { box-shadow: var(--shadow-md); }
a.gallery__item:hover img { transform: scale(1.05); }
a.gallery__item img { transition: transform .35s var(--ease); }
.gallery__grid--full { grid-template-columns: repeat(2,1fr); }
@media (min-width: 600px) { .gallery__grid--full { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 900px) { .gallery__grid--full { grid-template-columns: repeat(4,1fr); } }

/* ---------------- Lightbox ---------------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(20,14,8,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox__img { max-width: min(92vw, 1200px); max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: 50%; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__close .ic, .lightbox__nav .ic { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox__close, .lightbox__nav { width: 40px; height: 40px; } }

/* =====================================================================
   TEAM
   ===================================================================== */
.team__grid { display: grid; gap: 20px; }
.team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card__avatar { width: 82px; height: 82px; border-radius: 50%; margin: 0 auto 14px; overflow: hidden; background: linear-gradient(150deg, #F6A969, var(--saffron-dark)); color: #fff; display: grid; place-items: center; font-size: 1.7rem; font-weight: 600; font-family: var(--font-head); }
.team-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card .role { display: inline-block; background: var(--saffron-soft); color: var(--saffron-dark); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.team-card h4 { font-size: 1.06rem; margin-bottom: 6px; }
.team-card a.phone { color: var(--muted); font-size: .92rem; font-weight: 600; }
.team-card a.phone:hover { color: var(--saffron-dark); }

/* =====================================================================
   DONATE
   ===================================================================== */
.cta-band { background: var(--saffron); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: -60px; bottom: -80px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem,4vw,2.4rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.94); max-width: 620px; margin: 0 auto 26px; font-size: 1.06rem; }

.donate-grid { display: grid; gap: 24px; }
.donate-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.donate-box h3 { font-size: 1.22rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.donate-box h3 .ic { width: 24px; height: 24px; color: var(--saffron); }
.bank-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.bank-row:last-child { border-bottom: 0; }
.bank-row .k { color: var(--muted); }
.bank-row .v { font-weight: 700; color: var(--ink); text-align: right; word-break: break-word; }
.copy-btn { border: 1px solid var(--saffron); background: transparent; color: var(--saffron-dark); border-radius: 7px; padding: 2px 9px; font-size: .74rem; font-weight: 700; cursor: pointer; margin-left: 8px; font-family: var(--font-body); }
.copy-btn:hover { background: var(--saffron-soft); }
.qr-box { text-align: center; }
.qr-placeholder { width: 200px; height: 200px; margin: 0 auto 14px; border: 2px dashed var(--saffron); border-radius: 16px; display: grid; place-items: center; color: var(--saffron-dark); background: var(--saffron-soft); text-align: center; padding: 14px; font-size: .9rem; }
.note-pill { display: inline-block; background: #FBE7C7; color: #7A5713; font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-grid { display: grid; gap: 26px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.contact-card h3 { margin-bottom: 16px; font-size: 1.22rem; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.contact-line .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--saffron-soft); color: var(--saffron-dark); display: grid; place-items: center; flex: none; }
.contact-line .ico .ic { width: 20px; height: 20px; }
.contact-line .info strong { display: block; color: var(--ink); }
.contact-line .info span, .contact-line .info a { color: var(--muted); font-size: .95rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 280px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

.form-row { display: grid; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; color: var(--text); background: var(--paper); transition: border-color .2s var(--ease); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--saffron); }

/* =====================================================================
   PAGE HERO (inner pages)
   ===================================================================== */
.page-hero { background: var(--paper-2); padding: 48px 0; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -100px; top: -80px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(238,108,26,.13), transparent 68%); }
.page-hero h1 { font-size: clamp(1.9rem,5vw,2.8rem); margin: 8px 0 10px; }
.page-hero p { color: var(--muted); max-width: 660px; font-size: 1.05rem; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--saffron-dark); }

/* Program detail blocks (alternating, organic) */
.program-detail { display: grid; gap: 26px; }
.program-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); scroll-margin-top: 90px; }
.program-block .head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.program-block .badge { width: 56px; height: 56px; border-radius: 16px; background: var(--saffron-soft); color: var(--saffron-dark); display: grid; place-items: center; flex: none; }
.program-block .badge .ic { width: 28px; height: 28px; }
.program-block h3 { font-size: 1.32rem; }
.program-block .en-sub { color: var(--saffron-dark); font-weight: 600; font-size: .88rem; font-family: var(--font-body); }
.program-block .pillset { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.program-block .pillset span { background: var(--paper-2); border: 1px solid var(--line); color: var(--text); font-size: .85rem; padding: 6px 13px; border-radius: 999px; }

/* About story */
.story-card { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--saffron); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.story-card h3 { margin-bottom: 12px; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; margin-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--saffron); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--saffron); }
.timeline li strong { color: var(--saffron-dark); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--ink); color: #C9BCAB; padding: 56px 0 0; }
.footer__grid { display: grid; gap: 32px; padding-bottom: 36px; }
.footer__brand .brand__name .hi { color: #fff; }
.footer__brand .brand__name .en { color: #9A8B79; }
.footer__brand p { margin-top: 14px; font-size: .92rem; color: #A99B89; max-width: 320px; }
.footer__brand .sanskrit { margin-top: 14px; color: var(--gold); font-weight: 600; font-size: .95rem; font-family: var(--font-head); font-style: italic; }
body.lang-hi .footer__brand .sanskrit { font-family: "Tiro Devanagari Hindi", var(--font-head); font-style: normal; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: #C9BCAB; font-size: .93rem; }
.footer ul li a:hover { color: var(--saffron); }
.footer__contact li { display: flex; gap: 10px; font-size: .92rem; margin-bottom: 12px; color: #C9BCAB; align-items: flex-start; }
.footer__contact .ic { width: 17px; height: 17px; color: var(--saffron); margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: .85rem; color: #9A8B79; }
.footer__bottom a { color: var(--gold); }

/* ---------- Utilities ---------- */
.hide { display: none !important; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--saffron); color: #fff; border: 0; cursor: pointer; font-size: 1.2rem; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s var(--ease); z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 999px; font-size: .9rem; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 200; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (min-width: 600px) {
  .mission__grid { grid-template-columns: repeat(2,1fr); }
  .programs__grid { grid-template-columns: repeat(2,1fr); }
  .team__grid { grid-template-columns: repeat(2,1fr); }
  .gallery__grid { grid-template-columns: repeat(3,1fr); }
  .donate-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .section { padding: 84px 0; }
  .nav__links { display: flex; gap: 26px; }
  .nav__donate { display: inline-flex; }
  .nav__burger { display: none; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .mission__grid { grid-template-columns: repeat(3,1fr); }
  .programs__grid { grid-template-columns: repeat(3,1fr); }
  .team__grid { grid-template-columns: repeat(4,1fr); }
  .gallery__grid { grid-template-columns: repeat(4,1fr); }
  .building__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
}
@media (max-width: 380px) { .hero__stats { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .dev-badge .dot { animation: none; }
}

/* =====================================================================
   DONATION RECEIPT GENERATOR
   ===================================================================== */
.receipt-grid { display: grid; gap: 24px; }
.receipt-form h3 { font-size: 1.18rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.receipt-form h3 .ic { width: 24px; height: 24px; color: var(--saffron); }
.receipt-form .two { display: grid; gap: 16px; }
.receipt-form select { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; color: var(--text); background: var(--paper); }
.receipt-form select:focus { outline: none; border-color: var(--saffron); }

.receipt-empty { border: 2px dashed var(--line); border-radius: var(--radius-lg); padding: 44px 24px; text-align: center; color: var(--muted); display: grid; place-items: center; min-height: 220px; }
.receipt-empty .ic { width: 34px; height: 34px; color: var(--saffron); opacity: .55; margin: 0 auto 10px; }

.receipt-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-md); color: var(--ink); position: relative; }
.receipt-doc::after { content: ""; position: absolute; inset: 9px; border: 1.5px solid var(--saffron-soft); border-radius: 14px; pointer-events: none; }
.r-head { display: flex; gap: 14px; align-items: center; border-bottom: 2px solid var(--saffron); padding-bottom: 16px; margin-bottom: 16px; }
.r-head .r-logo { width: 56px; height: 56px; border-radius: 50%; flex: none; background: radial-gradient(circle at 32% 28%, #F6A969, var(--saffron) 58%, var(--saffron-dark)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.r-head h3 { font-size: 1.12rem; margin: 0 0 2px; line-height: 1.2; }
.r-head .r-sub { font-size: .76rem; color: var(--muted); display: block; }
.r-head .r-tag { font-size: .76rem; color: var(--saffron-dark); font-weight: 600; font-style: italic; }
.r-title { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.r-title .r-t { font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.r-title .r-meta { font-size: .8rem; color: var(--muted); text-align: right; line-height: 1.5; }
.r-title .r-meta b { color: var(--ink); }
.r-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.r-table td { padding: 8px 4px; border-bottom: 1px dashed var(--line); font-size: .92rem; vertical-align: top; }
.r-table td.k { color: var(--muted); width: 44%; }
.r-table td.k small { display: block; font-size: .72rem; }
.r-table td.v { color: var(--ink); font-weight: 600; }
.r-amount { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--saffron-soft); border: 1px solid #F0CFA9; border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.r-amount .lbl { font-size: .82rem; color: var(--saffron-dark); font-weight: 700; }
.r-amount .amt { font-family: var(--font-head); font-size: 1.55rem; color: var(--saffron-dark); font-weight: 600; }
.r-words { font-size: .84rem; color: var(--ink-soft); font-style: italic; margin-bottom: 16px; }
.r-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 20px; }
.r-foot .thanks { font-size: .85rem; color: var(--green); font-weight: 600; }
.r-sign { text-align: center; font-size: .76rem; color: var(--muted); }
.r-sign .line { width: 150px; border-top: 1px solid var(--ink-soft); margin: 28px 0 4px auto; }
.r-note { font-size: .72rem; color: var(--muted); margin-top: 18px; border-top: 1px solid var(--line); padding-top: 10px; line-height: 1.55; }
.receipt-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

@media (min-width: 860px) {
  .receipt-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .receipt-form .two { grid-template-columns: 1fr 1fr; }
}

/* Print: show only the receipt document */
@media print {
  body.print-receipt * { visibility: hidden !important; }
  body.print-receipt #receiptDoc, body.print-receipt #receiptDoc * { visibility: visible !important; }
  body.print-receipt #receiptDoc { position: absolute; left: 0; top: 0; width: 100%; margin: 0; border: none; box-shadow: none; border-radius: 0; }
  body.print-receipt #receiptDoc::after { border-color: var(--saffron); }
  @page { margin: 14mm; }
}
