/* =========================================================
   Fate Ondaba — Municipal Water & Sanitation Contractor
   Design system + global styles
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
    /* Brand colours */
    --navy:           #0A2540;
    --navy-deep:      #061830;
    --charcoal:       #14181E;
    --blue:           #1E4D8C;
    --blue-light:     #3A6FB0;
    --green:          #2D6A4F;
    --green-light:    #52B788;

    /* Neutrals */
    --white:          #FFFFFF;
    --off-white:      #FAFAF7;
    --grey-50:        #F4F6F8;
    --grey-100:       #E8EAED;
    --grey-200:       #D5D9DE;
    --grey-300:       #B0B6BD;
    --grey-500:       #6B7280;
    --grey-700:       #374151;
    --grey-900:       #1F2937;

    /* Typography */
    --font-display: 'Archivo', system-ui, sans-serif;
    --font-body:    'IBM Plex Sans', system-ui, sans-serif;
    --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

    /* Spacing scale (8px base) */
    --s-1:  0.25rem;
    --s-2:  0.5rem;
    --s-3:  0.75rem;
    --s-4:  1rem;
    --s-5:  1.5rem;
    --s-6:  2rem;
    --s-7:  2.5rem;
    --s-8:  3rem;
    --s-9:  4rem;
    --s-10: 5rem;
    --s-12: 7rem;
    --s-14: 9rem;

    /* Layout */
    --container:    1240px;
    --container-narrow: 880px;
    --radius-sm:    3px;
    --radius:       4px;
    --radius-md:    8px;

    /* Effects */
    --shadow-sm:    0 1px 2px rgba(10, 37, 64, 0.06);
    --shadow:       0 4px 16px rgba(10, 37, 64, 0.08);
    --shadow-md:    0 10px 30px rgba(10, 37, 64, 0.10);
    --border:       1px solid var(--grey-100);
    --border-strong:1px solid var(--grey-200);
    --transition:   180ms cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--navy);
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); letter-spacing: -0.02em; line-height: 1.1; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p  { color: var(--grey-700); }
.lead { font-size: 1.125rem; line-height: 1.65; color: var(--grey-700); }

/* Mono metadata label — the spec-sheet aesthetic */
.meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
}
.meta::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background: var(--green);
}
.meta--light { color: var(--green-light); }
.meta--light::before { background: var(--green-light); }
.meta--muted { color: var(--grey-500); }
.meta--muted::before { background: var(--grey-500); }

/* Reference codes — small technical detail */
.ref {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--grey-500);
    letter-spacing: 0.08em;
}

/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--s-5);
}
.container--narrow { max-width: var(--container-narrow); }

section { padding: var(--s-10) 0; }
@media (min-width: 900px) { section { padding: var(--s-12) 0; } }

.section-head { margin-bottom: var(--s-8); max-width: 720px; }
.section-head h2 { margin-top: var(--s-4); }
.section-head p  { margin-top: var(--s-4); }

/* Section variants */
.section--dark { background: var(--navy); color: var(--off-white); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(250, 250, 247, 0.75); }
.section--dark .meta { color: var(--green-light); }
.section--dark .meta::before { background: var(--green-light); }

.section--charcoal { background: var(--charcoal); color: var(--off-white); }
.section--charcoal h1, .section--charcoal h2, .section--charcoal h3 { color: var(--white); }
.section--charcoal p { color: rgba(250, 250, 247, 0.72); }

.section--grey { background: var(--grey-50); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s-3);
    padding: 0.95rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.005em;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn--primary {
    background: var(--navy);
    color: var(--white);
}
.btn--primary:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--accent {
    background: var(--green);
    color: var(--white);
}
.btn--accent:hover { background: #235740; transform: translateY(-1px); }

.btn--outline {
    border: 1px solid var(--grey-200);
    color: var(--navy);
    background: var(--white);
}
.btn--outline:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

.btn--ghost-light {
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    background: transparent;
}
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(3px); }

/* Inline text link */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    font-weight: 500;
    color: var(--navy);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}
.link-arrow:hover { color: var(--green); border-bottom-color: var(--green); }

/* ---------- Header / Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: var(--border);
}
.site-header__top {
    background: var(--charcoal);
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}
.site-header__top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--s-2);
    padding-bottom: var(--s-2);
    gap: var(--s-4);
    flex-wrap: wrap;
}
.site-header__top a { color: rgba(255,255,255,0.85); }
.site-header__top a:hover { color: var(--green-light); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
    padding: var(--s-4) 0;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    text-decoration: none;
}
.nav__brand-mark {
    width: 36px;
    height: 36px;
    background: var(--navy);
    color: var(--white);
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
}
.nav__brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.nav__brand-name strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--navy);
    letter-spacing: -0.01em;
}
.nav__brand-name span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--grey-500);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 3px;
}

.nav__menu {
    display: none;
    gap: var(--s-5);
    align-items: center;
}
.nav__menu a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--grey-700);
    padding: var(--s-2) 0;
    position: relative;
    transition: var(--transition);
}
.nav__menu a:hover, .nav__menu a.active {
    color: var(--navy);
}
.nav__menu a.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--green);
}

.nav__cta { display: none; }

.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: var(--s-2);
}
.nav__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition);
}

/* Mobile menu */
.nav__mobile {
    display: none;
    flex-direction: column;
    padding: var(--s-4) 0 var(--s-6);
    border-top: var(--border);
    gap: var(--s-1);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
    padding: var(--s-3) 0;
    font-weight: 500;
    color: var(--grey-700);
    border-bottom: var(--border);
}
.nav__mobile a:last-of-type { border-bottom: none; }
.nav__mobile .btn { margin-top: var(--s-4); justify-content: center; }

@media (min-width: 980px) {
    .nav__menu { display: flex; }
    .nav__cta { display: inline-flex; }
    .nav__toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--navy);
    color: var(--white);
    overflow: hidden;
    padding: var(--s-12) 0 var(--s-14);
}
.hero::before {
    /* Blueprint grid pattern */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.hero::after {
    /* Radial highlight */
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.12) 0%, transparent 60%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

.hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
    align-items: center;
}
@media (min-width: 980px) {
    .hero__inner { grid-template-columns: 1.4fr 1fr; gap: var(--s-9); }
}

.hero__meta { color: var(--green-light); margin-bottom: var(--s-5); }
.hero__meta::before { background: var(--green-light); }

.hero h1 { color: var(--white); }
.hero__lead {
    font-size: 1.125rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.8);
    margin-top: var(--s-5);
    max-width: 600px;
}
.hero__ctas {
    display: flex;
    gap: var(--s-3);
    margin-top: var(--s-7);
    flex-wrap: wrap;
}

.hero__trust {
    margin-top: var(--s-7);
    padding-top: var(--s-5);
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.92rem;
    color: rgba(255,255,255,0.7);
    max-width: 540px;
}

/* Hero illustration panel */
.hero__visual {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-md);
    padding: var(--s-6);
    min-height: 360px;
}
.hero__visual-corner {
    position: absolute;
    top: var(--s-4);
    left: var(--s-4);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}
.hero__visual-corner--br {
    top: auto; left: auto;
    bottom: var(--s-4);
    right: var(--s-4);
}

/* Page hero — for inner pages */
.page-hero {
    background: var(--navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: var(--s-10) 0;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); max-width: 880px; }
.page-hero .meta { color: var(--green-light); margin-bottom: var(--s-4); }
.page-hero .meta::before { background: var(--green-light); }
.page-hero p {
    color: rgba(255,255,255,0.8);
    max-width: 720px;
    margin-top: var(--s-5);
    font-size: 1.125rem;
}

/* Breadcrumb */
.crumb {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.55);
    margin-bottom: var(--s-5);
    text-transform: uppercase;
}
.crumb a { color: rgba(255,255,255,0.75); }
.crumb a:hover { color: var(--green-light); }
.crumb span { color: rgba(255,255,255,0.35); margin: 0 var(--s-2); }

/* ---------- Service cards ---------- */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
}
@media (min-width: 600px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .service-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
    background: var(--white);
    border: 1px solid var(--grey-100);
    border-radius: var(--radius-md);
    padding: var(--s-6);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms ease;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    width: 44px;
    height: 44px;
    background: var(--grey-50);
    color: var(--navy);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    margin-bottom: var(--s-5);
}
.service-card__ref {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--grey-500);
    letter-spacing: 0.08em;
    margin-bottom: var(--s-2);
}
.service-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--s-3);
    line-height: 1.25;
}
.service-card p {
    font-size: 0.92rem;
    line-height: 1.55;
    flex: 1;
    margin-bottom: var(--s-4);
}
.service-card .link-arrow { font-size: 0.88rem; }

/* ---------- Service Detail Cards (services page) ---------- */
.service-detail {
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--s-5);
    overflow: hidden;
}
.service-detail__head {
    padding: var(--s-6);
    background: var(--grey-50);
    border-bottom: var(--border);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--s-5);
    align-items: start;
}
.service-detail__num {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--green);
    background: var(--white);
    padding: var(--s-2) var(--s-3);
    border-radius: var(--radius);
    border: 1px solid var(--grey-100);
    align-self: start;
}
.service-detail__head h2 {
    font-size: 1.5rem;
    margin-bottom: var(--s-3);
}
.service-detail__head p {
    font-size: 0.98rem;
}
.service-detail__body {
    padding: var(--s-6);
}
.service-detail__body h4 {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grey-500);
    margin-bottom: var(--s-4);
    font-weight: 500;
}
.service-detail__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-2);
}
@media (min-width: 700px) { .service-detail__list { grid-template-columns: 1fr 1fr; } }
.service-detail__list li {
    padding: var(--s-3) 0;
    padding-left: var(--s-5);
    position: relative;
    border-bottom: var(--border);
    font-size: 0.93rem;
    color: var(--grey-700);
}
.service-detail__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
}

/* ---------- Why / value lists ---------- */
.value-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-3);
}
@media (min-width: 700px) { .value-list { grid-template-columns: 1fr 1fr; } }

.value-list li {
    padding: var(--s-4) var(--s-5);
    background: var(--white);
    border: var(--border);
    border-left: 3px solid var(--green);
    border-radius: 0 var(--radius) var(--radius) 0;
    display: flex;
    align-items: flex-start;
    gap: var(--s-3);
    font-size: 0.95rem;
    color: var(--grey-700);
    line-height: 1.45;
}
.value-list li svg {
    flex-shrink: 0;
    color: var(--green);
    margin-top: 2px;
}

/* Dark variant */
.section--dark .value-list li {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
    border-left-color: var(--green-light);
    color: rgba(255,255,255,0.85);
}

/* ---------- Process steps ---------- */
.process {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
    counter-reset: step;
}
@media (min-width: 700px) { .process { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, 1fr); } }

.process__step {
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius-md);
    padding: var(--s-6);
    position: relative;
    transition: var(--transition);
}
.process__step:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.process__num {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--grey-200);
    line-height: 1;
    margin-bottom: var(--s-5);
    letter-spacing: -0.02em;
}
.process__step h3 {
    font-size: 1.05rem;
    margin-bottom: var(--s-3);
}
.process__step p {
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Detailed process (project process page) */
.process-detail {
    display: flex;
    flex-direction: column;
    gap: var(--s-4);
    position: relative;
}
.process-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--s-6);
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius-md);
    padding: var(--s-6);
    align-items: start;
    transition: var(--transition);
}
.process-row:hover { border-left: 4px solid var(--green); padding-left: calc(var(--s-6) - 3px); }
.process-row__step {
    font-family: var(--font-mono);
    color: var(--green);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    background: var(--grey-50);
    padding: var(--s-2) var(--s-4);
    border-radius: var(--radius);
    align-self: start;
    white-space: nowrap;
}
.process-row__body h3 {
    margin-bottom: var(--s-3);
    font-size: 1.25rem;
}
.process-row__body p { font-size: 0.98rem; }

/* ---------- Two-column content ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-8);
    align-items: start;
}
@media (min-width: 980px) {
    .two-col { grid-template-columns: 1fr 1fr; gap: var(--s-9); }
}
.two-col--narrow {
    grid-template-columns: 1fr;
}
@media (min-width: 980px) {
    .two-col--narrow { grid-template-columns: 1.2fr 1fr; }
}

/* Info panel — for blueprint-style content boxes */
.info-panel {
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius-md);
    padding: var(--s-6);
    position: relative;
}
.info-panel--accent {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy-deep);
}
.info-panel--accent h3 { color: var(--white); }
.info-panel--accent p { color: rgba(255,255,255,0.8); }

.info-panel__corner {
    position: absolute;
    top: var(--s-3);
    right: var(--s-4);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--grey-500);
    text-transform: uppercase;
}

/* ---------- Stat / spec strip ---------- */
.spec-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--grey-100);
    border: var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}
@media (min-width: 700px) { .spec-strip { grid-template-columns: repeat(3, 1fr); } }
.spec-strip__item {
    background: var(--white);
    padding: var(--s-6);
}
.spec-strip__item .ref {
    display: block;
    margin-bottom: var(--s-3);
}
.spec-strip__item h3 {
    font-size: 1rem;
    margin-bottom: var(--s-2);
}
.spec-strip__item p {
    font-size: 0.9rem;
    color: var(--grey-500);
    line-height: 1.5;
}

/* Dark variant — for use inside .section--dark or .section--charcoal */
.section--dark .spec-strip,
.section--charcoal .spec-strip {
    background: transparent;
    border-color: rgba(255,255,255,0.10);
}
.section--dark .spec-strip__item,
.section--charcoal .spec-strip__item {
    background: rgba(255,255,255,0.04);
}
.section--dark .spec-strip__item .ref,
.section--charcoal .spec-strip__item .ref {
    color: rgba(255,255,255,0.5);
}
.section--dark .spec-strip__item h3,
.section--charcoal .spec-strip__item h3 {
    color: var(--white);
}
.section--dark .spec-strip__item p,
.section--charcoal .spec-strip__item p {
    color: rgba(255,255,255,0.6);
}

/* ---------- CTA section ---------- */
.cta-band {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--s-9) var(--s-6);
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: var(--s-4); max-width: 720px; }
.cta-band p { color: rgba(255,255,255,0.8); margin-bottom: var(--s-6); max-width: 640px; }
.cta-band__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Full-width CTA */
.cta-full {
    background: var(--navy);
    color: var(--white);
    padding: var(--s-10) 0;
    position: relative;
    overflow: hidden;
}
.cta-full::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
.cta-full .container { position: relative; }
.cta-full__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
    align-items: center;
}
@media (min-width: 980px) {
    .cta-full__inner { grid-template-columns: 1.5fr 1fr; }
}
.cta-full h2 { color: var(--white); }
.cta-full p { color: rgba(255,255,255,0.78); margin-top: var(--s-4); }
.cta-full__actions {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    align-items: flex-start;
}
@media (min-width: 980px) {
    .cta-full__actions { align-items: flex-end; }
}

/* ---------- Form ---------- */
.form-wrap {
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius-md);
    padding: var(--s-7);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-5);
}
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field--full { grid-column: 1 / -1; }
.field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--grey-700);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.field label .req { color: var(--green); margin-left: 4px; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="file"],
.field select,
.field textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--grey-200);
    background: var(--white);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--charcoal);
    transition: var(--transition);
    width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(10, 37, 64, 0.08);
}
.field textarea { resize: vertical; min-height: 130px; font-family: inherit; }

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-2);
}
@media (min-width: 600px) { .checkbox-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .checkbox-grid { grid-template-columns: repeat(3, 1fr); } }

.check {
    display: flex;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-3);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.92rem;
}
.check:hover { border-color: var(--navy); background: var(--grey-50); }
.check input { accent-color: var(--green); }

.radio-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
}
.radio-row label {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    padding: var(--s-2) var(--s-4);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    font-size: 0.92rem;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--font-body);
}
.radio-row label:hover { border-color: var(--navy); }
.radio-row input { accent-color: var(--green); }

.form-note {
    margin-top: var(--s-5);
    padding: var(--s-4) var(--s-5);
    background: var(--grey-50);
    border-left: 3px solid var(--green);
    font-size: 0.9rem;
    color: var(--grey-700);
    line-height: 1.5;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.7);
    padding: var(--s-10) 0 var(--s-6);
    font-size: 0.92rem;
}
.site-footer h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--s-4);
    font-weight: 500;
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: var(--green-light); }
.site-footer ul li { margin-bottom: var(--s-2); }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-7);
    padding-bottom: var(--s-7);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 700px) {
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}

.footer-brand p { color: rgba(255,255,255,0.6); margin-top: var(--s-4); line-height: 1.6; }
.footer-brand .nav__brand-mark { background: var(--navy); }
.footer-brand .nav__brand-name strong { color: var(--white); }

.footer-disclaimer {
    margin-top: var(--s-6);
    padding: var(--s-4) var(--s-5);
    border-left: 2px solid rgba(82, 183, 136, 0.4);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.55);
    font-style: italic;
    max-width: 880px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--s-3);
    padding-top: var(--s-5);
    margin-top: var(--s-5);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}
@media (min-width: 700px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Utilities ---------- */
.muted { color: var(--grey-500); }
.tight { margin-top: 0; }
.center { text-align: center; }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }

/* Divider — engineering blueprint feel */
.rule {
    height: 1px;
    background: var(--grey-100);
    margin: var(--s-7) 0;
    position: relative;
}
.rule::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    padding-right: var(--s-3);
    color: var(--grey-300);
    font-family: var(--font-mono);
}
