/* ==========================================================================
   Alfadilah Charity - Design system (from XD)
   Fonts: Poppins (LTR) / Almarai (RTL)
   ========================================================================== */
:root {
  --brand-green: #9cb827;
  --brand-green-dark: #6b7837;
  --brand-purple: #8427b8;
  --brand-purple-dark: #533663;
  --brand-olive: #353828;
  --ink: #16233f;
  --ink-soft: #5b6478;
  --surface: #f7f8f4;
  --surface-alt: #eef1f6;
  --line: #e6e8ee;
  --radius-card: 14px;
  --radius-pill: 999px;
  --shadow-card: 0 10px 30px rgba(22, 35, 63, 0.08);
  --shadow-float: 0 18px 50px rgba(22, 35, 63, 0.14);
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-ar: "Almarai", "Poppins", system-ui, sans-serif;
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  font-size: 0.95rem;
  padding-top: 66px; /* offset for the fixed header */
  scroll-behavior: smooth;
}
h1, h2, h3, h4, h5, .fw-head {
  font-weight: 700;
  letter-spacing: -0.01em;
}
a { text-decoration: none; }
.section { padding: 72px 0; }
.section-tight { padding: 56px 0; }
.bg-surface { background: var(--surface); }
.bg-surface-alt { background: var(--surface-alt); }
.text-ink { color: var(--ink) !important; }
.text-soft { color: var(--ink-soft) !important; }
.text-green { color: var(--brand-green-dark) !important; }
.text-purple { color: var(--brand-purple) !important; }
.container-xxl-narrow {
  max-width: 1360px;
  padding-inline: 32px;
}
@media (max-width: 575.98px) {
  .container-xxl-narrow { padding-inline: 18px; }
}

.section-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-bottom: 0.5rem;
}
.section-sub {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ---------- Buttons ---------- */
.btn { border-radius: 8px; font-weight: 600; font-size: 0.9rem; }
.btn-lg { font-size: 0.95rem; padding: 0.7rem 1.35rem; }
.btn-brand {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
  color: #fff;
}
/* Support This Campaign button: dark text + light background on hover */
.btn-brand.cta-donate-btn:hover,
.btn-brand.cta-donate-btn:focus {
  background: #fff;
  border-color: var(--brand-green);
  color: var(--ink);
}
.btn-pill { border-radius: var(--radius-pill); }
.btn-purple {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #fff;
}
.btn-purple:hover, .btn-purple:focus {
  background: var(--brand-purple-dark);
  border-color: var(--brand-purple-dark);
  color: #fff;
}
.btn-outline-ink {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}
.btn-outline-ink:hover { background: var(--surface); color: var(--ink); }
.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
}
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

/* Hero CTA buttons: loop pulse + hover lift */
.hero-cta-primary,
.hero-cta-outline {
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.hero-cta-primary { animation: hero-pulse-primary 2.4s ease-in-out infinite; }
.hero-cta-outline { animation: hero-pulse-outline 2.4s ease-in-out infinite; }
.hero-cta-primary:hover,
.hero-cta-primary:focus,
.hero-cta-outline:hover,
.hero-cta-outline:focus {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.hero-cta-outline:hover,
.hero-cta-outline:focus {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
@keyframes hero-pulse-primary {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  70% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@keyframes hero-pulse-outline {
  0%, 100% { box-shadow: 0 0 0 0 rgba(156, 184, 39, 0.55); }
  50% { box-shadow: 0 0 0 10px rgba(156, 184, 39, 0); }
  70% { box-shadow: 0 0 0 0 rgba(156, 184, 39, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cta-primary,
  .hero-cta-outline { animation: none; transition: none; }
  .hero-cta-primary:hover,
  .hero-cta-primary:focus,
  .hero-cta-outline:hover,
  .hero-cta-outline:focus { transform: none; }
}

.btn-disabled-soft {
  background: var(--surface-alt);
  border-color: var(--surface-alt);
  color: var(--ink-soft);
  pointer-events: none;
}

/* ---------- Navbar ---------- */
.site-nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  transition: box-shadow 0.3s ease, padding 0.3s ease, background 0.3s ease;
}
.site-nav.is-stuck {
  box-shadow: 0 6px 24px rgba(22, 35, 63, 0.1);
  padding: 6px 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
}
.site-nav.is-stuck .navbar-brand img { height: 36px; }
.site-nav .navbar-brand img { transition: height 0.3s ease; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  body { scroll-behavior: auto; }
}
.site-nav .navbar-brand img { height: 42px; width: auto; }
.brand-name { font-size: 1.05rem; font-weight: 700; line-height: 1.1; }
.brand-tag { font-size: 0.62rem; color: var(--ink-soft); }
.site-nav .nav-link {
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
}
.site-nav .nav-link:hover { color: var(--brand-green-dark); }
.site-nav .nav-link.active { color: var(--brand-green-dark); font-weight: 600; }
@media (min-width: 992px) {
  .site-nav .navbar-nav .nav-item + .nav-item { border-left: 1px solid var(--line); }
}
.lang-switch {
  font-size: 0.8rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center right;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 24, 20, 0.94) 0%, rgba(15, 24, 20, 0.82) 38%, rgba(15, 24, 20, 0.15) 72%, rgba(15, 24, 20, 0) 100%);
}
.hero__inner { position: relative; padding-block: 90px 140px; }
.hero h1 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  line-height: 1.15;
  max-width: 15ch;
}
.hero p.lead-copy {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 46ch;
}
.eyebrow {
  display: inline-block;
  background: var(--brand-green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
}

/* ---------- Stats ---------- */
.stats-card {
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 3px 15px rgba(46, 47, 52, 0.1);
  padding: 30px 14px;
  margin-top: -68px;
  position: relative;
  z-index: 3;
}
.stat { display: flex; align-items: center; gap: 18px; justify-content: center; }
.stat__icon { width: 56px; height: 56px; flex: 0 0 auto; }
.stat__value {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: #0f172a;
}
.stat__label { font-size: 1.05rem; font-weight: 400; color: #64748b; line-height: 1.25; white-space: nowrap; }
.stat-divider { border-inline-end: 1px solid var(--line); }

/* ---------- Cards ---------- */
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  height: 100%;
}
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card-soft:hover .card-media img { transform: scale(1.04); }
.card-title-sm { font-size: 0.98rem; font-weight: 600; }
.card-text-sm { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.6; }

.chip {
  position: absolute;
  top: 12px;
  font-size: 0.66rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  color: #fff;
  backdrop-filter: blur(2px);
}
.chip-end { inset-inline-end: 12px; }
.chip-start { inset-inline-start: 12px; }
.chip-active { background: var(--brand-green); }
.chip-done { background: #2fa8a0; }
.chip-cat { background: rgba(22, 35, 63, 0.82); }
.chip-tag { background: var(--brand-purple); }
.chip-soft { background: rgba(255, 255, 255, 0.88); color: var(--brand-green-dark); }

.meta-row { font-size: 0.72rem; color: var(--ink-soft); }
.meta-row strong { color: var(--ink); }
.progress-thin { height: 6px; background: var(--surface-alt); border-radius: var(--radius-pill); }
.progress-thin .progress-bar { background: var(--brand-green); border-radius: var(--radius-pill); transition: width 1000ms cubic-bezier(0.22, 1, 0.36, 1); }
.progress-thin .progress-bar.is-full { background: var(--brand-green-dark); }
.card-footer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.news-date { font-size: 0.72rem; color: var(--ink-soft); }
.read-more { font-size: 0.78rem; font-weight: 600; color: var(--brand-green-dark); }
.read-more:hover { color: var(--brand-olive); }

/* ---------- About ---------- */
.about-media {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}
.pillar-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(156, 184, 39, 0.16);
  color: var(--brand-green-dark);
  flex: 0 0 auto;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(90deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
  color: #fff;
  padding: 30px 0;
}
.cta-band h3 { font-size: 1.25rem; margin: 0; }
.cta-band p { margin: 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.9); }

/* CTA Donate Now button: loop pulse + hover lift */
.cta-donate-btn {
  position: relative;
  animation: cta-pulse 2.4s ease-in-out infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.cta-donate-btn:hover,
.cta-donate-btn:focus {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  background-color: #fff;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55); }
  50% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  70% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .cta-donate-btn { animation: none; transition: none; }
  .cta-donate-btn:hover, .cta-donate-btn:focus { transform: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 56px 0 0; }
.site-footer h6 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.site-footer p, .site-footer a, .site-footer li { font-size: 0.8rem; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--brand-green); }
.footer-links li { margin-bottom: 9px; }
.footer-links i { font-size: 0.7rem; color: var(--brand-green); margin-inline-end: 8px; }
.social-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.social-btn i {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease;
}
.social-btn:hover, .social-btn:focus {
  background: var(--brand-green);
  color: #fff;
}
.social-btn:hover i, .social-btn:focus i { color: #fff; }
.badge-iso {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.72rem;
  color: #fff;
  font-weight: 600;
}
.footer-bottom {
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  font-size: 0.72rem;
  text-align: center;
}

/* ---------- RTL readiness ---------- */
[dir="rtl"] body { font-family: var(--font-ar); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; }
[dir="rtl"] .hero__media { background-position: center left; }
[dir="rtl"] .hero__media::after {
  background: linear-gradient(270deg, rgba(15, 24, 20, 0.94) 0%, rgba(15, 24, 20, 0.82) 38%, rgba(15, 24, 20, 0.15) 72%, rgba(15, 24, 20, 0) 100%);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero__inner { padding-block: 64px 110px; }
  .hero h1 { max-width: none; }
  .stat-divider { border-inline-end: 0; }
  .stats-card { margin-top: -48px; row-gap: 22px; }
  .about-media { min-height: 280px; }
  .section { padding: 56px 0; }
}
@media (max-width: 575.98px) {
  .stats-card { margin-top: -36px; }
  .stat__icon { width: 42px; height: 42px; }
  .stat__value { font-size: 1.5rem; }
  .stat__label { font-size: 1rem; }
  .cta-band { text-align: center; }
}
/* ==========================================================================
   Inner pages
   ========================================================================== */
/* ---------- Page header (light, as in design) ---------- */
.page-hero {
  background: var(--surface);
  color: var(--ink);
  padding: 52px 0 22px;
}
.page-hero__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 0.55rem;
}
.page-hero__sub { color: var(--ink-soft); font-size: 0.92rem; max-width: 86ch; margin: 0; }
.page-crumbs { font-size: 0.75rem; margin-bottom: 14px; }
.page-crumbs .breadcrumb-item a { color: var(--ink-soft); }
.page-crumbs .breadcrumb-item a:hover { color: var(--brand-green-dark); }
.page-crumbs .breadcrumb-item.active { color: var(--brand-green-dark); }

.hero-compact { min-height: 420px; }
.hero-compact .hero__inner { padding-block: 70px; }

/* ---------- Filter bar ---------- */
.filter-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 22px 20px;
  margin-top: -34px;
  position: relative;
  z-index: 3;
}
.filter-label { font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; display: block; }
.filter-card .form-control,
.filter-card .form-select { font-size: 0.85rem; border-color: var(--line); border-radius: 8px; }
.filter-search .input-group-text { background: var(--surface); border-color: var(--line); color: var(--ink-soft); }
.pt-0 { padding-top: 0 !important; }

/* ---------- Filter bar (borderless, pill fields) ---------- */
.filter-bar { position: relative; z-index: 3; }
.filter-bar .input-group { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.filter-bar .input-group-text { background: #fff; border: 0; color: var(--ink-soft); padding-inline: 14px; }
.filter-bar .form-control { border: 0; box-shadow: none; font-size: 0.85rem; padding-block: 11px; }
.filter-bar .filter-select {
  border: 1px solid var(--line);
  border-radius: 10px;
  background-color: #fff;
  font-size: 0.85rem;
  padding-block: 11px;
  color: var(--ink-soft);
}

/* ---------- News page compact spacing ---------- */
.news-hero { padding: 38px 0 14px; }
.news-hero .page-hero__sub { margin-bottom: 0; }
.news-filter { padding: 14px 0; }

/* ---------- News featured card ---------- */
.news-feature {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 100%;
  background: var(--ink);
}
.news-feature__link { display: block; position: relative; height: 100%; min-height: 320px; color: #fff; }
.news-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-feature:hover img { transform: scale(1.05); }
.news-feature__link::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 22, 45, 0.05) 0%, rgba(13, 22, 45, 0.15) 45%, rgba(13, 22, 45, 0.88) 100%);
}
.news-feature__chip { z-index: 2; }
.news-feature__body { position: absolute; inset-inline: 0; bottom: 0; z-index: 2; padding: 22px 26px 24px; }
.news-feature__date { font-size: 0.76rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 6px; }
.news-feature__title { font-size: 1.5rem; font-weight: 600; color: var(--brand-green); margin-bottom: 8px; }
.news-feature__text { font-size: 0.86rem; color: rgba(255, 255, 255, 0.9); margin-bottom: 0; max-width: 560px; }
@media (max-width: 575.98px) {
  .news-feature__title { font-size: 1.15rem; }
  .news-feature__body { padding: 18px; }
}

/* ---------- Pager ---------- */
.pager { display: flex; justify-content: center; gap: 8px; }
.pager__link {
  min-width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.82rem; font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.pager__link:hover { background: var(--surface-alt); transform: translateY(-2px); }
.pager__link.is-current { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.pager__link.is-disabled { opacity: 0.45; pointer-events: none; }

/* ---------- Detail pages ---------- */
.detail-hero {
  background: var(--surface);
  color: var(--ink);
  padding: 34px 0 18px;
}
.detail-hero__title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); max-width: 34ch; color: var(--ink); }
.detail-hero__meta { font-size: 0.8rem; color: var(--ink-soft); margin: 12px 0 0; }
.back-link { color: var(--ink-soft); font-size: 0.86rem; font-weight: 500; }
.back-link:hover { color: var(--brand-green-dark); }
.pill {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  padding: 5px 12px; border-radius: var(--radius-pill); color: #fff;
}
.pill-active { background: var(--brand-green); }
.pill-cat { background: var(--brand-purple); }
.pill-soft { background: rgba(255, 255, 255, 0.9); color: var(--brand-green-dark); }

.detail-figure { margin: 0; position: relative; }
.detail-figure img {
  width: 100%; aspect-ratio: 16 / 8; object-fit: cover;
  border-radius: 18px; box-shadow: var(--shadow-float);
}
.detail-figure__pill { position: absolute; top: 14px; left: 14px; }
.detail-figure__pills {
  position: absolute; top: 14px; inset-inline-start: 14px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.detail-title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.detail-block { margin-top: 30px; }
.block-title { font-size: 0.98rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.detail-facts--inline {
  display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 4px;
}
.detail-facts--inline li { border-bottom: 0; padding: 0; font-size: 0.7rem; color: var(--ink-soft); font-weight: 500; gap: 6px; }
.fund-note {
  display: flex; gap: 10px; align-items: flex-start;
  background: #f0fdf4; border: 1px solid rgba(156, 184, 39, 0.28);
  border-radius: 12px; padding: 12px 14px;
  font-size: 0.72rem; color: var(--ink-soft); line-height: 1.7;
}
.fund-note i { color: var(--brand-green-dark); font-size: 0.95rem; line-height: 1.4; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 26px;
}
.panel__title { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.body-copy { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.8; }
.body-heading { font-size: 0.92rem; font-weight: 600; margin-top: 18px; }
.article-body .body-copy:last-child { margin-bottom: 0; }
.note-copy { font-size: 0.75rem; color: var(--ink-soft); line-height: 1.7; }
.detail-facts { list-style: none; padding: 0; margin: 0 0 18px; }
.detail-facts li {
  font-size: 0.8rem; color: var(--ink); font-weight: 500;
  padding: 9px 0; border-bottom: 1px dashed var(--line);
  display: flex; align-items: center; gap: 10px;
}
.detail-facts li:last-child { border-bottom: 0; }
.detail-facts i { color: var(--brand-green-dark); }
.sticky-side { position: sticky; top: 92px; }
.fund-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--ink-soft); padding: 6px 0;
}
.fund-row strong { color: var(--ink); font-size: 0.95rem; }
.count-badge {
  font-size: 0.7rem; font-weight: 600; color: var(--brand-green-dark);
  background: rgba(156, 184, 39, 0.14); border-radius: var(--radius-pill); padding: 4px 10px;
}
.donor-list { max-height: 330px; overflow-y: auto; }
.donor-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.8rem;
}
.donor-list li:last-child { border-bottom: 0; }
.donor-list li.is-rank1,
.donor-list li.is-rank2,
.donor-list li.is-rank3 {
  border-bottom: 0; border-radius: 10px; padding: 9px 12px; margin-bottom: 6px;
}
.donor-list li.is-rank1 { background: #fefce8; }
.donor-list li.is-rank1 .donor__amount { color: #ca8a04; }
.donor-list li.is-rank1 .donor__avatar { background: #fff; color: #eab308; }
.donor-list li.is-rank2 { background: #f4f4f5; }
.donor-list li.is-rank2 .donor__amount { color: #71717a; }
.donor-list li.is-rank2 .donor__avatar { background: #fff; color: #a1a1aa; }
.donor-list li.is-rank3 { background: #fff7ed; }
.donor-list li.is-rank3 .donor__amount { color: #ea7c1a; }
.donor-list li.is-rank3 .donor__avatar { background: #fff; color: #ea7c1a; }
.donor__avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(156, 184, 39, 0.14); color: var(--brand-green-dark);
  display: grid; place-items: center; font-size: 0.9rem; flex: 0 0 auto;
}
.donor__name { flex: 1 1 auto; }
.donor__amount { font-weight: 700; color: var(--brand-green-dark); }

.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.impact-grid__item {
  position: relative; display: block; border-radius: 12px; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--surface-alt);
}
.impact-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.impact-grid__item:hover img { transform: scale(1.06); }
.impact-grid__item[data-lightbox]::after {
  content: "\F149"; font-family: "bootstrap-icons"; font-size: 1.15rem;
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; background: rgba(9, 14, 25, 0.38);
  opacity: 0; transition: opacity 0.25s ease;
}
.impact-grid__item[data-lightbox]:hover::after,
.impact-grid__item[data-lightbox]:focus-visible::after { opacity: 1; }
.impact-grid__more {
  display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 1.1rem;
}
.impact-grid__more:hover { color: var(--brand-green); }
.impact-grid__more::after { content: none !important; }
.impact-grid__hidden { display: none !important; }

.mini-list li { border-bottom: 1px solid var(--line); }
.mini-list li:last-child { border-bottom: 0; }
.mini-list a { display: flex; gap: 12px; padding: 12px 0; align-items: center; }
.mini-list img { width: 62px; height: 48px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.mini-list__title { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink); line-height: 1.4; }
.mini-list__date { display: block; font-size: 0.7rem; color: var(--ink-soft); margin-top: 4px; }
.mini-list a:hover .mini-list__title { color: var(--brand-green-dark); }

/* ---------- About page ---------- */
.quote-card {
  background: #fff; border-inline-start: 4px solid var(--brand-green);
  border-radius: 14px; box-shadow: var(--shadow-card);
  padding: 22px 24px; margin: 24px 0 0;
}
.quote-card blockquote { font-size: 0.95rem; font-weight: 600; margin: 0 0 8px; }
.quote-card figcaption { font-size: 0.75rem; color: var(--ink-soft); }
.impact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-card); padding: 26px; height: 100%; text-align: center;
}
.impact-card i { font-size: 1.9rem; color: var(--brand-green-dark); }
.impact-card h3 { font-size: 1.05rem; margin: 12px 0 6px; }
.impact-card p { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }
.timeline { position: relative; padding-inline-start: 26px; }
.timeline::before {
  content: ""; position: absolute; inset-block: 6px; inset-inline-start: 6px;
  width: 2px; background: var(--line);
}
.timeline__item { position: relative; padding-bottom: 26px; }
.timeline__item::before {
  content: ""; position: absolute; inset-inline-start: -26px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-green); box-shadow: 0 0 0 4px rgba(156, 184, 39, 0.18);
}
.timeline__year { font-size: 0.75rem; font-weight: 700; color: var(--brand-green-dark); }
.timeline__body h3 { font-size: 0.98rem; margin: 4px 0 6px; }
.timeline__body p { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-item { margin: 0; }
.gallery-item a {
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-card);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item a:hover img { transform: scale(1.07); }
.gallery-item__zoom {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(22, 35, 63, 0.45); color: #fff; font-size: 1.2rem;
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item a:hover .gallery-item__zoom,
.gallery-item a:focus-visible .gallery-item__zoom { opacity: 1; }

/* ---------- Lightbox slider ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1080;
  background: rgba(9, 14, 25, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(52px, 8vh, 80px) clamp(12px, 3vw, 32px);
  overflow: hidden;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 150px);
  width: auto; height: auto; object-fit: contain; display: block;
  border-radius: 14px; box-shadow: var(--shadow-float);
  animation: lb-in 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.lightbox__close,
.lightbox__nav {
  border: 0; background: rgba(255, 255, 255, 0.12); color: #fff;
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  display: grid; place-items: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--brand-green); transform: scale(1.08); }
.lightbox__close { position: absolute; top: 20px; inset-inline-end: 24px; }
.lightbox__nav--prev { margin-inline-end: 16px; }
.lightbox__nav--next { margin-inline-start: 16px; }
.lightbox__counter {
  position: absolute; bottom: 22px; inset-inline: 0; text-align: center;
  color: rgba(255, 255, 255, 0.75); font-size: 0.78rem; margin: 0;
}

/* ---------- Donate page (matches XD artboard) ---------- */
.donate-wrap { padding: 34px 0 70px; background: var(--surface); }
.donate-card {
  max-width: 920px; margin: 0 auto;
  background: #fff; border-radius: 20px;
  box-shadow: 0 18px 50px rgba(46, 47, 52, 0.1);
  overflow: hidden;
}
.donate-card__head {
  background: #384404; color: #fff;
  padding: 34px 40px 30px; text-align: center;
}
.donate-card__head h1 { color: #fff; font-size: 1.6rem; margin-bottom: 0.5rem; }
.donate-card__head p { color: rgba(255, 255, 255, 0.78); font-size: 0.86rem; margin: 0; }
.donate-card__body { padding: 30px 40px 40px; }
.donate-panel { background: #f8fafc; border-radius: 14px; padding: 18px 20px; }
.field-box {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 12px 18px 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field-box:focus-within { border-color: var(--brand-green); box-shadow: 0 0 0 3px rgba(156, 184, 39, 0.16); }
.field-box .form-label { font-size: 0.76rem; font-weight: 500; color: #606e80; margin-bottom: 2px; }
.field-box .form-control,
.field-box .form-select {
  border: 0; padding: 0; height: auto; box-shadow: none;
  font-size: 0.95rem; font-weight: 500; color: #181d25; background: transparent;
}
.field-box .form-control:focus,
.field-box .form-select:focus { box-shadow: none; }
.donate-panel.donate-summary .field-box { border-color: transparent; background: transparent; padding: 0; }
.donate-summary .field-box--right { text-align: right; }
.donate-summary .field-box--right .form-select,
.donate-summary .field-box--right .form-control { text-align: right; text-transform: uppercase; font-weight: 600; }
.donate-panel.donate-fields { background: #f8fafc; padding: 20px; }
.donate-panel.donate-fields .field-box { background: #fff; border-color: #e2e8f0; }
.donate-divider { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.donate-section-title { font-size: 1rem; font-weight: 600; color: #1e293b; margin-bottom: 14px; }
.btn-secure-pay {
  background: #8426b8; color: #fff; border: 0;
  width: 100%; border-radius: 16px; padding: 20px 24px;
  font-size: 1rem; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn-secure-pay:hover,
.btn-secure-pay:focus { background: #6f1f9c; color: #fff; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(132, 38, 184, 0.3); }
.donate-form .form-control:focus,
.donate-form .form-select:focus,
.filter-card .form-control:focus,
.filter-card .form-select:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(156, 184, 39, 0.18);
}
.amount-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.amount-chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: var(--radius-pill); padding: 5px 14px;
  font-size: 0.78rem; font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.amount-chip:hover { border-color: var(--brand-green); color: var(--brand-green-dark); }
.amount-chip.is-active { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.gateway-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gateway {
  background: #fff; border: 1px solid #9ba3b8; border-radius: 14px;
  min-height: 119px; padding: 18px 12px;
  display: grid; place-items: center; align-content: center; gap: 14px; cursor: pointer;
  font-size: 1rem; font-weight: 500; color: #9ba3b8; text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.gateway i { font-size: 1.75rem; line-height: 1; color: inherit; }
.gateway input { position: absolute; opacity: 0; pointer-events: none; }
.gateway:hover { transform: translateY(-2px); border-color: var(--brand-green); color: var(--brand-green-dark); }
.gateway:has(input:checked) {
  background: #f0fdf4; border-color: #dcfce7; color: var(--brand-green-dark);
}
.badge-iso-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border-radius: 8px; padding: 10px 14px;
  font-size: 0.72rem; font-weight: 600;
}

/* ---------- Terms ---------- */
.toc li { border-bottom: 1px solid var(--line); }
.toc li:last-child { border-bottom: 0; }
.toc a { display: block; padding: 10px 0; font-size: 0.82rem; color: var(--ink-soft); }
.toc a:hover { color: var(--brand-green-dark); }

/* ---------- Inner pages responsive ---------- */
@media (max-width: 991.98px) {
  .detail-figure { margin-top: 0; }
  .sticky-side { position: static; }
}
@media (max-width: 575.98px) {
  .page-hero { padding: 40px 0 54px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .gateway-row { grid-template-columns: 1fr; }
  .lightbox { padding: 62px 10px 68px; }
  .lightbox__close { top: 10px; inset-inline-end: 12px; width: 38px; height: 38px; flex-basis: 38px; }
  .lightbox__nav { width: 36px; height: 36px; flex-basis: 36px; }
  .lightbox__nav--prev { margin-inline-end: 6px; }
  .lightbox__nav--next { margin-inline-start: 6px; }
  .lightbox__img { max-height: calc(100vh - 140px); border-radius: 10px; }
  .lightbox__counter { bottom: 16px; }
}

/* ---------- Clickable card media + titles ---------- */
.card-media-link { display: block; }
.card-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.card-title-link:hover,
.card-title-link:focus { color: var(--brand-green-dark); }

/* ---------- News details page ---------- */
.news-detail { padding-top: 26px; }
.news-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
}
.news-mosaic { aspect-ratio: 1040 / 350; }
.news-mosaic .impact-grid__item { aspect-ratio: auto; height: 100%; border-radius: 14px; }
.news-mosaic__main {
  grid-column: 1; grid-row: 1 / span 2;
  box-shadow: var(--shadow-card);
}
.news-mosaic__chip { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; }
.news-mosaic__more span {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(9, 14, 25, 0.55); color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 600;
  transition: background 0.25s ease;
}
.news-mosaic__more::after { content: none !important; }
.news-mosaic__more:hover span { background: rgba(9, 14, 25, 0.68); }
.news-article__title {
  font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 600; color: var(--ink);
  line-height: 1.3; margin: 26px 0 12px;
}
.news-article__meta { font-size: 0.72rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 22px; }
.news-article__meta i { color: var(--brand-green); }
.news-article__body .body-copy { margin-bottom: 20px; }
.news-related__title { font-size: 1.15rem; font-weight: 600; color: var(--ink); margin: 40px 0 20px; }

@media (max-width: 767.98px) {
  .news-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; aspect-ratio: auto; }
  .news-mosaic__main { grid-column: 1 / span 2; grid-row: auto; }
  .news-mosaic .impact-grid__item { aspect-ratio: 4 / 3; height: auto; }
}

/* ---------- Gallery cards (XD) ---------- */
.gallery-hero { padding-bottom: 6px; }
.gcard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
@media (max-width: 991.98px) { .gcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 575.98px) { .gcard-grid { grid-template-columns: 1fr; gap: 18px; } }
.gcard {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.gcard__media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 16 / 11;
}
.gcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.gcard:hover .gcard__media img { transform: scale(1.06); }
.gcard__chip {
  position: absolute; top: 14px; inset-inline-start: 14px;
  background: var(--brand-green); color: #fff;
  font-size: 0.74rem; font-weight: 600;
  padding: 5px 16px; border-radius: var(--radius-pill);
  box-shadow: 0 6px 14px rgba(22, 35, 63, 0.18);
}
.gcard__body { padding: 18px 20px 22px; }
.gcard__date { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 8px; }
.gcard__title { font-size: 1.02rem; margin: 0; color: var(--ink); }

/* ---------- Gallery slider viewer (coverflow) ---------- */
.gviewer {
  position: fixed; inset: 0; z-index: 1090;
  background: #16233f;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.gviewer[hidden] { display: none; }
.gviewer__back {
  position: absolute; top: 26px; inset-inline-start: 30px; z-index: 4;
  border: 0; background: transparent; color: #fff;
  font-size: 0.95rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.gviewer__back:hover { opacity: 0.8; transform: translateX(-2px); }
.gviewer__stage {
  position: relative;
  width: 100%; height: min(82vh, 810px);
  display: flex; align-items: center; justify-content: center;
  perspective: 1600px;
}
.gviewer__slide {
  position: absolute; top: 50%; left: 50%;
  width: min(69vw, 1330px); aspect-ratio: 3 / 2;
  border-radius: 22px; overflow: hidden;
  transform: translate(-50%, -50%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.gviewer__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gviewer__slide[data-pos="0"] { z-index: 3; opacity: 1; cursor: default; }
.gviewer__slide[data-pos="-1"] { z-index: 2; opacity: 0.3; transform: translate(-89%, -50%) scale(0.88); }
.gviewer__slide[data-pos="1"] { z-index: 2; opacity: 0.3; transform: translate(-11%, -50%) scale(0.88); }
.gviewer__slide[data-pos="-2"] { z-index: 1; opacity: 0.14; transform: translate(-122%, -50%) scale(0.8); }
.gviewer__slide[data-pos="2"] { z-index: 1; opacity: 0.14; transform: translate(22%, -50%) scale(0.8); }
.gviewer__slide[data-pos="hidden"] { opacity: 0; z-index: 0; transform: translate(-50%, -50%) scale(0.7); pointer-events: none; }
.gviewer__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  border: 0; background: rgba(255, 255, 255, 0.1); color: #fff;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0; transition: opacity 0.25s ease, background-color 0.2s ease, transform 0.2s ease;
}
.gviewer:hover .gviewer__nav, .gviewer__nav:focus-visible { opacity: 1; }
.gviewer__nav:hover { background: var(--brand-green); transform: translateY(-50%) scale(1.08); }
.gviewer__nav--prev { inset-inline-start: 18px; }
.gviewer__nav--next { inset-inline-end: 18px; }
.gviewer__counter { display: none; }
@media (max-width: 767.98px) {
  .gviewer__slide { width: 84vw; aspect-ratio: 4 / 3; }
  .gviewer__slide[data-pos="-1"] { transform: translate(-96%, -50%) scale(0.84); }
  .gviewer__slide[data-pos="1"] { transform: translate(-4%, -50%) scale(0.84); }
  .gviewer__nav { width: 38px; height: 38px; opacity: 1; }
}
}

/* ---------- About page (redesign) ---------- */
.about-hero { position: relative; overflow: hidden; background: #0d3b26; margin-top: 0; }
.about-hero__media {
  position: absolute; inset: 0; background-size: cover; background-position: center right;
}
.about-hero__inner { position: relative; z-index: 2; padding: 130px 0 120px; max-width: 1180px; }
.about-hero__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 62px; background: #fff; border-radius: 12px; margin-bottom: 20px;
}
.about-hero__badge img { max-height: 42px; }
.about-hero__title { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.14; margin: 0; }
.about-hero__title span { color: var(--brand-green); }
.about-hero__rule { display: block; width: 150px; height: 4px; background: var(--brand-green); border-radius: 4px; margin: 18px 0 26px; }
.about-hero__quote { color: rgba(255,255,255,0.92); font-size: 1.05rem; line-height: 1.75; max-width: 46ch; margin: 0; }
@media (max-width: 991.98px) {
  .about-hero__media { background-position: center; }
  .about-hero__inner { padding: 100px 0 80px; }
  .about-hero::after { content: ""; position: absolute; inset: 0; background: rgba(10,45,29,0.72); z-index: 1; }
}

.mv-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow-card); padding: 26px 28px; }
.mv-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 14px; font-size: 1.05rem;
}
.mv-card__icon--purple { background: rgba(124, 58, 237, 0.12); color: #7c3aed; }
.mv-card__icon--green { background: rgba(156, 184, 39, 0.16); color: var(--brand-green-dark); }
.mv-card__title { font-size: 1.05rem; margin-bottom: 10px; }
.mv-card__text { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.75; }

.hope-wrap { background: #fff; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-card); }
.hope-video { position: relative; display: block; height: 100%; min-height: 320px; border-radius: 14px; overflow: hidden; }
.hope-video img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.hope-video:hover img { transform: scale(1.04); }
.hope-video__play {
  position: absolute; inset: 0; margin: auto; width: 66px; height: 66px;
  display: grid; place-items: center; border-radius: 50%;
  border: 3px solid #fff; color: #fff; font-size: 1.8rem;
  background: rgba(0,0,0,0.18); transition: transform 0.25s ease, background 0.25s ease;
}
.hope-video:hover .hope-video__play { transform: scale(1.08); background: rgba(0,0,0,0.35); }
.hope-body { padding: 8px 8px 4px 30px; }
.hope-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.hope-head .mv-card__icon { margin-bottom: 0; }
.hope-head .mv-card__icon--purple { background: #7c1fa2; color: #fff; }
.hope-title { font-size: 1.35rem; font-weight: 600; }
.hope-rule { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.hope-rule::before { content: ""; display: block; width: 88px; height: 3px; border-radius: 3px; background: #7c1fa2; }
.hope-rule::after { content: ""; display: block; width: 5px; height: 5px; border-radius: 50%; background: #7c1fa2; }
.hope-quote { font-size: 0.8rem; color: var(--ink-soft); margin: 0 0 14px; }
.hope-text { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 12px; }
.hope-chips {
  display: flex; flex-wrap: nowrap; gap: 0; background: #fbf9f4;
  border-radius: 14px; padding: 12px 6px; margin-top: 18px;
}
.hope-chip {
  display: flex; align-items: center; gap: 10px; flex: 1 1 0; padding: 2px 14px;
  font-size: 0.74rem; color: var(--ink-soft); font-weight: 600; line-height: 1.35;
}
.hope-chip + .hope-chip { border-left: 1px solid rgba(22, 35, 63, 0.12); }
@media (max-width: 767.98px) {
  .hope-body { padding: 18px 8px 4px; }
  .hope-chips { flex-wrap: wrap; }
  .hope-chip + .hope-chip { border-left: 0; }
}
.hope-chip img { width: 34px; height: 34px; object-fit: contain; }

.footprint-title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; margin: 0; color: var(--ink); }
.footprint-cards .impact-card {
  border: 0; border-radius: 20px; padding: 30px 22px;
  box-shadow: 0 14px 34px rgba(22, 35, 63, 0.08);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.footprint-cards .impact-card h3 {
  color: var(--brand-green); font-family: var(--font-body);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 700; margin: 0; line-height: 1.2;
}
.footprint-cards .impact-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; font-family: var(--font-body); }
.timeline-rows { max-width: 760px; display: grid; gap: 18px; }
.timeline-row { display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: start; }
.timeline-row h3 { font-size: 0.95rem; margin: 2px 0 6px; }
.timeline-row p { font-size: 0.82rem; color: var(--ink-soft); margin: 0; }
.year-pill {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; color: #fff; font-size: 0.78rem; font-weight: 700; padding: 6px 12px;
}
.year-pill--purple { background: #7c3aed; }
.year-pill--green { background: #7d9b18; }

/* ================= Privacy & Terms page ================= */
.terms-section { padding-top: 132px; padding-bottom: 70px; }
.terms-card {
  max-width: 1080px; background: #fff; border-radius: 22px;
  padding: 46px clamp(22px, 4vw, 52px) 60px;
  box-shadow: 0 18px 46px rgba(22, 35, 63, 0.07);
}
.terms-card__head { text-align: center; padding-bottom: 30px; border-bottom: 1px solid rgba(22, 35, 63, 0.08); }
.terms-card__title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.terms-card__sub { font-size: 0.95rem; color: rgba(22, 35, 63, 0.45); margin: 0; }
.terms-card__body { padding-top: 34px; }
.terms-card__h2 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; color: var(--ink); margin: 0 0 18px; }
.terms-card__h2 + .terms-card__text { margin-bottom: 34px; }
.terms-card__text { font-size: 1rem; line-height: 1.85; color: var(--ink); margin: 0; }
.terms-card__text--muted { color: var(--ink-soft); margin-bottom: 0; }
@media (max-width: 767.98px) { .terms-section { padding-top: 108px; } }
