/* =============================================================================
   AKINZ GLOBAL INFRASTRUCTURE & CONSTRUCTION — Design System
   "Building Excellence, Engineering the Future."
   Style direction: Minimalism & Swiss Style edits on a Hero-Centric pattern.
   Tokens: navy #10243A · gold #D9A441 · white · concrete #F3F5F7 · charcoal #252B33
   ============================================================================= */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #10243A;
  --navy-2: #173049;
  --navy-3: #1E3A58;
  --gold: #D9A441;
  --gold-2: #E9C67A;
  --gold-dark: #B9852D;
  --white: #FFFFFF;
  --concrete: #F3F5F7;
  --charcoal: #252B33;
  --muted: #687382;
  --line: #E2E7ED;
  --line-dark: rgba(255, 255, 255, .14);
  --focus: #4C6E8F;

  --font-head: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 40px; --space-8: 56px;
  --space-9: 72px; --space-10: 96px;

  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 36, 58, .08);
  --shadow-md: 0 10px 30px -12px rgba(16, 36, 58, .22);
  --shadow-lg: 0 24px 60px -20px rgba(16, 36, 58, .35);
  --header-h: 72px;
  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { border: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-dark); }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--navy); font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.icon { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -.22em; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: var(--space-4);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.on-dark .eyebrow { color: var(--gold-2); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head p { color: var(--muted); font-size: 1.04rem; margin: 0; }
.on-dark .section-title { color: var(--white); }
.on-dark .section-head p { color: rgba(255, 255, 255, .78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; line-height: 1; min-height: 48px; padding: 14px 26px;
  border: 2px solid transparent; border-radius: 9px; cursor: pointer;
  transition: background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), transform .18s var(--ease), box-shadow .22s var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); border-color: var(--navy-3); color: var(--white); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.on-dark .btn-outline, .btn-outline-light { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.on-dark .btn-outline:hover, .btn-outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn .icon { width: 18px; height: 18px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--navy);
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.link-arrow:hover { color: var(--gold-dark); border-color: var(--gold-dark); }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.on-dark .link-arrow { color: var(--gold-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy); color: var(--white);
  transition: box-shadow .25s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px -8px rgba(16, 36, 58, .5); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; padding-block: 10px; }
.brand img { width: 200px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 26px; }
.main-nav a { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.86); padding: 8px 2px; position: relative; transition: color .2s; }
.main-nav a:hover { color: var(--white); }
.main-nav a::after {
  content: ""; position: absolute; inset-inline: 2px; bottom: -2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--white); }
.nav-cta-mobile { display: none; }
.header-cta { margin-left: 4px; }
.header-cta:hover { color: var(--navy); }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--line-dark); border-radius: 8px;
  background: transparent; color: var(--white); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-close { display: inline-block; }
body.nav-open .nav-toggle .icon-menu { display: none; }

.nav-backdrop {
  display: none; position: fixed; inset: 0; top: var(--header-h);
  background: rgba(16, 36, 58, .55); backdrop-filter: blur(2px); z-index: 90;
}
body.nav-open .nav-backdrop[hidden] { display: block; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--white);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding: calc(var(--space-8) + var(--header-h) - var(--header-h)) 0 var(--space-9);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(78deg, rgba(16, 36, 58, .93) 0%, rgba(16, 36, 58, .72) 44%, rgba(16, 36, 58, .38) 100%);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 132px; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(16, 36, 58, .6), transparent);
}
.hero-content { max-width: 780px; padding-block: var(--space-8); }
.hero h1 {
  color: var(--white); font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800;
  line-height: 1.05; letter-spacing: -.02em; margin: 0 0 var(--space-5);
}
.hero h1 .gold { color: var(--gold-2); }
.hero-lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: rgba(255,255,255,.88); max-width: 620px; margin-bottom: var(--space-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: var(--space-5);
  font-family: var(--font-head); font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  font-size: .8rem; color: var(--gold-2);
}
.hero-eyebrow::before, .hero-eyebrow span.dot { }
.hero-eyebrow b { color: var(--white); font-weight: 700; }
.scroll-cue {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.85); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--font-head);
}
.scroll-cue::after {
  content: ""; width: 1px; height: 42px; background: linear-gradient(var(--gold-2), transparent);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; opacity: 0; } 45% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; } }

.hero-flags { position: relative; z-index: 1; margin-top: auto; }
.hero-flags .container > ul {
  display: flex; flex-wrap: wrap; gap: var(--space-6);
  padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.18);
}
.hero-flags li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500; }
.hero-flags .icon { color: var(--gold-2); width: 22px; height: 22px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-10); }
.section-tight { padding-block: var(--space-9); }
.section-concrete { background: var(--concrete); }
.section-dark { background: var(--navy); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-7); }
.section-head-row .section-head { margin-bottom: 0; }

/* Reveal-on-scroll (JS adds .in when intersecting) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Intro split ---------- */
.intro { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--space-9); align-items: center; }
.intro-media { position: relative; }
.intro-media::before {
  content: ""; position: absolute; inset: 18px auto auto -18px; width: 62%; height: 62%;
  border: 3px solid var(--gold); z-index: -1;
}
.intro-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 4 / 3.1; object-fit: cover; width: 100%; }
.intro-copy .checkline { list-style: none; margin: var(--space-5) 0 var(--space-6); display: grid; gap: 10px; }
.intro-copy .checkline li { display: flex; gap: 12px; align-items: flex-start; color: var(--charcoal); font-weight: 500; }
.intro-copy .checkline .icon { color: var(--gold-dark); margin-top: 3px; }

/* ---------- Services grid ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.service-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(217, 164, 65, .55); }
.service-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--navy-2); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.045); }
.service-media .service-icon {
  position: absolute; left: 14px; bottom: 14px; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 11px; background: var(--gold); color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.service-media .service-icon .icon { width: 24px; height: 24px; }
.service-body { padding: var(--space-5); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-body h3 { font-size: 1.08rem; margin: 0; }
.service-body p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.service-body .link-arrow { margin-top: 6px; font-size: .9rem; }

/* ---------- Diaspora band ---------- */
.diaspora-band { background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); border-radius: var(--radius-lg); }
.diaspora-inner { display: flex; align-items: center; gap: var(--space-6); padding: var(--space-6) var(--space-7); flex-wrap: wrap; }
.diaspora-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(217, 164, 65, .16); color: var(--gold-2); flex: none; }
.diaspora-icon .icon { width: 30px; height: 30px; }
.diaspora-copy { flex: 1 1 420px; }
.diaspora-copy h3 { color: var(--gold-2); margin-bottom: 4px; font-size: 1.2rem; }
.diaspora-copy p { margin: 0; color: rgba(255,255,255,.85); }
.diaspora-inner .btn { flex: none; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.why-item { position: relative; padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.why-item .no { position: absolute; top: 18px; right: 20px; font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: rgba(16, 36, 58, .06); }
.why-item .icon { width: 30px; height: 30px; color: var(--gold-dark); margin-bottom: 12px; }
.why-item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.why-item p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Mission / Vision ---------- */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); position: relative; isolation: isolate; }
.mv-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: var(--space-8) var(--space-7); color: var(--white); isolation: isolate; }
.mv-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url('../img/pages/mission-bg.jpg') center/cover; }
.mv-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(16,36,58,.94), rgba(23,48,73,.88)); }
.mv-card.vision::before { transform: scaleX(-1); }
.mv-card .icon { width: 34px; height: 34px; color: var(--gold-2); margin-bottom: 14px; }
.mv-card h3 { color: var(--white); font-size: 1.35rem; }
.mv-card::after { }
.mv-card p { color: rgba(255,255,255,.85); margin: 0; font-size: .98rem; }
.mv-card .mv-rule { width: 44px; height: 3px; background: var(--gold); margin: 14px 0 16px; }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.project-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy);
  isolation: isolate; display: flex; flex-direction: column; min-height: 380px;
}
.project-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .65s var(--ease); }
.project-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(16, 36, 58, .94) 0%, rgba(16, 36, 58, .28) 55%, rgba(16, 36, 58, .05) 100%);
}
.project-card:hover img { transform: scale(1.05); }
.project-tags { position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-block; font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px;
  background: rgba(255,255,255,.92); color: var(--navy);
}
.tag-gold { background: var(--gold); color: var(--navy); }
.tag-sample { background: rgba(255,255,255,.16); color: var(--white); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.project-body { margin-top: auto; padding: var(--space-5); color: var(--white); }
.project-body .p-meta { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); font-family: var(--font-head); font-weight: 700; margin-bottom: 8px; }
.project-body h3 { color: var(--white); font-size: 1.16rem; margin-bottom: 6px; }
.project-body p { margin: 0 0 12px; color: rgba(255,255,255,.82); font-size: .92rem; }
.project-card .link-arrow { color: var(--gold-2); }
.project-card .link-arrow:hover { color: var(--white); border-color: var(--white); }

/* Filters */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-6); }
.chip {
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--charcoal); cursor: pointer;
  transition: all .2s var(--ease); min-height: 44px;
}
.chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Approach timeline ---------- */
.timeline { position: relative; counter-reset: step; }
.timeline::before { content: ""; position: absolute; top: 74px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline > ol { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.tl-item { position: relative; padding-top: 100px; padding-right: 8px; }
.tl-item .step-dot {
  position: absolute; top: 42px; left: 0; width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: var(--gold-2);
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  border: 3px solid var(--concrete); transition: background .25s, color .25s;
}
.tl-item:hover .step-dot { background: var(--gold); color: var(--navy); }
.tl-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.tl-item p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.value-item { display: flex; gap: 18px; padding: var(--space-5); border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(255,255,255,.03); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.value-item:hover { background: rgba(255,255,255,.06); border-color: rgba(217,164,65,.5); transform: translateY(-3px); }
.value-item .icon { width: 32px; height: 32px; color: var(--gold-2); flex: none; margin-top: 2px; }
.value-item h3 { color: var(--white); font-size: 1.02rem; margin-bottom: 4px; }
.value-item p { margin: 0; color: rgba(255,255,255,.72); font-size: .92rem; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; isolation: isolate; overflow: hidden; color: var(--white); border-radius: var(--radius-lg); }
.cta-banner img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(88deg, rgba(16,36,58,.96) 10%, rgba(16,36,58,.72) 60%, rgba(217,164,65,.25)); }
.cta-inner { padding: var(--space-9) var(--space-7); max-width: 720px; }
.cta-inner h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; }
.cta-inner p { color: rgba(255,255,255,.88); font-size: 1.03rem; }
.cta-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: var(--space-9) 0 var(--space-8); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .3; background: center/cover; 
}
.page-hero .crumbs { font-size: .84rem; color: rgba(255,255,255,.66); margin-bottom: 18px; }
.page-hero .crumbs a { color: var(--gold-2); }
.page-hero .crumbs span[aria-hidden] { margin-inline: 8px; opacity: .5; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; max-width: 760px; }
.page-hero .lead { max-width: 640px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.page-hero-wrap { position: relative; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,36,58,.95), rgba(16,36,58,.7)); }

/* ---------- Detail layouts ---------- */
.detail-hero { position: relative; isolation: isolate; color: var(--white); min-height: 460px; display: flex; align-items: flex-end; }
.detail-hero img.bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.detail-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(16,36,58,.96) 4%, rgba(16,36,58,.52) 52%, rgba(16,36,58,.2)); }
.detail-hero .container { padding-block: var(--space-8); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 13px; border-radius: 999px; background: var(--gold); color: var(--navy); }
.detail-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 14px 0 10px; }
.detail-hero .lead { color: rgba(255,255,255,.85); max-width: 700px; }
.detail-meta { display: flex; gap: var(--space-6); flex-wrap: wrap; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 18px; }
.detail-meta div { display: flex; align-items: center; gap: 10px; font-size: .93rem; color: rgba(255,255,255,.85); }
.detail-meta .icon { color: var(--gold-2); }

.notice {
  display: flex; gap: 12px; align-items: flex-start; background: #FCF6E8; color: #6B5417;
  border: 1px solid #EDDCA8; border-radius: var(--radius); padding: 14px 16px; font-size: .93rem; margin: 0 0 var(--space-6);
}
.notice .icon { color: #B9852D; margin-top: 2px; }

.content-block { padding-block: var(--space-8); }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--space-8); align-items: start; }
.detail-main h2 { font-size: 1.5rem; margin-top: var(--space-7); }
.detail-main h2:first-child { margin-top: 0; }
.detail-main .lead { font-size: 1.08rem; color: var(--charcoal); }
.list-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); }
.list-card li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.list-card li:last-child { border-bottom: 0; }
.list-card li .icon { color: var(--gold-dark); margin-top: 4px; }
.list-card li::marker { }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px 4px; font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1rem;
  transition: color .2s; min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-dark); }
.faq-item summary .icon { width: 20px; height: 20px; color: var(--gold-dark); transition: transform .3s var(--ease); flex: none; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 4px 18px; color: var(--muted); font-size: .95rem; max-width: 60ch; }

/* Related */
.related-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.related-card { position: relative; border-radius: var(--radius); overflow: hidden; isolation: isolate; min-height: 190px; display: flex; align-items: flex-end; }
.related-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.related-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(16,36,58,.9), rgba(16,36,58,.15)); }
.related-card:hover img { transform: scale(1.05); }
.related-card h3 { color: var(--white); font-size: 1rem; margin: 0; padding: var(--space-4); }
.related-card span { display: block; font-size: .75rem; color: var(--gold-2); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); padding: clamp(22px, 4vw, 42px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4) var(--space-5); }
.form-grid .span-2 { grid-column: span 2; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 7px; }
.field .optional { color: var(--muted); font-weight: 400; font-size: .8rem; margin-left: 6px; }
.field .control {
  width: 100%; font: inherit; font-size: .97rem; color: var(--charcoal);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--white);
  transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
.field select.control { appearance: none; background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23687382' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea.control { min-height: 140px; resize: vertical; }
.field .control:hover { border-color: #C6D0DA; }
.field .control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 164, 65, .22); }
.field .field-error { display: none; color: #A33A2A; font-size: .84rem; margin-top: 6px; }
.field .control[aria-invalid="true"] { border-color: #C0442E; }
.field .control[aria-invalid="true"] ~ .field-error { display: block; }
.field .hint { color: var(--muted); font-size: .84rem; margin-top: 6px; }
.consent-row { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-top: var(--space-2); }
.consent-row input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--gold-dark); cursor: pointer; }
.consent-row a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: var(--space-5); display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.form-note { color: var(--muted); font-size: .88rem; margin: 0; }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius); font-size: .95rem; margin-bottom: var(--space-5); }
.form-status.ok { display: flex; gap: 12px; align-items: flex-start; background: #EAF5EC; color: #1F5B32; border: 1px solid #BFE3C8; }
.form-status.fail { display: flex; gap: 12px; align-items: flex-start; background: #FBEAE6; color: #7C2D1B; border: 1px solid #F0C4B8; }
.form-status .icon { width: 22px; height: 22px; flex: none; margin-top: 2px; }

/* Contact layout */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: var(--space-7); align-items: start; }
.contact-card { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: var(--space-6); }
.contact-card h3 { color: var(--white); font-size: 1.2rem; }
.contact-card ul { display: grid; gap: 14px; }
.contact-card li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.88); font-size: .95rem; }
.contact-card a { color: var(--gold-2); }
.contact-card .icon { color: var(--gold-2); width: 20px; height: 20px; margin-top: 2px; }
.contact-card .hours { border-top: 1px solid var(--line-dark); padding-top: 14px; }

/* ---------- About page extras ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-7); }
.stat { border-left: 3px solid var(--gold); padding-left: 18px; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--white); line-height: 1.1; }
.stat span { color: rgba(255,255,255,.72); font-size: .9rem; }

.about-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-4); margin-top: var(--space-7); }
.about-photos img { border-radius: var(--radius); object-fit: cover; width: 100%; height: 100%; max-height: 380px; box-shadow: var(--shadow-sm); }

.motto-banner { background: var(--charcoal); color: var(--white); border-radius: var(--radius-lg); padding: var(--space-7); text-align: center; position: relative; overflow: hidden; }
.motto-banner::before, .motto-banner::after { content: ""; position: absolute; top: 0; bottom: 0; width: 6px; background: var(--gold); }
.motto-banner::before { left: 0; } .motto-banner::after { right: 0; }
.motto-banner .icon { width: 36px; height: 36px; color: var(--gold); margin-bottom: 12px; }
.motto-banner p.motto { font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; color: var(--white); margin: 0; }
.motto-banner span { color: var(--gold-2); letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; font-weight: 700; }

/* Careers */
.job-card { display: flex; gap: var(--space-4); align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-5); transition: border-color .2s, box-shadow .2s; flex-wrap: wrap; }
.job-card:hover { border-color: rgba(217,164,65,.55); box-shadow: var(--shadow-sm); }
.job-card h3 { margin-bottom: 2px; font-size: 1.08rem; }
.job-meta { display: flex; gap: 14px; color: var(--muted); font-size: .88rem; margin-top: 4px; flex-wrap: wrap; }
.job-meta span { display: inline-flex; gap: 6px; align-items: center; }
.job-meta .icon { width: 16px; height: 16px; color: var(--gold-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: var(--space-7); padding-block: var(--space-9) var(--space-7); }
.footer-motto { color: var(--gold-2); font-family: var(--font-head); font-weight: 700; margin: 18px 0 10px; font-size: 1rem; }
.footer-desc { font-size: .92rem; color: rgba(255,255,255,.72); }
.footer-heading { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 16px; letter-spacing: .04em; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { color: rgba(255,255,255,.76); font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-contact li, .footer-contact a { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.76); font-size: .92rem; }
.footer-contact .icon { color: var(--gold-2); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.footer-social a { display: inline-block; font-size: .85rem; padding: 7px 12px; border: 1px solid var(--line-dark); border-radius: 999px; }
.footer-legal { border-top: 1px solid var(--line-dark); padding-block: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-legal p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-legal-links { display: flex; gap: 10px; align-items: center; }
.footer-legal a:hover { color: var(--gold-2); }

/* ---------- Error/empty states ---------- */
.empty-state { text-align: center; padding: var(--space-8) var(--space-5); border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--concrete); }
.empty-state .icon { width: 42px; height: 42px; color: var(--muted); margin: 0 auto 14px; }
.empty-state h3 { font-size: 1.15rem; }
.empty-state p { color: var(--muted); max-width: 46ch; margin-inline: auto; }

/* ---------- Floating WhatsApp chat button (homepage) ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 96;
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #FFFFFF;
  box-shadow: 0 8px 24px -6px rgba(37, 211, 102, .55), 0 2px 6px rgba(16, 36, 58, .25);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease);
  animation: wa-float-in .5s var(--ease) backwards;
}
.wa-float:hover, .wa-float:focus-visible {
  background: #1FB955; color: #FFFFFF;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 28px -6px rgba(37, 211, 102, .6), 0 3px 8px rgba(16, 36, 58, .3);
}
.wa-float:active { transform: translateY(-1px) scale(1); }
.wa-glyph { width: 30px; height: 30px; }

/* Soft attention pulse ring */
.wa-float::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55); opacity: 0; pointer-events: none;
  animation: wa-ping 3s var(--ease) infinite;
}
@keyframes wa-ping {
  0% { transform: scale(.94); opacity: 0; }
  12% { opacity: .8; }
  55% { transform: scale(1.06); opacity: 0; }
  100% { transform: scale(1.06); opacity: 0; }
}
@keyframes wa-float-in {
  from { opacity: 0; transform: translateY(16px) scale(.9); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float::before { animation: none; transition: none; }
}

/* Label bubble — appears on hover / focus on desktop */
.wa-bubble-label {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: var(--navy); color: var(--white); font-family: var(--font-head);
  font-weight: 700; font-size: .82rem; letter-spacing: .01em;
  padding: 9px 14px; border-radius: 10px; white-space: nowrap;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.wa-bubble-label .wa-tail {
  position: absolute; right: -5px; top: 50%; width: 10px; height: 10px;
  background: var(--navy); border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}
.wa-float:hover .wa-bubble-label, .wa-float:focus-visible .wa-bubble-label {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}
/* Always show the label briefly on load to invite the first click (class managed by JS) */
.wa-float.wa-invite .wa-bubble-label {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}
@media (max-width: 760px) {
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-glyph { width: 28px; height: 28px; }
  .wa-bubble-label { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline > ol { grid-template-columns: repeat(3, 1fr); row-gap: var(--space-7); }
  .timeline::before { display: none; }
  .tl-item { padding-top: 0; padding-left: 84px; padding-right: 0; }
  .tl-item .step-dot { top: -4px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .why-grid, .values-grid, .project-grid, .related-row { grid-template-columns: 1fr 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid, .detail-grid { grid-template-columns: 1fr; }
  .intro { grid-template-columns: 1fr; gap: var(--space-7); }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .brand img { width: 148px; }
  .header-cta, .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  body.nav-open .main-nav {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 95;
    background: var(--navy); padding: var(--space-5) 22px 40px; overflow-y: auto;
    animation: navIn .28s var(--ease);
  }
  @keyframes navIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul li { border-bottom: 1px solid var(--line-dark); }
  .main-nav > ul li a { display: block; padding: 16px 2px; font-size: 1.05rem; }
  .nav-cta-mobile { display: block; border-bottom: 0 !important; padding-top: 20px; }
  .hero { min-height: 76vh; }
  .timeline > ol { grid-template-columns: 1fr; }
  .section { padding-block: var(--space-9); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); padding-block: var(--space-8); }
  .footer-legal { flex-direction: column; }
}
@media (max-width: 540px) {
  .why-grid, .values-grid, .project-grid, .related-row, .services-grid, .stat-row, .form-grid, .about-photos { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
  .diaspora-inner { padding: var(--space-6) var(--space-5); }
  .cta-inner { padding: var(--space-7) var(--space-5); }
  .mv-card { padding: var(--space-7) var(--space-5); }
  .hero-content { padding-block: var(--space-9); }
  .detail-meta { gap: var(--space-4); }
}
