/* =====================================================================
   LWSC — Static HTML/CSS Export
   Self-contained design system — no Tailwind, no build step required.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset & base ───────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1f2937;
    background: #f8fafc;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul,ol { padding: 0; margin: 0; list-style: none; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-weight: 800; line-height: 1.2; color: #0f172a; }
p { margin: 0; }
input, select, textarea { font-family: inherit; font-size: 14px; }

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
    --navy-deep:     #050c1a;
    --navy-mid:      #0a1628;
    --navy-light:    #0f2044;
    --blue-bright:   #1d4ed8;
    --blue-electric: #3b82f6;
    --blue-light:    #60a5fa;
    --cyan:          #06b6d4;
    --cyan-light:    #22d3ee;
    --green:         #10b981;
    --orange:        #f97316;
    --red:           #ef4444;
    --gold:          #f59e0b;
    --gray-50:       #f8fafc;
    --gray-100:      #f1f5f9;
    --gray-200:      #e2e8f0;
    --gray-300:      #cbd5e1;
    --gray-400:      #94a3b8;
    --gray-500:      #64748b;
    --gray-600:      #475569;
    --gray-700:      #334155;
    --gray-800:      #1e293b;
    --gray-900:      #0f172a;
    --kenya-red:     #BB0000;
    --kenya-green:   #006600;
    --kenya-black:   #1a1a1a;
}

/* ── Layout helpers ─────────────────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.section   { padding: 6rem 0; }
.section-sm{ padding: 4rem 0; }
@media (max-width: 768px) {
    .section    { padding: 4rem 0; }
    .section-sm { padding: 2.5rem 0; }
}

/* ── Top bar ────────────────────────────────────────────────────────────── */
.topbar {
    background: linear-gradient(90deg, #030712, #0a1628);
    color: #bfdbfe;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.topbar-inner {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    max-width: 1280px; margin: 0 auto; padding: 0 1rem;
}
.topbar a { transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-paybill { color: var(--blue-light); font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 18px; }
@media (max-width: 768px) { .topbar { display: none; } }

/* Live dot */
.live-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #34d399;
    animation: pulse 2s ease-in-out infinite;
}

/* Kenya tri-stripe */
.kenya-stripe {
    height: 4px;
    background: linear-gradient(to right,
        var(--kenya-red) 33.3%,
        var(--kenya-black) 33.3%, var(--kenya-black) 66.6%,
        var(--kenya-green) 66.6%);
}

/* ── Header / Navbar ────────────────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    border-bottom: 1px solid #f1f5f9;
    transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.nav {
    display: flex; justify-content: space-between; align-items: center;
    height: 68px; max-width: 1280px; margin: 0 auto; padding: 0 1rem;
}
.brand {
    display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.brand img {
    width: 48px; height: 48px;
    border-radius: 12px;
    object-fit: contain;
    background: white;
    border: 1px solid rgba(0,0,0,0.07);
    transition: transform .25s;
}
.brand:hover img { transform: scale(1.05); }
.brand-name { line-height: 1.1; }
.brand-name b { font-size: 18px; color: var(--gray-900); font-weight: 900; letter-spacing: -.01em; display: block; }
.brand-name span { font-size: 10px; color: var(--gray-400); text-transform: uppercase; font-weight: 600; letter-spacing: .04em; }

/* Nav menu */
.menu { display: flex; align-items: center; gap: 2px; }
.menu-item { position: relative; }
.menu-link {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 8px 14px;
    font-size: 14px; font-weight: 600;
    color: var(--gray-600);
    border-radius: 12px;
    transition: all .2s;
}
.menu-link:hover { color: var(--blue-bright); background: #eff6ff; }
.menu-link.active {
    background: var(--blue-bright); color: white;
    box-shadow: 0 4px 12px rgba(29,78,216,0.3);
}
.menu-item.has-children:hover > .menu-link { background: #eff6ff; color: var(--blue-bright); }
.chevron { transition: transform .2s; }
.menu-item.has-children:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    margin-top: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    overflow: hidden; transition: all .2s; z-index: 100;
}
.menu-item.has-children:hover .dropdown {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-bar { height: 4px; background: linear-gradient(to right, var(--blue-bright), var(--cyan)); }
.dropdown-list { padding: 8px 0; }
.dropdown-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px;
    font-size: 14px; font-weight: 500; color: var(--gray-700);
    transition: all .15s;
}
.dropdown-link:hover { background: #eff6ff; color: var(--blue-bright); }
.dropdown-dot { width: 6px; height: 6px; border-radius: 50%; background: #93c5fd; flex-shrink: 0; }

/* CTA + mobile toggle */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.cta-pay {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    font-size: 14px; font-weight: 700; color: white;
    background: linear-gradient(135deg, var(--blue-bright), #1e40af);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(29,78,216,0.35);
    transition: all .25s;
}
.cta-pay:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(29,78,216,0.45); }
.mobile-toggle {
    display: none;
    width: 40px; height: 40px;
    background: var(--gray-100); color: var(--gray-700);
    border-radius: 12px;
    align-items: center; justify-content: center;
    transition: background .2s;
}
.mobile-toggle:hover { background: var(--gray-200); }
@media (max-width: 1024px) {
    .menu, .cta-pay { display: none; }
    .mobile-toggle { display: inline-flex; }
    .mobile-menu .menu {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
}

/* Mobile menu */
.mobile-menu {
    display: none;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid #f1f5f9;
    max-height: 80vh; overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu-inner { max-width: 1280px; margin: 0 auto; padding: 16px; }
.mobile-menu .menu-link { display: block; padding: 12px 16px; font-weight: 700; }
.mobile-menu .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: transparent; margin: 0; border-left: 2px solid #dbeafe; border-radius: 0;
    margin-left: 16px; padding-left: 8px; padding-bottom: 4px;
    display: none;
}
.mobile-menu .menu-item.is-open .dropdown { display: block; }
.mobile-menu .dropdown-bar { display: none; }
.mobile-menu-cta {
    margin-top: 12px;
    display: flex; justify-content: center;
    background: linear-gradient(135deg, var(--blue-bright), #1e40af);
    color: white; padding: 14px; border-radius: 14px; font-weight: 700;
    box-shadow: 0 4px 16px rgba(29,78,216,0.4);
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    font-size: 15px; font-weight: 700;
    border-radius: 14px;
    transition: all .3s;
    cursor: pointer;
}
.btn-primary {
    color: white;
    background: linear-gradient(135deg, var(--blue-bright), #1e40af);
    box-shadow: 0 6px 24px rgba(29,78,216,0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(29,78,216,0.55); }
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: 18px; }
.btn-outline {
    color: white;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,0.18); border-color: white; transform: translateY(-2px); }
.btn-secondary {
    color: var(--blue-bright);
    background: white;
    border: 2px solid var(--blue-bright);
}
.btn-secondary:hover { background: #eff6ff; transform: translateY(-2px); }
.btn-light {
    background: white; color: #065f46; font-weight: 900;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-light:hover { transform: translateY(-2px); }

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.card-flat { box-shadow: none; }
.card-flat:hover { transform: none; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex; align-items: center;
    overflow: hidden;
    color: white;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(5,12,26,0.92) 0%, rgba(10,26,58,0.85) 50%, rgba(10,26,58,0.6) 100%);
}
.hero-orb {
    position: absolute; pointer-events: none;
    width: 500px; height: 500px;
    border-radius: 50%;
    top: -120px; right: -80px;
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
    animation: pulse-glow 6s ease-in-out infinite;
}
.hero-content {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 7rem 1rem;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}
@media (max-width: 1024px) { .hero-content { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 1rem; } }
.hero-copy { animation: fade-up .7s ease-out forwards; }
.hero-side { animation: fade-up .85s ease-out .15s both; }
@media (max-width: 1024px) { .hero-side { display: none; } }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; margin-bottom: 28px;
    border-radius: 999px;
    background: rgba(96,165,250,0.12);
    border: 1px solid rgba(96,165,250,0.35);
    color: #93c5fd;
    font-size: 14px; font-weight: 600;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
}
.text-gradient {
    background: linear-gradient(135deg, var(--blue-light), var(--cyan-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.text-gradient-white {
    background: linear-gradient(135deg, #ffffff, #bfdbfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(186,230,253,0.85);
    margin-bottom: 2rem;
    max-width: 520px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 3rem; }

/* KPI cards on hero */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 640px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 16px; text-align: center;
}
.kpi svg { margin: 0 auto 8px; }
.kpi b { display: block; font-size: 22px; font-weight: 900; color: white; }
.kpi span { display: block; font-size: 12px; margin-top: 2px; color: rgba(186,230,253,0.65); }

/* Quick Access panel */
.quick {
    border-radius: 24px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(28px);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 30px 90px rgba(0,0,0,0.55);
    overflow: hidden;
}
.quick-head { padding: 24px 24px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.quick-head h3 { color: white; font-size: 18px; }
.quick-head .label { color: var(--blue-light); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.quick-grid { padding: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.quick-tile {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    transition: all .2s;
    text-align: center;
    color: rgba(255,255,255,0.85);
}
.quick-tile:hover {
    background: rgba(59,130,246,0.18);
    border-color: rgba(96,165,250,0.4);
    transform: translateY(-2px);
}
.quick-tile span { font-size: 12px; font-weight: 600; line-height: 1.2; }
.quick-tile-icon {
    width: 36px; height: 36px;
    border-radius: 12px;
    background: rgba(59,130,246,0.22);
    color: #93c5fd;
    display: flex; align-items: center; justify-content: center;
}
.quick-banner { margin: 0 16px 16px; padding: 14px 16px; border-radius: 18px; }
.quick-banner.ussd  { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); }
.quick-banner.phone { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.25); }
.quick-banner b { display: block; font-size: 22px; font-weight: 900; color: white; }
.quick-banner .label { font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.quick-banner.ussd  .label { color: #6ee7b7; }
.quick-banner.phone .label { color: #fca5a5; }
.quick-banner small { font-size: 11px; }
.quick-banner.ussd  small { color: rgba(110,231,183,0.7); }
.quick-banner.phone small { color: rgba(252,165,165,0.65); }

/* Wave divider */
.wave { line-height: 0; margin-bottom: -1px; }
.wave svg { display: block; width: 100%; height: 70px; }
.hero .wave { position: absolute; bottom: 0; left: 0; right: 0; }

/* ── Page hero (non-front pages) ────────────────────────────────────────── */
.page-hero {
    position: relative;
    color: white;
    overflow: hidden;
    background: linear-gradient(140deg, #050c1a 0%, #0a1a3a 45%, #0d2d6b 100%);
}
.page-hero-content {
    position: relative; max-width: 1280px; margin: 0 auto;
    padding: 4rem 1rem 3rem;
}
.accent {
    display: flex; align-items: center; gap: 8px; margin-bottom: 14px;
    color: var(--blue-light); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em;
}
.accent::before {
    content: ''; display: block; width: 32px; height: 2px;
    background: var(--blue-light); border-radius: 2px;
}
.breadcrumb { color: rgba(147,197,253,0.6); font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); color: white; margin-bottom: 1rem; }
.page-hero p { font-size: 18px; color: rgba(186,230,253,0.7); max-width: 560px; line-height: 1.65; }
.page-hero .wave svg { height: 50px; }
.page-hero-grid {
    display: grid; gap: 2rem; align-items: end;
}
.page-hero-grid.has-kpis { grid-template-columns: 1fr 1fr; }
@media (max-width: 1024px) { .page-hero-grid.has-kpis { grid-template-columns: 1fr; } }

/* ── Section heads ──────────────────────────────────────────────────────── */
.section-tag {
    color: var(--blue-bright); font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .14em;
    margin-bottom: 12px; display: block;
}
.section-heading {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--gray-900);
    margin-bottom: 1rem;
}
.section-sub {
    font-size: 18px; color: var(--gray-500);
    line-height: 1.7; max-width: 600px;
}

/* ── Service cards (Home / Services) ────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1024px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .services { grid-template-columns: 1fr; } }

.service-card {
    position: relative; overflow: hidden;
    border-radius: 24px;
    padding: 28px;
    color: white;
    display: block;
    transition: transform .35s cubic-bezier(.22,.68,0,1.4), box-shadow .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,0.22); }
.service-card .icon {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.18);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.service-card h3 { color: white; font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.service-card p  { color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.65; margin-bottom: 18px; }
.service-card .more {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.9);
}

/* Card colour variants */
.grad-blue   { background: linear-gradient(135deg, #1e3a8a, #1d4ed8 60%, #0369a1); }
.grad-sky    { background: linear-gradient(135deg, #0c4a6e, #0369a1 60%, #0891b2); }
.grad-teal   { background: linear-gradient(135deg, #064e3b, #047857 60%, #10b981); }
.grad-green  { background: linear-gradient(135deg, #14532d, #166534 60%, #15803d); }
.grad-amber  { background: linear-gradient(135deg, #78350f, #92400e 60%, #b45309); }
.grad-rose   { background: linear-gradient(135deg, #7c2d12, #9a3412 60%, #c2410c); }
.grad-purple { background: linear-gradient(135deg, #6b21a8, #7c3aed); }

/* ── Home: Our Core Services (featured + side + 4-col, matches React Home) ─ */
.services-home { display: flex; flex-direction: column; gap: 20px; }
.services-home-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 1024px) {
    .services-home-top { grid-template-columns: 2fr 1fr; }
}
.services-home-bottom {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
@media (max-width: 1024px) {
    .services-home-bottom { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .services-home-bottom { grid-template-columns: 1fr; }
}

.svc-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    color: white;
    display: block;
    transition: transform .35s cubic-bezier(.22,.68,0,1.4), box-shadow .35s ease;
}
.svc-card:hover { transform: translateY(-5px); }

.svc-featured { padding: 32px; min-height: 200px; }
@media (min-width: 1024px) {
    .svc-featured { min-height: 280px; }
}
.svc-featured:hover { box-shadow: 0 28px 70px rgba(29,78,216,0.35); }

.svc-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: rgba(255,255,255,0.06);
}
.svc-orb-tr { width: 288px; height: 288px; top: -64px; right: -64px; }
.svc-orb-br { width: 192px; height: 192px; bottom: -40px; right: 96px; background: rgba(255,255,255,0.04); }

.svc-shine {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
    background: radial-gradient(circle at 15% 25%, rgba(255,255,255,0.13) 0%, transparent 55%);
}
.svc-card:hover .svc-shine { opacity: 1; }

.svc-featured-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
}
.svc-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}
.svc-icon-wrap-lg {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.svc-icon-wrap-lg svg { stroke: white; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.svc-pill {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
}
.svc-featured h3 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
    color: white;
}
.svc-featured .svc-desc {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,0.8);
    margin: 0 0 24px;
    max-width: 34rem;
}
.svc-featured-foot {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.svc-stats { display: flex; gap: 24px; align-items: flex-end; }
.svc-stats .svc-stat-num { display: block; font-size: 30px; font-weight: 900; line-height: 1; }
.svc-stats .svc-stat-lbl { display: block; font-size: 12px; margin-top: 4px; color: rgba(255,255,255,0.6); }
.svc-stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.2); align-self: center; }
.svc-learn-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
}

.svc-side { padding: 28px; }
.svc-side:hover { box-shadow: 0 24px 60px rgba(0,0,0,0.22); }
.svc-side .svc-orb-sm { width: 176px; height: 176px; top: -40px; right: -40px; }
.svc-icon-wrap-md {
    width: 48px; height: 48px;
    border-radius: 16px;
    background: rgba(255,255,255,0.18);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.svc-icon-wrap-md svg { stroke: white; }
.svc-stat-xl { font-size: 36px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.svc-stat-label { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.svc-side h3 { font-size: 20px; font-weight: 800; margin: 0 0 8px; color: white; }
.svc-side .svc-desc {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,0.75);
    margin: 0 0 20px;
}
.svc-tags-block { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.svc-pill-sm {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
}
.svc-link-row { font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.9); }
.svc-link-row svg { flex-shrink: 0; }

.svc-compact { padding: 24px; }
.svc-compact:hover { box-shadow: 0 20px 50px rgba(0,0,0,0.25); }
.svc-compact .svc-orb-bl {
    width: 128px; height: 128px;
    bottom: -32px; right: -32px;
    background: rgba(255,255,255,0.07);
}
.svc-compact-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.svc-icon-wrap-sm {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
}
.svc-icon-wrap-sm svg { stroke: white; }
.svc-stat-block { text-align: right; }
.svc-stat-block .v { font-size: 24px; font-weight: 900; line-height: 1; display: block; }
.svc-stat-block .l { font-size: 12px; color: rgba(255,255,255,0.6); display: block; margin-top: 2px; }
.svc-compact h3 { font-size: 16px; font-weight: 800; margin: 0 0 8px; color: white; }
.svc-compact .svc-desc {
    font-size: 12px;
    line-height: 1.65;
    color: rgba(255,255,255,0.73);
    margin: 0 0 16px;
}
.svc-pill-xs {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
}
.svc-compact .svc-tags-block { gap: 4px; margin-bottom: 16px; }
.svc-compact .svc-link-row { font-size: 12px; }

.services-cta-strip {
    margin-top: 40px;
    border-radius: 16px;
    padding: 20px 32px;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}
@media (min-width: 640px) {
    .services-cta-strip {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.services-cta-strip .cta-copy h4 { margin: 0 0 4px; font-size: 18px; font-weight: 800; color: #0f172a; }
.services-cta-strip .cta-copy p { margin: 0; font-size: 14px; color: #64748b; }
.services-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }

/* ── News cards ─────────────────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform .3s, box-shadow .3s;
    display: block;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.news-card-bar { height: 6px; }
.news-card-body { padding: 24px; }
.news-card .meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.news-card .badge {
    font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.news-card .date { font-size: 11px; color: var(--gray-400); display: inline-flex; align-items: center; gap: 4px; }
.news-card h4 { font-size: 17px; font-weight: 800; line-height: 1.35; margin-bottom: 12px; transition: color .2s; }
.news-card:hover h4 { color: var(--blue-bright); }
.news-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.news-card .more { color: var(--blue-bright); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; }
.badge-orange { background: #ffedd5; color: #c2410c; }
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-green  { background: #dcfce7; color: #15803d; }

/* ── M-PESA CTA ─────────────────────────────────────────────────────────── */
.mpesa {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: white;
    padding: 5rem 0;
}
.mpesa-orbs { position: absolute; inset: 0; pointer-events: none; }
.mpesa-orbs::before {
    content: ''; position: absolute; top: -8rem; left: -8rem;
    width: 24rem; height: 24rem; border-radius: 50%; opacity: .2;
    background: radial-gradient(circle, #34d399 0%, transparent 70%);
}
.mpesa-orbs::after {
    content: ''; position: absolute; bottom: -6rem; right: -6rem;
    width: 20rem; height: 20rem; border-radius: 50%; opacity: .15;
    background: radial-gradient(circle, #6ee7b7 0%, transparent 70%);
}
.mpesa-inner {
    position: relative; max-width: 1280px; margin: 0 auto; padding: 0 1rem;
    display: flex; flex-direction: column; gap: 2.5rem;
    align-items: center; justify-content: space-between;
}
@media (min-width: 1024px) { .mpesa-inner { flex-direction: row; } }

.mpesa h2 { color: white; font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin-bottom: 1rem; }
.mpesa-pills {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 36rem;
}
@media (max-width: 640px) { .mpesa-pills { grid-template-columns: 1fr; } }
.mpesa-pill {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 18px;
    border-radius: 16px;
    text-align: center;
}
.mpesa-pill svg { color: #6ee7b7; margin: 0 auto 8px; }
.mpesa-pill .label { font-size: 11px; color: #a7f3d0; margin-bottom: 4px; }
.mpesa-pill b { font-size: 18px; color: white; font-weight: 800; }

/* ── Tables ─────────────────────────────────────────────────────────────── */
.table-wrap {
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    background: white;
}
.table-wrap-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table thead th {
    text-align: left; padding: 14px 20px; color: white; font-weight: 700;
    background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
}
.table thead.green th { background: linear-gradient(135deg, #14532d, #15803d); }
.table tbody td { padding: 14px 20px; border-bottom: 1px solid #f1f5f9; }
.table tbody tr:nth-child(even) td { background: #f8fafc; }
.table tbody tr:hover td { background: rgba(59,130,246,0.05); }
.table .right { text-align: right; }

/* Pressure / status badges */
.pill { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.pill.good { background: #dcfce7; color: #15803d; }
.pill.mod  { background: #fef3c7; color: #b45309; }
.pill.low  { background: #fee2e2; color: #b91c1c; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
    background: linear-gradient(180deg, #050c1a 0%, #0a1628 100%);
    color: rgba(186,230,253,0.7);
    padding-top: 4rem;
}
.footer-grid {
    max-width: 1280px; margin: 0 auto; padding: 0 1rem 3rem;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 { color: white; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; font-weight: 700; }
.site-footer ul li { margin-bottom: .5rem; font-size: 14px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: white; }

.socials { display: flex; gap: 10px; margin-top: 1rem; }
.socials a {
    width: 38px; height: 38px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .25s;
}
.socials a:hover { background: var(--blue-bright); border-color: var(--blue-bright); transform: translateY(-2px); color: white; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 1.5rem 0;
    font-size: 13px;
    color: rgba(186,230,253,0.55);
}
.footer-bottom-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 1rem;
    display: flex; flex-direction: column; gap: .5rem; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; } }

/* ── Alert banner ───────────────────────────────────────────────────────── */
.alert-banner {
    background: linear-gradient(90deg, #7c2d12, #c2410c);
    color: white;
    font-size: 14px;
    padding: 10px 0;
}
.alert-banner-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 1rem;
    display: flex; align-items: center; gap: 12px;
}
.alert-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.2);
    font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 8px; flex-shrink: 0;
}
.alert-banner a { font-weight: 700; text-decoration: underline; color: white; }

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .55; transform: scale(1.06); }
}
@keyframes pulse-glow {
    0%, 100% { opacity: .25; transform: scale(1); }
    50%       { opacity: .55; transform: scale(1.06); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-18px); }
}
.anim-float { animation: float 6s ease-in-out infinite; }

/* ── Stat tiles (perf section) ──────────────────────────────────────────── */
.stat-tile {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
}
.stat-tile b { display: block; font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.stat-tile .label { display: block; font-size: 11px; font-weight: 700; color: white; line-height: 1.2; margin-bottom: 2px; }
.stat-tile small { font-size: 11px; color: rgba(186,230,253,0.5); }

.perf-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
@media (max-width: 1024px) { .perf-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .perf-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Forms ─────────────────────────────────────────────────────────────── */
.form-input {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    width: 100%;
    background: white;
    transition: border-color .2s, box-shadow .2s;
}
.form-input:focus {
    outline: none;
    border-color: var(--blue-electric);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.form-row { display: flex; flex-direction: column; gap: 1rem; }

/* ── FAQ Accordion ──────────────────────────────────────────────────────── */
.faq {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    margin-bottom: .75rem;
    overflow: hidden;
}
.faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 1.5rem;
    text-align: left; font-weight: 700; color: #0f172a; font-size: 15px;
}
.faq-q .toggle {
    width: 28px; height: 28px; border-radius: 50%;
    background: #f1f5f9; color: var(--gray-500);
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
}
.faq.is-open .faq-q .toggle {
    background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
    color: white;
}
.faq.is-open .faq-q .toggle svg { transform: rotate(180deg); }
.faq-q .toggle svg { transition: transform .2s; }
.faq-a {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--gray-500); line-height: 1.7; font-size: 14px;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}
.faq.is-open .faq-a { display: block; }

/* ── Reveal-on-scroll ──────────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: all .6s ease-out; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ── Generic utilities ─────────────────────────────────────────────────── */
.mt-xl { margin-top: 3rem; }
.text-center { text-align: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1024px) {
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px)  { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Scrollbar ─────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
::selection { background: #dbeafe; color: #1e40af; }
