:root {
  --violet: #32104d;
  --violet-2: #5b1a7c;
  --orange: #f28a2e;
  --rose: #ef5da8;
  --blue: #8de2ff;
  --ink: #160d21;
  --muted: #766b81;
  --white: #fff;
  --soft: #fbf7ff;
  --line: rgba(255,255,255,.18);
  --shadow: 0 26px 80px rgba(29, 8, 48, .22);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--soft);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--violet);
  transition: opacity .6s ease, visibility .6s ease;
}
.loader span {
  width: 54px;
  height: 54px;
  border: 3px solid rgba(255,255,255,.25);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
body.loaded .loader { opacity: 0; visibility: hidden; }

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(1180px, calc(100% - 28px));
  min-height: 72px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(30, 12, 49, .7);
  color: var(--white);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 255px; }
.brand img { width: 50px; height: 50px; border-radius: 50%; background: white; object-fit: contain; }
.brand strong { display: block; font-size: 1.04rem; letter-spacing: .06em; }
.brand small { display: block; max-width: 210px; color: rgba(255,255,255,.72); font-size: .68rem; line-height: 1.25; }
.main-nav { display: flex; justify-content: center; gap: 4px; flex: 1; }
.main-nav a {
  padding: 10px 11px;
  color: rgba(255,255,255,.78);
  font-size: .84rem;
  border-radius: 8px;
  transition: .25s ease;
}
.main-nav a:hover { color: white; background: rgba(255,255,255,.12); }
.main-nav a.signal-nav {
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  font-weight: 900;
  animation: signalPulse 2.7s ease-in-out infinite;
}
.header-donate, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.header-donate, .btn.primary {
  background: linear-gradient(135deg, var(--orange), var(--rose));
  color: white;
  box-shadow: 0 18px 44px rgba(242,138,46,.26);
}
.btn.glass, .btn.light {
  color: white;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
}
.btn:hover, .header-donate:hover { transform: translateY(-2px); }
.menu-toggle { display: none; margin-left: auto; background: transparent; border: 0; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 6px; background: white; }

.full-screen { min-height: 100vh; }
.section { padding: 116px max(24px, calc((100vw - 1180px) / 2)); }
.hero {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  padding: 150px max(24px, calc((100vw - 1180px) / 2)) 56px;
}
.hero-media, .hero-media img, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 112%; object-fit: cover; filter: saturate(1.05) contrast(1.04); }
.hero-bg-slide {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s ease;
}
.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(53, 12, 84, .54), rgba(53, 12, 84, .54), rgba(31, 23, 41, 0.88)),
    radial-gradient(circle at 72% 25%, rgba(141,226,255,.28), transparent 34%);
}
.hero-video-shape {
  position: absolute;
  right: 8vw;
  top: 20vh;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  animation: pulse 5s ease-in-out infinite;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(840px, 100%);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .75rem;
}
h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0;
  letter-spacing: 0;
}
h1 { max-width: 980px; font-size: clamp(3.2rem, 8vw, 7.8rem); line-height: .92; }
h2 { font-size: clamp(2.2rem, 5vw, 5rem); line-height: 1; }
.hero-content > p:not(.eyebrow) {
  max-width: 660px;
  margin: 24px 0 28px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-panel {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 74px;
  width: min(360px, calc(100vw - 48px));
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(22px);
}
.hero-panel strong { display: block; font-size: 1.35rem; margin: 8px 0; }
.hero-panel p { margin: 0; color: rgba(255,255,255,.74); line-height: 1.65; }
.panel-kicker { color: var(--blue); font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; }
.scroll-cue { position: absolute; z-index: 3; bottom: 28px; left: 50%; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.45); border-radius: 18px; }
.scroll-cue span { display: block; width: 4px; height: 8px; margin: 8px auto; border-radius: 8px; background: white; animation: scroll 1.5s infinite; }

.section-intro, .section-top { max-width: 1000px; margin-bottom: 52px; }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 28px; max-width: none; }
.about-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 48px; align-items: stretch; }
.about-story > p { font-size: 1.12rem; line-height: 1.9; color: var(--muted); margin: 0 0 28px; }
.mission-cards { display: grid; gap: 14px; }
.mission-cards article {
  padding: 22px;
  background: white;
  border: 1px solid rgba(50,16,77,.09);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(50,16,77,.06);
}
.mission-cards span { color: var(--rose); font-weight: 900; }
.mission-cards h3, .news-card h3, .activity-card h3, .impact h3 { margin: 8px 0; font-size: 1.3rem; }
.mission-cards p, .news-card p, .impact p { margin: 0; color: var(--muted); line-height: 1.7; }
.about-visual { min-height: 620px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.about-visual img { width: 100%; height: 112%; object-fit: cover; }
.stats-strip {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--violet);
  color: white;
  border-radius: 8px;
  overflow: hidden;
}
.stats-strip div { padding: 32px 22px; border-right: 1px solid rgba(255,255,255,.14); }
.stats-strip strong { display: block; color: var(--orange); font-size: clamp(2rem, 4vw, 4rem); line-height: 1; }
.stats-strip strong::before { content: "+"; }
.stats-strip span { color: rgba(255,255,255,.72); }

.dark-section { background: var(--violet); color: white; }
.dark-section .section-intro .eyebrow { color: var(--blue); }
.activity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.activity-card {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: end;
  overflow: hidden;
  padding: 24px;
  color: white;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: #21102f;
  cursor: pointer;
}
.activity-card:nth-child(1), .activity-card:nth-child(4) { grid-column: span 2; }
.activity-card img, .activity-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.activity-shade { background: linear-gradient(180deg, transparent 15%, rgba(16,5,25,.88)); }
.activity-card:hover img { transform: scale(1.08); }
.activity-card div:not(.activity-shade) { position: relative; z-index: 2; }
.activity-card span { color: var(--blue); text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 900; }
.activity-card p { color: rgba(255,255,255,.78); line-height: 1.65; margin-bottom: 0; }
.activity-card button, .activity-link {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  color: white;
  background: rgba(255,255,255,.13);
  padding: 9px 12px;
  font-size: .82rem;
  font-weight: 900;
}
.activity-card button { top: 60px; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  border: 1px solid rgba(50,16,77,.14);
  border-radius: 8px;
  background: white;
  padding: 10px 13px;
  cursor: pointer;
}
.filters button.active { background: var(--violet); color: white; }
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border: 0;
  overflow: hidden;
  border-radius: 8px;
  padding: 0;
  color: white;
  cursor: pointer;
  background: var(--violet);
}
.gallery-item.wide { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .55s ease; }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(.78); }
.gallery-item span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-weight: 900;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.video-card {
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 24px;
  background: linear-gradient(135deg, var(--violet), var(--rose), var(--orange));
}
.video-card .play { position: static; font-size: 2.2rem; }
.video-card small { color: rgba(255,255,255,.74); }

.impact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: center;
  background: white;
}
.impact-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; font-size: 1.08rem; }
blockquote {
  margin: 34px 0 0;
  padding-left: 22px;
  border-left: 4px solid var(--orange);
  color: var(--violet);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.25;
}
.impact-timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.impact-timeline div {
  min-height: 210px;
  padding: 26px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid rgba(50,16,77,.08);
}
.impact-timeline span { color: var(--rose); font-weight: 900; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(50,16,77,.08);
}
.news-card img { width: 100%; height: 260px; object-fit: cover; }
.news-card div { padding: 22px; }
.news-card span { color: var(--orange); font-size: .78rem; font-weight: 900; text-transform: uppercase; }

.partners { padding-top: 70px; padding-bottom: 70px; background: var(--violet); color: white; }
.partner-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.partner-row span {
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  text-align: center;
}

.donation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 86px max(24px, calc((100vw - 1180px) / 2));
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--violet-2) 44%, var(--orange));
}
.donation h2 { font-size: clamp(2rem, 4vw, 4rem); }
.donation-actions { display: grid; gap: 12px; }
.newsletter { display: flex; min-height: 52px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; overflow: hidden; background: white; }
.newsletter input { min-width: 0; flex: 1; border: 0; padding: 0 16px; }
.newsletter button { border: 0; background: var(--violet); color: white; padding: 0 18px; font-weight: 900; }

.contact { display: grid; grid-template-columns: .85fr 1fr; gap: 44px; background: white; }
.contact-info p { color: var(--muted); }
.socials { display: flex; gap: 8px; margin: 22px 0; }
.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--violet);
  font-weight: 900;
}
iframe { width: 100%; height: 260px; border: 0; border-radius: 8px; filter: saturate(.9); }
.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 8px;
  background: var(--soft);
}
.contact-form label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; font-size: .86rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(50,16,77,.12);
  border-radius: 8px;
  padding: 14px;
  background: white;
  color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  padding: 42px max(24px, calc((100vw - 1180px) / 2));
  background: #100719;
  color: white;
}
.site-footer img { width: 62px; height: 62px; border-radius: 50%; background: white; }
.site-footer p { margin: 10px 0 3px; color: rgba(255,255,255,.72); }
.site-footer nav { display: flex; gap: 16px; color: rgba(255,255,255,.74); }
.site-footer small { color: rgba(255,255,255,.52); }
.float-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  padding: 14px 18px;
  border-radius: 8px;
  background: #21c063;
  color: white;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(0,0,0,.22);
}

.signal-hero-page {
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: 160px max(24px, calc((100vw - 1180px) / 2)) 74px;
  color: white;
  background:
    linear-gradient(110deg, rgba(22,7,33,.94), rgba(75,17,48,.78), rgba(242,138,46,.78)),
    url("../img/campagne-communaute.jpg") center/cover;
  position: relative;
  overflow: hidden;
}
.signal-hero-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000, transparent);
}
.signal-hero-content { position: relative; z-index: 2; max-width: 900px; }
.signal-hero-content h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: .95;
}
.signal-hero-content p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255,255,255,.82);
  font-size: 1.15rem;
  line-height: 1.8;
}
.signal-section { padding: 80px max(24px, calc((100vw - 1180px) / 2)) 110px; }
.signal-alert {
  display: grid;
  grid-template-columns: .32fr 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 42px;
  padding: 24px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  border-radius: 8px;
  box-shadow: 0 20px 58px rgba(239,93,168,.2);
}
.signal-alert strong { font-size: 1.3rem; }
.signal-alert p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.7; }
.signal-layout {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: start;
}
.signal-column h2, .signal-form-panel h2, .signal-policy h2 {
  color: var(--violet);
  font-size: clamp(2rem, 4vw, 3.7rem);
  margin-bottom: 24px;
}
.signal-card {
  position: relative;
  padding: 26px;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(50,16,77,.1);
  box-shadow: 0 18px 44px rgba(50,16,77,.07);
}
.signal-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(var(--orange), var(--rose));
}
.signal-card-index {
  color: var(--rose);
  font-weight: 900;
  letter-spacing: .12em;
}
.signal-card h3 { margin: 8px 0 6px; color: var(--violet); font-size: 1.28rem; }
.signal-card p { color: var(--muted); line-height: 1.7; }
.signal-lines {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}
.signal-lines div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border-radius: 8px;
  background: var(--soft);
}
.signal-lines small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
  font-size: .68rem;
}
.signal-lines strong, .signal-lines a { color: var(--violet); font-weight: 900; overflow-wrap: anywhere; }
.signal-note {
  margin-top: 16px !important;
  padding: 14px;
  border-radius: 8px;
  background: rgba(141,226,255,.16);
  color: var(--violet) !important;
}
.signal-note.warm { background: rgba(242,138,46,.14); }
.signal-steps {
  display: grid;
  gap: 14px;
}
.signal-steps div, .signal-guarantees {
  padding: 22px;
  border-radius: 8px;
  background: white;
  border: 1px solid rgba(50,16,77,.1);
  box-shadow: 0 14px 34px rgba(50,16,77,.06);
}
.signal-steps span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: var(--violet);
  font-weight: 900;
}
.signal-steps h3, .signal-guarantees h3 { color: var(--violet); margin: 12px 0 7px; }
.signal-steps p { margin: 0; color: var(--muted); line-height: 1.7; }
.signal-guarantees { margin-top: 16px; }
.signal-guarantees ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}
.signal-form-panel {
  display: grid;
  grid-template-columns: .72fr 1fr;
  gap: 34px;
  margin-top: 52px;
  padding: 34px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(50,16,77,.96), rgba(91,26,124,.9)),
    url("../img/terrain-atelier.jpg") center/cover;
  box-shadow: var(--shadow);
}
.signal-form-panel h2 { color: white; }
.signal-form-panel > div > p:not(.eyebrow) { color: rgba(255,255,255,.78); line-height: 1.8; }
.signal-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
}
.signal-form label {
  display: grid;
  gap: 7px;
  color: rgba(255,255,255,.82);
  font-weight: 900;
  font-size: .86rem;
}
.signal-form label span { color: rgba(255,255,255,.56); font-weight: 600; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.signal-form input, .signal-form select, .signal-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  padding: 14px;
  color: var(--ink);
  background: white;
}
.check-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  line-height: 1.6;
}
.check-line input { width: auto; margin-top: 4px; accent-color: var(--orange); }
.signal-success {
  padding: 16px;
  border-radius: 8px;
  color: #0d5f36;
  background: #e9fff2;
  border: 1px solid rgba(13,95,54,.2);
  line-height: 1.7;
}
.signal-policy {
  margin-top: 34px;
  padding: 36px;
  text-align: center;
  color: white;
  border-radius: 8px;
  background: linear-gradient(135deg, #14081f, var(--violet), #243b64);
}
.signal-policy h2 { color: white; }
.signal-policy p {
  max-width: 740px;
  margin: 0 auto 22px;
  color: rgba(255,255,255,.76);
  line-height: 1.8;
}

dialog {
  width: min(980px, calc(100% - 28px));
  max-height: 92vh;
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  box-shadow: var(--shadow);
  background: white;
}
dialog::backdrop { background: rgba(16,7,25,.78); backdrop-filter: blur(10px); }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.9);
  color: var(--violet);
  font-size: 1.6rem;
  cursor: pointer;
}
.activity-modal { grid-template-columns: minmax(360px, .95fr) minmax(360px, 1fr); overflow: hidden; }
.activity-modal[open] { display: grid; }
.modal-media { background: #0e0618; display: grid; align-items: center; }
.modal-media img { width: 100%; height: 100%; object-fit: contain; }
.modal-body { padding: 42px; max-height: 92vh; overflow-y: auto; }
.modal-body h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.modal-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 24px; }
.modal-meta span { padding: 8px 10px; border-radius: 8px; background: var(--soft); color: var(--violet); font-size: .82rem; font-weight: 900; }
.modal-body p { color: var(--muted); line-height: 1.75; }
.modal-body h3 { margin: 24px 0 8px; }
.lightbox-content img, .lightbox-content iframe { width: 100%; max-height: 82vh; object-fit: contain; background: #000; }
.lightbox-content iframe { height: min(70vh, 640px); }
.activity-slider {
  position: relative;
  width: 100%;
  height: min(92vh, 760px);
  min-height: 560px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.08), transparent 42%),
    #0e0618;
}
.activity-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  opacity: 0;
  transition: opacity .45s ease;
}
.activity-slider img.active { opacity: 1; }
.slider-controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  padding: 18px;
}
.slider-controls button {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 8px;
  background: rgba(14,6,24,.68);
  color: white;
  cursor: pointer;
  pointer-events: auto;
  backdrop-filter: blur(12px);
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}
.slider-count {
  align-self: end;
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 9px 12px;
  border-radius: 8px;
  color: white;
  background: rgba(0,0,0,.38);
  font-weight: 900;
  pointer-events: none;
}

.map-section { background: #fff; }
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 420px;
}
.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
  font-size: .82rem;
}
.map-legend i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.map-legend .green { background: #30b978; }
.map-legend .orange { background: var(--orange); }
.map-legend .grey { background: #9fb3bf; }
.map-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  overflow: hidden;
  border: 1px solid rgba(50,16,77,.1);
  border-radius: 8px;
  box-shadow: 0 20px 54px rgba(50,16,77,.08);
}
.map-area {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  padding: 34px;
  background:
    radial-gradient(circle at 25% 20%, rgba(141,226,255,.22), transparent 34%),
    linear-gradient(145deg, #edf9ff, #f8ecff);
}
#ciSvgMap {
  width: min(100%, 560px);
  filter: drop-shadow(0 22px 30px rgba(50,16,77,.18));
}
#ciSvgMap text {
  fill: white;
  font-size: 9px;
  font-weight: 900;
  text-anchor: middle;
  pointer-events: none;
  paint-order: stroke;
  stroke: rgba(26,9,40,.42);
  stroke-width: 2px;
}
.ci-region {
  fill: #9fb3bf;
  stroke: rgba(255,255,255,.88);
  stroke-width: 1;
  cursor: pointer;
  transition: fill .25s ease, filter .25s ease, opacity .25s ease, stroke-width .25s ease;
}
.ci-region:hover, .ci-region.selected {
  filter: brightness(1.08);
  stroke-width: 2.5;
}
.ci-region.active { fill: #30b978; }
.ci-region.closed { fill: var(--orange); }
.map-tip {
  position: absolute;
  z-index: 5;
  width: min(310px, calc(100% - 28px));
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
  padding: 16px;
  border-radius: 8px;
  color: white;
  background: rgba(18, 7, 28, .92);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 48px rgba(0,0,0,.24);
}
.map-tip.show { opacity: 1; transform: translateY(0); }
.map-tip h4 { margin: 0 0 5px; color: var(--blue); }
.map-tip .tip-zone { color: rgba(255,255,255,.58); font-size: .78rem; }
.tip-label {
  margin-top: 12px;
  margin-bottom: 5px;
  color: rgba(255,255,255,.48);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .68rem;
  font-weight: 900;
}
.tip-pill {
  display: inline-flex;
  margin: 3px 4px 3px 0;
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(48,185,120,.16);
  color: #b9ffd9;
  font-size: .74rem;
  font-weight: 800;
}
.tip-pill.closed { background: rgba(242,138,46,.18); color: #ffd2a7; }
.map-sidebar {
  border-left: 1px solid rgba(50,16,77,.1);
  background: #fff;
  max-height: 620px;
  overflow-y: auto;
}
.map-sidebar-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 20px;
  color: white;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
}
.map-sidebar-head h3 { margin: 0 0 6px; }
.map-sidebar-head p { margin: 0; color: rgba(255,255,255,.64); }
.region-list-item {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(50,16,77,.08);
  cursor: pointer;
}
.region-list-item:hover, .region-list-item.active { background: var(--soft); }
.r-dot { width: 11px; height: 11px; border-radius: 50%; background: #30b978; }
.r-dot.closed { background: var(--orange); }
.r-dot.none { background: #9fb3bf; }
.r-info h4 { margin: 0 0 3px; color: var(--violet); font-size: .92rem; }
.r-info p { margin: 0; color: var(--muted); font-size: .76rem; }
.r-badge {
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(48,185,120,.12);
  color: #16834e;
  font-weight: 900;
  font-size: .68rem;
}
.r-badge.closed { background: rgba(242,138,46,.14); color: #bc6418; }
.r-badge.none { background: #eef3f6; color: #718695; }
.map-detail {
  display: none;
  margin-top: 18px;
  padding: 26px;
  border-radius: 8px;
  background: var(--soft);
  border: 1px solid rgba(50,16,77,.08);
}
.map-detail.show { display: block; }
.map-detail h3 { margin: 0 0 4px; color: var(--violet); font-size: 1.6rem; }
.map-detail p { color: var(--muted); }
.map-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.map-detail-grid div {
  padding: 18px;
  border-radius: 8px;
  background: white;
}
.map-detail li { margin-bottom: 8px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(1.18); opacity: .55; } }
@keyframes scroll { 50% { transform: translateY(12px); opacity: .45; } }
@keyframes signalPulse { 50% { box-shadow: 0 0 0 7px rgba(242,138,46,0); } }

@media (max-width: 980px) {
  .site-header { top: 0; width: 100%; border-radius: 0; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    padding: 14px;
    background: rgba(30, 12, 49, .96);
  }
  .site-header.menu-open .main-nav { display: flex; }
  .header-donate { display: none; }
  .hero { padding-top: 130px; align-items: center; }
  .hero-panel { position: relative; right: auto; bottom: auto; margin-top: 34px; }
  .about-grid, .impact, .donation, .contact { grid-template-columns: 1fr; }
  .signal-layout, .signal-form-panel, .signal-alert { grid-template-columns: 1fr; }
  .activity-grid, .news-grid, .partner-row { grid-template-columns: 1fr 1fr; }
  .activity-card:nth-child(1), .activity-card:nth-child(4) { grid-column: span 1; }
  .gallery-masonry { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .activity-modal[open] { display: block; overflow-y: auto; }
  .modal-media img { max-height: 360px; }
  .activity-slider { min-height: 330px; height: 46vh; }
  .slider-controls button { width: 50px; height: 50px; }
  .map-layout { grid-template-columns: 1fr; }
  .map-sidebar { max-height: 360px; border-left: 0; border-top: 1px solid rgba(50,16,77,.1); }
  .map-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .brand { min-width: 0; }
  .brand small { display: none; }
  .section { padding: 82px 18px; }
  .hero { padding: 120px 18px 42px; }
  h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .btn { width: 100%; }
  .activity-grid, .gallery-masonry, .news-grid, .stats-strip, .partner-row, .impact-timeline { grid-template-columns: 1fr; }
  .gallery-item.wide { grid-column: span 1; grid-row: span 1; }
  .about-visual { min-height: 380px; }
  .section-top { display: block; }
  .filters { margin-top: 22px; }
  .newsletter { display: grid; }
  .newsletter input, .newsletter button { min-height: 52px; }
  .form-two { grid-template-columns: 1fr; }
  .signal-lines div { display: grid; }
  .signal-form-panel { padding: 22px; }
}
