/* =====================================================================
   SPES Infantium Organisation — Redesign stylesheet
   Font: Ubuntu · Brand: Blue #23398C + Gold #EDA117
   Direction: warm editorial, light surfaces, rounded pills, photo-rich
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --blue:        #23398c;
  --blue-700:    #1b2c6e;
  --blue-800:    #16245a;
  --blue-050:    #eef1fa;
  --gold:        #eda117;
  --gold-600:    #cf8b0d;
  --gold-050:    #fdf5e6;

  --ink:         #15171f;
  --body:        #565b69;
  --muted:       #8a8f9c;
  --line:        #e7e9f1;
  --line-2:      #eef0f5;

  --bg:          #ffffff;
  --bg-soft:     #f6f7fb;
  --bg-cream:    #faf7f0;
  --dark:        #16245a;

  --r-sm:  14px;
  --r:     20px;
  --r-lg:  28px;
  --r-xl:  36px;
  --r-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(21,35,90,.06);
  --shadow:    0 18px 50px rgba(21,35,90,.10);
  --shadow-lg: 0 30px 80px rgba(21,35,90,.16);

  --container: 1240px;
  --gutter: 24px;

  --ease: cubic-bezier(.22,.61,.36,1);

  --h-display: clamp(2.6rem, 6vw, 5rem);
  --h1: clamp(2.1rem, 4.6vw, 3.6rem);
  --h2: clamp(1.7rem, 3.2vw, 2.7rem);
  --h3: clamp(1.15rem, 1.6vw, 1.5rem);
}

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

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

body {
  margin: 0;
  font-family: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}

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

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }

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

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

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

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

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--bg-cream); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-pill);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}
.eyebrow { gap: 0; }
.eyebrow::before { display: none; }
.eyebrow--plain { box-shadow: none; }

.section-head { max-width: 640px; }
.section-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: var(--h2);
  margin-top: 22px;
}
.section-head p { margin-top: 18px; color: var(--body); }

.lead { font-size: 1.06rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: .97rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), background .25s var(--ease),
              color .25s var(--ease), box-shadow .3s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 14px 30px rgba(237,161,23,.30); }
.btn--gold:hover { background: var(--gold-600); }

.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 14px 30px rgba(35,57,140,.28); }
.btn--blue:hover { background: var(--blue-700); }

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

.btn--outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

/* arrow-box button (Givara "Join the movement") */
.btn .arrow {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255,255,255,.16);
  font-size: .8rem;
  transition: transform .3s var(--ease);
}
.btn--blue .arrow, .btn--gold .arrow { background: rgba(255,255,255,.2); }
.btn--outline .arrow { background: var(--blue); color: #fff; }
.btn:hover .arrow { transform: translate(2px,-2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--blue);
}
.text-link i { transition: transform .3s var(--ease); }
.text-link:hover { color: var(--gold-600); }
.text-link:hover i { transform: translateX(4px); }

/* =====================================================================
   HEADER / NAV — floating pill
   ===================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  padding-top: 20px;
  transition: padding .3s var(--ease);
}
.site-header.scrolled { padding-top: 12px; }

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--r-pill);
  padding: 12px 12px 12px 22px;
  box-shadow: var(--shadow);
}
.site-header.scrolled .nav-pill { background: rgba(255,255,255,.97); }

.nav-logo img { height: 34px; width: auto; }

.nav-menu { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.top-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-family: inherit; font-weight: 500; font-size: .95rem;
  color: var(--ink);
  background: none; border: none; cursor: pointer;
}
.top-link .caret { font-size: .6rem; transition: transform .25s var(--ease); }
.top-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
  border-radius: 2px;
}
.top-link:hover { color: var(--blue); }
.top-link:hover::after,
.top-link.active::after { transform: scaleX(1); }
.top-link.active { color: var(--blue); }
.has-dropdown:hover .top-link .caret,
.has-dropdown.open .top-link .caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 216px; margin-top: 12px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 70;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown > li > a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 11px;
  font-size: .92rem; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.dropdown > li > a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); opacity: 0; transition: opacity .2s; }
.dropdown > li > a:hover { background: var(--bg-soft); color: var(--blue); }
.dropdown > li > a:hover::before,
.dropdown > li > a.active::before { opacity: 1; }
.dropdown > li > a.active { color: var(--blue); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 12px 22px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  place-items: center;
}

/* mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--dark);
  color: #fff;
  padding: 26px 24px 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.nav-drawer-top img { height: 40px; filter: brightness(0) invert(1); }
.drawer-close {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: none;
  font-size: 1.2rem; cursor: pointer;
}
.nav-drawer nav > a {
  display: block;
  padding: 16px 0;
  font-size: 1.7rem;
  font-weight: 500;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav-drawer nav > a:hover { color: var(--gold); padding-left: 8px; }
.drawer-group { border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer-parent {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 1.7rem; font-weight: 500; color: #fff;
}
.drawer-parent i { font-size: .9rem; transition: transform .3s var(--ease); }
.drawer-group.open .drawer-parent { color: var(--gold); }
.drawer-group.open .drawer-parent i { transform: rotate(180deg); }
.drawer-sub { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.drawer-sub a {
  display: block;
  padding: 13px 0 13px 18px;
  font-size: 1.2rem; font-weight: 400;
  color: rgba(255,255,255,.72);
}
.drawer-sub a:hover { color: var(--gold); padding-left: 24px; }
.drawer-foot { margin-top: auto; padding-top: 30px; }
.drawer-foot .btn { width: 100%; justify-content: center; }
.drawer-contact { margin-top: 24px; color: rgba(255,255,255,.7); font-size: .95rem; }
.drawer-contact a { color: #fff; }
.drawer-social { display: flex; gap: 12px; margin-top: 20px; }
.drawer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1); color: #fff;
}
.drawer-social a:hover { background: var(--gold); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(16,24,58,.55) 0%, rgba(16,24,58,.15) 35%, rgba(16,24,58,.55) 72%, rgba(16,24,58,.9) 100%),
    linear-gradient(90deg, rgba(16,24,58,.55) 0%, rgba(16,24,58,0) 60%);
}
.hero-inner {
  width: 100%;
  padding-block: 150px 60px;
  display: grid;
  gap: 40px;
}
.hero-copy { max-width: 760px; }
.hero .eyebrow {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(6px);
}
.hero h1 {
  color: #fff;
  font-size: var(--h-display);
  font-weight: 500;
  margin-top: 24px;
  letter-spacing: -0.03em;
}
.hero p {
  margin-top: 22px;
  max-width: 540px;
  font-size: 1.12rem;
  color: rgba(255,255,255,.86);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 30px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  max-width: 720px;
}
.hero-stats .num { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; color: #fff; letter-spacing: -0.02em; }
.hero-stats .num b { color: var(--gold); font-weight: 500; }
.hero-stats .lbl { font-size: .82rem; color: rgba(255,255,255,.78); margin-top: 4px; }

.scroll-cue {
  position: absolute;
  right: var(--gutter); bottom: 34px;
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.scroll-cue span {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  display: grid; place-items: center;
  animation: bob 1.8s var(--ease) infinite;
}
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* =====================================================================
   ABOUT
   ===================================================================== */
.about-top {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: end;
}
.about-top h2 { font-size: var(--h2); margin-top: 22px; }
.about-statement { font-size: clamp(1.4rem,2.4vw,2rem); font-weight: 400; color: var(--ink); letter-spacing: -0.02em; line-height: 1.28; }
.about-statement b { color: var(--blue); font-weight: 500; }

.about-side p { color: var(--body); }
.about-stats { display: flex; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.stat .num { font-size: clamp(2rem,3.4vw,2.9rem); font-weight: 500; color: var(--blue); letter-spacing: -0.02em; }
.stat .num b { color: var(--gold); font-weight: 500; }
.stat .lbl { font-size: .9rem; color: var(--muted); margin-top: 2px; }

.about-band {
  margin-top: 56px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.about-band img { width: 100%; height: clamp(280px, 42vw, 520px); object-fit: cover; }
.about-band .band-tag {
  position: absolute; left: 24px; bottom: 24px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  padding: 12px 20px; border-radius: var(--r-pill);
  font-weight: 500; color: var(--ink); font-size: .9rem;
  display: flex; align-items: center; gap: 10px;
}
.about-band .band-tag i { color: var(--gold); }

.values {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.value .v-num { font-size: .9rem; font-weight: 500; color: var(--gold); }
.value h4 { font-size: 1.18rem; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.value p { margin-top: 8px; font-size: .95rem; color: var(--body); }

/* =====================================================================
   PROGRAMS
   ===================================================================== */
.prog-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.prog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative;
  overflow: hidden;
}
.prog-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.prog-card:hover::before { transform: scaleX(1); }
.prog-ic {
  width: 62px; height: 62px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--blue-050); color: var(--blue);
  font-size: 1.5rem;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.prog-card:hover .prog-ic { background: var(--blue); color: #fff; }
.prog-card h3 { font-size: 1.28rem; margin-top: 24px; }
.prog-card p { margin-top: 12px; font-size: .96rem; }
.prog-card .text-link { margin-top: 18px; }

/* =====================================================================
   IMPACT (photo cards)
   ===================================================================== */
.impact-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.impact-nav { display: flex; gap: 12px; }
.impact-nav button {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  color: var(--ink); font-size: 1rem; cursor: pointer;
  display: grid; place-items: center;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s;
}
.impact-nav button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.impact-nav button.dark { background: var(--dark); color: #fff; border-color: var(--dark); }

.impact-track {
  margin-top: 50px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 1fr);
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.impact-track::-webkit-scrollbar { display: none; }
@media (min-width: 992px) {
  .impact-track { grid-auto-columns: calc((100% - 52px) / 3); }
}
.impact-card { scroll-snap-align: start; }
.impact-card .thumb {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.impact-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.impact-card:hover .thumb img { transform: scale(1.05); }
.impact-card .cat {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,.94);
  padding: 7px 15px; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 500; color: var(--blue);
}
.impact-meta { display: flex; gap: 22px; margin-top: 20px; font-size: .86rem; color: var(--muted); }
.impact-meta span { display: inline-flex; align-items: center; gap: 7px; }
.impact-meta i { color: var(--gold); }
.impact-card h3 { font-size: 1.3rem; margin-top: 14px; }
.impact-card p { margin-top: 10px; font-size: .95rem; }

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testi {
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px);
  position: relative;
  overflow: hidden;
}
.testi::before {
  content: "\201C";
  position: absolute; top: -40px; left: 30px;
  font-size: 20rem; line-height: 1;
  color: rgba(255,255,255,.06);
  font-family: Georgia, serif;
}
.testi .eyebrow { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color:#fff; box-shadow:none; }
.testi-quote {
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  font-weight: 400;
  line-height: 1.4;
  color: #fff;
  letter-spacing: -0.02em;
  margin-top: 28px;
  max-width: 900px;
  position: relative;
}
.testi-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.testi-auth .name { font-size: 1.15rem; font-weight: 500; color: #fff; }
.testi-auth .role { color: var(--gold); font-size: .92rem; }
.testi-dots { display: flex; gap: 10px; }
.testi-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.25); cursor: pointer;
  transition: background .25s, width .25s;
}
.testi-dots button.active { background: var(--gold); width: 30px; border-radius: 6px; }
.testi-item { display: none; }
.testi-item.active { display: block; animation: fade .5s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   CTA band
   ===================================================================== */
.cta {
  position: relative;
  background: linear-gradient(120deg, var(--blue-800), var(--blue));
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(44px, 6vw, 84px);
  text-align: center;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(237,161,23,.35), transparent 65%);
  top: -160px; right: -120px;
}
.cta h2 { color: #fff; font-size: var(--h2); position: relative; }
.cta p { margin: 18px auto 0; max-width: 560px; color: rgba(255,255,255,.85); position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; position: relative; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--bg); padding-top: clamp(60px, 8vw, 100px); }

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img { height: 120px; width: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--body); max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--ink);
  transition: background .25s var(--ease), color .25s, transform .25s;
}
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-3px); }

.footer-col h4 { font-size: 1.05rem; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: var(--body); font-size: .96rem; }
.footer-col ul a:hover { color: var(--blue); padding-left: 4px; }
.footer-col.contact p { color: var(--body); font-size: .96rem; margin-bottom: 14px; }
.footer-col.contact a { color: var(--ink); }
.footer-col.contact a:hover { color: var(--blue); }

.footer-getintouch {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding-block: 50px;
  border-bottom: 1px solid var(--line);
}
.footer-getintouch h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 500; }
.newsletter { display: flex; gap: 10px; }
.newsletter label { display:block; font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:10px; }
.newsletter input {
  padding: 15px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: .95rem;
  min-width: 260px;
  color: var(--ink);
  outline: none;
  transition: border-color .25s;
}
.newsletter input:focus { border-color: var(--blue); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-block: 28px;
  font-size: .9rem; color: var(--muted);
}
.footer-bottom a { color: var(--blue); }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center; font-size: 1.6rem;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }

.top-btn {
  position: fixed; right: 22px; bottom: 90px; z-index: 50;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: #fff; border: none; cursor: pointer;
  font-size: 1rem; opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.top-btn.show { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .about-top { grid-template-columns: 1fr; gap: 34px; }
  .values { grid-template-columns: repeat(2, 1fr); gap: 34px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .nav-pill { padding: 10px 10px 10px 18px; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-getintouch { grid-template-columns: 1fr; gap: 24px; min-width: 0; }
  .footer-getintouch > * { min-width: 0; }
  .newsletter, .newsletter > div { min-width: 0; }
  .newsletter input { min-width: 0; width: 100%; flex: 1 1 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-inner { padding-block: 130px 40px; }
  .hero p { font-size: 1.02rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .scroll-cue { display: none; }
  .values { grid-template-columns: 1fr; }
  .prog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .about-stats { gap: 28px; }
  .testi { padding: 34px 24px; }
  .impact-nav { display: none; }
}

/* =====================================================================
   INNER PAGES
   ===================================================================== */

/* ---- Standard page header (cream panel) ---- */
.page-hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: clamp(48px, 6vw, 84px);
  background:
    radial-gradient(130% 130% at 90% -25%, rgba(237,161,23,.18), transparent 55%),
    linear-gradient(180deg, #fdeede 0%, #fbe7d4 100%);
  border-radius: 0 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(35,57,140,.07), transparent 65%);
  bottom: -240px; left: -140px;
}
.page-hero-inner {
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.page-hero-text { max-width: 660px; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 500; letter-spacing: -0.03em; }
.page-hero p { margin-top: 18px; max-width: 540px; color: var(--body); }
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; font-size: .9rem; color: #a07a52;
}
.breadcrumb a { color: var(--blue); font-weight: 500; }
.breadcrumb i { font-size: .68rem; }
.breadcrumb .current { color: var(--body); }
@media (max-width: 720px) {
  .page-hero-actions { width: 100%; }
  .page-hero-actions .btn { flex: 1; justify-content: center; }
}

/* ---- Split (image + text) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5/4; }
.split-media .float-stat {
  position: absolute; left: 22px; bottom: 22px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  border-radius: var(--r);
  padding: 16px 22px;
  box-shadow: var(--shadow-sm);
}
.split-media .float-stat .num { font-size: 1.8rem; font-weight: 500; color: var(--blue); }
.split-media .float-stat .lbl { font-size: .82rem; color: var(--muted); }
.split-body h2 { font-size: var(--h2); margin-top: 22px; }
.split-body p { margin-top: 18px; }
.split-body .btn { margin-top: 28px; }

.tick-list { margin-top: 24px; display: grid; gap: 14px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.tick-list li i {
  color: var(--gold); margin-top: 4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-050); display: grid; place-items: center; font-size: .7rem; flex-shrink: 0;
}
.tick-list li span { font-weight: 400; color: var(--body); }

/* ---- Mission / Vision / Values ---- */
.mvc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.mvc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mvc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mvc-card .mvc-ic {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--blue); color: #fff;
}
.mvc-card.gold .mvc-ic { background: var(--gold); }
.mvc-card h3 { font-size: 1.35rem; margin-top: 24px; }
.mvc-card p { margin-top: 12px; font-size: .97rem; }

/* ---- Stats band ---- */
.stats-band {
  background: var(--dark);
  border-radius: var(--r-xl);
  padding: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-band::after {
  content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(237,161,23,.28), transparent 65%);
  right: -120px; top: -140px;
}
.stats-band .sb { text-align: center; position: relative; }
.stats-band .num { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; color: #fff; }
.stats-band .num b { color: var(--gold); font-weight: 500; }
.stats-band .lbl { color: rgba(255,255,255,.8); font-size: .9rem; margin-top: 6px; }

/* ---- Accordion (FAQ) ---- */
.faq-wrap { max-width: 860px; margin-inline: auto; display: grid; gap: 16px; }
.acc {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.acc.open { box-shadow: var(--shadow); border-color: transparent; }
.acc-q {
  width: 100%; text-align: left; border: none; background: none; cursor: pointer;
  padding: 24px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: inherit; font-size: 1.08rem; font-weight: 500; color: var(--ink);
}
.acc-q .ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--blue-050); color: var(--blue);
  display: grid; place-items: center; transition: transform .3s var(--ease), background .3s, color .3s;
}
.acc.open .acc-q .ico { background: var(--gold); color: #fff; transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-a-inner { padding: 0 26px 24px; color: var(--body); }

.faq-aside {
  background: linear-gradient(135deg, var(--blue-800), var(--blue));
  border-radius: var(--r-xl); padding: 44px 38px; color: #fff; text-align: center;
}
.faq-aside h3 { color: #fff; font-size: 1.6rem; }
.faq-aside p { margin-top: 12px; color: rgba(255,255,255,.85); }
.faq-aside .btn { margin-top: 24px; }

/* ---- Team ---- */
.team-lead {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 60px);
  align-items: center;
  background: var(--bg-soft); border-radius: var(--r-xl); padding: clamp(26px,3vw,40px);
}
.team-lead img { width: 100%; border-radius: var(--r-lg); object-fit: cover; aspect-ratio: 4/5; }
.team-lead .role { color: var(--gold-600); font-weight: 500; margin-bottom: 8px; }
.team-lead h2 { font-size: clamp(1.8rem,3vw,2.4rem); }
.team-lead p { margin-top: 18px; }
.team-lead .lead-social { display: flex; gap: 12px; margin-top: 24px; }
.team-lead .lead-social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
}
.team-lead .lead-social a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.team-grid {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 24px; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.avatar {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center;
  font-size: 1.9rem; font-weight: 500; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-700));
}
.team-card:nth-child(3n) .avatar { background: linear-gradient(135deg, var(--gold), var(--gold-600)); }
.team-card:nth-child(3n+2) .avatar { background: linear-gradient(135deg, var(--blue-700), var(--dark)); }
.team-card h3 { font-size: 1.15rem; }
.team-card .role { color: var(--gold-600); font-size: .9rem; margin-top: 4px; }
.team-card p { margin-top: 12px; font-size: .9rem; }

/* ---- Blog ---- */
.post-featured {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px,4vw,48px);
  align-items: center; margin-bottom: 60px;
}
.post-featured .thumb { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); }
.post-featured .thumb img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.post-featured h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-top: 18px; }
.post-featured p { margin-top: 16px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .thumb { overflow: hidden; aspect-ratio: 16/10; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 16px; font-size: .82rem; color: var(--muted); margin-bottom: 12px; flex-wrap: wrap; }
.post-meta .cat { color: var(--blue); font-weight: 500; }
.post-body h3 { font-size: 1.22rem; }
.post-body p { margin-top: 10px; font-size: .94rem; }
.post-body .text-link { margin-top: auto; padding-top: 18px; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 30px; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.info-card .ic {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; font-size: 1.4rem;
  background: var(--blue-050); color: var(--blue);
}
.info-card h3 { font-size: 1.2rem; }
.info-card p { margin-top: 10px; font-size: .96rem; }
.info-card a { color: var(--ink); font-weight: 500; }
.info-card a:hover { color: var(--blue); }

.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,56px); align-items: stretch; }
.contact-form {
  background: var(--bg-soft); border-radius: var(--r-xl); padding: clamp(28px,3vw,44px);
}
.contact-form h2 { font-size: var(--h2); }
.contact-form p.sub { margin-top: 10px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 18px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; outline: none; transition: border-color .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-msg { font-size: .9rem; color: var(--gold-600); margin-top: 14px; }

.map-wrap { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }

/* ---- Ways to help (Join Us) ---- */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.way-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px 34px;
  background: #fff; display: flex; gap: 22px; align-items: flex-start;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.way-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.way-card .w-ic {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--blue-050); color: var(--blue);
  transition: background .35s, color .35s;
}
.way-card:hover .w-ic { background: var(--blue); color: #fff; }
.way-card h3 { font-size: 1.3rem; }
.way-card p { margin-top: 10px; font-size: .96rem; }
.way-card .text-link { margin-top: 16px; }

/* ---- 404 ---- */
.err {
  min-height: 100vh; display: grid; place-items: center; text-align: center;
  padding: 140px 24px 80px;
  background: radial-gradient(120% 100% at 50% 0%, var(--bg-cream), #fff);
}
.err .code {
  font-size: clamp(6rem, 20vw, 14rem); font-weight: 700; line-height: .9;
  background: linear-gradient(120deg, var(--blue), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.04em;
}
.err h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: 20px; }
.err p { margin-top: 14px; max-width: 460px; margin-inline: auto; }
.err .btn { margin-top: 30px; }

/* ---- Inner responsive ---- */
@media (max-width: 1080px) {
  .mvc { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .team-lead { grid-template-columns: 1fr; }
  .post-featured { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; }
  .ways { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding-top: 130px; }
}

/* =====================================================================
   REFERENCE CARD SYSTEM (About / Projects / Careers)
   ===================================================================== */

/* ---- Who We Are stat split ---- */
.wwa-label { font-style: italic; font-size: 1.05rem; color: var(--muted); letter-spacing: .01em; }
.split-body h2.wwa-title { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 16px; }
.wwa-divider { height: 1px; background: var(--line); border: 0; margin: 30px 0; }
.wwa-stats { display: flex; gap: 60px; flex-wrap: wrap; }
.wwa-stats .num { font-size: clamp(2.6rem, 4.4vw, 3.8rem); font-weight: 500; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.wwa-stats .num b { color: var(--gold); font-weight: 500; }
.wwa-stats .lbl { color: var(--body); font-size: .95rem; margin-top: 10px; }

/* ---- Causes / project cards ---- */
.cause-filter {
  display: flex; justify-content: center; align-items: center;
  gap: 6px 8px; flex-wrap: wrap; margin-bottom: 56px;
}
.cause-filter button {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px; border-radius: var(--r-pill);
  border: none; background: none; cursor: pointer;
  font-family: inherit; font-size: .96rem; font-weight: 500; color: var(--body);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cause-filter button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); transition: background .25s; }
.cause-filter button:first-child::before { display: none; }
.cause-filter button:hover { color: var(--blue); }
.cause-filter button.active { background: var(--blue); color: #fff; }
.cause-filter button.active::before { background: var(--gold); }

.cause-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 34px; }
.cause-card {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.cause-card .cat {
  align-self: flex-start;
  background: var(--gold-050); color: var(--gold-600);
  padding: 7px 16px; border-radius: var(--r-pill);
  font-size: .8rem; font-weight: 500;
}
.cause-card h3 { font-size: 1.5rem; margin-top: 18px; letter-spacing: -0.02em; }
.cause-card > p { margin-top: 12px; font-size: .96rem; }
.cause-card .thumb {
  margin-top: 22px; border-radius: 18px; overflow: hidden; aspect-ratio: 16/11;
}
.cause-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cause-card:hover .thumb img { transform: scale(1.05); }
.cause-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 22px;
}
.cause-foot .goal { font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.cause-card.is-hidden { display: none; }

/* ---- Careers rows ---- */
.career-list { display: grid; gap: 16px; }
.career-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr auto;
  align-items: center; gap: 24px;
  background: #fdeede; border-radius: 40px;
  padding: 26px 34px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.career-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.career-row h3 { font-size: 1.3rem; font-weight: 500; letter-spacing: -0.01em; }
.career-row .meta { color: var(--body); font-size: .98rem; }
.career-row .btn { justify-self: end; }

/* ---- Join band (image + overlapping card) ---- */
.join-band { position: relative; border-radius: var(--r-xl); overflow: hidden; }
.join-band > img { width: 100%; height: clamp(360px, 44vw, 540px); object-fit: cover; display: block; }
.join-card {
  position: absolute; left: clamp(16px, 4vw, 60px); bottom: clamp(16px, 4vw, 60px);
  max-width: 440px;
  background: #fff; border-radius: var(--r-lg); padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
}
.join-card h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.join-card p { margin-top: 14px; }
.join-card .btn { margin-top: 24px; }

/* ---- Reference card responsive ---- */
@media (max-width: 1080px) {
  .cause-grid { grid-template-columns: repeat(2, 1fr); }
  .wwa-stats { gap: 40px; }
}
@media (max-width: 820px) {
  .career-row { grid-template-columns: 1fr; gap: 6px; text-align: left; padding: 24px 28px; border-radius: 24px; }
  .career-row .btn { justify-self: start; margin-top: 12px; }
}
@media (max-width: 640px) {
  .cause-grid { grid-template-columns: 1fr; }
  .join-card { position: static; max-width: none; border-radius: 0 0 var(--r-xl) var(--r-xl); }
  .join-band { border-radius: var(--r-xl); }
  .join-band > img { height: 300px; }
}

