/* ============================================================
   WAPCO — Master Stylesheet v3.0
   West African Postal Conference (WAPCO / CPEAO)
   Unified design system — no external framework dependency.
   Brand: Green #01A552 | Blue #373980 | Yellow #FDE921 | Navy #0f1a3a
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── CSS Custom Properties ──────────────────────────────── */
:root {
  --green:       #01A552;
  --green-dark:  #018a44;
  --green-light: #e6f7ef;
  --blue:        #373980;
  --blue-dark:   #2a2c6b;
  --blue-light:  #eeeffe;
  --navy:        #0f1a3a;
  --yellow:      #FDE921;
  --yellow-light:#fffbe0;
  --white:       #ffffff;
  --surface:     #f8fafc;
  --surface-2:   #f1f5f9;
  --border:      #e2e8f0;
  --border-dark: #cbd5e1;
  --text:        #0f172a;
  --text-2:      #1e293b;
  --muted:       #64748b;
  --muted-light: #94a3b8;

  --radius-xs:  6px;
  --radius-sm:  10px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,.05);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.13);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.16);

  --transition: 200ms ease;
  --transition-slow: 400ms ease;

  --container: 1280px;
  --section-y: 88px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 80px; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}

/* ── Accessibility ─────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

/* ── Skip link ─────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -9999px; left: 16px;
  background: var(--green); color: #fff;
  padding: 12px 20px; border-radius: var(--radius-md);
  font-weight: 700; font-size: 14px; z-index: 9999;
}
.skip-link:focus { top: 16px; }

/* ── Layout Helpers ────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section     { padding: var(--section-y) 0; }
.section-sm  { padding: 56px 0; }
.section-xs  { padding: 40px 0; }

.section-label {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--green); display: block;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; color: var(--text);
  margin-top: 8px; letter-spacing: -0.03em;
}
.section-sub {
  font-size: 16px; color: var(--muted);
  margin-top: 12px; line-height: 1.7;
  max-width: 560px;
}
.divider {
  width: 44px; height: 4px;
  background: var(--green); border-radius: 2px;
  margin: 16px 0 24px;
}

/* ── Navigation ────────────────────────────────────────── */
.wapco-nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
}
.wapco-nav__inner {
  max-width: var(--container); margin: 0 auto;
  padding: 0 24px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.wapco-nav__logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.wapco-nav__logo img {
  height: 48px; width: 48px; object-fit: contain; flex-shrink: 0;
}
.wapco-nav__logo-text strong {
  display: block; font-size: 18px; font-weight: 900;
  color: var(--blue); letter-spacing: -0.02em; line-height: 1;
}
.wapco-nav__logo-text span {
  font-size: 9px; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 3px; display: block;
}
.wapco-nav__links {
  display: flex; align-items: center; gap: 28px;
}
.wapco-nav__link {
  font-size: 13px; font-weight: 600; color: var(--muted);
  transition: color var(--transition); position: relative;
  padding: 4px 0;
}
.wapco-nav__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--green); border-radius: 1px;
  transform: scaleX(0); transition: transform var(--transition);
  transform-origin: left;
}
.wapco-nav__link:hover,
.wapco-nav__link.active { color: var(--green); }
.wapco-nav__link:hover::after,
.wapco-nav__link.active::after { transform: scaleX(1); }
.wapco-nav__cta {
  padding: 10px 22px;
  background: var(--green); color: #fff;
  font-size: 13px; font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.wapco-nav__cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(55,57,128,.3);
}

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center;
  background: none; border: none; padding: 6px; border-radius: var(--radius-sm);
  gap: 5px; width: 36px; height: 36px;
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 300ms ease, opacity 300ms ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .wapco-nav__links {
    display: none; position: absolute; top: 72px;
    left: 0; right: 0; z-index: 200;
    background: #fff; flex-direction: column;
    padding: 12px 24px 24px; align-items: stretch;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); gap: 2px;
  }
  .wapco-nav__links.open { display: flex; }
  .wapco-nav__link {
    padding: 12px 0; font-size: 15px;
    border-bottom: 1px solid var(--border);
  }
  .wapco-nav__link::after { display: none; }
  .wapco-nav__cta {
    display: block; text-align: center;
    margin-top: 12px; padding: 14px;
  }
}

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 14px;
  transition: all var(--transition); cursor: pointer;
  border: none; text-decoration: none; white-space: nowrap;
}
.btn-primary   { background: var(--green); color: #fff; }
.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1,165,82,.32);
}
.btn-blue      { background: var(--blue); color: #fff; }
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(55,57,128,.32);
}
.btn-secondary {
  background: rgba(255,255,255,.14); color: #fff;
  border: 1.5px solid rgba(255,255,255,.32);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,.24); }
.btn-outline {
  background: transparent; color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-dark); }
.btn-sm  { padding: 9px 18px; font-size: 13px; }
.btn-lg  { padding: 17px 36px; font-size: 15px; }

/* ── Tags / Badges ─────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.tag-green  { background: rgba(1,165,82,.1);   color: var(--green); }
.tag-blue   { background: rgba(55,57,128,.1);  color: var(--blue); }
.tag-yellow { background: rgba(253,233,33,.2); color: #9a7f00; }
.tag-navy   { background: rgba(15,26,58,.08);  color: var(--navy); }
.tag-red    { background: rgba(220,38,38,.1);  color: #b91c1c; }
.tag-teal   { background: rgba(20,184,166,.1); color: #0f766e; }
.tag-purple { background: rgba(109,40,217,.1); color: #6d28d9; }
.tag-white  { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.2); }

/* Badge (pill with dot) */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--yellow);
}
.badge__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

/* Status dot */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
}
.status__dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.status--active .status__dot { background: var(--green); }
.status--active { color: var(--green); }
.status--progress .status__dot { background: var(--blue); }
.status--progress { color: var(--blue); }
.status--planned .status__dot { background: var(--muted-light); }
.status--planned { color: var(--muted); }

/* ── Cards ─────────────────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-dark);
}
.card--active:hover {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(1,165,82,.12);
}

/* Pillar card */
.pillar-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}
.pillar-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(1,165,82,.10);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 60px; height: 60px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 26px;
}
.pillar-title {
  font-size: 16px; font-weight: 800; color: var(--text);
  margin-bottom: 10px;
}
.pillar-text {
  font-size: 13px; color: var(--muted); line-height: 1.7;
}

/* Member state card */
.member-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 24px 16px; text-decoration: none;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); transition: all var(--transition);
  position: relative; overflow: hidden;
}
.member-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--green);
  transform: scaleX(0); transition: transform var(--transition);
  transform-origin: left;
}
.member-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(1,165,82,.14);
  transform: translateY(-5px);
}
.member-card:hover::before { transform: scaleX(1); }
.member-card__flag {
  width: 72px; height: 50px; object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  margin-bottom: 14px;
}
.member-card__name {
  font-size: 14px; font-weight: 800; color: var(--text);
  line-height: 1.2; margin-bottom: 4px;
}
.member-card__operator {
  font-size: 10px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.member-card__arrow {
  width: 30px; height: 30px; background: var(--surface);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: var(--green); font-size: 13px;
  transition: all var(--transition); border: 1px solid var(--border);
}
.member-card:hover .member-card__arrow {
  background: var(--green); color: #fff; border-color: var(--green);
  transform: translateX(3px);
}

/* Project / Initiative card */
.project-card {
  border-radius: var(--radius-xl); overflow: hidden;
  background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.project-card__visual {
  height: 190px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.project-card__visual-icon {
  font-size: 52px; position: relative; z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.3));
}
.project-card__visual-year {
  position: absolute; bottom: 14px; right: 16px; z-index: 1;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.25); padding: 4px 10px;
  border-radius: var(--radius-full); backdrop-filter: blur(4px);
}
.project-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project-card__tag  { margin-bottom: 12px; }
.project-card__title {
  font-size: 17px; font-weight: 800; color: var(--text);
  margin-bottom: 10px; line-height: 1.3;
}
.project-card__text {
  font-size: 13px; color: var(--muted);
  line-height: 1.7; flex: 1; margin-bottom: 16px;
}

/* Publication card */
.pub-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.pub-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-dark);
}
.pub-card__icon {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pub-card__title { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1.3; }
.pub-card__text  { font-size: 12px; color: var(--muted); flex: 1; }
.pub-card__footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.pub-card__date  { font-size: 11px; font-weight: 700; color: var(--muted-light); }
.pub-card__link  { font-size: 12px; font-weight: 700; color: var(--green); transition: color var(--transition); }
.pub-card__link:hover { color: var(--green-dark); }

/* News card */
.news-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all var(--transition);
  display: flex; flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.news-card__img {
  width: 100%; height: 200px; object-fit: cover;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.news-card__img-placeholder {
  width: 100%; height: 200px;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.news-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-card__meta {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.news-card__date { font-size: 11px; font-weight: 700; color: var(--muted-light); }
.news-card__title { font-size: 16px; font-weight: 800; color: var(--text); line-height: 1.35; margin-bottom: 10px; }
.news-card__text  { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 16px; }
.news-card__link  { font-size: 13px; font-weight: 700; color: var(--green); transition: color var(--transition); }
.news-card__link:hover { color: var(--green-dark); }

/* Governance card */
.gov-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-xl); padding: 36px;
  transition: all var(--transition);
}
.gov-card:hover {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(1,165,82,.12);
  transform: translateY(-3px);
}
.gov-card__icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--green-light); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.gov-card__title  { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.gov-card__text   { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.gov-card__link   { font-size: 13px; font-weight: 700; color: var(--green); transition: color var(--transition); }
.gov-card__link:hover { color: var(--green-dark); }

/* Stat block */
.stat-block {
  text-align: center; padding: 44px 20px;
  border-right: 1px solid rgba(255,255,255,.07);
  position: relative;
}
.stat-block:last-child { border-right: none; }
.stat-block__num {
  font-size: clamp(36px, 5vw, 58px); font-weight: 900;
  color: var(--green); line-height: 1; letter-spacing: -0.03em;
}
.stat-block__label {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 8px;
}

/* Timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 4px; bottom: 4px;
  width: 2px; background: var(--border);
}
.timeline__item { position: relative; padding: 0 0 32px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: -24px; top: 3px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--green);
  box-shadow: 0 0 0 3px rgba(1,165,82,.15);
}
.timeline__year {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--green); margin-bottom: 4px;
}
.timeline__title { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.timeline__text  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── Info grid (country profile facts) ─────────────────── */
.info-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.info-cell {
  padding: 14px; background: var(--surface);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: 4px;
}
.info-cell__label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-light);
}
.info-cell__value { font-size: 14px; font-weight: 700; color: var(--text); }

/* Highlight cards */
.hl-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all var(--transition);
}
.hl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.hl-icon { font-size: 30px; margin-bottom: 12px; }
.hl-title { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.hl-text  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* Sidebar postal card */
.postal-sidebar {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 28px;
  box-shadow: var(--shadow-md); position: sticky; top: 90px;
}
.postal-sidebar__header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.postal-sidebar__logo-wrap {
  width: 50px; height: 50px; border-radius: var(--radius-md);
  background: var(--green-light); display: flex;
  align-items: center; justify-content: center; font-size: 22px;
  flex-shrink: 0;
}
.postal-sidebar__operator { font-size: 14px; font-weight: 800; color: var(--text); }
.postal-sidebar__est      { font-size: 11px; font-weight: 600; color: var(--muted); }
.service-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 14px; color: var(--text); font-weight: 500;
}
.service-list li:last-child { border-bottom: none; }
.service-dot {
  width: 8px; height: 8px; background: var(--green);
  border-radius: 50%; flex-shrink: 0;
}
.member-since-box {
  margin-top: 20px; padding: 16px;
  background: var(--green-light); border: 1px solid rgba(1,165,82,.2);
  border-radius: var(--radius-md);
}
.member-since-box__label {
  font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--green); margin-bottom: 4px;
}
.member-since-box__year  { font-size: 20px; font-weight: 900; color: var(--text); }
.member-since-box__note  { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── Map elements ─────────────────────────────────────── */
#map-wrap {
  background: #dff0e8; border-radius: var(--radius-xl);
  border: 1px solid #b8dfc9; overflow: hidden;
  position: relative; cursor: default;
}
#wapco-map { width: 100%; display: block; }
#map-spinner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #dff0e8;
}
.map-spinner__ring {
  width: 40px; height: 40px;
  border: 3px solid rgba(1,165,82,.2);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
#map-tooltip {
  position: fixed; z-index: 999;
  display: none; align-items: center; gap: 10px;
  background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.1);
  font-family: 'Inter', sans-serif;
}
#map-tooltip img { width: 28px; height: 20px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.tt-name { line-height: 1.2; }
.tt-sub  { font-weight: 400; font-size: 11px; opacity: .7; margin-top: 2px; }
.map-legend {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 16px;
}
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.legend-dot  { width: 14px; height: 14px; border-radius: 4px; }

/* Country Leaflet map */
#country-map {
  height: 380px; border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--border);
}
.leaflet-container { font-family: 'Inter', sans-serif !important; }

/* ── Hero elements ─────────────────────────────────────── */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--yellow);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 900; line-height: 1.04;
  letter-spacing: -0.04em; color: #fff;
  margin-bottom: 24px;
}
.hero-title span { color: var(--green); }
.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,.72); line-height: 1.65;
  max-width: 590px; margin-bottom: 40px;
}
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  margin-top: 52px;
}
.hero-trust__icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-trust__text { font-size: 12px; color: rgba(255,255,255,.5); font-weight: 600; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.3); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; cursor: pointer;
}
.hero-scroll svg { animation: bounce 1.8s ease-in-out infinite; }

/* Country page hero */
.country-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 60%, #0d2a1a 100%);
  padding: 80px 0 64px; color: #fff; position: relative; overflow: hidden;
}
.country-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 30%, rgba(255,255,255,.05) 0%, transparent 60%);
  pointer-events: none;
}
.country-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 28px; transition: color var(--transition);
}
.country-back:hover { color: rgba(255,255,255,.9); }
.country-flag {
  height: 90px; border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35); flex-shrink: 0;
}
.country-heading {
  font-size: clamp(32px,5vw,58px); font-weight: 900;
  letter-spacing: -0.03em; line-height: 1; color: #fff; margin-bottom: 8px;
}
.country-formal { font-size: 14px; color: rgba(255,255,255,.55); font-style: italic; margin-bottom: 20px; }
.country-op-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700; color: #fff;
}

/* ── CTA Band ────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,255,255,.07) 0%, transparent 60%);
  pointer-events: none;
}
.cta-band--blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
}

/* ── Footer ─────────────────────────────────────────────── */
.footer { background: var(--navy); color: rgba(255,255,255,.6); }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding: 72px 0 48px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer__brand img { height: 44px; width: 44px; object-fit: contain; }
.footer__brand-name { color: #fff; font-size: 17px; font-weight: 900; letter-spacing: -0.02em; }
.footer__brand-sub  { color: rgba(255,255,255,.4); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }
.footer__desc { font-size: 13px; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,.45); }
.footer__contacts { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.footer__contact-row { display: flex; align-items: center; gap: 10px; }
.footer__contact-row svg { flex-shrink: 0; }
.footer__contact-row a,
.footer__contact-row span {
  font-size: 12px; color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer__contact-row a:hover { color: var(--green); }
.footer-heading {
  color: #fff; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px;
}
.footer-link {
  display: block; font-size: 13px;
  color: rgba(255,255,255,.5); margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--green); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 12px; color: rgba(255,255,255,.28); }
.footer__upu  { font-size: 12px; color: rgba(255,255,255,.28); }

/* ── Animations ─────────────────────────────────────────── */
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes bounce  { 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(6px) } }
@keyframes fadeUp  { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes pulse   { 0%,100%{ opacity:1 } 50%{ opacity:.5 } }

.animate-up { animation: fadeUp .5s ease both; }
.animate-up.delay-1 { animation-delay: .1s; }
.animate-up.delay-2 { animation-delay: .2s; }
.animate-up.delay-3 { animation-delay: .3s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Utility ────────────────────────────────────────────── */
.text-green  { color: var(--green); }
.text-blue   { color: var(--blue); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--muted); }
.text-white  { color: #fff; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.fw-900 { font-weight: 900; }
.fw-800 { font-weight: 800; }
.fw-700 { font-weight: 700; }
.bg-surface  { background: var(--surface); }
.bg-white    { background: #fff; }
.bg-navy     { background: var(--navy); }
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.wrap   { flex-wrap: wrap; }
.hover-underline { text-decoration: underline; text-underline-offset: 3px; }

/* Page header (inner pages hero) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, #0d2a1a 100%);
  padding: 80px 0 72px; color: #fff; position: relative; overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 40%, rgba(1,165,82,.12) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero__label {
  display: inline-block; padding: 7px 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-full); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--yellow);
  margin-bottom: 20px;
}
.page-hero__title {
  font-size: clamp(32px,5vw,60px); font-weight: 900;
  letter-spacing: -0.03em; color: #fff; margin-bottom: 16px;
}
.page-hero__title span { color: var(--green); }
.page-hero__sub {
  font-size: 16px; color: rgba(255,255,255,.68); line-height: 1.7;
  max-width: 620px; margin: 0 auto;
}

/* Responsive grids */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }

@media (max-width: 1100px) {
  .grid-5 { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-5 { grid-template-columns: repeat(3,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2,1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .postal-sidebar { position: static; }
}
@media (max-width: 600px) {
  :root { --section-y: 60px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* ── Form elements ─────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 700; color: var(--text-2); }
.form-input, .form-select, .form-textarea {
  padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius-md); font-family: inherit;
  font-size: 14px; color: var(--text);
  background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(1,165,82,.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-hint { font-size: 12px; color: var(--muted); }

/* ── Misc ───────────────────────────────────────────────── */
.sep { border: none; border-top: 1px solid var(--border); margin: 32px 0; }

/* ══════════════════════════════════════════════════════════
   ELITE NAV — Transparent hero → solid on scroll
   Used on index.html only (via .wapco-nav--transparent init)
══════════════════════════════════════════════════════════ */
.wapco-nav--fixed {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: none !important;
  transition: background 380ms cubic-bezier(0.4,0,0.2,1),
              border-color 380ms cubic-bezier(0.4,0,0.2,1),
              box-shadow 380ms cubic-bezier(0.4,0,0.2,1);
}
.wapco-nav--fixed.is-solid {
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 24px rgba(0,0,0,.07) !important;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

/* Logo in transparent mode */
.wapco-nav--fixed .wapco-nav__logo img {
  filter: brightness(0) invert(1);
  transition: filter 380ms ease;
}
.wapco-nav--fixed.is-solid .wapco-nav__logo img { filter: none; }

.wapco-nav--fixed .wapco-nav__logo-text strong {
  color: #fff !important;
  transition: color 380ms ease;
}
.wapco-nav--fixed.is-solid .wapco-nav__logo-text strong { color: var(--navy) !important; }
.wapco-nav--fixed .wapco-nav__logo-text span { color: rgba(255,255,255,.4); transition: color 380ms ease; }
.wapco-nav--fixed.is-solid .wapco-nav__logo-text span { color: var(--muted); }

/* Links in transparent mode */
.wapco-nav--fixed .wapco-nav__link {
  color: rgba(255,255,255,.75);
  transition: color 200ms ease, background 200ms ease;
}
.wapco-nav--fixed .wapco-nav__link:hover,
.wapco-nav--fixed .wapco-nav__link.active {
  color: #fff;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
}
.wapco-nav--fixed.is-solid .wapco-nav__link { color: var(--muted); }
.wapco-nav--fixed.is-solid .wapco-nav__link:hover { color: var(--text); background: var(--surface); border-radius: var(--radius-sm); }
.wapco-nav--fixed.is-solid .wapco-nav__link.active { color: var(--green); background: var(--green-light); border-radius: var(--radius-sm); }
.wapco-nav--fixed .wapco-nav__link::after { display: none; }

/* CTA in transparent mode */
.wapco-nav--fixed .wapco-nav__cta {
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.3) !important;
  backdrop-filter: blur(8px);
  box-shadow: none !important;
  transition: all 200ms ease;
}
.wapco-nav--fixed .wapco-nav__cta:hover {
  background: rgba(255,255,255,.28) !important;
  border-color: rgba(255,255,255,.6) !important;
  transform: translateY(-1px);
}
.wapco-nav--fixed.is-solid .wapco-nav__cta {
  background: var(--green) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(1,165,82,.2) !important;
}
.wapco-nav--fixed.is-solid .wapco-nav__cta:hover {
  background: var(--green-dark) !important;
  box-shadow: 0 6px 20px rgba(1,165,82,.35) !important;
}

/* Hamburger in transparent mode */
.wapco-nav--fixed .nav-toggle span { background: #fff; transition: background 380ms ease; }
.wapco-nav--fixed.is-solid .nav-toggle span { background: var(--text); }

/* Body needs top padding when nav is fixed */
.has-fixed-nav { padding-top: 0; }

/* ══════════════════════════════════════════════════════════
   HERO SECTION (Elite full-bleed photo version)
══════════════════════════════════════════════════════════ */
.hero-photo {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-photo__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,22,40,.88) 0%, rgba(10,22,40,.55) 60%, rgba(10,22,40,.3) 100%),
    url('https://images.unsplash.com/photo-1578662996442-48f60103fc96?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero-photo__bg.loaded { transform: scale(1); }

/* Grain overlay for editorial feel */
.hero-photo__grain {
  position: absolute; inset: 0; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.hero-photo__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 32px 96px;
  width: 100%;
}
.hero-photo__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--yellow);
  margin-bottom: 32px;
}
.hero-photo__eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(.8)} }

.hero-photo__title {
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 24px;
  max-width: 800px;
}
.hero-photo__title em {
  font-style: normal;
  color: var(--green);
  -webkit-text-stroke: 0;
}
.hero-photo__sub {
  font-size: clamp(16px, 1.8vw, 20px);
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 44px;
}
.hero-photo__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo__trust {
  display: flex; align-items: center; gap: 16px;
  margin-top: 56px; flex-wrap: wrap;
}
.hero-photo__trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,.45);
}
.hero-photo__trust-item svg { flex-shrink: 0; }
.hero-photo__trust-sep { width: 1px; height: 16px; background: rgba(255,255,255,.15); }

.hero-photo__scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.3);
  font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.16em;
  cursor: pointer; z-index: 2;
  transition: color 200ms ease;
}
.hero-photo__scroll:hover { color: rgba(255,255,255,.6); }
.hero-photo__scroll-arrow {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: bounce 2s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════════
   INITIATIVE CARDS WITH REAL IMAGES
══════════════════════════════════════════════════════════ */
.init-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 300ms ease;
  display: flex;
  flex-direction: column;
}
.init-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }

.init-card__img-wrap {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.init-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.init-card:hover .init-card__img { transform: scale(1.06); }
.init-card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.9) 0%, rgba(10,22,40,.2) 55%, transparent 100%);
}
.init-card__img-footer {
  position: absolute; bottom: 16px; left: 20px; right: 20px;
  z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
}
.init-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.init-card__title { font-size: 16px; font-weight: 800; color: var(--text); line-height: 1.3; margin-bottom: 8px; }
.init-card__text  { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; }
.init-card__status { margin-top: 16px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }

/* ══════════════════════════════════════════════════════════
   QUOTE / IMPACT STRIP
══════════════════════════════════════════════════════════ */
.impact-strip {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.impact-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  opacity: .12;
}
.impact-strip__inner {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
  text-align: center; padding: 0 32px;
}
.impact-strip__quote {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.impact-strip__quote em { font-style: normal; color: var(--green); }
.impact-strip__source {
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
