/* =======================================================
   LAUD LOGISTICS — Design System
   Editorial, restrained, East-Africa trade-house aesthetic.
   No gradients, no pill buttons, no drop-shadow cards.
   ======================================================= */

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

:root {
    /* Brand */
    --navy: #0b3c95;
    --navy-700: #092f77;
    --navy-900: #071f4d;
    --ink: #000000;
    --body-text: #1a1a1a;
    --bg: #ffffff;
    --surface: #f5f6f8;
    --border: #e2e8f0;
    --border-strong: #c7d0dc;
    --muted: #4a5568;

    /* Type */
    --font-display: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Rhythm */
    --gutter: 1.5rem;
    --section-y: 6.5rem;
    --section-y-sm: 3.5rem;
    --radius: 3px;
    --transition: 0.2s ease;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--body-text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--navy);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 2000;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { color: var(--body-text); }

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.85rem;
}

.lede {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 46rem;
    line-height: 1.75;
}

/* ---------- Layout ---------- */
.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

section { padding: var(--section-y) 0; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.section-head .lede { margin: 0; }

.bg-surface { background: var(--surface); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }

.hr {
    border: 0;
    border-top: 1px solid var(--border);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy);
    color: #fff;
}
.btn-primary:hover { background: var(--navy-700); }

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-on-dark {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}
.btn-on-dark:hover { background: #fff; color: var(--navy-900); border-color: #fff; }

.btn-whatsapp {
    background: #128C7E;
    color: #fff;
}
.btn-whatsapp:hover { background: #0d6d61; }

/* ---------- Utility bar ---------- */
.utility-bar {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
}
.utility-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}
.utility-left { display: flex; gap: 1.5rem; }
.utility-left a:hover,
.utility-right a:hover { color: #fff; }
.utility-right { display: flex; gap: 1rem; align-items: center; }
.utility-right svg { display: block; }

/* ---------- Header / Nav ---------- */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 900;
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--gutter);
    gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: 0.7rem; }

.brand-mark {
    width: 38px;
    height: 38px;
    background: var(--navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    border-radius: var(--radius);
    flex: 0 0 auto;
}

.brand-word {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--ink);
    line-height: 1.1;
}
.brand-word span {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    color: var(--muted);
    margin-top: 0.15rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--body-text);
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--navy);
    border-color: var(--navy);
}

.nav-cta { display: flex; align-items: center; gap: 1rem; }

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 31, 77, 0.55) 0%, rgba(7, 31, 77, 0.86) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 7rem;
    padding-bottom: 4rem;
    max-width: 760px;
}

.hero-content .eyebrow { color: #cfd9ee; }
.hero-content h1 { color: #fff; margin-bottom: 1.25rem; }

.hero-content .lede {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    max-width: 44rem;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- Capability strip ---------- */
.strip {
    border-bottom: 1px solid var(--border);
}
.strip-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.strip-item {
    padding: 1.6rem var(--gutter);
    border-left: 1px solid var(--border);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--body-text);
}
.strip-item:first-child { border-left: none; }

/* ---------- Two-column intro ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.split-copy p + p { margin-top: 1rem; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 1.5rem;
    border-bottom: 1px solid var(--navy);
    padding-bottom: 2px;
}

/* ---------- Numbered capability list ---------- */
.cap-list { border-top: 1px solid var(--border); }

.cap-row {
    display: grid;
    grid-template-columns: 70px 1fr 1.4fr auto;
    gap: 2rem;
    align-items: center;
    padding: 1.75rem var(--gutter);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.cap-row:hover { background: var(--surface); }

.cap-num {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--border-strong);
    font-size: 1.1rem;
}

.cap-row h3 { font-size: 1.15rem; }

.cap-row p { color: var(--muted); font-size: 0.95rem; margin: 0; }

.cap-row .text-link { margin: 0; white-space: nowrap; }

/* ---------- Process ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}
.process-step {
    border-top: 2px solid var(--navy);
    padding-top: 1.25rem;
}
.process-step .cap-num { display: block; margin-bottom: 0.75rem; }
.process-step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Editorial band ---------- */
.band {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(7, 31, 77, 0.72);
    z-index: 0;
}
.band-content { position: relative; z-index: 1; max-width: 640px; }
.band-content h2 { color: #fff; }

/* ---------- Coverage ---------- */
.coverage-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
    border-left: 1px solid var(--border);
}
.coverage-item {
    padding: 1.75rem;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.coverage-item .flag {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.6rem;
}
.coverage-item img { width: 26px; height: 26px; object-fit: contain; }
.coverage-item h3 { font-size: 1.05rem; }
.coverage-item p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- CTA ---------- */
.cta {
    padding: var(--section-y) 0;
    text-align: left;
}
.cta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta h2 { max-width: 30rem; }
.cta p { color: rgba(255,255,255,0.85); margin-top: 0.75rem; max-width: 30rem; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.82);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-top: var(--section-y-sm);
    padding-bottom: var(--section-y-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand .brand-word { color: #fff; }
.footer-brand .brand-word span { color: rgba(255, 255, 255, 0.6); }
.footer-brand p { color: rgba(255, 255, 255, 0.72); margin-top: 1rem; max-width: 26rem; }

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.1rem;
}
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col a:hover { color: #fff; }
.footer-col address { font-style: normal; }

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.footer-social a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--transition), background var(--transition);
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 800;
    transition: background var(--transition);
}
.back-to-top.show { display: flex; }
.back-to-top:hover { background: var(--navy-700); }

/* =======================================================
   Responsive
   ======================================================= */
@media (max-width: 968px) {
    .split { grid-template-columns: 1fr; gap: 2.5rem; }
    .strip-row { grid-template-columns: repeat(2, 1fr); }
    .strip-item:nth-child(3) { border-left: none; }
    .strip-item { border-bottom: 1px solid var(--border); }
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .coverage-row { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .utility-left span:last-child { display: none; }
}

@media (max-width: 768px) {
    :root { --section-y: 4rem; }

    .utility-bar { display: none; }

    .mobile-toggle { display: flex; }

    .nav-cta .btn-outline { display: none; }

    .nav-links {
        position: fixed;
        top: 65px;
        right: -100%;
        width: min(80vw, 340px);
        height: calc(100vh - 65px);
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1.5rem;
        border-left: 1px solid var(--border);
        transition: right var(--transition);
        overflow-y: auto;
    }
    .nav-links.active { right: 0; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; width: 100%; padding: 0.85rem 0; border-bottom: 1px solid var(--border); }

    .hero { min-height: 520px; }
    .hero-content { padding-top: 4rem; padding-bottom: 3rem; }

    .cap-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .cap-row .text-link { margin-top: 0.5rem; }

    .process-grid { grid-template-columns: 1fr; gap: 2rem; }
    .coverage-row { grid-template-columns: 1fr; }

    .cta-row { flex-direction: column; align-items: flex-start; }

    .footer-top { grid-template-columns: 1fr; gap: 2.25rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .strip-row { grid-template-columns: 1fr; }
    .strip-item { border-left: none; }
}
