:root {
  --cream: #fdf4ed;
  --navy: #1d3677;
  --orange: #f89b12;
  --coral: #f15c24;
  --green: #1eb574;
  --text: #747577;
  --dark: #2c2c2c;
  --footer: #4a372e;
  --brown: #33231b;
  --muted: #c9bdb6;
  --white: #ffffff;
  --max: 1120px;
  --radius: 6px;
  --shadow: 0 8px 24px rgba(25, 14, 8, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Kumbh Sans", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
}
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.22;
}
body::before {
  width: min(520px, 48vw);
  height: 72vh;
  left: -40px;
  top: 18vh;
  background-image: url("../images/maps/africa.png");
  background-position: left center;
}
body::after {
  width: min(460px, 42vw);
  height: 62vh;
  right: -30px;
  bottom: 4vh;
  background-image: url("../images/maps/south-america.png");
  background-position: right center;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--coral); }
h1, h2, h3, h4 { font-family: Poppins, sans-serif; color: var(--navy); line-height: 1.2; font-weight: 700; }
p { margin: 0 0 12px; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; position: relative; z-index: 1; }
.site { position: relative; z-index: 1; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy);
  border-bottom: 3px solid var(--orange);
}
.header-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 8px 0;
}
.logo img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  font-family: Poppins, sans-serif;
  font-size: 13px; font-weight: 600;
  color: #fff; padding: 8px 10px;
  letter-spacing: 0.02em;
}
.nav a.active, .nav a:hover { color: var(--orange); }
.nav-cta {
  background: var(--orange) !important; color: var(--white) !important;
  border-radius: 4px; padding: 8px 14px !important; margin-left: 6px;
}
.nav-cta:hover { background: var(--coral) !important; }
.menu-btn, .search-btn {
  display: none; background: var(--navy); color: #fff; border: 0;
  width: 42px; height: 42px; border-radius: 4px; font-size: 18px; cursor: pointer;
}

.hero {
  position: relative; min-height: 78vh;
  display: grid; place-items: end center;
  background: var(--navy) center/cover no-repeat;
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(18, 11, 7, 0.55);
}
.hero-inner { position: relative; z-index: 1; text-align: center; padding: 40px 16px 56px; }
.hero h1 { color: #fff; font-size: clamp(28px, 5vw, 52px); margin-bottom: 8px; }
.hero p { color: #fff; font-size: clamp(16px, 2.4vw, 22px); font-weight: 600; margin: 0; }
.scroll-hint { margin-top: 18px; color: #fff; font-size: 22px; animation: bounce 1.6s infinite; }

.tri { display: grid; grid-template-columns: repeat(2, 1fr); }
.tri article {
  padding: 28px 22px; color: #fff; text-align: center;
}
.tri h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.tri p { color: #fff; margin: 0 0 14px; }
.tri .t1 { background: var(--navy); }
.tri .t2 { background: var(--coral); }
.tri .t3 { background: var(--green); }
.btn {
  display: inline-block; background: var(--orange); color: #fff !important;
  font-family: Poppins, sans-serif; font-weight: 700; font-size: 13px;
  padding: 10px 16px; border-radius: 4px; border: 0; cursor: pointer;
  letter-spacing: 0.03em; text-transform: uppercase;
}
.btn:hover { background: var(--navy); color: #fff !important; }
.btn.navy { background: var(--navy); }
.btn.navy:hover { background: var(--coral); }
.btn.ghost { background: transparent; color: var(--navy) !important; border: 2px solid var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff !important; }

.section { padding: 42px 0; }
.section.tight { padding: 28px 0; }
.kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); font-weight: 700; margin-bottom: 6px; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; }
.split img, .card img { width: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.stat { background: #fff; padding: 16px 12px; text-align: center; border-top: 4px solid var(--orange); box-shadow: var(--shadow); }
.stat b { display: block; font-family: Poppins, sans-serif; font-size: 28px; color: var(--navy); }
.grid-3, .grid-2 { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.card {
  background: #fff; box-shadow: var(--shadow); overflow: hidden; height: 100%;
  display: flex; flex-direction: column;
}
.card .pad { padding: 14px 16px 18px; }
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card .meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.thumb { aspect-ratio: 16/11; overflow: hidden; background: var(--brown); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .thumb img { transform: scale(1.05); }

.page-head {
  background: var(--navy) center/cover no-repeat;
  color: #fff; padding: 54px 0 36px; position: relative;
}
.page-head::before { content: ""; position: absolute; inset: 0; background: rgba(29,54,119,.38); }
.page-head.light-head::before { background: rgba(29,54,119,.28); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); }
.page-head p { color: #fff; margin: 6px 0 0; }

.quote {
  border-left: 4px solid var(--orange); padding: 8px 0 8px 14px;
  font-style: italic; color: var(--dark);
}
.profile { display: grid; grid-template-columns: 140px 1fr; gap: 16px; background: #fff; padding: 16px; box-shadow: var(--shadow); }
.profile img { width: 140px; height: 140px; object-fit: cover; border-radius: 4px; }
.child-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.section-cta { margin: 18px 0 0; text-align: center; }
.badge { display: inline-block; background: var(--navy); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 3px; margin-bottom: 8px; }
.badge.green { background: var(--green); }
.badge.orange { background: var(--orange); }
.progress { height: 10px; background: #eadfd6; overflow: hidden; margin: 8px 0; }
.progress span { display: block; height: 100%; background: var(--green); }

form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: block; font-weight: 700; color: var(--navy); font-size: 13px; margin: 0 0 5px; }
input, select, textarea {
  width: 100%; padding: 12px 12px; border: 1px solid #d7ccc4; background: #fff;
  font: 16px "Kumbh Sans", sans-serif; color: var(--dark); margin-bottom: 12px;
}
textarea { min-height: 120px; resize: vertical; }
.form-box { background: #fff; padding: 18px; box-shadow: var(--shadow); }
.hp-wrap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.site-toast {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center;
  background: rgba(18, 22, 40, 0.48);
  padding: 20px;
  animation: siteToastIn .18s ease-out;
}
.site-toast.closing { opacity: 0; transition: opacity .18s ease; }
.site-toast-card {
  width: min(400px, 100%);
  background: #fff;
  border-radius: 10px;
  padding: 24px 20px 18px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}
.site-toast-icon {
  width: 54px; height: 54px; margin: 0 auto 10px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(30, 181, 116, 0.14);
  color: var(--green);
  font-size: 28px;
}
.site-toast-card h2 {
  font-family: Poppins, sans-serif;
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.site-toast-card p { color: var(--text); margin-bottom: 16px; line-height: 1.45; }
.site-toast-card .btn { min-width: 110px; }
@keyframes siteToastIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.alert { padding: 12px 14px; margin-bottom: 14px; border-left: 4px solid var(--green); background: #fff; }
.alert.err { border-color: var(--coral); }
.bank { background: var(--navy); color: #fff; padding: 18px; }
.bank h3, .bank p, .bank li { color: #fff; }
.bank li { margin-left: 18px; }

.site-footer {
  position: relative;
  color: #fff;
  padding: 36px 0 16px;
  margin-top: 20px;
  background: var(--foot-img) center/cover no-repeat, var(--navy);
  isolation: isolate;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(51, 35, 27, 0.90);
}
.site-footer .wrap { position: relative; z-index: 1; }
.site-footer h4 { color: #fff; font-size: 16px; margin: 14px 0 10px; font-family: Poppins, sans-serif; }
.site-footer a { color: #fff; }
.foot-logo { height: 56px; width: auto; margin-bottom: 8px; }
.foot-lead { color: #fff; margin: 0 0 8px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 0.8fr; gap: 18px; }
.foot-copy { border-top: 1px solid rgba(255,255,255,.25); margin-top: 22px; padding-top: 12px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  display: grid;
  grid-template-columns: 42% 1fr;
}
.contact-card::before {
  content: "";
  background: var(--card-img) center 18% / cover no-repeat;
  min-height: 250px;
}
.contact-card-body { padding: 18px 18px 16px; }
.contact-card-body h3 { margin-bottom: 10px; font-size: 20px; }
.contact-card-body .icon-list li { margin: 0 0 9px; }
.contact-form-sec { background: #fff; }
.check-line { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; font-weight: 600; color: var(--navy); }
.check-line input { width: auto; margin: 0; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.crowd-box { margin-top: 18px; padding-top: 14px; border-top: 1px solid #eadfd6; }
.gift-field { margin: 0 0 12px; }
.section-center > .kicker,
.section-center > h2,
.section-center > p:not(.meta):not(.card-actions) {
  text-align: center;
}
.section-center > .kicker + h2 { margin-top: 0; }
.section-center > h2 + .grid-3,
.section-center > p + .grid-3 { margin-top: 14px; }
.project-video, .thumb video, .thumb iframe { width: 100%; display: block; background: #000; }
.thumb video, .thumb iframe { height: 100%; object-fit: cover; }
.thumb iframe { border: 0; }
.play-thumb { position: relative; }
.play-fab {
  position: absolute; inset: 0; border: 0; background: rgba(18, 11, 7, 0.18);
  color: #fff; cursor: pointer; display: grid; place-items: center;
}
.play-fab i {
  width: 52px; height: 52px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; font-size: 18px; padding-left: 3px;
}
.play-fab:hover i { background: var(--coral); }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.media-caption { margin: 8px 0 0; font-weight: 700; color: var(--navy); font-size: 14px; }
.video-modal {
  position: fixed; inset: 0; z-index: 80; background: rgba(51, 35, 27, 0.92);
  display: none; place-items: center; padding: 24px;
}
.video-modal.open { display: grid; }
.video-modal-box { width: min(920px, 96vw); }
.video-modal-title { color: #fff; margin: 0 0 10px; font-family: Poppins, sans-serif; font-weight: 700; }
.video-modal video, .video-modal-yt, .video-modal iframe {
  width: 100%; aspect-ratio: 16/9; height: auto; max-height: 78vh; background: #000; border: 0; display: block;
}
.video-modal img { max-width: 100%; max-height: 78vh; display: block; margin: 0 auto; }
.video-modal video[hidden],
.video-modal-yt[hidden],
.video-modal img[hidden],
.video-modal iframe[hidden] { display: none !important; }
.news-files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.news-file {
  border: 0; background: #fff; box-shadow: var(--shadow); padding: 0 0 8px; cursor: pointer; text-align: left;
  color: var(--navy); font-weight: 700; font-size: 13px;
}
.news-file img, .news-file video { width: 100%; height: 140px; object-fit: cover; display: block; background: #000; }
.news-file i { display: grid; place-items: center; height: 140px; background: var(--navy); color: #fff; font-size: 28px; }
.news-file span { display: block; padding: 8px 10px 0; }
.video-modal-close {
  position: absolute; top: 14px; right: 18px; width: 42px; height: 42px;
  border: 0; border-radius: 50%; background: var(--orange); color: #fff;
  font-size: 20px; cursor: pointer;
}
.child-detail { max-width: 720px; margin: 0 auto; }
.child-intro { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: start; margin-bottom: 16px; }
.child-photo { width: 140px; height: 160px; object-fit: cover; object-position: center top; }
.child-story { margin-bottom: 22px; }
.child-form { max-width: 560px; }
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--orange); color: #fff !important; border-radius: 50%; font-size: 16px;
}
.social a:hover { background: var(--coral); }
.icon-list { list-style: none; }
.icon-list li { margin: 0 0 8px; display: flex; gap: 8px; align-items: flex-start; }
.icon-list i { color: var(--orange); margin-top: 3px; }

.float-tools {
  position: fixed;
  right: 14px;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}
.float-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff !important; border: 0; cursor: pointer;
  font-size: 22px; box-shadow: 0 8px 18px rgba(20, 12, 6, 0.28);
}
.float-whatsapp { background: #25d366; }
.float-whatsapp:hover { background: #1ebe57; color: #fff !important; }
.float-top {
  background: var(--navy);
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
}
.float-top.show { opacity: 1; pointer-events: auto; transform: none; }
.float-top:hover { background: var(--orange); color: #fff !important; }

.reveal { animation: rise .6s ease; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
@keyframes bounce { 50% { transform: translateY(6px); } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery img { width: 100%; height: 150px; object-fit: cover; }

@media (max-width: 900px) {
  .split, .grid-3, .tri, .foot-grid, .contact-cards, .media-grid, .news-files, .form .row, form .row { grid-template-columns: 1fr; }
  .stats, .child-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .stats { gap: 10px; }
  .stat { padding: 12px 8px; }
  .stat b { font-size: 22px; }
  .child-grid { gap: 10px; }
  .child-grid .card .pad { padding: 10px 10px 12px; }
  .child-grid .card h3 { font-size: 15px; }
  .child-grid .card p:not(.meta) { display: none; }
  .child-grid .btn { width: 100%; text-align: center; padding: 8px 10px; font-size: 11px; }
  .child-intro { grid-template-columns: 110px 1fr; }
  .child-photo { width: 110px; height: 130px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card::before { min-height: 180px; }
  .grid-2 { grid-template-columns: 1fr; }
  .menu-btn { display: grid; place-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); flex-direction: column; padding: 10px 16px 16px;
    border-bottom: 3px solid var(--orange); align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid #eadfd6; }
  .profile { grid-template-columns: 1fr; }
  .profile img { width: 100%; height: 220px; }
  .logo img { height: 48px; }
  .hero { min-height: 68vh; }
}
