/* ==========================================================
   KIUNGO — shared stylesheet
   ========================================================== */

:root{
  --navy: #0a1c2b;
  --navy-2: #102a3e;
  --navy-3: #14344a;
  --green: #1c8a5c;
  --green-bright: #2fbf7f;
  --green-pale: #e6f5ee;
  --gold: #e0a93e;
  --gold-pale: #fbf1dc;
  --paper: #ffffff;
  --offwhite: #f5f8f7;
  --ink: #142230;
  --muted: #5c6b72;
  --muted-2: #8b979b;
  --line: #e5ebe8;
  --line-dark: rgba(255,255,255,0.12);
  --on-navy: #f2f6f4;
  --on-navy-muted: #a9bcc0;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --shadow: 0 12px 30px rgba(10,28,43,0.08);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{ color:inherit; text-decoration:none; }
img,svg{ display:block; max-width:100%; }
ul{ list-style:none; }
button{ font-family:inherit; }

.wrap{ max-width:1220px; margin:0 auto; padding:0 28px; }
:focus-visible{ outline:2px solid var(--green-bright); outline-offset:3px; }

h1,h2,h3,h4{ font-family: var(--font-head); font-weight:600; letter-spacing:-0.01em; color: var(--ink); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy p{ color: var(--on-navy); }

.eyebrow{
  font-family: var(--font-body);
  font-size:12.5px;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color: var(--green);
  margin-bottom:12px;
  display:block;
}
.on-navy .eyebrow{ color: var(--green-bright); }

.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 24px;
  border-radius:9px;
  font-weight:600; font-size:15px;
  border:1px solid transparent;
  cursor:pointer;
  transition: all .2s;
}
.btn-primary{ background: var(--green); color:#fff; }
.btn-primary:hover{ background: var(--green-bright); transform:translateY(-2px); }
.btn-outline{ border-color: rgba(255,255,255,0.35); color:#fff; }
.btn-outline:hover{ border-color:#fff; }
.btn-outline.on-light{ border-color: var(--line); color: var(--ink); }
.btn-outline.on-light:hover{ border-color: var(--green); color: var(--green); }
.btn-white{ background:#fff; color: var(--green); }
.btn-white:hover{ background: var(--gold-pale); }

/* ---------- header ---------- */
header.site{
  position:sticky; top:0; z-index:100;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.nav-inner{ max-width:1220px; margin:0 auto; padding:0 28px; display:flex; align-items:center; justify-content:space-between; width:100%; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.05; }
.brand-text strong{ font-family:var(--font-head); font-size:19px; font-weight:700; color:var(--ink); }
.brand-text span{ font-size:10.5px; letter-spacing:0.1em; color:var(--muted-2); font-weight:600; }

.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{ font-size:14.5px; font-weight:500; color:var(--ink); padding:6px 0; position:relative; }
.nav-links a.active,
.nav-links a:hover{ color: var(--green); }
.nav-links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:var(--green);
}
.nav-right{ display:flex; align-items:center; gap:20px; }
.nav-phone{ display:flex; align-items:center; gap:8px; font-size:14.5px; font-weight:600; color:var(--ink); white-space:nowrap; }
.nav-phone svg{ width:16px; height:16px; stroke:var(--green); }
.menu-toggle{ display:none; background:none; border:none; font-size:22px; cursor:pointer; color:var(--ink); }

/* ---------- sections ---------- */
section{ padding:88px 0; }
section.tight{ padding:56px 0; }
.section-head{ max-width:640px; margin:0 auto 48px; text-align:center; }
.section-head p{ color:var(--muted); margin-top:12px; font-size:16px; }
.bg-offwhite{ background: var(--offwhite); }
.bg-navy{ background: var(--navy); color: var(--on-navy); }
.bg-navy p{ color: var(--on-navy-muted); }
.bg-green{ background: linear-gradient(120deg, var(--green), #156b47); color:#fff; }

/* ---------- hero ---------- */
.hero{ background: var(--navy); color:var(--on-navy); padding: 64px 0 72px; position:relative; overflow:hidden; }
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(600px 400px at 85% 10%, rgba(47,191,127,0.14), transparent 60%);
  pointer-events:none;
}
.breadcrumb{ font-size:13px; color:var(--on-navy-muted); margin-bottom:18px; letter-spacing:0.04em; }
.breadcrumb span{ color: var(--green-bright); }
.hero-grid{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap:48px; align-items:center; position:relative; z-index:1; }
.hero h1{ font-size:clamp(2.1rem,4.2vw,3.1rem); line-height:1.12; color:#fff; }
.hero h1 .accent{ color: var(--green-bright); }
.hero p.lead{ margin-top:18px; font-size:16.5px; color:var(--on-navy-muted); max-width:520px; }
.hero-cta{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }

.hero-highlights{ display:flex; gap:30px; margin-top:38px; flex-wrap:wrap; }
.hero-highlight{ display:flex; flex-direction:column; gap:8px; }
.hero-highlight .ic{ width:34px; height:34px; border-radius:8px; background:rgba(47,191,127,0.16); display:flex; align-items:center; justify-content:center; }
.hero-highlight .ic svg{ width:17px; height:17px; stroke:var(--green-bright); }
.hero-highlight strong{ font-size:13.5px; color:#fff; }

/* ---------- device mockup (CSS-drawn dashboard) ---------- */
.device-stack{ position:relative; }
.laptop{
  background:#0d1f2e; border-radius:14px 14px 4px 4px; padding:14px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  border:1px solid rgba(255,255,255,0.08);
}
.laptop-screen{ background:#fff; border-radius:6px; overflow:hidden; }
.dash-topbar{ display:flex; align-items:center; justify-content:space-between; padding:10px 14px; border-bottom:1px solid var(--line); }
.dash-topbar .dot-brand{ display:flex; align-items:center; gap:6px; font-family:var(--font-head); font-weight:700; font-size:11px; color:var(--ink); }
.dash-topbar .dot-brand .mini-logo{ width:14px; height:14px; }
.dash-body{ display:flex; }
.dash-side{ width:64px; background:var(--offwhite); padding:10px 0; display:flex; flex-direction:column; gap:8px; align-items:center; border-right:1px solid var(--line); }
.dash-side .side-item{ width:26px; height:26px; border-radius:6px; background:#fff; border:1px solid var(--line); }
.dash-side .side-item.active{ background:var(--green); }
.dash-main{ flex:1; padding:12px; display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.dash-kpi{ background:var(--offwhite); border-radius:8px; padding:8px; }
.dash-kpi .num{ font-family:var(--font-head); font-weight:700; font-size:13px; color:var(--ink); }
.dash-kpi .lbl{ font-size:8px; color:var(--muted-2); text-transform:uppercase; letter-spacing:0.05em; }
.dash-map{ grid-column: span 3; background:var(--offwhite); border-radius:8px; height:70px; position:relative; overflow:hidden; }
.dash-map::before{ content:""; position:absolute; inset:0; background:
  repeating-linear-gradient(0deg, transparent 0 9px, rgba(28,138,92,0.08) 9px 10px),
  repeating-linear-gradient(90deg, transparent 0 9px, rgba(28,138,92,0.08) 9px 10px); }
.dash-map .pin{ position:absolute; width:8px; height:8px; border-radius:50% 50% 50% 0; background:var(--green); transform:rotate(-45deg); }
.dash-ring{ grid-column: span 1; background:var(--offwhite); border-radius:8px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.dash-ring .pct{ font-family:var(--font-head); font-weight:700; font-size:14px; color:var(--green); }
.dash-ring .pct-lbl{ font-size:7px; color:var(--muted-2); }

.laptop-base{ height:12px; background:#0a1826; border-radius:0 0 10px 10px; margin-top:0; position:relative; }
.laptop-base::after{ content:""; position:absolute; left:50%; top:0; transform:translateX(-50%); width:60px; height:5px; background:#132a3c; border-radius:0 0 4px 4px; }

.phone-mockup{
  position:absolute; right:-22px; bottom:-30px; width:120px;
  background:#0d1f2e; border-radius:20px; padding:8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border:1px solid rgba(255,255,255,0.1);
}
.phone-screen{ background:#fff; border-radius:14px; padding:10px 8px; }
.phone-screen .p-head{ font-family:var(--font-head); font-size:8px; font-weight:700; color:var(--ink); margin-bottom:6px; }
.phone-screen .p-row{ display:flex; justify-content:space-between; background:var(--offwhite); border-radius:6px; padding:6px 7px; margin-bottom:5px; }
.phone-screen .p-row span{ font-size:7px; color:var(--muted); }
.phone-screen .p-row strong{ font-size:8px; color:var(--ink); }
.phone-screen .p-btn{ background:var(--green); color:#fff; text-align:center; border-radius:6px; padding:6px; font-size:7.5px; font-weight:700; margin-top:4px; }

/* ---------- quote card ---------- */
.quote-card{
  background: linear-gradient(160deg, var(--navy-3), var(--navy-2));
  border-radius: var(--radius);
  padding:34px;
  border:1px solid var(--line-dark);
  position:relative;
}
.quote-card .qmark{ font-family:var(--font-head); font-size:44px; color:var(--green-bright); line-height:1; margin-bottom:10px; }
.quote-card p{ color:#e7eeeb; font-size:17px; line-height:1.55; }

/* ---------- 3-col icon rows ---------- */
.trio{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.trio > div{ padding:30px; border-left:1px solid var(--line); }
.trio > div:first-child{ border-left:none; }
.trio-icon{ width:44px; height:44px; border-radius:50%; background:var(--green); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.trio-icon svg{ width:20px; height:20px; stroke:#fff; }
.trio h3{ font-size:16px; margin-bottom:8px; }
.trio p{ font-size:14px; color:var(--muted); }
.trio ul li{ font-size:14px; color:var(--muted); padding:5px 0 5px 18px; position:relative; }
.trio ul li::before{ content:""; position:absolute; left:0; top:12px; width:6px; height:6px; border-radius:50%; background:var(--green); }

/* ---------- stats bar ---------- */
.stats-bar{
  background: var(--navy);
  border-radius: var(--radius);
  padding: 34px 10px;
  display:grid;
  grid-template-columns: repeat(6,1fr);
  gap:10px;
  text-align:center;
}
.stats-bar .stat{ padding:0 8px; border-left:1px solid var(--line-dark); }
.stats-bar .stat:first-child{ border-left:none; }
.stats-bar .num{ font-family:var(--font-head); font-size:26px; font-weight:700; color:#fff; }
.stats-bar .lbl{ font-size:12px; color:var(--on-navy-muted); margin-top:4px; }

/* ---------- icon grid (6/7/10-up) ---------- */
.icon-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px 34px; }
.icon-grid.cols-2{ grid-template-columns:repeat(2,1fr); }
.icon-item{ display:flex; gap:14px; align-items:flex-start; }
.icon-item .ic{ width:44px; height:44px; border-radius:11px; background:var(--green-pale); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.icon-item .ic svg{ width:20px; height:20px; stroke:var(--green); }
.icon-item .ic.gold{ background: var(--gold-pale); }
.icon-item .ic.gold svg{ stroke:var(--gold); }
.icon-item h4{ font-size:15.5px; margin-bottom:4px; }
.icon-item p{ font-size:13.5px; color:var(--muted); }

/* ---------- feature cards grid ---------- */
.feature-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.feature-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  padding:24px; transition: box-shadow .2s, transform .2s;
}
.feature-card:hover{ box-shadow:var(--shadow); transform:translateY(-3px); }
.feature-card .ic{ width:40px; height:40px; border-radius:10px; background:var(--green-pale); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.feature-card .ic svg{ width:19px; height:19px; stroke:var(--green); }
.feature-card .ic.gold{ background:var(--gold-pale); }
.feature-card .ic.gold svg{ stroke:var(--gold); }
.feature-card h4{ font-size:15px; margin-bottom:6px; }
.feature-card p{ font-size:13.3px; color:var(--muted); }

/* ---------- stakeholder cards (dark strip, no photos) ---------- */
.stakeholder-strip{ background: var(--navy); border-radius: var(--radius); padding:36px; }
.stakeholder-strip .strip-title{ text-align:center; color:var(--green-bright); font-size:12.5px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; margin-bottom:26px; }
.stakeholder-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:16px; }
.stakeholder-card{ background:var(--navy-2); border-radius:12px; padding:18px 14px; text-align:center; border:1px solid var(--line-dark); }
.stakeholder-avatar{ width:52px; height:52px; border-radius:50%; background:linear-gradient(160deg,var(--green-bright),var(--green)); display:flex; align-items:center; justify-content:center; margin:0 auto 12px; }
.stakeholder-avatar svg{ width:24px; height:24px; stroke:#fff; }
.stakeholder-card strong{ display:block; font-size:13.5px; color:#fff; margin-bottom:4px; }
.stakeholder-card span{ font-size:11.5px; color: var(--on-navy-muted); }

/* ---------- hub diagram ---------- */
.hub-wrap{ display:grid; grid-template-columns:1.3fr 0.9fr; gap:36px; align-items:center; }
.hub-diagram{ position:relative; width:100%; aspect-ratio:1.5/1; }
.hub-diagram svg{ width:100%; height:100%; }
.hub-center-label{ font-family:var(--font-head); font-weight:700; font-size:12px; fill:var(--ink); }
.intel-panel{ background:var(--navy); border-radius:var(--radius); padding:28px; }
.intel-panel .eyebrow{ color:var(--green-bright); }
.intel-list li{ display:flex; gap:12px; padding:12px 0; border-top:1px solid var(--line-dark); }
.intel-list li:first-child{ border-top:none; padding-top:0; }
.intel-list .ic{ width:32px; height:32px; border-radius:8px; background:rgba(47,191,127,0.16); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.intel-list .ic svg{ width:15px; height:15px; stroke:var(--green-bright); }
.intel-list strong{ display:block; font-size:13.5px; color:#fff; }
.intel-list span{ font-size:12px; color:var(--on-navy-muted); }

/* ---------- resource category / popular cards ---------- */
.cat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.cat-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; text-align:center; }
.cat-card .ic{ width:48px; height:48px; border-radius:12px; background:var(--green); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
.cat-card .ic svg{ width:22px; height:22px; stroke:#fff; }
.cat-card .ic.gold{ background:var(--gold); }
.cat-card h4{ font-size:15.5px; margin-bottom:8px; }
.cat-card p{ font-size:13.3px; color:var(--muted); margin-bottom:14px; }
.cat-card a{ font-size:13.5px; font-weight:700; color:var(--green); }

.pop-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.pop-card{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.pop-thumb{ height:110px; display:flex; align-items:center; justify-content:center; position:relative; }
.pop-thumb svg{ width:34px; height:34px; stroke:#fff; opacity:0.9; }
.pop-tag{ position:absolute; top:10px; left:10px; font-size:9.5px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; padding:4px 9px; border-radius:5px; background:rgba(0,0,0,0.35); color:#fff; }
.pop-body{ padding:16px; }
.pop-body h5{ font-size:14px; margin-bottom:8px; line-height:1.35; }
.pop-meta{ font-size:12px; color:var(--muted-2); display:flex; justify-content:space-between; }

.lib-panel{ background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.lib-panel h4{ font-size:15px; color:var(--green); margin-bottom:16px; }
.lib-row{ display:flex; justify-content:space-between; padding:10px 0; border-top:1px solid var(--line); font-size:13.5px; }
.lib-row:first-of-type{ border-top:none; }
.lib-row span.count{ color:var(--muted-2); }

.need-panel{ background:var(--navy); border-radius:var(--radius); padding:26px; color:#fff; }
.need-panel p{ font-size:13.5px; color:var(--on-navy-muted); margin:10px 0 18px; }

/* ---------- newsletter ---------- */
.newsletter{ display:flex; align-items:center; gap:24px; background:var(--offwhite); border-radius:var(--radius); padding:26px 30px; flex-wrap:wrap; }
.newsletter .nl-icon{ width:46px; height:46px; border-radius:50%; background:var(--green-pale); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.newsletter .nl-icon svg{ width:20px; height:20px; stroke:var(--green); }
.newsletter form{ display:flex; gap:10px; flex:1; min-width:260px; }
.newsletter input{ flex:1; padding:12px 16px; border-radius:8px; border:1px solid var(--line); font-family:inherit; font-size:14px; }
.newsletter .nl-note{ font-size:12.5px; color:var(--muted-2); margin-top:6px; width:100%; }
.newsletter .nl-contacts{ display:flex; gap:26px; flex-wrap:wrap; font-size:13.5px; }
.newsletter .nl-contacts a{ display:flex; align-items:center; gap:8px; font-weight:600; }
.newsletter .nl-contacts svg{ width:15px; height:15px; stroke:var(--green); }

/* ---------- trust strip ---------- */
.trust-strip{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; padding-top:40px; border-top:1px solid var(--line); }
.trust-item{ display:flex; align-items:center; gap:10px; }
.trust-item .ic{ width:36px; height:36px; border-radius:9px; background:var(--green-pale); display:flex; align-items:center; justify-content:center; }
.trust-item .ic svg{ width:17px; height:17px; stroke:var(--green); }
.trust-item strong{ display:block; font-size:13.5px; }
.trust-item span{ font-size:12px; color:var(--muted-2); }

/* ---------- CTA banner ---------- */
.cta-banner{ border-radius:var(--radius); padding:38px 40px; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; }
.cta-banner h3{ color:#fff; font-size:22px; margin-bottom:6px; }
.cta-banner p{ color:rgba(255,255,255,0.85); font-size:14.5px; }
.cta-banner .cta-actions{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.cta-call{ display:flex; align-items:center; gap:10px; color:#fff; }
.cta-call svg{ width:20px; height:20px; stroke:#fff; }
.cta-call .lbl{ font-size:11.5px; opacity:0.8; display:block; }
.cta-call strong{ font-size:15px; }

/* ---------- footer ---------- */
footer.site{ background:var(--navy); color:var(--on-navy-muted); padding:56px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:40px; }
.footer-brand p{ font-size:13.5px; margin-top:14px; max-width:260px; color:var(--on-navy-muted); }
.footer-col h5{ color:#fff; font-size:14px; margin-bottom:16px; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col ul li a{ font-size:13.5px; color:var(--on-navy-muted); }
.footer-col ul li a:hover{ color:#fff; }
.footer-contact li{ display:flex; align-items:center; gap:10px; font-size:13.5px; margin-bottom:12px; }
.footer-contact svg{ width:15px; height:15px; stroke:var(--green-bright); flex-shrink:0; }
.social-row{ display:flex; gap:10px; margin-top:14px; }
.social-row a{ width:34px; height:34px; border-radius:50%; border:1px solid var(--line-dark); display:flex; align-items:center; justify-content:center; }
.social-row svg{ width:15px; height:15px; stroke:#fff; }
.footer-bottom{ border-top:1px solid var(--line-dark); padding:20px 0; display:flex; justify-content:space-between; font-size:12.5px; flex-wrap:wrap; gap:10px; }
.footer-bottom a{ margin-left:18px; }

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .feature-grid{ grid-template-columns:repeat(3,1fr); }
  .stakeholder-grid{ grid-template-columns:repeat(3,1fr); }
  .stats-bar{ grid-template-columns:repeat(3,1fr); row-gap:22px; }
  .stats-bar .stat:nth-child(4){ border-left:none; }
  .pop-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width:880px){
  .nav-links{ display:none; }
  .menu-toggle{ display:block; }
  .hero-grid, .hub-wrap, .platform-flex, .trio, .icon-grid, .cat-grid, .split-grid{ grid-template-columns:1fr !important; }
  .trio > div{ border-left:none; border-top:1px solid var(--line); }
  .trio > div:first-child{ border-top:none; }
  .feature-grid{ grid-template-columns:repeat(2,1fr); }
  .device-stack{ margin-top:20px; }
  .phone-mockup{ display:none; }
}
@media (max-width:560px){
  .feature-grid, .stakeholder-grid, .cat-grid, .pop-grid{ grid-template-columns:1fr; }
  .stats-bar{ grid-template-columns:repeat(2,1fr); }
  .cta-banner{ flex-direction:column; align-items:flex-start; }
  section{ padding:60px 0; }
}
@media (prefers-reduced-motion: reduce){ *{ animation:none !important; transition:none !important; } }
