*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --accent: #28A8D8; --accent-hover: #1A90BA; --accent-light: #E8F6FC;
  --navy: #0D1F35; --sand: #F4F8FB; --sand-2: #D8E8F0;
  --stone: #6E8399; --body-text: #243040; --white: #FFFFFF;
  --gold: #C8941A;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--white); color: var(--body-text); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 70px;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled { border-color: rgba(0,0,0,0.07); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-mark {
  width: 36px; height: 36px; background: var(--accent); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--serif); font-size: 1.1rem; font-style: italic;
}
.nav-logo-text { font-size: 0.9rem; font-weight: 600; color: var(--navy); line-height: 1.2; }
.nav-logo-text span { display: block; font-size: 0.62rem; font-weight: 400; color: var(--stone); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.83rem; font-weight: 500; color: var(--body-text); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-donate { background: var(--accent) !important; color: #fff !important; padding: 9px 22px; border-radius: 6px; font-weight: 600 !important; transition: background 0.2s !important; }
.nav-donate:hover { background: var(--accent-hover) !important; }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--sand);
}
.hero-blob-1 {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(40,168,216,0.09) 0%, transparent 70%);
  right: -100px; top: -100px; pointer-events: none;
}
.hero-blob-2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,31,53,0.06) 0%, transparent 70%);
  left: 20%; bottom: -100px; pointer-events: none;
}
.hero-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  padding: 120px 48px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative; z-index: 1;
}
.hero-left { animation: fadeUp 0.9s ease both; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-light); color: var(--accent);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 28px;
  border: 1px solid rgba(40,168,216,0.2);
}
.hero-badge::before { content: '✦'; font-size: 0.6rem; }
h1 { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.6rem); font-weight: 500; line-height: 1.1; color: var(--navy); margin-bottom: 12px; }
h1 em { font-style: italic; color: var(--accent); }
.hero-tagline { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--stone); margin-bottom: 24px; }
.hero-divider { width: 48px; height: 2px; background: var(--accent); border-radius: 2px; margin-bottom: 24px; }
.hero-desc { font-size: 1rem; line-height: 1.75; color: var(--stone); margin-bottom: 40px; max-width: 480px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-red {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
  padding: 14px 28px; border-radius: 8px; text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-red:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy); font-family: var(--sans); font-size: 0.88rem; font-weight: 600;
  padding: 13px 28px; border-radius: 8px; text-decoration: none; border: 1.5px solid var(--sand-2);
  transition: border-color 0.2s;
}
.btn-outline:hover { border-color: var(--navy); }
.hero-right { position: relative; animation: fadeUp 0.9s ease 0.2s both; }
.hero-img-main {
  width: 100%; aspect-ratio: 4/5;
  background: linear-gradient(135deg, #2D5F4F 0%, #1A3D2E 50%, #3D6B50 100%);
  border-radius: 20px; overflow: hidden; position: relative;
  isolation: isolate;
}
.hero-img-main::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(13,31,53,0.45) 0%, transparent 50%),
    linear-gradient(135deg, rgba(40,168,216,0.15) 0%, rgba(13,31,53,0.2) 100%);
}
.img-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px; color: rgba(255,255,255,0.35);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
}
.img-placeholder span { font-size: 3.5rem; opacity: 0.2; }
.img-placeholder img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.float-card-1 {
  position: absolute; bottom: -20px; left: -30px;
  background: #fff; border-radius: 14px; padding: 18px 22px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.fc-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.fc-label { font-size: 0.68rem; font-weight: 600; color: var(--stone); letter-spacing: 0.1em; text-transform: uppercase; }
.float-card-2 {
  position: absolute; top: 30px; right: -24px;
  background: var(--navy); border-radius: 14px; padding: 16px 20px;
  box-shadow: 0 8px 30px rgba(26,38,64,0.25);
}
.fc2-num { font-size: 1.3rem; font-weight: 700; color: #fff; line-height: 1; }
.fc2-label { font-size: 0.62rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

/* WRAP */
.sw { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.stag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.stag::before { content: ''; display: block; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 500; line-height: 1.15; color: var(--navy); }
h2 em { font-style: italic; color: var(--accent); }

/* MISSION STRIP */
.mstrip { background: var(--navy); padding: 64px 0; }
.mstrip .sw { display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.mq { font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.45; flex: 1; min-width: 280px; }
.mq strong { font-style: normal; color: #fff; font-weight: 500; }
.mstats { display: flex; gap: 48px; flex-shrink: 0; }
.mstat { text-align: center; }
.mn { font-family: var(--serif); font-size: 2.8rem; font-weight: 500; color: #fff; line-height: 1; }
.mn sup { font-size: 0.45em; vertical-align: super; }
.ml { font-size: 0.68rem; font-weight: 500; color: rgba(255,255,255,0.4); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 4px; }

/* WHAT WE DO */
.what { padding: 100px 0; background: var(--white); }
.what-hdr { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; gap: 24px; flex-wrap: wrap; }
.what-hdr-p { font-size: 0.95rem; color: var(--stone); line-height: 1.7; max-width: 320px; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard {
  background: var(--sand); border-radius: 16px; padding: 36px 32px;
  position: relative; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.tcard::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s; border-radius: 3px 3px 0 0;
}
.tcard:hover::before { transform: scaleX(1); }
.ticon { width: 52px; height: 52px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.ttitle { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.tdesc { font-size: 0.85rem; line-height: 1.7; color: var(--stone); margin-bottom: 18px; }
.tpill { display: inline-block; background: rgba(40,168,216,0.1); color: var(--accent); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }

/* IMPACT */
.impact { padding: 80px 0; background: var(--sand); }
.igrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.icard { background: #fff; border-radius: 16px; padding: 36px 28px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.inum { font-family: var(--serif); font-size: 3.2rem; font-weight: 500; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.inum sup { font-size: 0.45em; vertical-align: super; }
.ilabel { font-size: 0.72rem; font-weight: 600; color: var(--stone); letter-spacing: 0.12em; text-transform: uppercase; }

/* DONATE */
.donate { padding: 100px 0; background: var(--white); }
.don-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.don-left h2 { margin-bottom: 18px; }
.don-left > p { font-size: 1rem; line-height: 1.75; color: var(--stone); margin-bottom: 28px; }
.verse { background: var(--sand); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 20px 24px; margin-bottom: 32px; }
.verse p { font-family: var(--serif); font-style: italic; font-size: 0.95rem; line-height: 1.65; color: var(--body-text); margin-bottom: 8px; }
.verse cite { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.agrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.abtn {
  background: var(--sand); border: 1.5px solid transparent; border-radius: 12px;
  padding: 20px 18px; cursor: pointer; text-align: left; transition: border-color 0.2s, background 0.2s;
}
.abtn:hover, .abtn.active { border-color: var(--accent); background: var(--accent-light); }
.anum { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--navy); line-height: 1; margin-bottom: 5px; }
.adesc { font-size: 0.75rem; color: var(--stone); line-height: 1.4; }
.dcta {
  display: block; width: 100%; text-align: center; background: var(--accent); color: #fff;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 700;
  padding: 16px; border-radius: 10px; text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s; margin-bottom: 10px;
}
.dcta:hover { background: var(--accent-hover); }
.dmonth {
  display: block; width: 100%; text-align: center; background: transparent; color: var(--navy);
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
  padding: 15px; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--sand-2); transition: border-color 0.2s;
}
.dmonth:hover { border-color: var(--navy); }

/* WHERE */
.where { padding: 100px 0; background: var(--sand); }
.where-hdr { margin-bottom: 40px; }
.where-hdr p { font-size: 1rem; color: var(--stone); max-width: 460px; line-height: 1.7; margin-top: 14px; }
.ctags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.ctag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; background: #fff; border: 1px solid var(--sand-2);
  border-radius: 100px; font-size: 0.78rem; font-weight: 500; color: var(--body-text);
  transition: border-color 0.2s, color 0.2s;
}
.ctag:hover { border-color: var(--accent); color: var(--accent); }
.cdot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.6; flex-shrink: 0; }

/* PARTNER */
.partner { padding: 100px 0; background: var(--navy); position: relative; overflow: hidden; }
.partner::before {
  content: ''; position: absolute; right: -10%; top: -20%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.partner-inner { max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.partner-inner .stag { justify-content: center; color: rgba(255,255,255,0.45); }
.partner-inner .stag::before { background: rgba(255,255,255,0.25); }
.partner-inner h2 { color: #fff; margin-bottom: 20px; }
.partner-inner h2 em { color: var(--gold); }
.partner-inner p { font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 40px; }
.pbtns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy); font-family: var(--sans); font-size: 0.88rem; font-weight: 700; padding: 14px 28px; border-radius: 8px; text-decoration: none; transition: opacity 0.2s; }
.btn-white:hover { opacity: 0.9; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: rgba(255,255,255,0.8); font-family: var(--sans); font-size: 0.88rem; font-weight: 600; padding: 13px 28px; border-radius: 8px; text-decoration: none; border: 1.5px solid rgba(255,255,255,0.2); transition: border-color 0.2s; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); }

/* MAP SECTION */
.mapwrap { padding: 100px 0; background: var(--white); }
.map-hdr { margin-bottom: 40px; }
.map-hdr p { font-size: 1rem; color: var(--stone); max-width: 460px; line-height: 1.7; margin-top: 14px; }
.map-container {
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(13,31,53,0.1);
  border: 1px solid var(--sand-2);
  position: relative;
}
.map-container iframe {
  width: 100%; height: 500px; display: block; border: none;
}
.map-overlay-card {
  position: absolute; top: 24px; right: 24px;
  background: #fff; border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  z-index: 2;
  pointer-events: none;
}
.moc-title { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone); margin-bottom: 12px; }
.moc-stats { display: flex; gap: 24px; }
.moc-num { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; color: var(--navy); line-height: 1; }
.moc-label { font-size: 0.65rem; font-weight: 500; color: var(--stone); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 2px; }

/* FOOTER */
footer { background: #111827; padding: 64px 0 40px; }
.fw { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.ftop { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 32px; }
.fbrand p { font-size: 0.83rem; color: rgba(255,255,255,0.35); line-height: 1.7; max-width: 250px; margin-top: 14px; }
.fcol h4 { font-size: 0.63rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 18px; }
.fcol ul { list-style: none; }
.fcol ul li { margin-bottom: 10px; }
.fcol ul a { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.fcol ul a:hover { color: #fff; }
.fbot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.fbot p { font-size: 0.75rem; color: rgba(255,255,255,0.2); }
.socials { display: flex; gap: 18px; }
.socials a { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.socials a:hover { color: #fff; }

/* GALLERY */
.gallery { padding: 100px 0; background: var(--sand); }
.gallery-hdr { margin-bottom: 48px; }
.gallery-hdr p { font-size: 1rem; color: var(--stone); max-width: 460px; line-height: 1.7; margin-top: 14px; }
.ggrid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gitem {
  position: relative; border-radius: 14px; overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; background: var(--sand-2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gitem:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gitem:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.12); }
.gitem img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gitem-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,31,53,0.7) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 20px; opacity: 0; transition: opacity 0.3s;
}
.gitem:hover .gitem-overlay { opacity: 1; }
.gitem-overlay .go-title { font-size: 0.88rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.gitem-overlay .go-sub { font-size: 0.72rem; color: rgba(255,255,255,0.7); }
.gitem-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px; color: var(--stone);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--sand-2) 0%, #c8dde8 100%);
}
.gitem-placeholder span { font-size: 2.5rem; }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(13,31,53,0.92); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-inner {
  position: relative; max-width: 900px; width: 90%; max-height: 85vh;
  border-radius: 16px; overflow: hidden; background: #000;
}
.lightbox-inner img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lightbox-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
}
.lightbox-caption h3 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 4px; }
.lightbox-caption p { font-size: 0.8rem; color: rgba(255,255,255,0.7); }
.lightbox-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: none; cursor: pointer;
  color: #fff; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.3); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.15); border: none; cursor: pointer;
  color: #fff; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 10;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* MAP FILTERS */
.map-filters {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.map-filter-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: #fff; border: 1.5px solid var(--sand-2);
  border-radius: 100px; font-family: var(--sans); font-size: 0.78rem; font-weight: 600;
  color: var(--body-text); cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.map-filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.map-filter-btn.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.map-filter-btn.active:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.map-filter-btn .mf-icon { font-size: 0.95rem; line-height: 1; display: inline-flex; align-items: center; }
.map-filter-btn .mf-icon svg { width: 16px; height: 16px; fill: currentColor; }
.map-filter-btn.active .mf-icon svg { fill: #fff; }
.mf-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--sand-2); border-radius: 100px;
  font-size: 0.65rem; font-weight: 700; color: var(--stone); line-height: 1;
}
.map-filter-btn.active .mf-count { background: rgba(255,255,255,0.25); color: #fff; }

/* MARKER CLUSTER OVERRIDES */
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: none !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: none !important; }
.marker-cluster { background: none !important; }

/* LEAFLET MAP OVERRIDES */
#cita-map { width: 100%; height: 520px; border-radius: 20px; z-index: 1; }
.map-icon-marker {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.map-icon-marker .inner-circle {
  width: 36px; height: 36px;
  background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(13,31,53,0.18);
  border: 2.5px solid var(--accent);
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--accent);
}
.map-icon-marker:hover .inner-circle {
  transform: scale(1.15);
  box-shadow: 0 4px 16px rgba(40,168,216,0.4);
}
.map-icon-marker .inner-circle svg {
  width: 20px; height: 20px; fill: var(--accent);
}

/* Leaflet popup custom style */
.leaflet-popup-content-wrapper {
  border-radius: 14px !important;
  box-shadow: 0 12px 48px rgba(13,31,53,0.22), 0 2px 8px rgba(13,31,53,0.08) !important;
  padding: 0 !important;
  overflow: hidden; border: none !important;
}
.leaflet-popup-content { margin: 0 !important; width: auto !important; }
.leaflet-popup-tip {
  background: #fff !important;
  box-shadow: 0 4px 12px rgba(13,31,53,0.12) !important;
}
.leaflet-popup-close-button { display: none !important; }
.cita-popup {
  min-width: 240px; max-width: 280px; font-family: var(--sans);
}
.cita-popup-accent {
  height: 4px; background: linear-gradient(90deg, var(--accent), #5BC0EB);
}
.cita-popup-body { padding: 18px 22px 20px; }
.cita-popup-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.cita-popup-flag {
  font-size: 2rem; line-height: 1;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sand); border-radius: 10px; flex-shrink: 0;
}
.cita-popup-name {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 500;
  color: var(--navy); line-height: 1.2;
}
.cita-popup-region {
  font-size: 0.68rem; font-weight: 500; color: var(--stone);
  letter-spacing: 0.04em; margin-top: 2px;
}
.cita-popup-divider {
  width: 100%; height: 1px; background: var(--sand-2); margin-bottom: 12px;
}
.cita-popup-desc {
  font-size: 0.8rem; color: var(--stone); line-height: 1.65; margin-bottom: 14px;
}
.cita-popup-footer {
  display: flex; flex-direction: column; gap: 10px;
}
.cita-popup-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent-light); color: var(--accent);
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
}
.cita-popup-tag::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.cita-popup-link {
  font-size: 0.72rem; font-weight: 600; color: var(--accent);
  text-decoration: none; white-space: nowrap; transition: color 0.2s;
}
.cita-popup-link:hover { color: var(--accent-hover); }

/* COUNTRY MODAL */
.cmodal {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(13,31,53,0.88); backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
  padding: 24px;
}
.cmodal.active { opacity: 1; pointer-events: auto; }
.cmodal-card {
  background: #fff; border-radius: 20px; max-width: 560px; width: 100%;
  max-height: 85vh; overflow-y: auto; position: relative;
  box-shadow: 0 24px 80px rgba(13,31,53,0.3);
  animation: modalIn 0.35s ease both;
  scrollbar-width: thin;
  scrollbar-color: var(--sand-2) transparent;
}
.cmodal-card::-webkit-scrollbar { width: 6px; }
.cmodal-card::-webkit-scrollbar-track { background: transparent; margin: 20px 0; }
.cmodal-card::-webkit-scrollbar-thumb {
  background: var(--sand-2); border-radius: 10px;
  transition: background 0.2s;
}
.cmodal-card::-webkit-scrollbar-thumb:hover { background: var(--stone); }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.cmodal-accent {
  height: 5px; background: linear-gradient(90deg, var(--accent), #5BC0EB, var(--gold));
  border-radius: 20px 20px 0 0;
}
.cmodal-img {
  width: 100%; height: 220px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--sand-2) 0%, #c8dde8 50%, var(--sand) 100%);
}
.cmodal-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cmodal-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  color: var(--stone); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.cmodal-img-placeholder span { font-size: 3rem; opacity: 0.5; }
.cmodal-img-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(to top, #fff, transparent);
  pointer-events: none;
}
.cmodal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--sand); border: none; cursor: pointer;
  color: var(--navy); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.cmodal-close:hover { background: var(--sand-2); }
.cmodal-hero {
  padding: 32px 32px 0; display: flex; align-items: center; gap: 18px;
}
.cmodal-flag {
  font-size: 3rem; width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sand); border-radius: 16px; flex-shrink: 0;
}
.cmodal-title {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
  color: var(--navy); line-height: 1.2;
}
.cmodal-region {
  font-size: 0.72rem; font-weight: 600; color: var(--stone);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px;
}
.cmodal-body { padding: 24px 32px 28px; }
.cmodal-desc {
  font-size: 0.95rem; color: var(--body-text); line-height: 1.75;
  margin-bottom: 24px;
}
.cmodal-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 24px;
}
.cmodal-stat {
  background: var(--sand); border-radius: 12px; padding: 16px 14px; text-align: center;
}
.cmodal-stat-num {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
  color: var(--accent); line-height: 1;
}
.cmodal-stat-label {
  font-size: 0.65rem; font-weight: 600; color: var(--stone);
  letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px;
}
.cmodal-activities { margin-bottom: 24px; }
.cmodal-activities-title {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--stone); margin-bottom: 12px;
}
.cmodal-activity {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--sand);
}
.cmodal-activity:last-child { border-bottom: none; }
.cmodal-activity-icon {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--accent-light); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.cmodal-activity-text {
  font-size: 0.83rem; font-weight: 500; color: var(--body-text);
}
.cmodal-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.cmodal-tag {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--accent-light); color: var(--accent);
  font-size: 0.63rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
}
.cmodal-cta {
  display: block; width: 100%; text-align: center;
  background: var(--accent); color: #fff; font-family: var(--sans);
  font-size: 0.88rem; font-weight: 700; padding: 14px;
  border-radius: 10px; text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s;
}
.cmodal-cta:hover { background: var(--accent-hover); }
@media (max-width: 600px) {
  .cmodal-hero { padding: 24px 20px 0; gap: 14px; }
  .cmodal-flag { width: 52px; height: 52px; font-size: 2.2rem; }
  .cmodal-title { font-size: 1.3rem; }
  .cmodal-body { padding: 20px 20px 24px; }
  .cmodal-stats { grid-template-columns: 1fr 1fr; }
}

/* ANIM */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.75s, transform 0.75s; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; } .d4 { transition-delay: 0.4s; } .d5 { transition-delay: 0.5s; }

@media (max-width: 960px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 100px 24px 60px; }
  .hero-right { display: none; }
  .mstrip .sw { flex-direction: column; gap: 32px; }
  .tgrid { grid-template-columns: 1fr; }
  .igrid { grid-template-columns: repeat(2, 1fr); }
  .don-inner { grid-template-columns: 1fr; gap: 48px; }
  .ftop { grid-template-columns: 1fr 1fr; }
  .sw, .fw { padding: 0 24px; }
  .what, .impact, .donate, .where, .mapwrap, .partner, .gallery { padding: 72px 0; }
  .ggrid { grid-template-columns: 1fr 1fr; }
  .gitem:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  #cita-map { height: 400px; }
  .map-overlay-card { top: 14px; right: 14px; padding: 14px 18px; }
}
@media (max-width: 600px) {
  .ggrid { grid-template-columns: 1fr; }
  .gitem:nth-child(1) { grid-column: span 1; }
  #cita-map { height: 320px; }
  .lightbox-nav { width: 36px; height: 36px; font-size: 1rem; }
}

/* ── Mobile nav burger ── */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 4px;
  border-radius: 8px; transition: background 0.2s;
}
.nav-burger:hover { background: var(--accent-light); }
.nav-burger span {
  display: block; width: 22px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu drawer */
.nav-mobile {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 799;
  background: #fff; border-bottom: 1px solid var(--sand-2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-10px); opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.nav-mobile.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.nav-mobile ul { list-style: none; padding: 16px 24px 24px; display: flex; flex-direction: column; gap: 4px; }
.nav-mobile ul li a {
  display: block; padding: 12px 16px; font-size: 0.95rem; font-weight: 500;
  color: var(--body-text); text-decoration: none; border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-mobile ul li a:hover { background: var(--accent-light); color: var(--accent); }
.nav-mobile ul li a.nav-donate {
  margin-top: 8px; background: var(--accent); color: #fff !important;
  text-align: center; font-weight: 600;
}
.nav-mobile ul li a.nav-donate:hover { background: var(--accent-hover); }

/* Overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 798;
  background: rgba(0,0,0,0.3); opacity: 0;
  transition: opacity 0.3s;
}
.nav-mobile-overlay.open { opacity: 1; }

@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .nav-mobile, .nav-mobile-overlay { display: block; }
}

/* HERO SLIDER */
.hero-slider {
  width: 100%; height: 100%;
  position: relative;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: opacity;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transform: scale(1);
  transition: transform 6s ease;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-slide.active img {
  transform: scale(1.08);
}
.hero-slider-dots {
  position: absolute; bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 10;
}
.hsd {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,0.45);
  transition: background 0.3s, transform 0.3s;
}
.hsd-active {
  background: #fff;
  transform: scale(1.35);
}
.hero-slider-progress {
  position: absolute; bottom: 0; left: 0;
  height: 3px; width: 0; z-index: 10;
  background: rgba(255,255,255,0.75);
  border-radius: 0 2px 2px 0;
}
.hero-slider-progress.running {
  animation: heroProg 4.5s linear forwards;
}
@keyframes heroProg {
  from { width: 0; }
  to { width: 100%; }
}
