:root {
    --navy: #0b2b4a;
    --navy-2: #123a63;
    --navy-deep: #061627;
    --gold: #e8a317;
    --gold-2: #c98a0c;
    --ink: #1c2430;
    --muted: #5c6b7a;
    --line: #e4ebf2;
    --paper: #f4f6f8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Outfit, "Segoe UI", system-ui, sans-serif;
    color: var(--ink);
    background: #fff;
}
body.nav-open { overflow: hidden; }
a { color: var(--navy-2); }
.wrap { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.site-head {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}
.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 70px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
    z-index: 60;
}
.brand img { height: 42px; width: auto; max-width: 56px; }
.brand .mark {
    width: 40px; height: 40px; border-radius: 6px;
    background: var(--gold); color: var(--navy);
    display: grid; place-items: center;
    font-weight: 800; font-size: 13px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 15px; }
.brand-text small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 14px;
}
.nav a:hover { color: var(--gold-2); }
.nav-cta {
    background: var(--navy) !important;
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 4px;
}
.nav-cta:hover { background: var(--navy-2) !important; color: #fff !important; }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    z-index: 60;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--navy);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 22, 39, .45);
    z-index: 45;
}

.hero {
    min-height: calc(100svh - 70px);
    display: flex;
    align-items: center;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(6, 22, 39, .62) 0%, rgba(11, 43, 74, .78) 100%),
        url("../img/hero-truck.jpg") center / cover no-repeat;
    background-color: var(--navy-deep);
}
.hero-inner {
    width: min(720px, calc(100% - 36px));
    margin: 0 auto;
    text-align: center;
    padding: 56px 0;
}
.kicker {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.hero h1 {
    margin: 0 0 28px;
    font-size: clamp(34px, 6vw, 56px);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.03em;
}
.track {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
.track input {
    flex: 1;
    border: 0;
    min-width: 0;
    padding: 18px 20px;
    font: 18px Outfit, sans-serif;
    outline: none;
    color: var(--ink);
    letter-spacing: .06em;
}
.track button {
    border: 0;
    background: var(--gold);
    color: #1a1304;
    font: 700 16px Outfit, sans-serif;
    padding: 18px 32px;
    cursor: pointer;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.track button:hover { background: var(--gold-2); color: #fff; }

.strip { background: var(--navy); color: #fff; }
.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}
.strip-grid > div {
    padding: 18px 8px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}
.strip-grid > div:last-child { border-right: 0; }

.block { padding: 72px 0; }
.block h2 {
    margin: 0 0 28px;
    font-size: 28px;
    color: var(--navy);
}
.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.cards article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.cards img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.cards article > div { padding: 16px 16px 18px; }
.cards h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.cards p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.network-block { background: var(--paper); }
.network {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}
.network p { margin: 0 0 20px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.network-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 14px;
    color: var(--muted);
    font-size: 14px;
}
.facts strong {
    display: block;
    color: var(--navy);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.contact > div {
    background: var(--paper);
    border-radius: 8px;
    padding: 20px;
}
.contact h3 {
    margin: 0 0 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}
.contact p { margin: 0; color: var(--navy); font-weight: 650; line-height: 1.45; }
.contact a { text-decoration: none; color: var(--navy); }

.result { background: var(--paper); padding: 28px 0 8px; }
.result-card, .banner {
    background: #fff;
    border-radius: 12px;
    padding: 24px 26px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(11, 43, 74, .06);
}
.banner.warn { color: #7a4e00; background: #fff6e5; }
.result-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
}
.awb {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: .04em;
    font-family: ui-monospace, Menlo, Consolas, monospace;
    line-height: 1.1;
}
.result-route { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ink); }
.result-meta { margin-top: 4px; font-size: 13px; color: var(--muted); }
.status-pill {
    display: inline-block;
    flex-shrink: 0;
    background: var(--navy);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 4px;
}
.status-pill.sm {
    background: #5c6b7a;
    padding: 4px 8px;
    font-size: 11px;
}

.timeline {
    list-style: none;
    margin: 8px 0 0;
    padding: 8px 0 0 0;
}
.timeline li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 14px;
    position: relative;
    padding: 14px 0 16px;
}
.timeline li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 28px;
    bottom: -2px;
    width: 2px;
    background: #d7e0ea;
}
.timeline .dot {
    width: 12px;
    height: 12px;
    margin-top: 4px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #d7e0ea;
    z-index: 1;
}
.tl-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.tl-top time {
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}
.tl-loc {
    margin-top: 8px;
    font-weight: 700;
    color: var(--navy);
    font-size: 15px;
}
.tl-note {
    margin-top: 2px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}

.site-foot {
    background: var(--navy-deep);
    color: #9fb3c8;
    padding: 18px 0;
    font-size: 13px;
}
.site-foot a { color: #d7e4f2; text-decoration: none; }
.foot-links { display: flex; gap: 18px; }

@media (max-width: 900px) {
    .cards, .strip-grid, .contact, .network { grid-template-columns: 1fr 1fr; }
    .strip-grid > div:nth-child(2) { border-right: 0; }
}
@media (max-width: 780px) {
    .nav-toggle { display: flex; }
    .nav-overlay.is-on { display: block; }
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(300px, 86vw);
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 84px 22px 28px;
        transform: translateX(100%);
        transition: transform .22s ease;
        box-shadow: -12px 0 32px rgba(6, 22, 39, .18);
        z-index: 55;
    }
    .nav.open { transform: translateX(0); }
    .nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 16px;
    }
    .nav-cta { text-align: center; margin-top: 16px; }
    .track { flex-direction: column; }
    .track button { padding: 16px; }
    .cards, .strip-grid, .contact, .network { grid-template-columns: 1fr; }
    .network-photo { height: 200px; }
    .strip-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .result-head { flex-direction: column; }
}
