/* ============================================================
   Asha Foundation — demo NGO website
   Designed & built by Pavan Rengade · https://pavan.rengade.in
   ============================================================ */

:root {
  --green: #2e9e5b;
  --green-dark: #1f7a44;
  --green-deep: #14532d;
  --green-soft: #e6f6ed;
  --yellow: #f7b32b;
  --yellow-soft: #fef3d7;
  --ink: #21312a;
  --muted: #5c6b63;
  --line: #e3ece6;
  --bg: #ffffff;
  --bg-warm: #f7fbf8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 122, 68, 0.10);
  --shadow-lg: 0 16px 48px rgba(20, 83, 45, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16.5px;
}

img { max-width: 100%; }

a { color: var(--green-dark); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--green-deep); }

.section { padding: 72px 0; }
.section.alt { background: var(--bg-warm); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow {
  display: inline-block;
  background: var(--yellow-soft);
  color: #8a6207;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); }

/* ---------- Demo ribbon ---------- */
.demo-ribbon {
  background: linear-gradient(90deg, var(--green-deep), var(--green-dark));
  color: #eafff2;
  text-align: center;
  font-size: 0.83rem;
  padding: 8px 14px;
  line-height: 1.5;
}
.demo-ribbon a { color: var(--yellow); font-weight: 800; text-decoration: underline; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow);
}
.brand-name { font-weight: 800; color: var(--green-deep); font-size: 1.08rem; line-height: 1.1; }
.brand-name small { display: block; font-size: 0.68rem; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--green-soft); color: var(--green-dark); }
.nav-links a.current { background: var(--green-soft); color: var(--green-dark); }

.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.98rem;
  padding: 12px 26px;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-accent {
  background: var(--yellow);
  color: #4a3403;
  box-shadow: 0 6px 18px rgba(247, 179, 43, 0.35);
}
.btn-accent:hover { background: #ffc247; box-shadow: 0 8px 24px rgba(247, 179, 43, 0.45); }
.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(46, 158, 91, 0.3);
}
.btn-green:hover { background: var(--green-dark); }
.btn-ghost {
  background: transparent;
  color: var(--green-deep);
  border: 2px solid var(--green);
}
.btn-ghost:hover { background: var(--green-soft); }
.btn-block { display: block; width: 100%; text-align: center; }
.nav .btn { padding: 10px 20px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--green-deep);
  line-height: 1;
  padding: 4px 8px;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(247, 179, 43, 0.18), transparent 60%),
    radial-gradient(ellipse 70% 90% at 10% 90%, rgba(46, 158, 91, 0.14), transparent 60%),
    var(--bg-warm);
  padding: 80px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  margin: 14px 0 18px;
}
.hero h1 .accent { color: var(--green); }
.hero p.lede { color: var(--muted); font-size: 1.12rem; max-width: 32rem; margin-bottom: 28px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--green-dark);
  box-shadow: var(--shadow);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-trust { font-size: 0.85rem; color: var(--muted); }
.hero-trust strong { color: var(--green-dark); }

/* Emoji tile mosaic */
.tile-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tile {
  aspect-ratio: 1;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: var(--shadow);
}
.tile:nth-child(odd) { transform: translateY(10px); }
.tile-g1 { background: linear-gradient(135deg, #d8f3e2, #a7e3c0); }
.tile-g2 { background: linear-gradient(135deg, #fef0c9, #fcd97e); }
.tile-g3 { background: linear-gradient(135deg, #e6f6ed, #c3ecd4); }
.tile-g4 { background: linear-gradient(135deg, #fff8e5, #fde7ab); }
.tile-g5 { background: linear-gradient(135deg, #2e9e5b, #1f7a44); }
.tile-g6 { background: linear-gradient(135deg, #f7b32b, #ef9f0b); }

/* ---------- Impact counters ---------- */
.impact-band {
  background: linear-gradient(120deg, var(--green-deep), var(--green-dark));
  color: #fff;
  padding: 56px 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.impact-item .icon { font-size: 1.9rem; display: block; margin-bottom: 6px; }
.impact-num {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1.1;
}
.impact-label { font-size: 0.92rem; opacity: 0.92; margin-top: 4px; }

/* ---------- Program cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--green-soft), #cdeeda);
}
.card:nth-child(even) .card-icon { background: linear-gradient(135deg, var(--yellow-soft), #fde3a0); }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .card-meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--green-dark);
  background: var(--green-soft);
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Transparency bars ---------- */
.money-strip { max-width: 720px; margin: 0 auto; }
.money-row { margin-bottom: 22px; }
.money-row .money-label {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.money-row .money-label span:last-child { color: var(--green-dark); }
.money-bar {
  height: 14px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.money-fill {
  height: 100%;
  border-radius: 999px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.money-fill.f-programs { background: linear-gradient(90deg, var(--green), var(--green-dark)); }
.money-fill.f-operations { background: linear-gradient(90deg, var(--yellow), #ef9f0b); }
.money-fill.f-fundraising { background: linear-gradient(90deg, #9fd8b6, #6ec495); }
.money-note { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 10px; }

/* ---------- Stories ---------- */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.story {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--yellow);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.story .story-emoji { font-size: 2rem; }
.story h3 { margin: 10px 0 8px; font-size: 1.1rem; }
.story p { color: var(--muted); font-size: 0.96rem; }
.story .story-tag { font-size: 0.78rem; font-weight: 800; color: var(--green-dark); margin-top: 12px; display: inline-block; }

/* ---------- Partners / testimonials line ---------- */
.partners-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.95rem;
}
.partners-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
}
.quote-line {
  text-align: center;
  max-width: 640px;
  margin: 34px auto 0;
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
}
.quote-line cite { display: block; margin-top: 8px; font-style: normal; font-weight: 800; color: var(--green-dark); font-size: 0.88rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--yellow), #f9c95c);
  border-radius: var(--radius);
  padding: 44px 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #4a3403; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.cta-band p { color: #6b4c07; font-weight: 700; }
.cta-band .btn { background: var(--green-deep); color: #fff; }
.cta-band .btn:hover { background: var(--green-dark); }

/* ---------- Donation UI ---------- */
.donate-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.panel h3 { margin-bottom: 6px; }
.panel .panel-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }

.freq-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 24px;
}
.freq-toggle button {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.freq-toggle button.active {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 12px rgba(46, 158, 91, 0.35);
}

.amount-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}
.chip {
  border: 2px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.chip:hover { border-color: var(--green); }
.chip.selected {
  border-color: var(--green);
  background: var(--green-soft);
  transform: translateY(-2px);
}
.chip .chip-amt { font-weight: 800; font-size: 1.2rem; color: var(--green-deep); display: block; }
.chip .chip-impact { font-size: 0.8rem; color: var(--muted); display: block; margin-top: 3px; line-height: 1.4; }
.chip.selected .chip-impact { color: var(--green-dark); font-weight: 700; }

.custom-amt { position: relative; margin-bottom: 8px; }
.custom-amt .rupee {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  color: var(--green-deep);
}
.custom-amt input {
  width: 100%;
  padding: 14px 16px 14px 36px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green-deep);
}
.custom-amt input:focus { outline: none; border-color: var(--green); }

.impact-live {
  background: var(--yellow-soft);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #7a5605;
  margin-bottom: 8px;
  min-height: 46px;
}

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: 0.86rem; color: var(--green-deep); }
.field label .opt { font-weight: 600; color: var(--muted); font-size: 0.78rem; }
.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  background: #fff;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--green); }
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: 0.76rem; color: var(--muted); }
.field input.invalid, .field select.invalid { border-color: #d64545; }
.form-error { color: #b23232; font-size: 0.85rem; font-weight: 700; display: none; margin-top: 10px; }
.form-error.show { display: block; }

/* Donation summary card */
.summary-card {
  position: sticky;
  top: 90px;
  background: linear-gradient(160deg, var(--green-deep), var(--green-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
}
.summary-card h3 { color: #fff; margin-bottom: 18px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  font-size: 0.95rem;
}
.summary-row:last-of-type { border-bottom: 0; }
.summary-row .val { font-weight: 800; color: var(--yellow); }
.summary-note { font-size: 0.8rem; opacity: 0.85; margin-top: 14px; line-height: 1.5; }

/* Payment sheet (modal) */
.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 34, 24, 0.55);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  padding: 0;
}
.sheet-overlay.open { display: flex; }
.sheet {
  background: #fff;
  width: 100%;
  max-width: 460px;
  border-radius: 20px 20px 0 0;
  padding: 26px 26px 34px;
  animation: sheetUp 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: 92vh;
  overflow-y: auto;
}
@keyframes sheetUp {
  from { transform: translateY(60px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (min-width: 640px) {
  .sheet-overlay { align-items: center; padding: 20px; }
  .sheet { border-radius: 20px; }
}
.sheet-demo-tag {
  background: var(--yellow-soft);
  border: 1px dashed var(--yellow);
  color: #7a5605;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
  line-height: 1.5;
}
.sheet-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.sheet-head h3 { font-size: 1.15rem; }
.sheet-close {
  background: var(--bg-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--muted);
}
.sheet-amt { font-size: 1.7rem; font-weight: 800; color: var(--green-deep); margin: 8px 0 18px; }
.sheet-amt small { font-size: 0.85rem; color: var(--muted); font-weight: 700; }

.pay-methods { display: grid; gap: 12px; margin-bottom: 8px; }
.pay-method {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  background: #fff;
  font-family: inherit;
  text-align: left;
  transition: border-color 0.2s, background 0.2s;
}
.pay-method:hover { border-color: var(--green); }
.pay-method.selected { border-color: var(--green); background: var(--green-soft); }
.pay-method .pm-icon { font-size: 1.5rem; }
.pay-method .pm-name { font-weight: 800; font-size: 0.98rem; color: var(--ink); }
.pay-method .pm-sub { font-size: 0.78rem; color: var(--muted); }

.pay-processing { text-align: center; padding: 30px 10px; display: none; }
.pay-processing.show { display: block; }
.spinner {
  width: 46px;
  height: 46px;
  border: 4px solid var(--green-soft);
  border-top-color: var(--green);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Success screen */
.success-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 32px;
  box-shadow: var(--shadow-lg);
}
.success-box .success-emoji { font-size: 3.2rem; display: block; margin-bottom: 12px; }
.success-box h2 { margin-bottom: 10px; }
.success-box p { color: var(--muted); margin-bottom: 8px; }
.receipt-id {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 10px;
  padding: 10px 22px;
  margin: 14px 0;
  font-size: 1.05rem;
  border: 1px dashed var(--green);
}
.success-note {
  background: var(--yellow-soft);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 0.85rem;
  color: #7a5605;
  font-weight: 700;
  margin: 18px 0;
  line-height: 1.55;
}

/* Generic hidden helper */
.hidden { display: none !important; }

/* ---------- Volunteer roles ---------- */
.role-card .time-pill {
  display: inline-block;
  background: var(--yellow-soft);
  color: #8a6207;
  font-weight: 800;
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 4px 12px;
  margin-top: 14px;
}
.roles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.info-list { list-style: none; display: grid; gap: 18px; }
.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.info-list .info-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--green-soft), #cdeeda);
}
.info-list strong { display: block; color: var(--green-deep); }
.info-list span { color: var(--muted); font-size: 0.92rem; }

.map-placeholder {
  margin-top: 22px;
  border-radius: var(--radius);
  border: 2px dashed var(--green);
  background:
    linear-gradient(135deg, rgba(46, 158, 91, 0.08), rgba(247, 179, 43, 0.1));
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  padding: 24px;
}
.map-placeholder .map-pin { font-size: 2.2rem; display: block; margin-bottom: 6px; }
.map-placeholder small { font-weight: 600; font-size: 0.78rem; }

.csr-band {
  background: linear-gradient(120deg, var(--green-deep), var(--green-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 36px;
  box-shadow: var(--shadow-lg);
}
.csr-band h2 { color: #fff; margin-bottom: 10px; }
.csr-band p { color: rgba(255, 255, 255, 0.88); max-width: 44rem; }
.csr-points { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.csr-points span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.86rem;
  font-weight: 700;
}

/* ---------- Footer ---------- */
.footer {
  background: #0f2418;
  color: #c8dccf;
  padding: 56px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer h4 { color: #fff; font-size: 0.98rem; margin-bottom: 14px; }
.footer p { font-size: 0.9rem; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: #c8dccf; text-decoration: none; font-size: 0.92rem; }
.footer a:hover { color: var(--yellow); }
.footer .brand-name { color: #fff; }
.footer .brand-mark { box-shadow: none; }
.footer-legal { font-size: 0.78rem; opacity: 0.75; margin-top: 12px; }
.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
}
.footer-credit a { color: var(--yellow); text-decoration: underline; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse 60% 90% at 90% 10%, rgba(247, 179, 43, 0.16), transparent 60%),
    var(--bg-warm);
  padding: 60px 0 48px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0 10px; }
.page-hero p { color: var(--muted); max-width: 38rem; margin: 0 auto; }

/* ---------- Reveal on scroll (used with motion.js / fallback) ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .hero-grid { grid-template-columns: 1fr; }
  .tile-mosaic { max-width: 420px; }
  .donate-layout, .contact-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .section { padding: 52px 0; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; }
  .nav-links .btn { text-align: center; margin-top: 8px; }
  .cards-grid, .stories-grid, .roles-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .amount-chips { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  body { font-size: 15.5px; }
  .container { padding: 0 14px; }
  .panel { padding: 22px 18px; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .brand-name small { display: none; }
}
