/* ============================================
   ORPHELINAT FAMILLE GLORIEUSE
   Refined design system
   Brand: #469620 green | #FDD65B gold | #F2F1EF cream
   Font: Plus Jakarta Sans
   ============================================ */

:root {
  --brand-green: #469620;
  --brand-green-dark: #3A7E1A;
  --brand-green-darker: #2A5C12;
  --brand-green-soft: #EAF4E1;
  --brand-green-softer: #F4F9EE;
  --brand-gold: #FDD65B;
  --brand-gold-light: #FFE38A;
  --brand-gold-soft: #FEF6D8;
  --brand-cream: #F2F1EF;

  --bg: #FBFAF7;
  --bg-soft: #F4F2EE;
  --bg-elev: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #FAFAF8;
  --border: #ECE9E2;
  --border-strong: #D9D5CB;

  --text: #1A2418;
  --text-muted: #5B645A;
  --text-soft: #8A8F86;

  --primary: var(--brand-green);
  --primary-hover: var(--brand-green-dark);
  --accent: var(--brand-gold);
  --accent-hover: #F9CB3D;

  --shadow-xs: 0 1px 2px rgba(26,36,24,0.04);
  --shadow-sm: 0 1px 3px rgba(26,36,24,0.06), 0 1px 2px rgba(26,36,24,0.04);
  --shadow-md: 0 4px 16px rgba(26,36,24,0.06), 0 2px 4px rgba(26,36,24,0.04);
  --shadow-lg: 0 16px 40px -10px rgba(26,36,24,0.14), 0 6px 14px rgba(26,36,24,0.05);
  --shadow-xl: 0 32px 80px -20px rgba(26,36,24,0.22);
  --shadow-green: 0 14px 32px -10px rgba(70,150,32,0.45);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --max: 1240px;
  --max-narrow: 920px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);

  --transition: 280ms cubic-bezier(.4,0,.2,1);

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html[data-theme="dark"] {
  --bg: #0E120F;
  --bg-soft: #161B17;
  --bg-elev: #1A201C;
  --surface: #1A201C;
  --surface-2: #1F2622;
  --border: #28302A;
  --border-strong: #3A4439;

  --text: #F1EFEA;
  --text-muted: #B3BAB1;
  --text-soft: #7A8079;

  --primary: #7CD448;
  --primary-hover: #92E462;
  --brand-green-soft: #1C271A;
  --brand-green-softer: #181F17;
  --brand-gold-soft: #2A2417;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.5);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.55);
  --shadow-lg: 0 16px 40px -10px rgba(0,0,0,0.75);
  --shadow-xl: 0 32px 80px -20px rgba(0,0,0,0.85);
  --shadow-green: 0 14px 32px -10px rgba(124,212,72,0.35);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition), color var(--transition);
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--brand-gold); color: #1A2418; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.022em;
  color: var(--text);
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1rem; font-weight: 600; }

p {
  font-size: clamp(0.96rem, 1.05vw, 1.02rem);
  color: var(--text-muted);
  line-height: 1.7;
}

.lead {
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }

/* LAYOUT */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container-narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.section-head {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head h2 .text-primary { color: var(--primary); }
.section-head p { max-width: 580px; }
.section-head.center p { margin: 0 auto; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.92rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-align: center;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}
.btn-accent { background: var(--accent); color: #1A2418; box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--primary); padding: 0.5rem 0; position: relative; }
.btn-ghost::after {
  content: ""; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 1.5px; background: var(--primary);
  transform: scaleX(0.25); transform-origin: left;
  transition: transform var(--transition);
}
.btn-ghost:hover::after { transform: scaleX(1); }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.83rem; }
.btn-lg { padding: 1.05rem 1.95rem; font-size: 1rem; }

/* NAVIGATION */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.9rem 0;
  transition: all var(--transition);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 0.55rem 0;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: var(--border);
}
/* On hero page (has .hero-nav class), nav text/links are white */
.nav.hero-nav:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.92); }
.nav.hero-nav:not(.scrolled) .nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.nav.hero-nav:not(.scrolled) .nav-link.active { color: var(--brand-gold); }
.nav.hero-nav:not(.scrolled) .nav-link.active::after { background: var(--brand-gold); }
.nav.hero-nav:not(.scrolled) .icon-btn {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}
.nav.hero-nav:not(.scrolled) .icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}
.nav.hero-nav:not(.scrolled) .menu-toggle {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.nav.hero-nav:not(.scrolled) .menu-toggle span,
.nav.hero-nav:not(.scrolled) .menu-toggle span::before,
.nav.hero-nav:not(.scrolled) .menu-toggle span::after { background: white; }
.nav.hero-nav:not(.scrolled) .lang-switch {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}
.nav.hero-nav:not(.scrolled) .lang-btn { color: rgba(255, 255, 255, 0.85); }
.nav.hero-nav:not(.scrolled) .lang-btn.active { background: var(--brand-gold); color: #1A2418; }
.nav.hero-nav:not(.scrolled) .brand-logo.logo-light { display: none; }
.nav.hero-nav:not(.scrolled) .brand-logo.logo-dark { display: block; }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  transition: opacity var(--transition);
}
.brand:hover { opacity: 0.85; }
.brand-logo {
  height: 52px;
  width: auto;
  transition: opacity var(--transition), height var(--transition);
}
.nav.scrolled .brand-logo { height: 46px; }
.brand-logo.logo-dark { display: none; }
html[data-theme="dark"] .brand-logo.logo-light { display: none; }
html[data-theme="dark"] .brand-logo.logo-dark { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}
.nav-link {
  padding: 0.55rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link:hover { color: var(--text); background: var(--bg-soft); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after {
  content: ""; position: absolute;
  bottom: 0.18rem; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { cursor: pointer; user-select: none; }
.nav-dropdown-trigger .chev { width: 12px; height: 12px; transition: transform var(--transition); }
.nav-dropdown.open .nav-dropdown-trigger .chev { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.55rem;
  min-width: 240px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu li { display: block; }
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 180ms;
}
.nav-dropdown-menu a:hover {
  background: var(--brand-green-soft);
  color: var(--primary);
}
.nav-dropdown-menu a.active {
  background: var(--brand-green-soft);
  color: var(--primary);
  font-weight: 600;
}
.nav-dropdown-menu .dd-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--brand-green-soft);
  color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 180ms;
}
.nav-dropdown-menu .dd-icon svg { width: 16px; height: 16px; }
.nav-dropdown-menu a:hover .dd-icon,
.nav-dropdown-menu a.active .dd-icon {
  background: var(--primary);
  color: white;
}
.nav-dropdown-menu strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.nav-dropdown-menu small {
  font-size: 0.74rem;
  color: var(--text-soft);
  line-height: 1.2;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  transition: all var(--transition);
  border: 1.5px solid var(--border);
  background: var(--bg);
}
.icon-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--bg-soft);
}
.icon-btn svg { width: 18px; height: 18px; }

/* MODERN THEME TOGGLE — pill switch */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle-track {
  position: relative;
  width: 58px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-gold-soft) 0%, var(--brand-gold) 100%);
  border: 1.5px solid color-mix(in srgb, var(--brand-gold) 35%, var(--border));
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2px;
  transition: all 320ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), inset 0 1px 2px rgba(255, 255, 255, 0.4);
}
.theme-toggle-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18), 0 1px 2px rgba(0, 0, 0, 0.1);
  transform: translateX(0);
  transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1), background 320ms;
  position: relative;
}
.theme-icon {
  position: absolute;
  width: 14px;
  height: 14px;
  color: #b8800b;
  transition: opacity 220ms ease, transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-icon-sun { opacity: 1; transform: scale(1) rotate(0deg); }
.theme-icon-moon { opacity: 0; transform: scale(0.6) rotate(-90deg); color: #c8d8f0; }

/* Dark mode: shift to the right + change colors */
html[data-theme="dark"] .theme-toggle-track {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.06);
}
html[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(28px);
  background: #0f172a;
}
html[data-theme="dark"] .theme-icon-sun { opacity: 0; transform: scale(0.6) rotate(90deg); }
html[data-theme="dark"] .theme-icon-moon { opacity: 1; transform: scale(1) rotate(0deg); }

.theme-toggle:hover .theme-toggle-track {
  transform: scale(1.04);
}
.theme-toggle:focus-visible .theme-toggle-track {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* On hero (transparent nav): tweak appearance */
.nav.hero-nav:not(.scrolled) .theme-toggle-track {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}
.nav.hero-nav:not(.scrolled) .theme-toggle-thumb {
  background: var(--brand-gold);
}
.nav.hero-nav:not(.scrolled) .theme-icon-sun { color: #1A2418; }

.lang-switch {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 3px;
  border: 1.5px solid var(--border);
}
.lang-btn {
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 999px;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}
.lang-btn.active { background: var(--primary); color: white; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: rotate(45deg); top: 0; }
.menu-toggle.open span::after { transform: rotate(-45deg); top: 0; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 92vw);
  height: 100dvh;
  background: var(--bg-elev);
  border-left: 1px solid var(--border);
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 5.5rem 1.5rem 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-xl);
  visibility: hidden;
}
.mobile-drawer.open { transform: translateX(0); visibility: visible; }
.drawer-section { margin-bottom: 1.2rem; }
.drawer-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding: 0 0.7rem;
  margin-bottom: 0.4rem;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 180ms;
}
.drawer-link:hover, .drawer-link.active {
  background: var(--brand-green-soft);
  color: var(--primary);
}
.drawer-link.active { font-weight: 600; }
.drawer-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.drawer-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.drawer-controls { display: flex; gap: 0.6rem; align-items: center; justify-content: center; }
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.drawer-overlay.show { opacity: 1; visibility: visible; }

/* SEARCH MODAL */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 8vh, 5rem) 1rem 2rem;
  background: rgba(15, 25, 13, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 220ms ease;
}
.search-modal.open { display: flex; opacity: 1; }
.search-modal-inner {
  width: 100%;
  max-width: 580px;
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  transform: translateY(-8px);
  transition: transform 280ms cubic-bezier(.4,0,.2,1);
}
.search-modal.open .search-modal-inner { transform: translateY(0); }
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border);
}
.search-input-wrap svg {
  width: 20px; height: 20px;
  color: var(--text-soft);
  flex-shrink: 0;
}
.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  color: var(--text);
  font-family: var(--font-display);
  outline: none;
  min-width: 0;
}
.search-input-wrap input::placeholder { color: var(--text-soft); }
.search-modal-close {
  padding: 0.4rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.search-modal-close:hover { background: var(--border); color: var(--text); }

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.6rem;
}
.search-results-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.9rem;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  text-decoration: none;
  transition: all 160ms;
  cursor: pointer;
}
.search-result:hover,
.search-result.highlighted {
  background: var(--brand-green-soft);
  color: var(--primary);
}
.search-result-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--brand-green-soft);
  color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 160ms;
}
.search-result:hover .search-result-icon,
.search-result.highlighted .search-result-icon {
  background: var(--primary);
  color: white;
}
.search-result-icon svg { width: 18px; height: 18px; }
.search-result-text strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.25;
}
.search-result:hover .search-result-text strong,
.search-result.highlighted .search-result-text strong { color: var(--primary); }
.search-result-text small {
  font-size: 0.78rem;
  color: var(--text-soft);
}
.search-section-title {
  padding: 0.85rem 1rem 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  text-transform: uppercase;
}
.search-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1.4rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 0.72rem;
  color: var(--text-soft);
}
.search-modal-footer kbd {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  box-shadow: 0 1px 0 var(--border);
}

/* PAGE HEADER (inner pages) */
.page-header {
  padding-top: clamp(8.5rem, 16vh, 11rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: ""; position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--brand-gold-soft) 0%, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}
html[data-theme="dark"] .page-header::before { opacity: 0.5; }
.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-header h1 { margin: 1rem 0 1rem; }
.page-header h1 .text-primary { color: var(--primary); }
.page-header p.lead { max-width: 580px; margin-left: auto; margin-right: auto; }
.page-header .eyebrow { justify-content: center; }
.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}
.breadcrumbs a { transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs span { color: var(--text-muted); font-weight: 500; }

/* ============================================
   HERO — IMAGE BACKGROUND WITH TEXT OVERLAY
   ============================================ */
.hero {
  position: relative;
  min-height: clamp(640px, 95vh, 920px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(6rem, 12vh, 8rem) var(--gutter) clamp(3rem, 6vh, 5rem);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: heroZoom 22s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}

/* Dark overlay gradient over photo for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(15, 25, 13, 0.55) 0%,
      rgba(15, 25, 13, 0.40) 35%,
      rgba(15, 25, 13, 0.55) 65%,
      rgba(15, 25, 13, 0.88) 100%
    ),
    radial-gradient(ellipse at 50% 50%, rgba(15, 25, 13, 0.0) 0%, rgba(15, 25, 13, 0.25) 70%),
    radial-gradient(ellipse at 80% 20%, rgba(253, 214, 91, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(70, 150, 32, 0.25) 0%, transparent 55%);
}

.hero-inner {
  position: relative;
  max-width: 920px;
  text-align: center;
  color: white;
}

.hero-inner .eyebrow {
  color: var(--accent);
  justify-content: center;
  margin-bottom: 1.3rem;
}
.hero-inner .eyebrow::before {
  background: var(--accent);
}

.hero h1 {
  color: white;
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1.3rem;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}
.hero h1 .text-primary,
.hero h1 .text-accent {
  color: var(--brand-gold);
  position: relative;
  display: inline-block;
}
.hero h1 .text-primary::after {
  display: none;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  max-width: 640px;
  margin: 0 auto 2.2rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

.hero-cta .btn-primary {
  background: var(--brand-gold);
  color: #1A2418;
  box-shadow: 0 10px 30px -8px rgba(253, 214, 91, 0.6), 0 2px 6px rgba(0,0,0,0.2);
}
.hero-cta .btn-primary:hover {
  background: var(--brand-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -8px rgba(253, 214, 91, 0.75);
}

.hero-cta .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: white;
  backdrop-filter: blur(12px);
}
.hero-cta .btn-outline:hover {
  background: white;
  color: var(--brand-green);
  border-color: white;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 720px;
  margin: 0 auto;
}
.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: center;
  text-align: center;
}
.hero-trust-item .num {
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  line-height: 1;
  color: white;
  letter-spacing: -0.03em;
}
.hero-trust-item .num small {
  font-size: 0.85em;
  color: var(--brand-gold);
  font-weight: 700;
}
.hero-trust-item .label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

/* FEATURE CARDS */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.7rem 1.7rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--brand-green-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  transition: all var(--transition);
}
.feature-icon svg { width: 25px; height: 25px; }
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.04);
}
.feature-card h3 { margin-bottom: 0.6rem; }
.feature-card p { margin-bottom: 1.3rem; flex: 1; font-size: 0.93rem; }
.feature-card .link {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  transition: gap var(--transition);
}
.feature-card .link svg { width: 14px; height: 14px; }
.feature-card:hover .link { gap: 0.65rem; }

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse > *:first-child { order: 2; }
.split-visual { position: relative; aspect-ratio: 5/6; }
.split-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split-visual .accent-shape {
  position: absolute;
  width: 170px; height: 170px;
  background: var(--accent);
  border-radius: var(--radius-lg);
  top: -18px; left: -18px;
  z-index: -1;
}
.split-visual .accent-shape.bottom-right {
  top: auto; left: auto;
  bottom: -18px; right: -18px;
  background: var(--brand-green-soft);
}
.split-content h2 { margin-bottom: 1.3rem; }
.split-content > p { margin-bottom: 1.1rem; }
.split-content .btn { margin-top: 1.5rem; }
.callout-stat {
  display: inline-flex;
  flex-direction: column;
  padding: 1.1rem 1.4rem;
  background: var(--brand-green-soft);
  border-radius: var(--radius-md);
  margin-top: 1.8rem;
  border-left: 3px solid var(--accent);
}
.callout-stat .num {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}
.callout-stat .label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* BAND */
.band {
  background: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}
.band::before {
  content: ""; position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(253,214,91,0.16) 0%, transparent 60%);
  pointer-events: none;
}
.band h2, .band h3 { color: white; }
.band p { color: rgba(255,255,255,0.86); }
.band .eyebrow { color: var(--accent); }
.band .eyebrow::before { background: var(--accent); }
.band-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative; z-index: 1;
}
.band-cta { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 2rem; }
.band .btn-primary { background: var(--accent); color: #1A2418; }
.band .btn-primary:hover { background: var(--accent-hover); }
.band .btn-outline {
  border-color: rgba(255,255,255,0.4);
  color: white;
}
.band .btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}
.band-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.band-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  backdrop-filter: blur(8px);
}
.band-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}
.band-stat .num small { font-size: 1.2rem; opacity: 0.9; }
.band-stat .label { font-size: 0.83rem; color: rgba(255,255,255,0.85); }

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 0.9rem;
}
.gal-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.gal-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,36,24,0.55) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gal-item:hover img { transform: scale(1.06); }
.gal-item:hover::after { opacity: 1; }
.gal-tall { grid-row: span 2; }
.gal-wide { grid-column: span 2; }
.gal-big { grid-row: span 2; grid-column: span 2; }

.gallery-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.gallery-full .gal-item { aspect-ratio: 1; }

.gallery-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.filter-chip {
  padding: 0.55rem 1.2rem;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  font-family: var(--font-display);
}
.filter-chip:hover { color: var(--text); border-color: var(--border-strong); }
.filter-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* DONATION */
.donate-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

/* Inline donation section on homepage (replaces the band) */
.donate-inline-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.donate-inline-text { color: white; }
.donate-inline-text h2 { color: white; }
.donate-inline-text p { color: rgba(255, 255, 255, 0.92); }
.donate-inline-text .eyebrow { color: var(--accent); }
.donate-inline-text .eyebrow::before { background: var(--accent); }
.donate-inline-impacts {
  list-style: none;
  padding: 0;
  margin: 1.7rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.donate-inline-impacts li {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}
.donate-inline-impacts strong {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  min-width: 90px;
}

.donate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin: 1.4rem 0;
}
.amount-chip {
  padding: 1rem 0.4rem;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--text);
  transition: all var(--transition);
  font-family: var(--font-display);
}
.amount-chip:hover { border-color: var(--primary); }
.amount-chip.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.amount-chip small {
  display: block;
  font-size: 0.7rem;
  opacity: 0.75;
  font-weight: 500;
  margin-top: 0.2rem;
}
.donate-custom { position: relative; margin: 0.9rem 0 1.4rem; }
.donate-custom input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 3rem;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color var(--transition);
  font-family: var(--font-display);
}
.donate-custom input:focus { outline: none; border-color: var(--primary); }
.donate-custom::before {
  content: "CFA";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  pointer-events: none;
}
.frequency-toggle {
  display: flex;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 1.4rem;
}
.freq-btn {
  flex: 1;
  padding: 0.7rem 0.5rem;
  border-radius: calc(var(--radius-md) - 4px);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
  font-family: var(--font-display);
}
.freq-btn.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.donate-progress {
  background: var(--brand-green-soft);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  margin-bottom: 1.4rem;
}
.donate-progress-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.83rem;
}
.donate-progress-label { color: var(--text-muted); font-weight: 500; }
.donate-progress-amount { color: var(--text); font-weight: 700; }
.progress-bar {
  height: 7px;
  background: rgba(26,36,24,0.08);
  border-radius: 999px;
  overflow: hidden;
}
html[data-theme="dark"] .progress-bar { background: rgba(255,255,255,0.08); }
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  width: 0;
  transition: width 1.8s cubic-bezier(.4,0,.2,1);
}
.impact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.impact-list li { display: flex; align-items: flex-start; gap: 1rem; }
.impact-list .icon {
  width: 38px; height: 38px;
  background: var(--brand-gold-soft);
  color: #B89200;
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
html[data-theme="dark"] .impact-list .icon { color: var(--accent); }
.impact-list .icon svg { width: 18px; height: 18px; }
.impact-list strong { display: block; color: var(--text); font-weight: 700; margin-bottom: 0.18rem; font-size: 0.93rem; }
.impact-list span { font-size: 0.87rem; color: var(--text-muted); line-height: 1.55; }

/* PILLARS & BELIEFS */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.pillar::before {
  content: ""; position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width var(--transition);
}
.pillar:hover::before { width: 100%; }
.pillar-num {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.pillar h3 { margin-bottom: 0.7rem; }
.pillar p { font-size: 0.93rem; }

.belief-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.belief-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.belief-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.belief-img { aspect-ratio: 4/3; overflow: hidden; }
.belief-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.belief-card:hover .belief-img img { transform: scale(1.05); }
.belief-body { padding: 1.7rem; }
.belief-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.55rem;
}
.belief-body h3 { margin-bottom: 0.65rem; }
.belief-body p { font-size: 0.92rem; }

/* PROJECTS */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.project-media {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
}
.project-media img,
.project-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.project-media:hover img { transform: scale(1.04); }
.project-media .play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  pointer-events: none;
}
.project-media .play-icon svg { width: 24px; height: 24px; margin-left: 3px; }
.project-media:hover .play-icon {
  background: var(--primary);
  color: white;
  transform: translate(-50%, -50%) scale(1.08);
}
.project-body { padding: 1.7rem; }
.project-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: var(--brand-green-soft);
  color: var(--primary);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.project-tag.gold {
  background: var(--brand-gold-soft);
  color: #8B6E08;
}
html[data-theme="dark"] .project-tag.gold { color: var(--accent); }
.project-body h3 { margin-bottom: 0.55rem; }
.project-body p { font-size: 0.92rem; }
.project-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.project-meta svg { width: 14px; height: 14px; }

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 280ms;
}
.video-modal.open { display: flex; opacity: 1; }
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 9/16;
  background: black;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.video-modal-inner video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #1A2418;
  cursor: pointer;
  z-index: 2;
}
.video-modal-close svg { width: 20px; height: 20px; }

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
}
.faq-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--brand-green-soft);
  color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.faq-icon svg { width: 14px; height: 14px; transition: transform var(--transition); }
.faq-item.open .faq-icon {
  background: var(--primary);
  color: white;
}
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 340ms ease;
}
.faq-answer-inner {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2.3rem;
}
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--brand-green-soft);
  color: var(--primary);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.contact-item:hover .contact-icon { background: var(--primary); color: white; }
.contact-icon svg { width: 19px; height: 19px; }
.contact-text h4 { margin-bottom: 0.18rem; font-size: 0.94rem; color: var(--text); }
.contact-text p, .contact-text a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.contact-text a:hover { color: var(--primary); }
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.82rem 1rem;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text);
  transition: all var(--transition);
  font-family: var(--font-display);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
}
.field textarea { resize: vertical; min-height: 125px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.contact-form .btn { width: 100%; margin-top: 0.3rem; }

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-img {
  aspect-ratio: 1;
  background: var(--brand-green-soft);
  display: grid;
  place-items: center;
  color: var(--primary);
  position: relative;
  overflow: hidden;
}
.team-img-letter {
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.team-img::after {
  content: ""; position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, var(--brand-gold-soft) 0%, transparent 70%);
  opacity: 0.55;
}
.team-body { padding: 1.4rem; }
.team-body h4 { margin-bottom: 0.18rem; font-size: 1rem; font-weight: 700; }
.team-body small { font-size: 0.8rem; color: var(--primary); font-weight: 600; }
.team-body p { margin-top: 0.7rem; font-size: 0.85rem; }

/* RICH TEAM CARDS — no avatar placeholder, more text-rich */
.team-card-rich {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.team-card-rich::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.team-card-rich:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.team-card-rich:hover::before { opacity: 1; }
.team-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--brand-green-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 1.3rem;
  transition: all var(--transition);
}
.team-card-icon svg { width: 24px; height: 24px; }
.team-card-rich:hover .team-card-icon {
  background: var(--primary);
  color: white;
  transform: scale(1.05);
}
.team-card-rich h4 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
}
.team-card-rich > small {
  display: block;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.team-card-rich > p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
  flex: 1;
}
.team-card-meta {
  list-style: none;
  padding: 1.2rem 0 0;
  margin: 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.team-card-meta li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
}
.team-card-meta strong {
  color: var(--text-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.7rem;
}
.team-card-meta span {
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
}

/* TIMELINE */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: ""; position: absolute;
  left: 7px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.tl-item { position: relative; margin-bottom: 2.3rem; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute;
  left: -2rem; top: 0.4rem;
  width: 16px; height: 16px;
  background: var(--surface);
  border: 3px solid var(--primary);
  border-radius: 50%;
}
.tl-item .year {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.tl-item h4 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.tl-item p { font-size: 0.92rem; }

/* FOOTER */
.footer {
  background: var(--bg-soft);
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--border);
}
html[data-theme="dark"] .footer { background: var(--bg-elev); }

/* Centered brand bar at the top of the footer */
.footer-brand-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}
.footer-brand-bar .brand-logo { height: 76px; }
.footer-tagline {
  margin-top: 1.1rem;
  max-width: 460px;
  line-height: 1.65;
  font-size: 0.92rem;
}
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.4rem;
  justify-content: center;
}

/* 3-column grid below: left | center | right */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.footer-col-left { text-align: right; }
.footer-col-center { text-align: center; }
.footer-col-right { text-align: left; }

.footer h4 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.2rem;
}
.footer p, .footer a { color: var(--text-muted); font-size: 0.9rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; padding: 0; margin: 0; }
.footer-links a, .footer-links .link-btn {
  transition: color var(--transition);
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: inherit;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-links a:hover, .footer-links .link-btn:hover { color: var(--primary); }
.footer-col-center .footer-links { align-items: center; }

.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}
.social-icon svg { width: 16px; height: 16px; }
.newsletter-form {
  display: flex;
  gap: 0.4rem;
  margin-top: 1.2rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 4px;
}
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.55rem 0.9rem;
  font-size: 0.86rem;
  color: var(--text);
  min-width: 0;
}
.newsletter-form input:focus { outline: none; }
.newsletter-form input::placeholder { color: var(--text-soft); }
.newsletter-form button {
  background: var(--primary);
  color: white;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: var(--font-display);
}
.newsletter-form button:hover { background: var(--primary-hover); }
.footer-bottom {
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-soft); }
.footer-bottom .text-primary { color: var(--primary); }
.footer-credit {
  font-size: 0.8rem !important;
  color: var(--text-soft) !important;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-credit:hover {
  color: var(--primary) !important;
}

/* ============================================
   HOW IT WORKS — STEPS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  counter-reset: step;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.7rem;
  position: relative;
  transition: all var(--transition);
  counter-increment: step;
}
.step-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-card::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -16px; left: 1.5rem;
  background: var(--primary);
  color: white;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--bg);
}
.step-card h3 {
  margin-top: 0.7rem;
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}
.step-card p { font-size: 0.92rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
/* ============================================
   TESTIMONIALS — CAROUSEL SLIDER
   ============================================ */
.testi-carousel {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0;
}
.testi-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.testi-slide {
  flex: 0 0 calc((100% - 1.5rem * 1) / 2);
  min-width: 0;
}
.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testi-card::before {
  content: "“";
  position: absolute;
  top: -10px; right: 1.5rem;
  font-size: 8rem;
  color: var(--brand-green-soft);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.testi-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1.4rem;
  position: relative;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand-green-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.testi-author-info strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}
.testi-author-info small {
  color: var(--text-soft);
  font-size: 0.8rem;
}
.testi-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.9rem;
  color: var(--brand-gold);
}
.testi-stars svg { width: 16px; height: 16px; fill: currentColor; }

/* Carousel controls */
.testi-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.2rem;
}
.testi-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all var(--transition);
}
.testi-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: scale(1.05);
}
.testi-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.testi-arrow svg { width: 18px; height: 18px; }

.testi-dots {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  transition: all 280ms;
  padding: 0;
}
.testi-dot.active {
  width: 26px;
  border-radius: 4px;
  background: var(--primary);
}
.testi-dot:hover:not(.active) {
  background: var(--text-soft);
}

/* ============================================
   IMPACT IN NUMBERS (homepage detailed)
   ============================================ */
.impact-numbers {
  background: linear-gradient(135deg, var(--brand-green-darker), var(--brand-green));
  color: white;
  position: relative;
  overflow: hidden;
}
.impact-numbers::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(253,214,91,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.impact-numbers::after {
  content: "";
  position: absolute;
  bottom: -50%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.impact-numbers .section-head h2 { color: white; }
.impact-numbers .section-head p { color: rgba(255,255,255,0.85); }
.impact-numbers .section-head .eyebrow { color: var(--brand-gold); }
.impact-numbers .section-head .eyebrow::before { background: var(--brand-gold); }

.impact-num-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  position: relative;
  z-index: 1;
}
.impact-num-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.4rem;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.impact-num-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}
.impact-num-card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(253, 214, 91, 0.2);
  color: var(--brand-gold);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.impact-num-card .icon svg { width: 22px; height: 22px; }
.impact-num-card .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--brand-gold);
  line-height: 1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.03em;
}
.impact-num-card .num small { font-size: 1.3rem; opacity: 0.9; }
.impact-num-card .label {
  font-size: 0.92rem;
  color: white;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.impact-num-card .sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
}

/* ============================================
   QUOTE / MISSION BLOCK
   ============================================ */
.mission-quote {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border);
  overflow: hidden;
}
.mission-quote::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}
.mission-quote-icon {
  width: 56px; height: 56px;
  background: var(--brand-green-soft);
  color: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.5rem;
}
.mission-quote-icon svg { width: 26px; height: 26px; }
.mission-quote p {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.005em;
  max-width: 760px;
  margin: 0 auto;
}
.mission-quote p.mission-quote-source {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--text-soft);
  font-weight: 500;
}

/* ============================================
   CTA STRIP (more minimal CTA bar)
   ============================================ */
.cta-strip {
  background: var(--brand-gold-soft);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid color-mix(in srgb, var(--brand-gold) 35%, transparent);
}
html[data-theme="dark"] .cta-strip { border-color: color-mix(in srgb, var(--brand-gold) 20%, transparent); }
.cta-strip-text h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 0.4rem; }
.cta-strip-text p { font-size: 0.95rem; max-width: 540px; }
.cta-strip .btn { flex-shrink: 0; }

@media (max-width: 768px) {
  .cta-strip { text-align: center; flex-direction: column; gap: 1.4rem; }
  .cta-strip-text p { margin-left: auto; margin-right: auto; }
}

/* Section divider with image — used between sections */
.section-divider-img {
  height: clamp(300px, 40vh, 460px);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.section-divider-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
}
.section-divider-img-content {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 100%;
  text-align: center;
  color: white;
  padding: 0 var(--gutter);
}
.section-divider-img-content h2 {
  color: white;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  max-width: 700px;
  margin: 0 auto 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.section-divider-img-content p {
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-slide { flex: 0 0 100%; }
  .impact-num-grid { grid-template-columns: repeat(2, 1fr); }
}
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(.4,0,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.float { animation: floatY 5s ease-in-out infinite; }

/* TOAST */
.toast {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--bg-elev);
  color: var(--text);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 300;
  transition: transform 320ms cubic-bezier(.4,0,.2,1);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: calc(100vw - 2rem);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nav-link { padding: 0.5rem 0.7rem; font-size: 0.84rem; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .feature-cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse > *:first-child { order: 0; }
  .band-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .belief-cards { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-col-left, .footer-col-right, .footer-col-center { text-align: center; }
  .footer-col-center .footer-links { align-items: center; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 150px; }
  .gallery-full { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  /* Keep FR/EN switch + theme toggle visible on mobile top bar */
  .nav-actions .lang-switch { display: inline-flex; padding: 2px; }
  .nav-actions .lang-btn { padding: 0.3rem 0.55rem; font-size: 0.68rem; }
  .nav-actions .btn { display: none; }
  .nav-actions { gap: 0.4rem; }

  .nav { padding: 0.65rem 0; }
  .nav.scrolled { padding: 0.45rem 0; }
  .brand-logo { height: 46px !important; }
  .nav.scrolled .brand-logo { height: 40px !important; }
  .menu-toggle { width: 40px; height: 40px; }

  /* Slightly smaller theme toggle on mobile */
  .theme-toggle-track { width: 50px; height: 26px; }
  .theme-toggle-thumb { width: 20px; height: 20px; }
  .theme-icon { width: 12px; height: 12px; }
  html[data-theme="dark"] .theme-toggle-thumb { transform: translateX(24px); }

  /* HERO mobile */
  .hero { min-height: 100svh; padding-top: clamp(5.5rem, 12vh, 7rem); padding-bottom: 4.5rem; }
  .hero-bg img { object-position: center center; }
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(15, 25, 13, 0.55) 0%,
        rgba(15, 25, 13, 0.45) 30%,
        rgba(15, 25, 13, 0.7) 75%,
        rgba(15, 25, 13, 0.92) 100%
      );
  }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero .lead { font-size: 1rem; padding: 0 0.5rem; }
  .hero-cta { width: 100%; flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 320px; }
  .hero-trust { gap: 1.4rem; padding-top: 1.5rem; }
  .hero-trust-item .num { font-size: 1.5rem; }
  .hero-scroll { display: none; }

  .feature-cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse > *:first-child { order: 0; }
  .band-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .belief-cards { grid-template-columns: 1fr; }
  .donate-grid { grid-template-columns: 1fr; }
  .donate-inline-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .footer-col-left, .footer-col-right, .footer-col-center { text-align: center; }
  .footer-col-center .footer-links { align-items: center; }
  .footer-brand-bar .brand-logo { height: 64px; }
  .footer-tagline { font-size: 0.88rem; }
  .footer-social { justify-content: center; }
  .newsletter-form { max-width: 360px; margin-left: auto; margin-right: auto; }
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }
  .band-stats { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gal-big { grid-column: span 2; grid-row: span 2; }
  .gal-tall { grid-row: span 1; }
  .gal-wide { grid-column: span 2; }

  .field-row { grid-template-columns: 1fr; }

  .section-head { text-align: center; max-width: 100%; }
  .section-head p { margin-left: auto; margin-right: auto; }

  .band-grid { text-align: center; }
  .band-cta { justify-content: center; }
  .band .eyebrow { justify-content: center; }

  .split-content { text-align: center; }
  .split-content .eyebrow { justify-content: center; }
  .callout-stat { align-self: center; }

  .timeline { padding-left: 1.5rem; }
  .tl-item::before { left: -1.5rem; }

  /* Testimonials & steps mobile */
  .testi-slide { flex: 0 0 100%; }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-full { grid-template-columns: 1fr; }
  .footer-brand .brand-logo { height: 70px; }
  .hero-cta { gap: 0.55rem; }
  .hero-trust { gap: 1rem; }
  .hero-trust-item .label { font-size: 0.7rem; }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
button:focus-visible, a:focus-visible { outline-offset: 4px; }
