/* ============================================================
   PAEI — Pratham Ahmedabad Education Initiative
   Stylesheet · v3 (final)
   ============================================================ */

/* ============================================================
   TOKEN LAYER — change values here, nowhere else
   ============================================================ */
:root {
  --c-yellow:   #FDBE16;
  --c-orange:   #EB8C2E;
  --c-crimson:  #D82354;
  --c-teal:     #1E91B2;
  --c-navy:     #295A89;
  --c-dark:     #353535;
  --c-grey:     #6B6E6D;          /* darkened from #8B8E8D for WCAG AA contrast */
  --c-grey-soft:#8B8E8D;          /* original — only for non-text uses */
  --c-bg:       #ffffff;
  --c-surface:  #f9f8f5;
  --c-border:   #e5e3dc;
  --c-mint:     #B1DACC;
  --c-sky:      #74C6D7;
  --f-body:     'Poppins', sans-serif;
  --r-card:     8px;
  --s-section:  4.5rem 1.5rem;
  --shadow-card: 0 1px 3px rgba(0,0,0,.04);
  --shadow-card-hover: 0 12px 28px rgba(41,90,137,.12);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); color: var(--c-dark); background: var(--c-bg); overflow-x: hidden; }
a { text-decoration: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Accessible focus rings — visible only for keyboard users */
:focus-visible { outline: 3px solid var(--c-teal); outline-offset: 2px; border-radius: 3px; }

/* ============================================================
   SKIP LINK (accessibility)
   ============================================================ */
.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--c-yellow); color: var(--c-dark);
  padding: .55rem 1rem; border-radius: 4px;
  font-size: .85rem; font-weight: 600; z-index: 5000;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--c-bg); border-bottom: 2px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 2rem; position: sticky; top: 0; z-index: 1500;
  box-shadow: 0 1px 10px rgba(0,0,0,.06);
}
.nav-logo { display: flex; align-items: center; gap: .75rem; }
.nav-logo img { height: 42px; width: auto; object-fit: contain; display: block; }
.nav-brand { font-weight: 700; font-size: .95rem; color: var(--c-dark); line-height: 1.25; }
.nav-brand span { display: block; font-weight: 400; font-size: .68rem; color: var(--c-grey); }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a {
  font-size: .85rem; font-weight: 500; color: var(--c-dark);
  padding-bottom: 3px; border-bottom: 2px solid transparent; transition: border-color .15s;
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--c-yellow); }
.nav-lang {
  font-size: .72rem; color: var(--c-grey);
  border: 1px solid var(--c-border); padding: .18rem .5rem; border-radius: 4px;
}

/* Hamburger toggle — hidden by default, shown on mobile */
.nav-hamburger {
  display: none; background: none; border: none;
  width: 40px; height: 40px; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2.5px;
  background: var(--c-dark); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
body.menu-open .nav-hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .nav-hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .nav-hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--c-bg);
  z-index: 1400;
  padding: 5rem 2rem 2rem;
  flex-direction: column; gap: 1.25rem;
  overflow-y: auto;
}
body.menu-open .mobile-menu { display: flex; }
body.menu-open { overflow: hidden; }
.mobile-menu a {
  font-size: 1.4rem; font-weight: 600; color: var(--c-dark);
  padding: .65rem 0; border-bottom: 1px solid var(--c-border);
}
.mobile-menu a.active { color: var(--c-teal); }
.mobile-menu .mobile-cta-row { display: flex; gap: .75rem; margin-top: 1rem; }
.mobile-menu .mobile-cta-row .btn { flex: 1; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .6rem 1.4rem; border-radius: 6px; font-family: var(--f-body);
  font-weight: 600; font-size: .88rem; border: none; transition: transform .15s, box-shadow .15s, background .15s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.08); }
.btn:active { transform: translateY(0); }
.btn-primary  { background: var(--c-yellow); color: var(--c-dark); }
.btn-secondary { background: transparent; border: 2px solid var(--c-dark); color: var(--c-dark); }
.btn-white    { background: #fff; color: var(--c-dark); }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-navy     { background: var(--c-navy); color: #fff; }

/* ============================================================
   PAGE SYSTEM (SPA)
   ============================================================ */
.page { display: none; }
.page.active { display: block; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: var(--s-section); }
.section-alt { background: var(--c-surface); }
.eyebrow {
  font-size: .75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: .85rem;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: 2.25rem; }
.section-header h2 {
  font-size: 1.75rem; font-weight: 700; color: var(--c-dark);
  position: relative; padding-left: 1rem;
}
.section-header h2::before {
  content: ''; position: absolute; left: 0; top: 12%; height: 76%;
  width: 4px; background: var(--c-yellow); border-radius: 2px;
}
.section-header p { margin-top: .45rem; color: var(--c-grey); font-size: .9rem; padding-left: 1rem; }

/* ============================================================
   TAGS
   ============================================================ */
.tag {
  display: inline-block; font-size: .68rem; font-weight: 700;
  padding: .2rem .65rem; border-radius: 20px; text-transform: uppercase; letter-spacing: .04em;
}
.tag-past    { background: #fef3e2; color: var(--c-orange); }
.tag-present { background: #e2f3f8; color: var(--c-teal); }
.tag-future  { background: #e8f5f2; color: #3FA494; }

/* ============================================================
   CARDS — with hover lift
   ============================================================ */
.card {
  background: var(--c-bg); border-radius: var(--r-card);
  border: 1px solid var(--c-border); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.card-body { padding: 1.2rem; flex: 1; }
.card-body h3 { font-size: .95rem; font-weight: 600; margin: .5rem 0 .4rem; color: var(--c-dark); }
.card-body p  { font-size: .82rem; color: var(--c-grey); line-height: 1.6; }
.card-footer {
  padding: .7rem 1.2rem; border-top: 1px solid var(--c-border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: .78rem;
}
.card-footer a { font-weight: 600; color: var(--c-teal); }
.card-footer a:hover { text-decoration: underline; }

/* ============================================================
   IMAGE SLOTS
   ============================================================ */
.img-slot {
  background: var(--c-border); display: flex; align-items: center;
  justify-content: center; color: var(--c-grey); font-size: .75rem;
  text-align: center; line-height: 1.5; padding: .5rem;
}
.img-slot-hero  { height: 430px; background: linear-gradient(135deg, var(--c-mint) 0%, var(--c-sky) 100%); }
.img-slot-card  { height: 158px; }
.img-slot-story { height: 280px; }
.img-slot-map   { height: 280px; border-radius: var(--r-card); overflow: hidden; }

/* When a slot has a background-image set inline, hide the placeholder text */
.img-slot[style*="background-image"] { color: transparent; }

/* ============================================================
   STAT BLOCKS
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-block { text-align: center; padding: 1.25rem 1rem; }
.stat-block .number { font-size: 2.5rem; font-weight: 700; color: var(--c-crimson); line-height: 1; }
.stat-block .label  { font-size: .78rem; color: var(--c-grey); margin-top: .4rem; font-weight: 500; }

/* ============================================================
   PROGRAM TAB SWITCHER
   ============================================================ */
.prog-tab-bar {
  display: flex; border: 1.5px solid var(--c-border);
  border-radius: 8px; overflow: hidden; margin-bottom: 2rem; width: fit-content;
  flex-wrap: wrap;
}
.prog-tab {
  padding: .65rem 1.5rem; font-size: .83rem; font-weight: 500;
  background: var(--c-bg); border: none; border-right: 1px solid var(--c-border);
  font-family: var(--f-body); color: var(--c-grey); transition: all .15s;
}
.prog-tab:last-child { border-right: none; }
.prog-tab:hover { background: var(--c-surface); }
.prog-tab.active { background: var(--c-yellow); color: var(--c-dark); font-weight: 700; }
.prog-panel { display: none; }
.prog-panel.active { display: block; }
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

/* ============================================================
   IMPACT STORY CARD
   ============================================================ */
.story-card {
  background: var(--c-bg); border-radius: var(--r-card);
  border: 1px solid var(--c-border); overflow: hidden; display: flex;
  box-shadow: var(--shadow-card);
}
.story-quote { padding: 2.5rem 2rem; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.story-quote blockquote { font-size: 1rem; font-style: italic; color: var(--c-dark); line-height: 1.75; }
.story-quote blockquote::before {
  content: '\201C'; font-size: 3rem; color: var(--c-yellow); line-height: 0;
  vertical-align: -1rem; margin-right: .2rem;
}
.story-meta { margin-top: 1.25rem; font-size: .82rem; color: var(--c-grey); }
.story-meta strong { color: var(--c-teal); display: block; font-size: .88rem; margin-bottom: .1rem; }

/* ============================================================
   PARTNER ROW
   ============================================================ */
.partner-row { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.partner-logo-slot {
  height: 56px; min-width: 130px; background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 6px; display: flex; align-items: center;
  justify-content: center; font-size: .78rem; color: var(--c-dark); padding: .5rem 1rem;
  font-weight: 600;
}
.partner-note {
  font-size: .82rem; color: var(--c-grey); font-style: italic;
  margin-left: .25rem;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-group { margin-bottom: 1.15rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 500; margin-bottom: .35rem; color: var(--c-dark); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .65rem 1rem; border: 1.5px solid var(--c-border);
  border-radius: 6px; font-family: var(--f-body); font-size: .88rem; color: var(--c-dark);
  background: var(--c-bg); transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--c-teal); outline: none; }
.form-group textarea { height: 115px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-error {
  font-size: .75rem; color: var(--c-crimson); margin-top: .3rem;
  display: none;
}
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select { border-color: var(--c-crimson); }
.form-group.has-error .form-error { display: block; }
.form-success {
  display: none; background: #e8f5f2; color: #1e7e6b;
  padding: 1rem 1.25rem; border-radius: 6px; font-size: .9rem;
  margin-top: 1rem; border-left: 4px solid #3FA494;
}
.form-success.visible { display: block; }
.form-error-banner {
  display: none; background: #fdecef; color: #b91c4a;
  padding: 1rem 1.25rem; border-radius: 6px; font-size: .9rem;
  margin-top: 1rem; border-left: 4px solid var(--c-crimson);
}
.form-error-banner.visible { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--c-navy); color: #fff; padding: 3rem 1.5rem 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; max-width: 1100px; margin: 0 auto;
}
.footer-brand img { background: #fff; border-radius: 6px; padding: 6px 10px; height: 36px; width: auto; display: block; margin-bottom: .75rem; }
.footer-brand-name { font-weight: 700; font-size: .95rem; }
.footer-brand p { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.65; margin-top: .5rem; }
.footer-brand .tagline { font-size: .75rem; font-style: italic; color: var(--c-yellow); margin-top: .6rem; }
.footer-col h4 {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--c-yellow); margin-bottom: .75rem;
}
.footer-col ul li { font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: .38rem; }
.footer-col ul li a { color: rgba(255,255,255,.75); transition: color .15s; }
.footer-col ul li a:hover { color: var(--c-yellow); }
.footer-bottom {
  max-width: 1100px; margin: 1.75rem auto 0; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; align-items: center;
  font-size: .72rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: .5rem;
}

/* ============================================================
   INFO CARDS
   ============================================================ */
.info-card {
  background: var(--c-surface); border-radius: var(--r-card);
  padding: 1.6rem; border: 1px solid var(--c-border);
  transition: transform .25s ease, box-shadow .25s ease;
}
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.info-card h3 { font-size: .95rem; font-weight: 600; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; color: var(--c-dark); }
.info-card p, .info-card li { font-size: .83rem; color: var(--c-grey); line-height: 1.7; }

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; }
.hero-text {
  padding: 4rem 3rem 4rem 2rem; display: flex;
  flex-direction: column; justify-content: center;
}
.hero-text h1 { font-size: 2.35rem; font-weight: 700; line-height: 1.2; color: var(--c-dark); margin-bottom: 1rem; }
.hero-text h1 em { font-style: normal; color: var(--c-teal); }
.hero-text p { font-size: .95rem; color: var(--c-grey); line-height: 1.75; margin-bottom: 1.75rem; max-width: 430px; }
.hero-ctas { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.hero-mini-stats { display: flex; gap: 2rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--c-border); flex-wrap: wrap; }
.mini-stat .num { font-size: 1.55rem; font-weight: 700; color: var(--c-crimson); line-height: 1; }
.mini-stat .lbl { font-size: .7rem; color: var(--c-grey); font-weight: 500; margin-top: .2rem; }

/* ============================================================
   HOME — MISSION BAND
   ============================================================ */
.mission-band { background: var(--c-yellow); padding: 1.4rem 2rem; }
.mission-band-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; gap: 2rem; justify-content: space-between;
  flex-wrap: wrap;
}
.mission-band-inner p { font-size: .95rem; font-weight: 600; color: var(--c-dark); }
.mission-band-inner a { font-size: .83rem; font-weight: 600; color: var(--c-dark); white-space: nowrap; text-decoration: underline; }

/* ============================================================
   HOME — PPF SECTION WRAPPER
   ============================================================ */
.ppf-intro { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2.25rem; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-story p { font-size: .92rem; color: var(--c-dark); line-height: 1.85; margin-bottom: 1rem; }
.about-story p.lead { font-size: 1.02rem; font-weight: 500; color: var(--c-navy); }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.value-pill {
  background: var(--c-surface); border-radius: 6px; padding: 1rem;
  border-left: 3px solid var(--c-yellow);
}
.value-pill h4 { font-size: .88rem; font-weight: 600; margin-bottom: .2rem; color: var(--c-dark); }
.value-pill p  { font-size: .78rem; color: var(--c-grey); line-height: 1.65; }

/* Trustees — name-only cards */
.trustees-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem; margin-top: 1rem;
}
.trustee-card {
  background: var(--c-surface);
  border-radius: var(--r-card);
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-yellow);
  padding: 1.4rem 1rem;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.trustee-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.trustee-card h4 { font-size: .92rem; font-weight: 600; color: var(--c-dark); margin-bottom: .25rem; line-height: 1.35; }
.trustee-card p { font-size: .76rem; color: var(--c-grey); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }

/* ============================================================
   IMPACT PAGE
   ============================================================ */
.impact-hero-band {
  background: var(--c-crimson); color: #fff;
  padding: 3.5rem 2rem; text-align: center;
}
.impact-hero-band h2 { font-size: 2rem; font-weight: 700; }
.impact-hero-band p  { color: rgba(255,255,255,.85); margin-top: .5rem; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.65; }
.impact-stats-lg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 3rem 0; }
.impact-stat-lg { text-align: center; }
.impact-stat-lg .num { font-size: 3rem; font-weight: 700; color: var(--c-crimson); line-height: 1; }
.impact-stat-lg .lbl { font-size: .82rem; color: var(--c-grey); margin-top: .4rem; line-height: 1.45; }
.outcomes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.gujarat-context-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.gujarat-callout {
  background: var(--c-yellow); border-radius: var(--r-card);
  padding: 1.25rem 1.5rem; margin-top: 1.5rem; max-width: 720px;
}
.gujarat-callout p { font-size: .95rem; font-weight: 600; color: var(--c-dark); line-height: 1.55; }

/* Gujarat map SVG container */
.gujarat-map-wrap {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-card);
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gujarat-map-wrap svg { width: 100%; max-width: 540px; height: auto; }
.map-legend {
  display: flex; gap: 1.5rem; justify-content: center;
  margin-top: 1.25rem; flex-wrap: wrap;
}
.map-legend-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--c-grey);
}
.map-legend-dot {
  width: 12px; height: 12px; border-radius: 50%;
}

/* ============================================================
   DONATE PAGE
   ============================================================ */
.donate-hero { background: var(--c-navy); color: #fff; padding: 4rem 2rem; text-align: center; }
.donate-hero h1 { font-size: 2rem; font-weight: 700; }
.donate-hero p { color: rgba(255,255,255,.85); margin-top: .75rem; max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.donate-grid .info-card.span-2 { grid-column: span 2; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--c-dark); }
.contact-item { display: flex; gap: .9rem; margin-bottom: 1.25rem; align-items: flex-start; }
.contact-icon {
  width: 36px; height: 36px; background: var(--c-yellow); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; flex-shrink: 0; margin-top: .1rem;
}
.contact-item p { font-size: .86rem; color: var(--c-grey); line-height: 1.6; }
.contact-item strong { color: var(--c-dark); display: block; margin-bottom: .12rem; }
.contact-item a { color: var(--c-navy); font-weight: 500; }
.contact-item a:hover { color: var(--c-teal); }

/* Google Maps iframe styling */
.map-embed {
  width: 100%; height: 280px;
  border: 0; border-radius: var(--r-card);
  display: block; margin-top: 1.5rem;
}

/* ============================================================
   FADE-IN ON SCROLL (added via JS observer)
   ============================================================ */
.fade-on-scroll {
  opacity: 0; transform: translateY(20px);
  transition: opacity .6s ease-out, transform .6s ease-out;
  will-change: opacity, transform;
}
.fade-on-scroll.in-view {
  opacity: 1; transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-on-scroll { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .card, .info-card, .trustee-card, .btn { transition: none; }
  .card:hover, .info-card:hover, .trustee-card:hover, .btn:hover { transform: none; }
}

/* ============================================================
   RESPONSIVE — one breakpoint
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; width: 44px; height: 44px; }  /* 44px = comfortable touch target */
  .site-nav { padding: .75rem 1.25rem; }
  .site-nav > .btn { display: none; }            /* Contact Us button in nav */
  .nav-brand span { display: none; }              /* tighten brand on mobile */
  .nav-logo img { height: 36px; }

  .section { padding: 3rem 1.25rem; }             /* tighten generous desktop section padding */

  .hero-wrap { grid-template-columns: 1fr; }
  .hero-text { padding: 2.5rem 1.5rem; }
  .hero-text h1 { font-size: 1.8rem; }
  .img-slot-hero { height: 240px; }
  .hero-mini-stats { gap: 1.25rem; }
  .hero-ctas .btn { min-height: 44px; }           /* touch target */

  .stats-grid, .impact-stats-lg { grid-template-columns: repeat(2, 1fr); }
  .impact-stats-lg { padding: 2rem 0; gap: 1.25rem; }
  .impact-stat-lg .num { font-size: 2.25rem; }

  .prog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; }

  .about-grid, .contact-grid, .donate-grid, .form-grid,
  .outcomes-grid, .values-grid, .gujarat-context-grid { grid-template-columns: 1fr; }

  .donate-grid .info-card.span-2 { grid-column: span 1; }

  .trustees-grid { grid-template-columns: repeat(2, 1fr); }

  .story-card { flex-direction: column; }
  .story-card .img-slot-story { width: 100% !important; height: 220px; }
  .story-quote { padding: 1.75rem 1.5rem; }

  .section-header h2 { font-size: 1.45rem; }
  .ppf-intro { flex-direction: column; align-items: stretch; }
  .prog-tab-bar { width: 100%; }
  .prog-tab { flex: 1; padding: .55rem .75rem; font-size: .78rem; }

  .mission-band-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-grid, .impact-stats-lg { grid-template-columns: 1fr; }
  .trustees-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  .container { padding: 0 1.1rem; }
  .hero-text h1 { font-size: 1.55rem; }
  .section-header h2 { font-size: 1.3rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .impact-hero-band, .donate-hero { padding: 2.25rem 1.25rem; }
  .impact-hero-band h2, .donate-hero h1 { font-size: 1.6rem; }
  .gujarat-map-wrap { padding: 1rem; }
}

/* ============================================================
   PRINT STYLESHEET — for printable donor pitches
   ============================================================ */
@media print {
  .site-nav, .mobile-menu, .nav-hamburger,
  .hero-ctas, .mission-band a, .site-footer,
  .skip-link { display: none !important; }
  .page { display: block !important; page-break-after: always; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .card, .info-card, .trustee-card { box-shadow: none; border: 1px solid #ccc; }
  a { color: #000; text-decoration: underline; }
}
