/* ==========================================================================
   BrilliantSolutions Christian Academy — Donations Page
   Hand-written CSS · no frameworks · deploys as-is
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --ink: #161616;
  --charcoal: #232323;
  --paper: #ffffff;
  --cream: #faf7f1;
  --line: #e8e2d8;
  --line-dark: rgba(255, 255, 255, 0.14);
  --muted: #6e6862;
  --red: #e01a22;
  --red-deep: #b01218;
  --whatsapp: #25d366;

  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --radius: 3px;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.15; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

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

.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  flex: none;
}
.eyebrow-light { color: #fff; }
.eyebrow-light::before { background: var(--red); }

h1, h2 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h2 em, h1 em { font-style: italic; font-weight: 500; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-intro { color: var(--muted); font-size: 1.0625rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn svg { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--red); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* ---------- Top bar ---------- */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0.55rem 0;
}
.topbar p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  background: #000;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 86px;
}

.brand img { width: auto; height: 48px; }

.site-nav { display: flex; align-items: center; gap: 2.25rem; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.site-nav a:not(.btn) {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 0.4rem 0;
  transition: color 0.2s var(--ease);
}
.site-nav a:not(.btn):hover,
.site-nav a.is-active { color: var(--red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 780px);
  background: var(--ink);
  overflow: hidden;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media img { object-fit: cover; object-position: 65% 30%; }
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(8, 8, 8, 0.82) 0%, rgba(8, 8, 8, 0.62) 42%, rgba(8, 8, 8, 0.18) 100%),
    linear-gradient(to top, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0) 32%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  color: #fff;
  max-width: calc(var(--container));
}
.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.04;
  margin-bottom: 1.4rem;
}
.hero-lead {
  max-width: 560px;
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.2rem;
}
.hero-lead strong { font-weight: 600; color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.75rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  list-style: none;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

/* ---------- Why section ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.why-text h2 { max-width: 18ch; }
.why-text p { color: var(--muted); }
.why-text p strong { color: var(--ink); font-weight: 600; }

.why-media { position: relative; margin: 0; }
.why-media img { border-radius: var(--radius); }
.why-quote {
  position: relative;
  margin: -3.25rem 2rem 0 -2rem;
  max-width: 420px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.why-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1875rem;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}
.why-quote span { font-size: 0.8125rem; color: var(--muted); }

/* Cards — hairline grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  list-style: none;
}
.card {
  background: var(--paper);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  transition: background-color 0.3s var(--ease);
}
.card:hover { background: var(--cream); }
.card-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  color: var(--ink);
  margin-bottom: 1.2rem;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover .card-icon { color: var(--red); transform: translateY(-3px) scale(1.05); }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.9375rem; color: var(--muted); margin: 0; }

/* ---------- Impact ---------- */
.impact { background: var(--cream); }

.impact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.impact-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 1.2rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.impact-list li:hover { border-color: var(--ink); transform: translateY(-2px); }
.impact-list li span { display: inline-flex; width: 20px; height: 20px; color: var(--red); flex: none; }
.impact-list li svg { width: 100%; height: 100%; }

.impact-body {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

/* Timeline */
.timeline {
  list-style: none;
  margin-top: 1.5rem;
  position: relative;
}
.timeline li {
  position: relative;
  padding: 0 0 2.25rem 2.25rem;
  border-left: 1px solid var(--line);
  margin-left: 6px;
}
.timeline li:last-child { padding-bottom: 0.25rem; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6.5px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--cream);
}
.timeline .phase {
  display: inline-block;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.timeline h3 { font-size: 1.0625rem; margin-bottom: 0.35rem; }
.timeline p { font-size: 0.9375rem; color: var(--muted); margin: 0; }

/* Photo collage */
.impact-photos { position: relative; }
.impact-photos picture { display: block; }
.impact-photos picture:first-of-type { width: 82%; }
.impact-photos picture:first-of-type img { border-radius: var(--radius); }
.impact-photos picture:last-of-type {
  width: 72%;
  margin: -18% 0 0 28%;
  border: 6px solid var(--cream);
  border-radius: var(--radius);
}
.impact-photos picture:last-of-type img { border-radius: 1px; }
.impact-note {
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: 40ch;
}

/* ---------- Future Skills Hub ---------- */
.hub { background: var(--ink); color: #fff; }
.hub-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.hub-text h2 { color: #fff; }
.hub-text p { color: rgba(255, 255, 255, 0.75); font-weight: 300; }
.hub-text strong { color: #fff; font-weight: 600; }

.hub-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
}
.hub-topics li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0.95rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.hub-topics li:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); }
.hub-topics li::before {
  content: "✓";
  color: var(--red);
  font-weight: 700;
  flex: none;
}

/* ---------- Donation form ---------- */
.donate { background: var(--cream); }

.donate-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.field { margin-bottom: 1.4rem; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
}
.req { color: var(--red); }
.optional { color: var(--muted); font-weight: 400; font-size: 0.8125rem; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:hover,
.field textarea:hover { border-color: #d6cfc2; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(22, 22, 22, 0.08);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 26, 34, 0.08);
}

.error-msg {
  display: none;
  font-size: 0.8125rem;
  color: var(--red-deep);
  margin: 0.4rem 0 0;
}
.error-msg.is-visible { display: block; }
.form-error { margin-top: 1rem; text-align: center; }

/* Amount picker */
.amount-fieldset {
  border: 0;
  padding: 0;
  margin: 0.25rem 0 1.5rem;
}
.amount-fieldset legend {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  padding: 0;
}
.amount-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
}
.amount-grid input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.amount-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.amount-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.amount-grid input[type="radio"]:checked + .amount-btn {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.amount-grid input[type="radio"]:focus-visible + .amount-btn {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.custom-amount { margin-top: 1rem; }
.rand-input { position: relative; }
.rand-input span {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--muted);
}
.rand-input input { padding-left: 2.1rem; }

.amount-summary {
  margin: 0.9rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}
.amount-summary strong { color: var(--ink); font-weight: 600; }

/* Checkboxes */
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.checkbox-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--red);
  cursor: pointer;
}
.checkbox-field label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
}
.checkbox-field label strong { color: var(--ink); }
.checkbox-field a { color: var(--ink); font-weight: 500; }

/* Honeypot — hidden from humans */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Submit */
.btn-submit {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1.1rem;
  position: relative;
}
.btn-submit:disabled { opacity: 0.7; cursor: wait; }
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn-submit.is-loading .btn-arrow { display: none; }
.btn-submit.is-loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-microcopy {
  margin: 0.9rem 0 0;
  text-align: center;
  font-size: 0.78125rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Success panel */
.success-panel { text-align: center; padding: 1.5rem 0.5rem; }
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  margin-bottom: 1.25rem;
}
.success-icon svg { width: 28px; height: 28px; }
.success-panel h3 { font-family: var(--font-display); font-size: 1.625rem; }
.success-panel > p { color: var(--muted); max-width: 46ch; margin-left: auto; margin-right: auto; }

.success-ref {
  display: inline-block;
  margin: 1.25rem auto;
  padding: 1rem 2rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.success-ref span {
  display: block;
  font-size: 0.71875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.success-ref strong {
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: 0.02em;
}

.success-bank {
  max-width: 400px;
  margin: 0 auto 1.25rem;
  text-align: left;
}
.success-bank dl {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.success-bank .bank-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  font-size: 0.875rem;
}
.success-bank .bank-row + .bank-row { border-top: 1px solid var(--line); }
.success-bank dt { color: var(--muted); }
.success-bank dd { margin: 0; font-weight: 600; text-align: right; }

.success-help { font-size: 0.8125rem; color: var(--muted); margin: 0; }
.success-help a { color: var(--ink); font-weight: 500; }

/* Aside cards */
.donate-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 110px;
}
.steps-card,
.note-card,
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.75rem;
}
.steps-card h3,
.note-card h3,
.contact-card h3 { font-size: 1rem; margin-bottom: 1rem; }

.steps {
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  counter-increment: step;
  padding: 0 0 1.25rem 2.6rem;
}
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-size: 0.8125rem;
  font-weight: 600;
}
.steps strong { display: block; font-size: 0.9375rem; font-weight: 600; }
.steps span { display: block; font-size: 0.84375rem; color: var(--muted); margin-top: 0.15rem; }

.note-card { border-left: 3px solid var(--red); }
.note-card h3 { margin-bottom: 0.5rem; }
.note-card p { margin: 0; font-size: 0.875rem; color: var(--muted); }
.note-card strong { color: var(--ink); }

.security-card {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  font-size: 0.84375rem;
}
.security-card span { display: inline-flex; width: 26px; height: 26px; color: var(--red); flex: none; }
.security-card svg { width: 100%; height: 100%; }
.security-card p { margin: 0; }
.security-card strong { color: #fff; }

.contact-card p { margin: 0; font-size: 0.9375rem; line-height: 2; }
.contact-card a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color 0.2s var(--ease); }
.contact-card a:hover { border-color: var(--red); }

/* ---------- Trust ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  list-style: none;
}
.trust-grid li span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  color: var(--red);
  margin-bottom: 1rem;
}
.trust-grid li svg { width: 100%; height: 100%; }
.trust-grid h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.trust-grid p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.terms-note {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.terms-note h3 { font-size: 0.9375rem; }
.terms-note p { font-size: 0.875rem; color: var(--muted); margin: 0; }
.terms-note a { color: var(--ink); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq-container { max-width: 820px; }

.faq-list details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease);
}
.faq-list details:hover,
.faq-list details[open] { border-color: #cfc7b9; }
.faq-list details + details { margin-top: 0.75rem; }

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  font-size: 0.984375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--red); }

.faq-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 16px;
  height: 2px;
  background: var(--red);
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease);
}
.faq-icon::after { transform: translateY(-50%) rotate(90deg); }
.faq-list details[open] .faq-icon::after { transform: translateY(-50%) rotate(0deg); }

.faq-answer { padding: 0 1.5rem 1.3rem; }
.faq-answer p { margin: 0; font-size: 0.9375rem; color: var(--muted); }
.faq-answer a { color: var(--ink); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.cta-band h2 {
  max-width: 24ch;
  margin: 0 auto 1rem;
  color: #fff;
}
.cta-band p {
  max-width: 52ch;
  margin: 0 auto 2.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  padding: 3rem 0;
  font-size: 0.875rem;
  line-height: 2;
}
.site-footer p { margin: 0; }
.site-footer p:last-child { color: rgba(255, 255, 255, 0.55); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.reveal-right { transform: translateX(32px); }
.reveal.reveal-left { transform: translateX(-32px); }
.reveal.reveal-scale { transform: scale(0.94); }
.impact-list li.reveal { transform: translateY(14px) scale(0.95); }
.cards-grid .card.reveal { transform: translateY(18px) scale(0.98); }
.hub-topics li.reveal { transform: translateY(14px) scale(0.96); }
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Smooth anchor landings below the sticky header */
[id] { scroll-margin-top: 100px; }

/* ---------- Floating Donate button ---------- */
.donate-float {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  background: var(--red);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(224, 26, 34, 0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background-color 0.25s var(--ease);
}
.donate-float svg { width: 16px; height: 16px; flex: none; }
.donate-float.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  animation: float-pulse 3s var(--ease) infinite 1.2s;
}
.donate-float:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  animation: none;
}
@keyframes float-pulse {
  0% { box-shadow: 0 10px 28px rgba(224, 26, 34, 0.35), 0 0 0 0 rgba(224, 26, 34, 0.45); }
  60% { box-shadow: 0 10px 28px rgba(224, 26, 34, 0.35), 0 0 0 14px rgba(224, 26, 34, 0); }
  100% { box-shadow: 0 10px 28px rgba(224, 26, 34, 0.35), 0 0 0 0 rgba(224, 26, 34, 0); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .donate-float.is-visible { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .donate-grid { grid-template-columns: 1fr; }
  .donate-aside {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-body { grid-template-columns: 1fr; }
  .impact-photos { max-width: 560px; }
}

@media (max-width: 860px) {
  .why-grid,
  .hub-inner { grid-template-columns: 1fr; }
  .why-media { max-width: 560px; }
  .amount-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .topbar p { font-size: 0.71875rem; text-align: center; }

  .header-inner { min-height: 72px; }
  .brand img { height: 40px; }

  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 1.5rem 1.75rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav ul a:not(.btn) {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-cta { margin-top: 1.25rem; justify-content: center; }

  .hero { min-height: 78vh; }
  .hero-actions .btn { width: 100%; }

  .cards-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .donate-aside { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hub-topics { grid-template-columns: 1fr; }
  .form-card { padding: 1.5rem 1.25rem; }
  .success-bank .bank-row { flex-direction: column; gap: 0.1rem; }
  .success-bank dd { text-align: left; }
}

@media (max-width: 380px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .donate-float { padding: 0.8rem 1.2rem; font-size: 0.75rem; }
}
