/* ---------------------------------------------------------------------------
   Zambezi Portland Cement — public website
   Extracted from the approved design. The mockup carried every rule as an
   inline style attribute; consolidating them here keeps the Blade templates
   readable and lets the whole site be re-skinned from the tokens below.
   --------------------------------------------------------------------------- */

:root {
    --brand: #1D2A6B;
    --brand-light: #9FB0E8;
    --ink: #14181b;
    --ink-deep: #0e1113;
    --muted: #5a656b;
    --muted-2: #7b868c;
    --muted-3: #9aa4a9;
    --line: #e6e8ea;
    --wash: #f4f5f6;
    --display: 'Bricolage Grotesque', 'Public Sans', system-ui, sans-serif;
    --body: 'Public Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--body);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
a:hover { opacity: .75; }
img { max-width: 100%; }

.pad { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

.eyebrow {
    color: var(--brand);
    font: 700 12.5px var(--body);
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; margin: 0; }
.h-section { font-size: 40px; font-weight: 800; line-height: 1.05; text-transform: uppercase; }

.btn {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 30px;
    border-radius: 3px;
    white-space: nowrap;
}
.btn-brand { background: var(--brand); color: #fff; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-weight: 600; }
.btn-sm { font-size: 14px; padding: 13px 22px; }

.link-more {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
    border-bottom: 2px solid var(--brand);
    padding-bottom: 4px;
}

/* ---------- Top bar + header ---------- */

.topbar { background: var(--ink); color: #c9cfd3; font-size: 12.5px; letter-spacing: .02em; }
.topbar .pad { height: 40px; display: flex; align-items: center; justify-content: space-between; }
.topbar-left { display: flex; gap: 26px; align-items: center; }
.topbar-right { display: flex; gap: 22px; align-items: center; }
.topbar .sep { opacity: .35; }

.site-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .pad { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.site-logo img { height: 46px; width: auto; display: block; }

.site-nav {
    display: flex;
    gap: 24px;
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}
.site-nav a { padding-bottom: 2px; border-bottom: 2px solid transparent; }
.site-nav a.is-active { color: var(--brand); border-bottom-color: var(--brand); }

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 42px;
    border: 1px solid #dfe2e4;
    border-radius: 3px;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
    background: none;
    cursor: pointer;
}
.burger span { width: 20px; height: 2px; background: var(--ink); display: block; }

.drawer { display: none; border-top: 1px solid var(--line); background: #fff; padding: 8px 20px 20px; }
.drawer.is-open { display: block; }
.drawer a { display: block; padding: 13px 0; font-size: 16px; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer .btn { display: block; text-align: center; margin-top: 16px; }

/* ---------- Hero ---------- */

.hero { position: relative; background: var(--ink); min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-media, .page-hero-media { position: absolute; inset: 0; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scrim {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg, rgba(14,17,19,.94) 0%, rgba(14,17,19,.82) 42%, rgba(14,17,19,.25) 100%);
}
/* .hero and .page-hero are flex containers, so the inner .pad needs an explicit
   width — otherwise `margin: 0 auto` centres it at content width and the copy
   drifts right of the grid the rest of the page aligns to. */
.hero-body, .page-hero-body { width: 100%; }

.hero-body { position: relative; padding-top: 96px; padding-bottom: 96px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.hero-kicker i { width: 34px; height: 2px; background: var(--brand); display: block; }
.hero-kicker span {
    color: #fff; font: 600 12.5px var(--body);
    letter-spacing: .22em; text-transform: uppercase; opacity: .85;
}
.hero h1 {
    font-weight: 800; font-size: 64px; line-height: 1;
    color: #fff; margin: 0 0 24px; max-width: 15ch; text-transform: uppercase;
}
.hero p { color: #c9cfd3; font-size: 18.5px; line-height: 1.6; max-width: 52ch; margin: 0 0 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stats strip ---------- */

.stats { background: var(--brand); color: #fff; }
.stats .pad { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .cell { padding: 34px 0 34px 40px; border-left: 1px solid rgba(255,255,255,.18); }
.stats .cell:first-child { border-left: none; padding-left: 0; }
.stats .n { font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stats .l { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-top: 6px; }

/* ---------- Sections ---------- */

.section { padding: 100px 0; }
.section-wash { background: var(--wash); border-top: 1px solid var(--line); }
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 40px; margin-bottom: 44px; flex-wrap: wrap;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }

/* ---------- Cards ---------- */

.card { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.card-media { height: 220px; background: #eef0f1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-meta {
    display: flex; gap: 12px; align-items: center; font-size: 11.5px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px;
}
.card-meta .cat { color: var(--brand); }
.card-meta .dot { opacity: .4; }
.card h3 { font-size: 21px; font-weight: 700; line-height: 1.25; margin: 0 0 10px; letter-spacing: -.01em; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0 0 18px; }
.card .read-more {
    font-size: 13.5px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--brand); margin-top: auto;
}

/* ---------- Inner page shell ---------- */

.page-hero { position: relative; background: var(--ink); height: 320px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero-scrim {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(14,17,19,.93) 0%, rgba(14,17,19,.55) 100%);
}
.page-hero-body { position: relative; padding-bottom: 46px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted-3); margin-bottom: 14px; }
.crumbs .sep { opacity: .5; }
.crumbs .here { color: #fff; }
.page-hero h1 { font-size: 50px; font-weight: 800; line-height: 1.02; color: #fff; text-transform: uppercase; }
.page-hero .lede { color: #c9cfd3; font-size: 17px; margin: 14px 0 0; max-width: 60ch; line-height: 1.6; }

.page-body { padding: 88px 0; }
.page-layout { display: grid; grid-template-columns: 1fr 340px; gap: 64px; align-items: start; }

.block { margin-bottom: 52px; }
.block h2 { font-size: 31px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 16px; text-transform: uppercase; }
.block p { font-size: 17px; line-height: 1.75; color: var(--muted); margin: 0 0 22px; }
.block img { width: 100%; height: auto; display: block; border-radius: 4px; }

.tick-list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 32px; }
.tick-list div { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; }
.tick-list .dash { color: var(--brand); font-weight: 700; }

aside.sidebar { position: sticky; top: 108px; }
.side-nav { border: 1px solid var(--line); border-radius: 4px; padding: 8px 0; margin-bottom: 24px; }
.side-nav a { display: block; padding: 13px 22px; font-size: 15px; font-weight: 600; }
.side-nav a.is-active { color: var(--brand); background: var(--wash); }
.side-cta { background: var(--brand); color: #fff; padding: 28px; }
.side-cta h3 { font-size: 25px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 10px; }
.side-cta p { font-size: 14.5px; line-height: 1.6; opacity: .9; margin: 0 0 18px; }
.side-cta .btn { background: #fff; color: var(--brand); }

/* ---------- Tenders table ---------- */

.tender-table { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.tender-row { display: grid; grid-template-columns: 2.2fr 1fr 1fr 140px; align-items: center; }
.tender-head {
    background: var(--ink); color: #fff; font-size: 12px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
}
.tender-head > div { padding: 16px 20px; }
.tender-body { border-top: 1px solid var(--line); font-size: 15px; }
.tender-body > div { padding: 18px 20px; }
.tender-body .name { font-weight: 600; }
.tender-body .ref, .tender-body .close { color: var(--muted-2); }
.tender-body .desc { grid-column: 1 / -1; padding-top: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.tender-body .download { font-weight: 700; color: var(--brand); }
.tender-body .no-doc { color: var(--muted-2); font-size: 14px; }

.pill {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
}
.pill-open { background: #e7f3ec; color: #1c6b3f; }
.pill-closed { background: #eceef0; color: var(--muted-2); }

/* ---------- Media / news ---------- */

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filters a {
    font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted-2);
}
.filters a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.article-body { font-size: 17.5px; line-height: 1.8; color: #3c4449; }
.article-body p { margin: 0 0 22px; }
.article-hero img { width: 100%; height: auto; display: block; border-radius: 4px; margin-bottom: 34px; }

.pagination { display: flex; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
    padding: 10px 16px; border: 1px solid var(--line); border-radius: 3px; font-size: 14px; font-weight: 600;
}
.pagination .active span { background: var(--brand); border-color: var(--brand); color: #fff; }

.empty { padding: 60px 0; text-align: center; color: var(--muted-2); font-size: 16px; }

/* ---------- Contact ---------- */

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 36px; }
.contact-card { border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.contact-card .t {
    font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.contact-card .v { font-size: 16px; line-height: 1.65; color: #3c4449; white-space: pre-line; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--ink); color: #fff; }
.cta-band .pad { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.cta-band h2 { font-size: 42px; font-weight: 800; line-height: 1.05; margin: 0 0 18px; text-transform: uppercase; }
.cta-band p { font-size: 17.5px; line-height: 1.7; color: #c9cfd3; margin: 0; max-width: 46ch; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink-deep); color: #8d979c; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding-top: 64px; }
.footer-grid img { height: 44px; width: auto; display: block; margin-bottom: 22px; }
.footer-grid p { line-height: 1.7; margin: 0; max-width: 34ch; }
.footer-grid .head { color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-base {
    margin-top: 52px; padding-top: 28px; padding-bottom: 28px;
    border-top: 1px solid #1c2124; display: flex; justify-content: space-between; font-size: 13px; gap: 16px;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .pad { padding: 0 20px; }
    .site-nav, .topbar, .header-cta { display: none !important; }
    .burger { display: flex; }
    .site-header .pad { height: auto; padding-top: 16px; padding-bottom: 16px; gap: 14px; }
    .hero h1 { font-size: 42px; }
    .h-section, .cta-band h2 { font-size: 30px; }
    .page-hero h1 { font-size: 34px; }
    .stats .pad { grid-template-columns: 1fr 1fr; }
    .stats .cell { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,.18); }
    .grid-3, .split, .page-layout, .contact-cards, .tick-list, .cta-band .pad, .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    aside.sidebar { position: static; }
    .section, .page-body { padding: 56px 0; }
    .tender-row { grid-template-columns: 1fr; gap: 0; }
    .tender-head { display: none; }
    .tender-body { padding: 8px 0 16px; }
    .tender-body > div { padding: 6px 20px; }
    .tender-body .ref::before { content: 'Reference: '; }
    .tender-body .close::before { content: 'Closing: '; }
    .footer-base { flex-direction: column; }
}
