/* ==========================================================================
   Kafeel Foundation — Main stylesheet
   Order: 1) Tokens  2) Base  3) Layout  4) Header  5) Components
          6) Sections  7) Footer  8) Utilities
   Responsive rules live in assets/css/responsive.css
   ========================================================================== */

/* 1) Design tokens
   ========================================================================== */
:root {
  /* Brand — taken from the logo (navy body, green stars) */
  --navy-900: #061240;
  --navy-800: #08194f;
  --navy: #0a1c60;
  --navy-600: #1b2f84;
  --navy-50: #eef1fa;

  --green-700: #16803f;
  --green: #1fa055;
  --green-400: #34bd6d;
  --green-50: #e9f6ef;

  /* Neutrals */
  --paper: #ffffff;
  --sand: #f4f7f9;
  --sand-deep: #e9eef3;
  --line: #e0e7ee;
  --ink: #0d1730;
  --ink-muted: #5b6580;

  /* Type */
  --font-base: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.4rem, 1.5rem + 3.4vw, 4.15rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
  --fs-h4: 1.125rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.75rem;

  /* Space & shape */
  --container: 1200px;
  --gutter: 24px;
  --section-y: clamp(64px, 8vw, 110px);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Elevation */
  --shadow-sm: 0 2px 10px rgba(10, 28, 96, 0.06);
  --shadow: 0 14px 40px rgba(10, 28, 96, 0.10);
  --shadow-lg: 0 26px 70px rgba(10, 28, 96, 0.16);

  --transition: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2) Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.6em;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.025em;
  color: var(--navy);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--green-700);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--navy);
}

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

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.15rem;
}

li {
  margin-bottom: 0.4em;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

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

::selection {
  background: var(--green);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  color: #fff;
}

/* 3) Layout helpers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 860px;
}

.section {
  padding-block: var(--section-y);
}

.section--sand {
  background: var(--sand);
}

.section--tint {
  background: var(--green-50);
}

.section--navy {
  background: var(--navy);
  color: #d8e0f2;
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: #fff;
}

.grid {
  display: grid;
  gap: 28px;
}

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

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

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}

.split--sidebar {
  grid-template-columns: 1.9fr 1fr;
  align-items: start;
}

/* 4) Header
   ========================================================================== */
.topbar {
  background: var(--navy-900);
  color: #b9c4e2;
  font-size: 0.875rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar__list li {
  margin: 0;
}

.topbar a {
  color: #b9c4e2;
}

.topbar a:hover {
  color: var(--green-400);
}

.topbar__socials {
  display: flex;
  gap: 14px;
  align-items: center;
}

.topbar__socials a {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.topbar__socials a:hover {
  background: var(--green);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}

.site-header.is-stuck {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

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

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list li {
  margin: 0;
}

.nav__list > li > a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.nav__list > li > a:hover {
  background: var(--green-50);
  color: var(--green-700);
}

.nav__list > li > a.is-active {
  color: var(--green-700);
  background: var(--green-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), top var(--transition);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav__close,
.nav__mobile-cta {
  display: none;
}

/* 5) Components
   ========================================================================== */

/* 5.1 Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 160, 85, 0.28);
}

.btn--primary:hover {
  background: var(--green-700);
  color: #fff;
}

.btn--navy {
  background: var(--navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--navy-600);
  color: #fff;
}

.btn--ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--navy);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--navy);
}

.btn--light:hover {
  background: var(--green-50);
  color: var(--green-700);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.btn--youtube {
  border-color: #ff0000;
  color: #ff0000;
  background: transparent;
}

.btn--youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
  color: #fff;
}

.btn--youtube .icon {
  color: currentColor;
}

/* 5.2 Eyebrow + section heads */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-700);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--green);
}

.section--navy .eyebrow {
  color: var(--green-400);
}

.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head p {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.section--navy .section-head p {
  color: #b9c4e2;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

.section-head--split > div {
  max-width: 620px;
}

/* 5.3 Signature: the ribbon underline (echoes the logo swoosh) */
.ribbon-word {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.ribbon-word svg {
  position: absolute;
  left: 0;
  bottom: -0.24em;
  width: 100%;
  height: 0.34em;
  overflow: visible;
}

.ribbon-word svg path {
  fill: none;
  stroke: var(--green);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: ribbon-draw 1.4s 0.35s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes ribbon-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* 5.4 Cards */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-50);
}

.card__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.card:hover .card__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.card__media img {
  transform: scale(1.06);
}

.card__body {
  padding: 26px;
}

.card__body h3 {
  margin-bottom: 10px;
}

.card__body h3 a,
.mini-post h4 a,
.timeline h3 a {
  color: var(--navy);
}

.card__body h3 a:hover,
.mini-post h4 a:hover {
  color: var(--green-700);
}

.card__body p {
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
}
.card__foot > a {
    border: 1px solid;
    padding: 4px 15px;
    border-radius: 30px;
}
.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag--green {
  background: var(--green);
  color: #fff;
}

.tag--navy {
  background: var(--navy);
  color: #fff;
}

/* 5.5 Progress bar (causes) */
.progress {
  margin-top: 18px;
}

.progress__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 8px;
}

.progress__meta strong {
  color: var(--navy);
}

.progress__track {
  height: 8px;
  border-radius: 999px;
  background: var(--sand-deep);
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--green-400));
  transition: width 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 5.6 Icon boxes */
.icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  color: var(--green-700);
  margin-bottom: 18px;
}

.icon-box svg {
  width: 26px;
  height: 26px;
}

.icon-box--navy {
  background: var(--navy-50);
  color: var(--navy);
}

.section--navy .icon-box {
  background: rgba(255, 255, 255, 0.08);
  color: var(--green-400);
}

/* 5.7 Stats */
.stat {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.stat__num {
  display: block;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.85rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.section--navy .stat {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.section--navy .stat__num {
  color: #fff;
}

.section--navy .stat__label {
  color: #b9c4e2;
}

/* 5.8 Steps */
.step {
  position: relative;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step__index {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--green-700);
}

.step h3 {
  margin: 12px 0 8px;
}

.step p {
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

/* 5.9 Quote / testimonial */
.quote {
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
}

.quote p {
  font-size: 1.05rem;
  color: var(--ink);
}

.quote__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: var(--fs-small);
  color: var(--ink-muted);
}

.quote__by strong {
  color: var(--navy);
}

/* 5.10 Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--navy);
  color: #d8e0f2;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(31, 160, 85, 0.5), transparent 62%);
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.page-hero p {
  max-width: 620px;
  color: #b9c4e2;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: #93a2c9;
  position: relative;
  z-index: 1;
}

.breadcrumb li {
  margin: 0;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumb a {
  color: var(--green-400);
}

/* 5.11 Forms */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 160, 85, 0.14);
}

.field__hint {
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.form-note {
  margin-top: 14px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.form-status {
  display: none;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  border: 1px solid rgba(31, 160, 85, 0.3);
  color: var(--green-700);
  font-size: var(--fs-small);
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

/* 5.12 Accordion */
.accordion__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
}

.accordion__btn::after {
  content: "\f067";
  flex: 0 0 auto;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--green);
  transition: transform var(--transition);
}

.accordion__btn[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.accordion__panel {
  display: none;
  padding: 0 22px 22px;
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

.accordion__panel.is-open {
  display: block;
}

/* 5.13 Filter chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  padding: 0;
  list-style: none;
}

.chips li {
  margin: 0;
}

.chip {
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}

.chip:hover {
  border-color: var(--green);
  color: var(--green-700);
}

.chip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* 5.14 Donation method card */
.method {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.method:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.method__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.method__badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  flex: 0 0 auto;
}

.method__badge--green {
  background: var(--green);
}

.method__head h3 {
  margin: 0;
  font-size: 1.15rem;
}

.method__head span {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.detail-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  margin: 0;
  font-size: var(--fs-small);
}

.detail-list li:last-child {
  border-bottom: 0;
}

.detail-list dt,
.detail-list .k {
  color: var(--ink-muted);
  font-weight: 600;
  flex: 0 0 auto;
}

.detail-list .v {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
  word-break: break-word;
}

.copy-btn {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--green-700);
  cursor: pointer;
  transition: all var(--transition);
}

.copy-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.copy-btn svg {
  width: 15px;
  height: 15px;
}

.copy-btn.is-copied {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.qr {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}

.qr img {
  width: 104px;
  height: 104px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 6px;
  background: #fff;
}

.qr p {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* 5.15 Amount picker */
.amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.amount {
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}

.amount:hover {
  border-color: var(--green);
}

.amount.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.impact-note {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  border: 1px solid rgba(31, 160, 85, 0.24);
  font-size: var(--fs-small);
  color: var(--green-700);
  font-weight: 600;
}

/* 5.16 Info tiles (contact) */
.info-tile {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 100%;
}

.info-tile h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.info-tile p,
.info-tile a {
  font-size: var(--fs-small);
  color: var(--ink-muted);
}

.info-tile a:hover {
  color: var(--green-700);
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
  box-shadow: var(--shadow-sm);
}

.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* 5.17 Blog */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-body h2 {
  margin-top: 2em;
}

.post-body h3 {
  margin-top: 1.6em;
}

.post-body blockquote {
  margin: 2em 0;
  padding: 22px 26px;
  border-left: 4px solid var(--green);
  background: var(--sand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 500;
}

.sidebar-block {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.sidebar-block h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  font-size: var(--fs-small);
}

.link-list li:last-child {
  border-bottom: 0;
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
  font-weight: 600;
}

.link-list a:hover {
  color: var(--green-700);
}

.mini-post {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mini-post:last-child {
  border-bottom: 0;
}

.mini-post img {
  width: 74px;
  height: 62px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex: 0 0 auto;
}

.mini-post h4 {
  font-size: 0.9375rem;
  margin: 0 0 4px;
  line-height: 1.4;
}

.mini-post span {
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
}

.pagination li {
  margin: 0;
}

.pagination a {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9375rem;
}

.pagination a:hover,
.pagination a.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* 5.18 Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery a {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

.gallery a:hover img {
  transform: scale(1.08);
}

/* 5.19 Floating helpers */
.float-stack {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.float-btn:hover {
  transform: translateY(-3px);
  color: #fff;
}

.float-btn--wa {
  background: #25d366;
}

.float-btn--top {
  background: var(--navy);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

.float-btn--top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.float-btn svg {
  width: 24px;
  height: 24px;
}

/* 5.20 Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* 6) Sections
   ========================================================================== */

/* 6.1 Home hero */
.hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 88px) clamp(44px, 5vw, 72px);
  background:
    radial-gradient(900px 460px at 88% -10%, rgba(31, 160, 85, 0.10), transparent 70%),
    linear-gradient(180deg, #fff 0%, var(--sand) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
}

.hero h1 {
  font-size: var(--fs-display);
  margin-bottom: 22px;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
  max-width: 560px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__trust svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.hero__visual {
  position: relative;
}

.hero__visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  left: -22px;
  bottom: 34px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}

.hero__badge strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.hero__badge span {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.hero + .section {
  padding-top: clamp(36px, 4vw, 56px);
}

/* 6.2 CTA band */
.cta-band {
  position: relative;
  padding-block: clamp(52px, 6vw, 84px);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-800) 55%, var(--green-700) 160%);
  color: #d8e0f2;
  overflow: hidden;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-band p {
  max-width: 560px;
  color: #b9c4e2;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex: 0 0 auto;
}

/* 6.4 Feature list with checks */
.check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  color: var(--ink-muted);
  font-size: var(--fs-small);
}

.check-list li::before {
  content: "\f058";
  position: absolute;
  left: 0;
  top: 2px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 1rem;
  color: var(--green);
}

.section--navy .check-list li {
  color: #b9c4e2;
}

/* 6.5 Timeline */
.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 34px;
  list-style: none;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  padding-bottom: 34px;
  margin: 0;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -43px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--green);
}

.timeline h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline time {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}

.timeline p {
  color: var(--ink-muted);
  font-size: var(--fs-small);
  margin-top: 6px;
}

/* 6.6 Allocation bars (transparency) */
.alloc {
  margin-bottom: 22px;
}

.alloc__head {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.section--navy .alloc__head {
  color: #fff;
}

.section--navy .progress__track {
  background: rgba(255, 255, 255, 0.14);
}

/* 6.7 Team */
.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.team-card__body {
  padding: 22px;
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.team-card span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green-700);
}

/* 7) Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: #a9b6d8;
  padding-top: clamp(56px, 7vw, 88px);
  font-size: var(--fs-small);
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand img {
  height: 58px;
  width: auto;
  max-width: 100%;
  margin-bottom: 20px;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #a9b6d8;
}

.footer-links a:hover {
  color: var(--green-400);
  padding-left: 4px;
}

.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--green-400);
  margin-top: 3px;
}

.footer-contact a {
  color: #a9b6d8;
}

.footer-contact a:hover {
  color: var(--green-400);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: #d8e0f2;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.newsletter {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.newsletter input {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
}

.newsletter input::placeholder {
  color: #8595bd;
}

.newsletter input:focus {
  outline: none;
  border-color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: #8595bd;
}

.footer-bottom a {
  color: #a9b6d8;
}

/* 8) Utilities
   ========================================================================== */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mt-24 {
  margin-top: 24px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-24 {
  margin-bottom: 24px;
}

.muted {
  color: var(--ink-muted);
}

.lead {
  font-size: 1.125rem;
  color: var(--ink-muted);
}

.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;
}

.is-hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ribbon-word svg path {
    stroke-dashoffset: 0;
  }
}

/* 9) Icon font sizing (Font Awesome)
   ========================================================================== */
.icon-box i {
  font-size: 22px;
}

.method__badge i {
  font-size: 18px;
}

.topbar__socials i,
.footer-social i {
  font-size: 15px;
}

.topbar__list i {
  margin-right: 6px;
  color: var(--green-400);
}

.hero__trust i {
  color: var(--green);
  font-size: 16px;
}

.footer-contact i {
  width: 18px;
  margin-top: 5px;
  flex: 0 0 auto;
  color: var(--green-400);
  text-align: center;
}

.copy-btn i {
  font-size: 13px;
}

.float-btn i {
  font-size: 20px;
}

.post-meta i,
.quote__by i {
  color: var(--green);
}

.card__foot a i,
.btn i {
  font-size: 0.9em;
}

.card__body > a i {
  margin-left: 4px;
  font-size: 0.85em;
}

code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--navy-50);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  color: var(--navy);
}

/* 10) Donate page: panels, amount picker, payment tabs
   ========================================================================== */
.page-hero--center {
  text-align: center;
}

.page-hero--center p {
  margin-inline: auto;
}

.page-hero--center .breadcrumb {
  justify-content: center;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(22px, 3vw, 36px);
  margin-bottom: 26px;
}

.panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.panel__head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.step-num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.donate-cols {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 26px;
  align-items: start;
  margin-bottom: 26px;
}

.donate-cols .panel {
  height: 100%;
  margin-bottom: 0;
}

/* Frequency toggle */
.freq-toggle {
  display: inline-flex;
  padding: 5px;
  margin: 0 auto 26px;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--line);
}

.donate-form .freq-toggle {
  display: flex;
  width: fit-content;
}

.freq-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.freq-toggle label {
  padding: 10px 28px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.freq-toggle input:checked + label {
  background: var(--navy);
  color: #fff;
}

.freq-toggle input:focus-visible + label {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* Amount grid */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.amount-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amount-grid label {
  display: block;
  padding: 16px 10px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}

.amount-grid label:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.amount-grid input:checked + label {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 160, 85, 0.24);
}

.amount-grid input:focus-visible + label {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.custom-amount {
  max-width: 320px;
  margin: 16px auto 0;
}

.custom-amount input {
  width: 100%;
  padding: 14px 16px;
  text-align: center;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.custom-amount input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(31, 160, 85, 0.14);
}

/* Payment method tabs */
.pay-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.pay-tabs li {
  margin: 0;
}

.pay-tab {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition);
}

.pay-tab:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.pay-tab.is-active {
  border-color: var(--green);
  background: var(--green-50);
  color: var(--green-700);
}

.pay-tab__logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.tab-pane {
  display: none;
}

.tab-pane.is-active {
  display: block;
  animation: fade-in 0.3s ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.pay-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sand);
  margin-bottom: 16px;
}

.pay-card:last-child {
  margin-bottom: 0;
}

.pay-card__label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.acc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--sand-deep);
}

.acc-row:last-of-type {
  border-bottom: 0;
}

.acc-row .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.acc-row .value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  word-break: break-word;
}

.fs-note {
  margin: 14px 0 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.qr-box {
  width: 190px;
  text-align: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.qr-box img {
  width: 150px;
  height: 150px;
  margin: 0 auto 10px;
}

.qr-box span {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.qr-box em {
  color: var(--green-700);
  font-style: normal;
  font-weight: 600;
}

/* Confirm step */
.confirm-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 26px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.upload-box {
  position: relative;
  padding: 28px 22px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--sand);
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
}

.upload-box:hover,
.upload-box.has-file {
  border-color: var(--green);
  background: var(--green-50);
}

.upload-box i {
  font-size: 30px;
  color: var(--green);
}

.upload-box p {
  margin: 12px 0;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--navy);
}

.upload-box input[type="file"] {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 auto 10px;
  font-size: 0.8125rem;
  text-align: center;
}

.upload-box input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.upload-box input[type="file"]::file-selector-button:hover {
  border-color: var(--green);
  color: var(--green-700);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-small);
  color: var(--ink-muted);
  cursor: pointer;
}

.checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}

.trust-badge i {
  color: var(--green);
}

/* 11) Gallery: video cards + lightbox
   ========================================================================== */
.video-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  color: var(--navy);
}

.video-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.video-card__play {
  position: absolute;
  top: calc(50% - 46px);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green-700);
  font-size: 20px;
  transition: transform var(--transition), background var(--transition);
}

.video-card:hover .video-card__play {
  background: var(--green);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}

.video-card__body {
  padding: 18px 20px;
}

.video-card__body h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.video-card__body span {
  font-size: 0.8125rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  margin: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 84px clamp(76px, 12vw, 140px) 48px;
  background: rgba(6, 18, 64, 0.94);
}

.lightbox__toolbar {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.lightbox__tool {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.lightbox__tool:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.lightbox__tool.is-copied {
  background: var(--green);
  border-color: var(--green);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 74vh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.video-modal .lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}

.video-modal .lightbox__close:hover {
  background: var(--green);
  border-color: var(--green);
}

/* 12) Typography weight scale
   Only titles carry weight. Everything else stays at 400/500 so the page
   reads by size and colour, not by boldness.
   ========================================================================== */
h1,
h2 {
  font-weight: 700;
}

h3,
h4,
h5,
h6 {
  font-weight: 600;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.9375rem;
}

.btn,
.eyebrow,
.tag,
.step-num,
.stat__num,
.pay-card__label,
.method__badge {
  font-weight: 600;
}

.nav__list > li > a,
.topbar,
.field label,
.field-label,
.checkbox,
.chip,
.amount-grid label,
.freq-toggle label,
.pay-tab,
.acc-row .label,
.acc-row .value,
.detail-list .k,
.detail-list .v,
.progress__meta,
.progress__meta strong,
.alloc__head,
.stat__label,
.step__index,
.post-meta,
.quote__by,
.quote__by strong,
.link-list a,
.footer-links a,
.footer-bottom,
.trust-badge,
.timeline time,
.team-card span,
.video-card__body span,
.pagination a,
.hero__trust,
.hero__badge span,
.mini-post h4,
.fs-note,
.newsletter input {
  font-weight: 500;
}

.post-body p strong,
.pay-card__details strong {
  font-weight: 600;
}

/* 13) Top bar switchers (language + currency)
   ========================================================================== */
.topbar__tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.switcher select {
  appearance: none;
  padding: 4px 20px 4px 4px;
  border: 0;
  border-radius: 6px;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9c4e2' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 2px center / 14px;
  color: #b9c4e2;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
}

.switcher select:hover {
  color: #fff;
}

.switcher select option {
  color: var(--ink);
  background: #fff;
}

.currency-hint {
  display: block;
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* 14) Footer link hover
   ========================================================================== */
.footer-links a,
.footer-contact a,
.footer-bottom a {
  position: relative;
  display: inline-block;
  transition: color var(--transition), transform var(--transition);
}

.footer-links a::after,
.footer-contact a::after,
.footer-bottom a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--green-400);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.footer-links a:hover::after,
.footer-contact a:hover::after,
.footer-bottom a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 0;
  transform: translateX(3px);
}

.footer-social a {
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

/* 15) Icon sizing (Font Awesome)
   ========================================================================== */
.icon-box i,
.method__badge i {
  font-size: 22px;
}

.btn i,
.share-row i,
.trust-badge i,
.info-tile i {
  font-size: 0.95em;
}

.topbar__socials i,
.footer-social i {
  font-size: 15px;
}

.topbar__list i,
.hero__trust i,
.post-meta i,
.quote__by i,
.trust-badge i,
.info-tile i {
  color: var(--green);
}

.topbar__list i,
.footer-contact i {
  color: var(--green-400);
}

.footer-contact i {
  width: 18px;
  margin-top: 4px;
  text-align: center;
}

.copy-btn i {
  font-size: 13px;
}

.float-btn i {
  font-size: 18px;
  color: inherit;
}

.upload-box i {
  font-size: 30px;
  color: var(--green);
}

.btn--youtube i {
  color: currentColor;
}

/* 16) Detail pages (cause + project)
   ========================================================================== */
.detail-layout {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.detail-hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
}

.detail-body h2 {
  margin-top: 1.8em;
  font-size: 1.6rem;
}

.detail-body h2:first-child {
  margin-top: 0;
}

.detail-body h3 {
  margin-top: 1.5em;
  font-size: 1.2rem;
}

.detail-body h4 {
  margin-top: 1.2em;
  font-size: 1.0625rem;
}

.detail-body p,
.detail-body li {
  color: var(--ink-muted);
}

.sticky-aside {
  position: sticky;
  top: 104px;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 0;
  font-size: var(--fs-small);
}

.fact-table th,
.fact-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.fact-table th {
  background: var(--sand);
  color: var(--navy);
  font-weight: 600;
  width: 45%;
}

.fact-table td {
  color: var(--ink-muted);
}

.share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--ink-muted);
}

.share-row a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--navy);
  transition: all var(--transition);
}

.share-row a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* 17) Lightbox slider + video modal
   ========================================================================== */
.lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(1080px, 100%);
  max-height: 74vh;
  width: auto;
  overflow: hidden;
  touch-action: none;
}

.lightbox__stage img {
  transform-origin: center center;
  transition: transform 0.25s ease;
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

.lightbox__stage.is-zoomed img {
  cursor: grab;
}

.lightbox__stage.is-panning img {
  cursor: grabbing;
  transition: none;
}

.icon-sharp {
  width: 20px;
  height: 20px;
  display: block;
}

.lightbox__tool .icon-sharp,
.lightbox__nav .icon-sharp {
  color: #fff;
}

.lightbox figcaption {
  margin-top: 18px;
  max-width: 70ch;
  text-align: center;
  font-size: var(--fs-small);
  color: #b9c4e2;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox__nav:hover {
  background: var(--green);
  border-color: var(--green);
}

.lightbox__nav {
  backdrop-filter: blur(6px);
}

.lightbox__nav--prev {
  left: clamp(12px, 3vw, 46px);
}

.lightbox__nav--next {
  right: clamp(12px, 3vw, 46px);
}

.lightbox__count {
  font-size: 0.8125rem;
  color: #b9c4e2;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background: rgba(6, 18, 64, 0.92);
}

.video-modal.is-open {
  display: flex;
}

.video-modal__frame {
  position: relative;
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}

.video-modal__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__hint {
  display: grid;
  place-content: center;
  gap: 8px;
  height: 100%;
  padding: 30px;
  text-align: center;
  color: #d8e0f2;
  font-size: var(--fs-small);
}

.video-modal__hint code {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* 18) Payment-link request block (Payoneer / PayPal)
   ========================================================================== */
.pay-card--stack {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.link-request {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.link-request h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.link-request .fs-note {
  margin-top: 0;
  margin-bottom: 18px;
}

.link-request .field {
  margin-bottom: 14px;
}

.link-request .btn {
  margin-top: 6px;
}

.link-request .btn + .fs-note {
  margin-top: 16px;
}


/* 19) Donors strip (about page)
   ========================================================================== */
.donor-card {
  text-align: center;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}

.donor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.donor-card img {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.donor-card h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.donor-card span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.donor-card span .icon {
  width: 14px;
  height: 14px;
  color: var(--green);
}

/* 20) Portraits in quotes
   ========================================================================== */
.quote__by img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Payment link request, rendered inside its payment tab
   -------------------------------------------------------------------------- */

.link-request-inline {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.link-request-inline .field { margin-bottom: 14px; }
.link-request-inline .fs-note { margin-top: 10px; }

/* Both region controls share a slot; JS shows one and disables the other. */
.link-request-inline [data-region-select][hidden],
.link-request-inline [data-region-text][hidden] { display: none !important; }
