@import url('https://fonts.googleapis.com/css2?family=Zilla+Slab:wght@400;500;600;700&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
    --navy: #0F2A4A;
    --steel: #1D4E89;
    --wave-red: #D62828;
    --wheat: #E8DCC3;
    --paper: #F7F5F0;
    --ink: #1A1F26;
    --ink-soft: #4A5560;
    --line: #D8D2C4;
    --max-w: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Zilla Slab', serif;
    color: var(--navy);
    line-height: 1.15;
    font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }

p { color: var(--ink-soft); max-width: 68ch; }

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

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */
header.site {
    background: var(--navy);
    border-bottom: 3px solid var(--wave-red);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 28px;
    max-width: var(--max-w);
    margin: 0 auto;
    gap: 20px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img { height: 42px; display: block; background: #fff; border-radius: 6px; padding: 3px 6px; }

.brand-name {
    color: #fff;
    font-family: 'Zilla Slab', serif;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}
.brand-name span { display: block; font-family: 'Work Sans', sans-serif; font-size: 0.68rem; color: var(--wheat); font-weight: 500; }

nav.main-nav {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
}

nav.main-nav a {
    color: #EDEFF2;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color .15s ease, color .15s ease;
}
nav.main-nav a:hover, nav.main-nav a.active {
    border-color: var(--wave-red);
    color: #fff;
}

.lang-switch {
    display: flex;
    gap: 4px;
}
.lang-switch a {
    font-size: 1.25rem;
    line-height: 1;
    padding: 5px 7px;
    border-radius: 4px;
    border: 1.5px solid transparent;
    display: flex;
    align-items: center;
    filter: grayscale(35%);
    opacity: 0.75;
    transition: opacity .15s ease, filter .15s ease, border-color .15s ease;
}
.lang-switch a:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.lang-switch a.active {
    opacity: 1;
    filter: grayscale(0%);
    border-color: var(--wave-red);
    background: rgba(255,255,255,0.08);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    color: #fff;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,42,74,0.15) 0%, rgba(15,42,74,0.92) 88%);
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 28px 46px;
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
}
.hero-eyebrow {
    color: var(--wheat);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p.lead { color: #DCE3EA; max-width: 52ch; margin-top: 16px; font-size: 1.08rem; }

.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.94rem;
    border-radius: 3px;
    transition: transform .15s ease, background .15s ease;
}
.btn-primary { background: var(--wave-red); color: #fff; }
.btn-primary:hover { background: #b81f1f; }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0a1f38; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.navy-section { background: var(--navy); color: #fff; }
section.navy-section h2, section.navy-section h3 { color: #fff; }
section.navy-section p { color: #C7D2DD; }

.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head .kicker {
    color: var(--wave-red);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: block;
}

/* ---------- Manifest table (product spec motif) ---------- */
.manifest {
    width: 100%;
    border-collapse: collapse;
    margin-top: 18px;
    font-size: 0.95rem;
}
.manifest th {
    text-align: left;
    font-family: 'Zilla Slab', serif;
    font-weight: 600;
    color: var(--navy);
    border-bottom: 2px solid var(--navy);
    padding: 10px 14px;
    font-size: 0.92rem;
}
.manifest td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
    vertical-align: top;
}
.manifest tr:hover td { background: rgba(29,78,137,0.04); }
.manifest .prod-name { color: var(--navy); font-weight: 600; font-family: 'Zilla Slab', serif; font-size: 1.05rem; }

.manifest-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 4px; background: #fff; padding: 6px 18px 12px; }

/* ---------- Cards / grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.stat-block { border-left: 3px solid var(--wave-red); padding-left: 18px; }
.stat-block .num { font-family: 'Zilla Slab', serif; font-size: 2.4rem; color: var(--navy); font-weight: 700; display: block; }
.stat-block .label { color: var(--ink-soft); font-size: 0.92rem; }

.photo-frame { border: 1px solid var(--line); background: #fff; padding: 8px; }
.photo-frame img { width: 100%; display: block; }
.photo-frame figcaption { padding: 10px 6px 2px; font-size: 0.82rem; color: var(--ink-soft); font-style: italic; }

/* ---------- Route line (coverage motif) ---------- */
.route-line {
    position: relative;
    border-left: 2px dashed var(--steel);
    margin-left: 12px;
    padding-left: 30px;
}
.route-stop { position: relative; padding-bottom: 38px; }
.route-stop:last-child { padding-bottom: 0; }
.route-stop::before {
    content: '';
    position: absolute;
    left: -37px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: var(--wave-red);
    border-radius: 50%;
    border: 2px solid var(--paper);
}
.route-stop h3 { margin-bottom: 4px; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 3px;
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    background: #fff;
    color: var(--ink);
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--steel); outline-offset: 1px; }

/* ---------- Footer ---------- */
footer.site {
    background: var(--navy);
    color: #C7D2DD;
    padding: 48px 0 26px;
    margin-top: 0;
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
footer.site h4 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
footer.site a { color: #C7D2DD; }
footer.site a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 32px;
    padding-top: 20px;
    font-size: 0.82rem;
    color: #8FA0B0;
    text-align: center;
}
.footer-col { min-width: 200px; }
.footer-col p, .footer-col div { font-size: 0.9rem; margin-bottom: 6px; }

/* Skip link / focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--wave-red); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
