/* ==========================================================================
   LOCMAS — Local Authority Management System
   Design system & global styles
   Palette: deep navy + gold accent + charcoal dark panels (the system "face")
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #0a1530;
  --navy-800: #0f2150;
  --navy-700: #152e68;   /* primary deep */
  --navy-600: #1d3f8a;
  --royal:    #2a57c9;
  --royal-50: #eef3ff;
  --gold:     #f2a93b;
  --gold-600: #e0951f;
  --gold-50:  #fff7e9;
  --ink:      #111112;    /* signature dark panel */
  --ink-700:  #1d1f24;

  /* Namibian flag accent touches */
  --flag-blue:  #0046a8;
  --flag-red:   #cf2027;
  --flag-green: #009543;

  /* Neutrals */
  --white: #ffffff;
  --paper: #f7f9fc;
  --paper-2: #eef2f8;
  --line: #e4e9f2;
  --muted: #5b6580;
  --text: #1c2333;
  --text-soft: #44506a;

  --shadow-sm: 0 1px 2px rgba(15,33,80,.06), 0 1px 3px rgba(15,33,80,.08);
  --shadow-md: 0 10px 30px -12px rgba(15,33,80,.22);
  --shadow-lg: 0 30px 60px -20px rgba(15,33,80,.35);
  --shadow-gold: 0 14px 30px -12px rgba(224,149,31,.55);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --container: 1200px;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Reset & base ----------------------------------------------------------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1,h2,h3,h4 { line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--navy-800); }

/* Layout helpers --------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.center { text-align: center; }
.grid { display: grid; gap: 28px; }
.muted { color: var(--muted); }
.lead { font-size: 1.18rem; color: var(--text-soft); line-height: 1.7; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--royal); background: var(--royal-50);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--gold); background: rgba(242,169,59,.12); }
.eyebrow::before { content:""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }
h2.title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.section-head p { margin-top: 16px; font-size: 1.12rem; color: var(--text-soft); }

.accent { color: var(--gold-600); }
.text-navy { color: var(--navy-700); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: all .25s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: #1a1205; box-shadow: var(--shadow-gold); }
.btn-primary:hover { background: var(--gold-600); transform: translateY(-2px); }
.btn-navy { background: var(--navy-700); color: #fff; }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--navy-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy-600); background: var(--paper); }
.btn-outline-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 1.02rem; }

/* Header / Nav ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.nav .brand { display: flex; align-items: center; }
.nav .brand img { height: 60px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 600; font-size: .96rem; color: var(--text-soft);
  padding: 10px 16px; border-radius: 10px; transition: all .2s;
}
.nav-links a:hover { color: var(--navy-700); background: var(--paper); }
.nav-links a.active { color: var(--navy-700); }
.nav-links a.active::after {
  content: ""; display: block; height: 3px; width: 22px; margin: 4px auto 0;
  background: var(--gold); border-radius: 3px;
}
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.4px; background: var(--navy-700); border-radius: 3px; transition: .3s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7.4px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7.4px) rotate(-45deg); }

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(42,87,201,.30), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(242,169,59,.12), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700) 60%, var(--navy-600));
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 400px at 70% 30%, #000 30%, transparent 75%);
  opacity: .6;
}
.hero-flag { display: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
  padding: 96px 0 104px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.04; }
.hero h1 .hl { color: var(--gold); }
.hero p.sub { margin-top: 22px; font-size: 1.2rem; color: #c9d4ee; max-width: 540px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 26px; color: #aebbd8; font-size: .92rem; }
.hero-trust div { display: flex; align-items: center; gap: 9px; }
.hero-trust strong { color: #fff; font-size: 1.5rem; font-weight: 800; display:block; line-height:1; }
.hero-trust .stat span { font-size: .82rem; color: #9fadcc; }

/* Hero device mock */
.hero-visual { position: relative; }
.hero-shot {
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg);
  background: var(--ink);
  transform: perspective(1600px) rotateY(-8deg) rotateX(2deg);
  transition: transform .4s ease;
}
.hero-shot:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.hero-shot img { display: block; width: 100%; height: auto; }
.device {
  background: var(--ink); border-radius: 18px; padding: 14px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08);
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
}
.device-bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 12px; }
.device-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3d47; }
.device-bar i:nth-child(1){ background:#ff5f57;} .device-bar i:nth-child(2){ background:#febc2e;} .device-bar i:nth-child(3){ background:#28c840;}
.device-url { margin-left: 10px; display: inline-flex; align-items: center; gap: 6px; flex: 1;
  background: #26282f; color: #aeb6c6; font-size: .62rem; font-weight: 600; letter-spacing: .02em;
  padding: 5px 12px; border-radius: 999px; }
.device-url svg { width: 11px; height: 11px; color: #6fd08a; }

/* Dashboard mockup */
.dash { display: grid; grid-template-columns: 96px 1fr; background: #eef2f8; border-radius: 11px; overflow: hidden; height: 396px; }
.dash-side { background: var(--ink); padding: 14px 10px; display: flex; flex-direction: column; gap: 4px; }
.dash-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--gold); color: #1a1205; display: grid; place-items: center; margin: 2px 0 12px 4px; }
.dash-logo svg { width: 17px; height: 17px; }
.dash-nav { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 8px; color: #97a1b8; font-size: .68rem; font-weight: 600; white-space: nowrap; }
.dash-nav svg { width: 15px; height: 15px; flex-shrink: 0; }
.dash-nav.on { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 2px 0 0 var(--gold); }

.dash-main { padding: 14px 15px; display: flex; flex-direction: column; min-width: 0; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.dash-crumb { font-size: .56rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--royal); }
.dash-head h5 { font-size: .96rem; color: var(--navy-800); font-weight: 800; margin-top: 2px; }
.dash-tools { display: flex; align-items: center; gap: 8px; }
.dash-search { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); color: #98a2b6; font-size: .6rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.dash-search svg { width: 11px; height: 11px; }
.dash-bell { position: relative; width: 26px; height: 26px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-soft); }
.dash-bell svg { width: 13px; height: 13px; }
.dash-bell b { position: absolute; top: 4px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--danger-500, #f1595c); }
.dash-avatar { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--navy-600), var(--royal)); color: #fff; display: grid; place-items: center; font-size: .58rem; font-weight: 800; }

.dash-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; margin-bottom: 11px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; box-shadow: 0 1px 2px rgba(15,33,80,.04); }
.kpi-l { font-size: .54rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; display: block; }
.kpi-v { font-size: .92rem; color: var(--navy-800); font-weight: 800; display: block; margin: 3px 0 4px; }
.kpi-trend { font-size: .54rem; font-weight: 700; padding: 1px 6px; border-radius: 999px; }
.kpi-trend.up { color: #0a8a4a; background: #e6f7ee; }
.kpi-trend.down { color: #d75052; background: #fdecec; }

.dash-lower { display: grid; grid-template-columns: 1.5fr 1fr; gap: 9px; flex: 1; min-height: 0; }
.dash-chart { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; display: flex; flex-direction: column; }
.dash-chart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.dash-chart-title { font-size: .62rem; font-weight: 800; color: var(--navy-800); }
.dash-legend { display: inline-flex; align-items: center; gap: 5px; font-size: .52rem; color: var(--muted); font-weight: 600; }
.dash-legend i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; margin-left: 4px; }
.dash-legend .lg-a { background: var(--royal); } .dash-legend .lg-b { background: #c2d0f0; }
.chart-svg { width: 100%; flex: 1; min-height: 0; }
.chart-svg .grid { stroke: #eef1f7; stroke-width: 1; }
.chart-svg .area { }
.chart-svg .line-a { stroke: var(--royal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chart-svg .line-b { stroke: #c2d0f0; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 0; }
.chart-svg .dot-a { fill: #fff; stroke: var(--royal); stroke-width: 2.4; }
.chart-x { display: flex; justify-content: space-between; margin-top: 5px; font-size: .5rem; color: #aab2c4; font-weight: 600; }

.dash-aside { display: flex; flex-direction: column; gap: 9px; min-height: 0; }
.donut-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: flex; align-items: center; gap: 11px; }
.donut { width: 50px; height: 50px; flex-shrink: 0; transform: rotate(-90deg); }
.donut-bg { fill: none; stroke: #eef1f7; stroke-width: 3.6; }
.donut-val { fill: none; stroke: var(--gold); stroke-width: 3.6; stroke-linecap: round; stroke-dasharray: 78 100; }
.donut-meta b { font-size: 1.05rem; color: var(--navy-800); font-weight: 800; display: block; line-height: 1; }
.donut-meta span { font-size: .56rem; color: var(--muted); }
.dash-feed { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dash-feed li { display: flex; gap: 8px; align-items: flex-start; }
.dash-feed .fd { width: 7px; height: 7px; border-radius: 50%; margin-top: 3px; flex-shrink: 0; }
.dash-feed .fd.water { background: #2a8fd0; } .dash-feed .fd.permit { background: var(--gold); } .dash-feed .fd.receipt { background: #0a8a4a; }
.dash-feed b { font-size: .57rem; color: var(--navy-800); font-weight: 700; display: block; line-height: 1.25; }
.dash-feed span { font-size: .52rem; color: var(--muted); }
.float-badge {
  position: absolute; background: #fff; color: var(--navy-800); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-md); font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; gap: 10px;
}
.float-badge .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--gold-50); color: var(--gold-600); display: grid; place-items: center; }
.float-badge .ic svg { width: 17px; height: 17px; }
.float-badge.b1 { top: -40px; left: -30px; animation: floaty 6s ease-in-out infinite; }
.float-badge.b2 { bottom: -22px; right: -24px; animation: floaty 7s ease-in-out .6s infinite; }
.float-badge.b3 { top: 26%; right: -52px; animation: floaty 6.6s ease-in-out 1.1s infinite; }
.float-badge.b4 { top: 52%; left: -54px; animation: floaty 7.4s ease-in-out .3s infinite; }
.float-badge.b5 { bottom: 14%; left: -34px; animation: floaty 6.2s ease-in-out 1.5s infinite; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}
@media (prefers-reduced-motion: reduce) {
  .float-badge { animation: none !important; }
}

/* Logo marquee / trust bar ---------------------------------------------- */
.trust-bar { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 26px; }
.trust-bar p { font-weight: 600; color: var(--muted); font-size: .92rem; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-tags span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .85rem; font-weight: 600; color: var(--text-soft); }

/* Cards ------------------------------------------------------------------ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 26px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

/* Inline icon + title layout (saves vertical space) */
.cards-inline .card, .cards-3 .card { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 15px; }
.cards-inline .card .ic, .cards-3 .card .ic { margin-bottom: 0; }
.cards-inline .card h3, .cards-3 .card h3 { margin-bottom: 0; }
.cards-inline .card p, .cards-3 .card p, .cards-inline .card .more, .cards-3 .card .more { grid-column: 1 / -1; margin-top: 14px; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards-3 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .28s ease, box-shadow .28s ease, border-color .28s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #cdd8ee; }
.card .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--royal-50), #fff); color: var(--royal);
  border: 1px solid #dde6fb; margin-bottom: 20px;
}
.card .ic svg { width: 26px; height: 26px; }
.card.gold .ic { background: var(--gold-50); color: var(--gold-600); border-color: #f6e3bf; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: .98rem; }
.card .more { display:inline-flex; gap:6px; align-items:center; margin-top:16px; font-weight:700; color:var(--royal); font-size:.9rem; }

/* Module mini grid */
.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 16px; }
.module {
  display: flex; align-items: center; gap: 14px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: .25s;
}
.module:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.module .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--navy-700); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.module .ic svg { width: 21px; height: 21px; }
.module b { font-size: .96rem; color: var(--navy-800); display:block; line-height:1.25; }
.module span { font-size: .78rem; color: var(--muted); }

/* Feature split ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; height: auto; display: block; border-radius: var(--radius); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.checklist { margin-top: 24px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; color: var(--text-soft); }
.checklist .tick { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-50); color: var(--gold-600); display: grid; place-items: center; }
.checklist .tick svg { width: 15px; height: 15px; }
.checklist b { color: var(--navy-800); }

/* Pillars (numbered) ----------------------------------------------------- */
.pillars { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; transition: .28s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar .num { font-size: 2.2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.pillar h3 { font-size: 1.16rem; margin: 14px 0 10px; }
.pillar p { color: var(--text-soft); font-size: .95rem; }
.pillar::after { content:""; position:absolute; left:26px; right:26px; bottom:0; height:3px; background:var(--gold); border-radius:3px 3px 0 0; transform:scaleX(0); transform-origin:left; transition:.3s; }
.pillar:hover::after { transform:scaleX(1); }

/* Why-LOCMAS reason cards */
.reason-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; height: 100%; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.reason-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #cdd8ee; }
.reason-head { display: flex; align-items: center; gap: 14px; }
.reason-head .num { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.reason-head h3 { font-size: 1.35rem; color: var(--navy-800); }
.reason-card p { margin-top: 14px; }

/* Dark section ----------------------------------------------------------- */
.dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.dark::before { content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px; mask-image: radial-gradient(600px 400px at 80% 20%, #000, transparent 70%); }
.dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: #b9c2d8; }

/* Stats band ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; }
.stat-box { text-align: center; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); }
.stat-box .n { font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; color: var(--gold); line-height: 1; }
.stat-box .l { margin-top: 8px; color: #b9c2d8; font-size: .92rem; }

/* CTA band --------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 64px;
  background: linear-gradient(135deg, var(--navy-800), var(--royal)); color: #fff; text-align: center; }
.cta-band::after { content:""; position:absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,169,59,.4), transparent 70%); top: -120px; right: -80px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem,3.4vw,2.6rem); position: relative; }
.cta-band p { color: #d4ddf3; margin: 16px auto 30px; max-width: 560px; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #c4cee4; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-logo { background: #fff; border-radius: 14px; padding: 14px 18px; display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 40px; }
.site-footer p { color: #97a3c0; font-size: .95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col a { display: block; color: #aab5d2; padding: 6px 0; font-size: .95rem; transition: .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: #aab5d2; font-size: .94rem; }
.footer-contact .ic { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact .ic svg { width: 18px; height: 18px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--gold); color: #1a1205; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #8794b4; font-size: .88rem; }
.footer-bottom .flag-strip { display:inline-flex; align-items:center; gap:6px; }
.footer-bottom .flag-strip a { color: var(--gold); font-weight: 600; transition: color .2s; }
.footer-bottom .flag-strip a:hover { color: #fff; }

/* Page hero (interior) --------------------------------------------------- */
.page-hero { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #fff; position: relative; overflow: hidden; padding: 84px 0 76px; }
.page-hero::before { content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(700px 350px at 80% 10%, #000 20%, transparent 75%); }
.page-hero .hero-flag { }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem,4.2vw,3.2rem); position: relative; }
.page-hero p { color: #c4cfe8; font-size: 1.16rem; max-width: 640px; margin-top: 16px; position: relative; }
.page-hero .accent-gold { color: var(--gold); }
.page-hero-lg { padding: 104px 0 96px; }

/* Faded Namibia map watermark + glow */
.page-hero .hero-map {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  height: 118%; width: auto; opacity: .10; pointer-events: none; z-index: 0;
  filter: drop-shadow(0 0 1px rgba(255,255,255,.4));
}
.page-hero .hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 620px; height: 620px; right: -120px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,169,59,.22), transparent 62%);
}
.page-hero.has-map .container { position: relative; z-index: 3; }

/* Faded photo background + navy overlay (About hero) */
.page-hero .hero-photo {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('../img/background.jpg') center 78% / cover no-repeat;
  opacity: .30;
}
.page-hero .hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, rgba(10,21,48,.94) 0%, rgba(13,38,92,.82) 48%, rgba(21,46,107,.55) 100%);
}
.page-hero .hero-glow, .page-hero .hero-map { z-index: 2; }
@media (max-width: 760px) {
  .page-hero .hero-map { right: -90px; opacity: .07; height: 100%; }
  .page-hero .hero-glow { width: 380px; height: 380px; right: -120px; }
}
.breadcrumb { position: relative; font-size: .88rem; color: #9fb0d2; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--gold); }

/* Forms ------------------------------------------------------------------ */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: .97rem; line-height: 1.5; color: var(--text); background: var(--paper); transition: .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6580' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(42,87,201,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.form-success { background: var(--gold-50); border: 1px solid #f6e3bf; color: #6b4e12; border-radius: 12px; padding: 16px; margin-top: 16px; display: none; }
.form-success.show { display: block; }
.form-error { background: #fdecec; border: 1px solid #f6c9c9; color: #8a2b2b; border-radius: 12px; padding: 14px 16px; margin-top: 14px; font-size: .92rem; display: none; }
.form-error.show { display: block; }

/* Info cards (contact) */
.info-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px; display:flex; gap:16px; align-items:flex-start; box-shadow: var(--shadow-sm); }
.info-card .ic { width: 48px; height:48px; border-radius:13px; background:var(--navy-700); color:#fff; display:grid; place-items:center; flex-shrink:0; }
.info-card .ic svg { width:22px; height:22px; }
.info-card h4 { font-size:1.02rem; margin-bottom:5px; }
.info-card a, .info-card p { color: var(--text-soft); font-size:.95rem; }
.info-card a:hover { color: var(--royal); }

/* FAQ / accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 700; color: var(--navy-800); }
.faq-q .pm { width: 26px; height: 26px; border-radius: 50%; background: var(--royal-50); color: var(--royal); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .3s; font-size: 1.2rem; line-height: 1; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--gold); color: #1a1205; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--text-soft); }
.faq-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; max-width: 1100px; margin: 0 auto; }
.faq-layout .faq { max-width: none; margin: 0; }
.faq-media { display: grid; gap: 20px; position: sticky; top: 100px; }
.faq-media img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 32px; } .faq-media { position: static; } }

/* Timeline (day at the council) */
.timeline { max-width: 760px; margin: 0 auto; position: relative; padding-left: 8px; }
.timeline::before { content:""; position:absolute; left: 27px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--royal)); }
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; margin-bottom: 30px; position: relative; }
.tl-time { width: 40px; height: 40px; border-radius: 50%; background: var(--navy-700); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .72rem; z-index: 1; }
.tl-body { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; box-shadow: var(--shadow-sm); }
.tl-body .role { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--royal); }
.tl-body h4 { font-size: 1.08rem; margin: 4px 0 6px; }
.tl-body p { color: var(--text-soft); font-size: .95rem; }

/* Reveal animation ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 72px 0 84px; }
  .hero-visual { max-width: 520px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  .pillars { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 88px; left: 0; right: 0; background: #fff;
    padding: 16px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 13px 14px; border-radius: 10px; }
  .nav-links.open a.active::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pillars, .stats, .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { gap: 18px; }
  .float-badge.b1 { left: 0; } .float-badge.b2 { right: 0; }
  .float-badge.b3, .float-badge.b4, .float-badge.b5 { display: none; }
}
