/* =====================================================================
   SOPALLIA — Design system (modern, minimal, accessible)
   White-dominant · generous whitespace · green/orange as accents only
   ===================================================================== */

:root {
  /* Brand */
  --green: #15663e;          /* primary actions */
  --green-600: #1b7a4b;
  --green-700: #125736;
  --green-800: #0e4429;
  --green-900: #0b3422;      /* deep — strong text / accents */
  --orange: #f2920c;         /* decorative accent only */
  --orange-ink: #b15309;     /* orange when used as text (AA on white) */

  /* Neutrals */
  --ink: #122019;            /* headings */
  --body: #495b51;           /* body text */
  --muted: #6a766f;          /* secondary text */
  --bg: #ffffff;
  --bg-soft: #f7f8f5;        /* subtle off-white section */
  --bg-tint: #f0f6f1;        /* faint green tint, used sparingly */
  --line: #e6e9e4;
  --line-soft: #eef1ec;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(18, 32, 25, 0.05);
  --shadow: 0 14px 40px -18px rgba(11, 52, 34, 0.22);
  --shadow-lg: 0 30px 70px -28px rgba(11, 52, 34, 0.30);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --header-h: 84px;
  --maxw: 1140px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font);
  font-size: 1.0625rem;     /* 17px */
  line-height: 1.65;
  letter-spacing: -0.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: var(--green-700); text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--green-800); font-weight: 700; }

::selection { background: rgba(242, 146, 12, 0.22); }

/* ---------- Layout ---------- */
.wrap {
  width: min(var(--maxw), 100% - 48px);
  margin-inline: auto;
}
.narrow { width: min(820px, 100% - 48px); margin-inline: auto; }

.section { padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--tight { padding-block: clamp(2.5rem, 4vw, 3.5rem); }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: fixed;
  left: 16px; top: 14px;
  z-index: 200;
  padding: 0.7rem 1rem;
  color: #fff;
  background: var(--green-900);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Kicker / eyebrow ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.05rem;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.kicker--dot::before {
  width: 8px; height: 8px; border-radius: 50%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.8rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 650;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease,
    border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.1em; height: 1.1em; }

.btn--primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 26px -12px rgba(21, 102, 62, 0.7);
}
.btn--primary:hover { background: var(--green-700); }

.btn--outline {
  color: var(--green-800);
  background: #fff;
  border-color: var(--line);
}
.btn--outline:hover { border-color: var(--green-600); background: var(--bg-soft); }

.btn--ghost { color: var(--green-800); background: transparent; }
.btn--ghost:hover { background: var(--bg-soft); }

.btn--light {
  color: var(--green-900);
  background: #fff;
}
.btn--light:hover { background: #f1f2ee; }

.btn--lg { min-height: 56px; padding-inline: 1.7rem; font-size: 1.04rem; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--green-700);
  font-weight: 650;
  border-bottom: 2px solid rgba(242, 146, 12, 0.55);
  padding-bottom: 2px;
  transition: border-color 0.16s ease, gap 0.16s ease;
}
.textlink:hover { border-color: var(--orange); gap: 0.6rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand-text { display: grid; line-height: 1.08; }
.brand-title {
  color: var(--green-800);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
}
.brand-subtitle {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.45rem 0.8rem;
  color: var(--green-900);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 550;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--green); background: var(--bg-tint); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }

.mobile-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  color: var(--green-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-toggle span { position: relative; }
.mobile-toggle span::before { position: absolute; top: -6px; left: 0; }
.mobile-toggle span::after { position: absolute; top: 6px; left: 0; }
body.nav-open .mobile-toggle span { background: transparent; }
body.nav-open .mobile-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .mobile-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (split, full image) ---------- */
.hero { padding: clamp(2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3.5rem); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.hero-copy { max-width: 600px; }
.hero h1 {
  font-size: clamp(2.5rem, 5.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero-lead {
  margin-top: 1.5rem;
  max-width: 44ch;
  font-size: clamp(1.12rem, 1.6vw, 1.32rem);
  color: var(--body);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-pillars {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  margin-top: 2.4rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-pillars span { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--green-900); font-weight: 600; font-size: 0.94rem; }
.hero-pillars span::before { content: ""; width: 7px; height: 7px; background: var(--orange); border-radius: 50%; }
.hero-media img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow-lg); }

/* ---------- Section headings ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.025em;
}
.section-lead {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.4vw, 1.22rem);
}
.lead-xl {
  color: var(--ink);
  font-size: clamp(1.26rem, 2.1vw, 1.62rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

/* ---------- Feature split ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.feature--reverse .feature-media { order: -1; }
.feature-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stack > * + * { margin-top: 1.2rem; }

/* ---------- Check list ---------- */
.check-list, .plain-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--body); }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.45rem;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: var(--bg-tint);
  border: 2px solid var(--green-600);
}
.check-list li::after {
  content: "";
  position: absolute; left: 0.38rem; top: 0.72rem;
  width: 0.34rem; height: 0.18rem;
  border-left: 2px solid var(--green-600);
  border-bottom: 2px solid var(--green-600);
  transform: rotate(-45deg);
}
.plain-list li { position: relative; padding-left: 1.4rem; }
.plain-list li::before {
  content: ""; position: absolute; left: 0; top: 0.66rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-soft); }
.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); margin: 0; }
.card .icon-badge {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 1.1rem;
  color: var(--green);
  background: var(--bg-tint);
  border-radius: 12px;
}
.card .icon-badge .icon { width: 24px; height: 24px; }
.card--num { position: relative; }
.card--num .num {
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--orange-ink);
}

/* numbered intro row */
.pillar-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pillar { background: #fff; padding: 1.3rem 1.4rem; }
.pillar b { display: block; color: var(--orange-ink); font-size: 0.9rem; font-weight: 800; }
.pillar span { display: block; margin-top: 0.3rem; color: var(--ink); font-weight: 600; font-size: 0.98rem; }

/* value chips */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.value-card { padding: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.value-card h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.08rem; }
.value-card h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex: 0 0 auto; }
.value-card p { margin-top: 0.5rem; color: var(--muted); }

/* ---------- Quote (light) ---------- */
.quote { text-align: center; }
.quote .flame { width: 38px; height: 38px; margin: 0 auto 1.4rem; }
.quote blockquote {
  margin: 0 auto;
  max-width: 24ch;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 720;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.quote blockquote em { color: var(--green); font-style: normal; }
.quote cite { display: block; margin-top: 1.2rem; color: var(--muted); font-style: normal; font-weight: 600; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2.2rem, 4vw, 3.4rem);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
}
.cta::before {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(242, 146, 12, 0.5), transparent 60%);
  border-radius: 50%;
}
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.25rem); max-width: 18ch; }
.cta p { color: rgba(255, 255, 255, 0.82); margin: 0.6rem 0 0; max-width: 46ch; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  padding: clamp(2.4rem, 5vw, 4rem) 0 clamp(1.8rem, 3vw, 2.6rem);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.breadcrumbs a { color: var(--green-700); }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 20ch; letter-spacing: -0.03em; }
.page-head .page-lead { margin-top: 1.4rem; max-width: 60ch; color: var(--body); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.page-head .hero-actions { margin-top: 1.7rem; }

/* banner image strip under some page heads */
.page-banner { margin-top: clamp(1.6rem, 3vw, 2.4rem); max-width: 880px; margin-inline: auto; }
.page-banner img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Timeline ---------- */
.timeline { display: grid; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 160px 1fr; gap: 1.4rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.timeline-item:first-child { border-top: 0; }
.timeline-label { color: var(--orange-ink); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; padding-top: 0.15rem; }
.timeline-item h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.timeline-item p { color: var(--muted); margin: 0; }

/* ---------- Donation ---------- */
.donation-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.4rem; align-items: start; }
.qr-panel { display: grid; justify-items: center; gap: 1rem; padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; }
.qr-panel img { width: min(260px, 100%); aspect-ratio: 1; object-fit: contain; image-rendering: pixelated; border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 10px; background: #fff; }
.qr-panel p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.donate-card { padding: 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.amount-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin: 1rem 0 1.2rem; }
.amount-chip {
  min-height: 52px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 750;
  color: var(--green-900);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.amount-chip:hover { border-color: var(--green-600); }
.amount-chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.impact-text { color: var(--body); font-weight: 500; }

.bank-box { margin-top: 1.3rem; padding: 1.2rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.bank-box h3 { font-size: 1.02rem; margin-bottom: 0.7rem; }
.copy-line { display: grid; grid-template-columns: 1fr auto; gap: 0.6rem; align-items: center; padding: 0.7rem 0.85rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 0.6rem; }
.copy-line code { font-size: 0.9rem; color: var(--ink); overflow-wrap: anywhere; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.copy-btn { min-height: 38px; padding: 0.4rem 0.9rem; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-pill); font-weight: 700; font-size: 0.84rem; color: var(--green-800); cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.copy-btn:hover { border-color: var(--green-600); }
.copy-btn.is-copied { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.7rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item > button {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; min-height: 60px; padding: 1rem 1.2rem;
  background: #fff; border: 0; cursor: pointer;
  text-align: left; font-weight: 650; color: var(--ink); font-size: 1.02rem;
}
.faq-item > button::after { content: ""; flex: 0 0 auto; width: 12px; height: 12px; border-right: 2px solid var(--green-600); border-bottom: 2px solid var(--green-600); transform: rotate(45deg); transition: transform 0.2s ease; margin-bottom: 4px; }
.faq-item.is-open > button::after { transform: rotate(-135deg); margin-bottom: -4px; }
.faq-panel { display: none; padding: 0 1.2rem 1.2rem; color: var(--muted); }
.faq-item.is-open .faq-panel { display: block; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.6rem, 3vw, 3rem); align-items: start; }
.info-list { display: grid; gap: 1rem; margin-top: 1.4rem; }
.info-item { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.info-item .icon-badge { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; color: var(--green); background: var(--bg-tint); border-radius: 10px; }
.info-item h3 { font-size: 0.96rem; margin-bottom: 0.15rem; }
.info-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.form-card { padding: clamp(1.4rem, 2.5vw, 2rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(27, 122, 75, 0.14);
}
.field [aria-invalid="true"] { border-color: #c2410c; box-shadow: 0 0 0 3px rgba(194, 65, 12, 0.12); }
.form-note { color: var(--muted); font-size: 0.9rem; }
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.status-message { display: none; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: 0.95rem; }
.status-message.is-visible { display: block; }
.status-success { color: var(--green-900); background: var(--bg-tint); border: 1px solid rgba(21, 102, 62, 0.25); }
.status-error { color: #7a280c; background: #fff3e9; border: 1px solid rgba(242, 146, 12, 0.4); }

.map-frame { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.map-frame iframe { width: 100%; height: 440px; border: 0; display: block; }

/* ---------- Legal ---------- */
.legal h2 { margin-top: 2.2rem; font-size: 1.3rem; }
.legal p { color: var(--body); }
.legal .callout { padding: 1.1rem 1.3rem; background: var(--bg-soft); border-left: 3px solid var(--orange); border-radius: var(--radius-sm); color: var(--body); }

/* ---------- Footer (light, minimal) ---------- */
.site-footer { border-top: 3px solid var(--green); background: var(--bg-soft); color: var(--body); }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding: clamp(2.6rem, 4vw, 3.6rem) 0 2.4rem; }
.footer-brand .brand { margin-bottom: 0.9rem; }
.footer-brand p { color: var(--muted); max-width: 32ch; font-size: 0.95rem; }
.footer-col h2 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--green-800); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: var(--body); font-size: 0.95rem; }
.footer-col a:hover { color: var(--green); }
.footer-col li.plain { color: var(--muted); font-size: 0.95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 1.2rem 0; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--green); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 1; transform: none; }
body.has-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
body.has-reveal .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  body.has-reveal .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-media { max-width: 460px; }
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .feature--reverse .feature-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .donation-layout { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillar-row { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .mobile-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 24px 1.2rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.24s ease;
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav a { min-height: 52px; border-radius: var(--radius-sm); }
  .header-actions .btn--primary { display: none; }
}

@media (max-width: 620px) {
  :root { --header-h: 72px; }
  .wrap, .narrow { width: min(100% - 32px, var(--maxw)); }
  .grid-2, .grid-3, .grid-4, .value-grid, .amount-row, .pillar-row, .footer-main { grid-template-columns: 1fr; }
  .brand-text { display: none; }
  .timeline-item { grid-template-columns: 1fr; gap: 0.4rem; }
  .copy-line { grid-template-columns: 1fr; }
  .copy-btn { width: 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 620px) {
  .hero { padding-top: 1.5rem; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero-lead { margin-top: 1.2rem; }
  .brand img { width: 50px; height: 50px; }
  .section { padding: clamp(2.8rem, 9vw, 4rem) 0; }
}

/* end of stylesheet */

/* ---------- Contact icons & flags ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.contact-list li { display: flex; align-items: center; gap: 0.55rem; color: var(--body); font-size: 0.95rem; }
.contact-list li.plain { color: var(--muted); }
.contact-list .c-ico { width: 18px; height: 18px; flex: 0 0 auto; color: var(--green); }
.flag { display: inline-block; vertical-align: middle; width: 22px; height: 15px; flex: 0 0 auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
.flag-ch { width: 15px; height: 15px; box-shadow: none; border-radius: 3px; }
.info-item .flag { margin-left: 0.4rem; }
