/* ==========================================================================
   Bridgewood Logistics — design system
   Mobile-first. Breakpoints: 640 / 900 / 1200
   ========================================================================== */

:root {
  --navy-950: #050d18;
  --navy-900: #0a1a2e;
  --navy-800: #10253f;
  --navy-700: #1a3556;
  --navy-500: #3b5b85;
  --slate-300: #b7c4d6;
  --slate-100: #e8eef6;
  --paper: #f6f8fb;
  --white: #ffffff;
  --signal: #ff7a1a;
  --signal-600: #e86400;
  --signal-100: #fff1e6;
  --teal: #19c3b1;
  --ok: #18a058;
  --warn: #e6a700;

  --bg: var(--paper);
  --surface: var(--white);
  --text: #0e1c2f;
  --text-muted: #51627a;
  --border: #dbe3ee;

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 46, .06), 0 2px 8px rgba(10, 26, 46, .05);
  --shadow: 0 10px 30px -12px rgba(10, 26, 46, .25);
  --shadow-lg: 0 30px 60px -20px rgba(10, 26, 46, .35);

  --gutter: 16px;
  --max: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1200px) { :root { --gutter: 32px; --header-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 6.5vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--signal); color: var(--navy-950); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--signal); --b-fg: var(--navy-950);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg);
  font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  box-shadow: 0 8px 20px -8px rgba(255, 122, 26, .6);
}
.btn:hover { transform: translateY(-2px); background: #ff8c3a; }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { --b-bg: transparent; --b-fg: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-dark { --b-bg: var(--navy-900); --b-fg: var(--white); box-shadow: var(--shadow); }
.btn-dark:hover { background: var(--navy-700); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  color: var(--white);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(10, 26, 46, .86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font: 700 1.1rem/1 var(--font-display); letter-spacing: -.01em; }
.brand-name small { display: block; font: 500 .66rem/1.4 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--slate-300); }

.nav-toggle {
  position: relative; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .08); color: inherit; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s; content: "";
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto; max-height: calc(100dvh - var(--header-h));
  overflow-y: auto; padding: 12px var(--gutter) 28px;
  background: var(--navy-900);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
.site-nav ul { list-style: none; margin: 0 0 18px; padding: 0; }
.site-nav li a {
  display: flex; align-items: center; min-height: 52px; padding: 0 4px;
  font: 600 1.15rem var(--font-display); text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-nav a[aria-current="page"] { color: var(--signal); }
.site-nav .btn { width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; align-items: center; gap: 28px; padding: 0; max-height: none;
    background: none; transform: none; opacity: 1; visibility: visible; overflow: visible;
  }
  .site-nav ul { display: flex; gap: 4px; margin: 0; }
  .site-nav li a {
    min-height: 40px; padding: 0 14px; border: 0; border-radius: 999px;
    font: 500 .95rem var(--font-body); color: var(--slate-300); transition: color .2s, background .2s;
  }
  .site-nav li a:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
  .site-nav a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, .1); }
  .site-nav .btn { width: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; padding: calc(var(--header-h) + 32px) 0 56px;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white);
  background:
    radial-gradient(1000px 600px at 80% 30%, rgba(25, 195, 177, .14), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(255, 122, 26, .12), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}
.hero-globe { position: absolute; z-index: -1; inset: auto -40% -18% -40%; height: 92vw; opacity: .5; }
.hero-globe canvas { width: 100% !important; height: 100% !important; }
.hero-grid { display: grid; gap: 32px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem; font-weight: 500; color: var(--slate-100);
}
.eyebrow .flag { display: inline-flex; width: 20px; height: 14px; border-radius: 3px; overflow: hidden; }
.eyebrow .flag i { flex: 1; }
.hero h1 .accent { color: var(--signal); }
.hero-lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--slate-300); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero-cta .btn { flex: 1 1 200px; }
@media (min-width: 640px) { .hero-cta .btn { flex: 0 0 auto; } }

.quick-track {
  padding: 18px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  max-width: 520px;
}
.quick-track label { display: block; font-size: .85rem; font-weight: 600; color: var(--slate-100); margin-bottom: 8px; }
.quick-track .row { display: flex; flex-direction: column; gap: 10px; }
.quick-track input {
  flex: 1; min-height: 50px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(5, 13, 24, .55); color: var(--white); font: 500 1rem var(--font-body); letter-spacing: .04em;
}
.quick-track input::placeholder { color: #7f93ad; }
.quick-track .hint { font-size: .78rem; color: #8ea2bb; margin: 8px 0 0; }
.quick-track .hint button { background: none; border: 0; padding: 0; color: var(--signal); font: inherit; text-decoration: underline; cursor: pointer; }
@media (min-width: 640px) { .quick-track .row { flex-direction: row; } }

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; max-width: 520px; }
.hero-stats div { border-left: 2px solid var(--signal); padding-left: 12px; }
.hero-stats strong { display: block; font: 700 1.6rem/1.1 var(--font-display); }
.hero-stats span { font-size: .82rem; color: var(--slate-300); }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

@media (min-width: 900px) {
  .hero-globe { inset: 0 -12% 0 38%; height: auto; opacity: .95; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

.scroll-cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px; display: none; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (min-width: 900px) { .scroll-cue { display: block; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--white);
  padding: calc(var(--header-h) + 48px) 0 56px;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(25, 195, 177, .16), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(255, 122, 26, .12), transparent 60%),
    var(--navy-900);
}
.page-hero p { color: var(--slate-300); font-size: 1.1rem; max-width: 40em; }
.breadcrumb { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .85rem; color: var(--slate-300); }
.breadcrumb a { text-decoration: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero-art { position: absolute; right: -60px; top: 50%; width: 360px; height: 360px; transform: translateY(-40%); opacity: .35; pointer-events: none; display: none; }
@media (min-width: 900px) { .page-hero-art { display: block; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section-dark { background: var(--navy-900); color: var(--white); }
.section-dark .lead, .section-dark p { color: var(--slate-300); }
.section-white { background: var(--white); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-block; margin-bottom: 12px; font: 600 .78rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--signal-600); }
.section-dark .kicker { color: var(--signal); }
.lead { font-size: 1.12rem; color: var(--text-muted); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } .gap-lg { gap: 24px; } }

.card {
  position: relative; padding: 26px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transform-style: preserve-3d; transition: box-shadow .3s, border-color .3s;
}
.card:hover { box-shadow: var(--shadow); border-color: #c9d5e5; }
.card p { color: var(--text-muted); margin: 0; }
.card .icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 16px; background: var(--signal-100); color: var(--signal-600);
  transform: translateZ(30px);
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { transform: translateZ(20px); }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--signal-600); text-decoration: none; }
.card .more::after { content: "→"; transition: transform .2s; }
.card:hover .more::after { transform: translateX(4px); }
.card-link { position: absolute; inset: 0; border-radius: inherit; }

.card-dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); border-color: rgba(255, 255, 255, .08); color: var(--white); }
.card-dark p { color: var(--slate-300); }
.card-dark .icon { background: rgba(255, 122, 26, .14); color: var(--signal); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 24px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; margin-bottom: 14px; font: 700 2.4rem/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px var(--signal); }
.step p { font-size: .95rem; margin: 0; }

/* ---------- Network / split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.reverse > :first-child { order: 2; } }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--signal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23e86400' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3 3 7-7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.section-dark .check-list li::before { background-color: rgba(255, 122, 26, .16); }

.hub-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-950); aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.hub-map canvas { width: 100% !important; height: 100% !important; }
.hub-legend { position: absolute; left: 14px; bottom: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.hub-legend span { font-size: .75rem; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--slate-100); }

.stat-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 900px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat-band strong { display: block; font: 700 clamp(2rem, 5vw, 3rem)/1 var(--font-display); color: var(--navy-900); }
.stat-band span { color: var(--text-muted); font-size: .95rem; }

/* ---------- Industries chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--border); font-weight: 500; font-size: .95rem; }

/* ---------- Testimonials ---------- */
.quote { margin: 0; }
.quote blockquote { margin: 0 0 18px; font: 500 1.08rem/1.6 var(--font-body); color: var(--text); }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--text-muted); }
.quote figcaption b { display: block; color: var(--text); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800); color: var(--white); font-weight: 700; font-size: .9rem; flex: none; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; padding: 40px 24px; border-radius: var(--radius-lg); color: var(--white);
  background: radial-gradient(600px 300px at 100% 0%, rgba(255, 122, 26, .35), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-950));
  display: grid; gap: 20px; align-items: center;
}
.cta-band p { color: var(--slate-300); margin: 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; padding: 56px; } }

/* ---------- Services page ---------- */
.service-nav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(246, 248, 251, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.service-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; white-space: nowrap; text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--text-muted); }
.service-nav a:hover, .service-nav a.is-active { background: var(--navy-900); color: var(--white); }

.service { display: grid; gap: 28px; padding: 56px 0; border-bottom: 1px solid var(--border); }
.service:last-child { border-bottom: 0; }
@media (min-width: 900px) { .service { grid-template-columns: 5fr 7fr; gap: 56px; padding: 80px 0; } }
.service-visual {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: var(--signal);
  display: grid; place-items: center; box-shadow: var(--shadow); transform-style: preserve-3d;
}
.service-visual svg { width: 46%; height: auto; transform: translateZ(50px); }
.service-visual .tag { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: var(--white); font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transform: translateZ(30px); }
.service-visual::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 28px 28px; }
.service-body .lead { margin-bottom: 20px; }
.feature-grid { display: grid; gap: 12px; margin: 22px 0; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature { padding: 16px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); }
.feature b { display: block; font-size: .98rem; margin-bottom: 2px; }
.feature span { font-size: .9rem; color: var(--text-muted); }
.spec-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.spec { font-size: .82rem; padding: 6px 12px; border-radius: 999px; background: var(--slate-100); color: var(--navy-700); font-weight: 500; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
@media (min-width: 640px) { .form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--white); color: var(--text);
  font: 400 1rem var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(255, 122, 26, .15); }
.field .err { font-size: .82rem; color: #c62828; min-height: 1em; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #c62828; }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--text-muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--signal); }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 500; display: none; }
.form-status.ok { display: block; background: #e7f6ee; color: #0f6b3b; }
.form-status.bad { display: block; background: #fdecea; color: #a12020; }

.panel { padding: 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
@media (min-width: 900px) { .panel { padding: 36px; } }

.office { padding: 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--border); }
.office.hq { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-100); }
.office h3 { display: flex; align-items: center; gap: 8px; }
.office .badge { font: 600 .7rem var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: var(--signal); color: var(--navy-950); }
.office p { margin: 0; color: var(--text-muted); font-size: .95rem; }

/* ---------- Tracking ---------- */
.track-form { display: grid; gap: 12px; }
@media (min-width: 640px) { .track-form { grid-template-columns: 1fr auto; } }
.track-form input {
  min-height: 56px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(5, 13, 24, .5); color: var(--white); font: 600 1.05rem var(--font-body); letter-spacing: .06em; text-transform: uppercase;
}
.track-form input::placeholder { text-transform: none; letter-spacing: 0; color: #7f93ad; font-weight: 400; }
.track-form .btn { min-height: 56px; }
.secure-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .85rem; color: var(--slate-300); }
.secure-note svg { width: 16px; height: 16px; color: var(--teal); flex: none; }
.demo-ids { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.demo-ids button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px dashed rgba(255, 255, 255, .3); background: transparent; color: var(--slate-100); font: 500 .82rem var(--font-body); cursor: pointer; }
.demo-ids button:hover { border-color: var(--signal); color: var(--signal); }

.track-result { display: none; }
.track-result.is-visible { display: block; }
.track-empty { text-align: center; padding: 48px 16px; color: var(--text-muted); }
.track-empty svg { width: 64px; height: 64px; margin: 0 auto 14px; color: var(--slate-300); }
.track-error { display: none; padding: 16px 18px; border-radius: var(--radius); background: #fdecea; color: #a12020; font-weight: 500; margin-bottom: 20px; }
.track-error.is-visible { display: block; }

.track-summary { display: grid; gap: 16px; margin-bottom: 20px; }
@media (min-width: 900px) { .track-summary { grid-template-columns: 1.3fr 1fr; } }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--signal-100); color: var(--signal-600); }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 1.6s infinite; }
.status-pill.delivered { background: #e7f6ee; color: var(--ok); }
.status-pill.delivered::before { animation: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.track-id { font: 700 1.4rem var(--font-display); margin: 10px 0 4px; letter-spacing: .02em; word-break: break-all; }
.route-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; }
.route-line .arrow { color: var(--signal); }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.meta-grid dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.meta-grid dd { margin: 2px 0 0; font-weight: 600; }

.progress-wrap { margin: 24px 0 8px; }
.progress-head { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 600; margin-bottom: 10px; }
.progress-bar { position: relative; height: 12px; border-radius: 999px; background: var(--slate-100); overflow: hidden; }
.progress-fill {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--signal));
  transition: width 1.4s var(--ease);
}
.progress-fill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent); animation: shimmer 2s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.milestones { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 4px; list-style: none; padding: 0; margin: 18px 0 0; }
.milestones li { text-align: center; font-size: .72rem; color: var(--text-muted); line-height: 1.3; }
.milestones li i { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 auto 6px; border-radius: 50%; background: var(--slate-100); color: var(--text-muted); font-style: normal; font-weight: 700; font-size: .75rem; transition: background .3s, color .3s; }
.milestones li.done i { background: var(--teal); color: var(--white); }
.milestones li.current i { background: var(--signal); color: var(--navy-950); box-shadow: 0 0 0 5px var(--signal-100); }
.milestones li.done, .milestones li.current { color: var(--text); font-weight: 600; }
@media (min-width: 640px) { .milestones li { font-size: .82rem; } }

.track-layout { display: grid; gap: 20px; }
@media (min-width: 900px) { .track-layout { grid-template-columns: 1.5fr 1fr; } }
.map-box { position: relative; height: 360px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: #dfe7f1; }
@media (min-width: 900px) { .map-box { height: 100%; min-height: 460px; } }
#track-map { position: absolute; inset: 0; }
.leaflet-container { font-family: var(--font-body); }
.map-tiles { filter: saturate(.35) brightness(1.04) contrast(.95); }
.map-pin { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy-900); color: var(--white); font-size: 11px; font-weight: 700; border: 3px solid var(--white); box-shadow: var(--shadow-sm); }
.map-pin.truck { background: var(--signal); color: var(--navy-950); width: 36px; height: 36px; animation: bob 2s infinite; }
@keyframes bob { 50% { transform: translateY(-3px); } }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 22px 30px; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: -2px; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--slate-300); }
.timeline li.done::after { border-color: var(--teal); background: var(--teal); }
.timeline li.current::after { border-color: var(--signal); background: var(--white); box-shadow: 0 0 0 4px var(--signal-100); }
.timeline b { display: block; font-size: .96rem; }
.timeline span { display: block; font-size: .85rem; color: var(--text-muted); }
.timeline li.pending { opacity: .6; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font: 600 1.05rem var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--slate-100); font-size: 1.2rem; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--signal); }
.faq details p { color: var(--text-muted); padding-bottom: 20px; margin: 0; }

/* ---------- Timeline (about) ---------- */
.history { display: grid; gap: 18px; }
@media (min-width: 900px) { .history { grid-template-columns: repeat(4, 1fr); } }
.history .year { font: 700 2rem var(--font-display); color: var(--signal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--slate-300); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.certs span { font-size: .72rem; font-weight: 600; letter-spacing: .06em; padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; }

/* ---------- Reveal (progressive enhancement; JS adds .js) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js.no-motion [data-reveal] { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.notfound .code { font: 800 clamp(6rem, 22vw, 12rem)/1 var(--font-display); background: linear-gradient(135deg, var(--signal), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ==========================================================================
   Tracking page v2 — header box, vertical timeline, search card
   ========================================================================== */
:root { --blue: #1f6feb; --blue-100: #e6f0ff; --blue-700: #1556b8; }

.track-hero { padding: calc(var(--header-h) + 36px) 0 64px; color: var(--white); background: radial-gradient(800px 400px at 90% 0%, rgba(31, 111, 235, .22), transparent 60%), var(--navy-900); }
.track-hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: 10px; }
.track-hero p { color: var(--slate-300); }
.track-body { padding: 0 0 72px; background: var(--bg); }
.track-body .container > :first-child { margin-top: 0; }
.track-result.is-visible { margin-top: -36px; }
.track-hero + .track-body .track-error { margin-top: 24px; }

/* Header box */
.th-box { position: relative; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); margin-bottom: 20px; }
.th-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; }
.th-label { display: block; margin-bottom: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.th-badge { display: inline-block; padding: 8px 16px; border-radius: 10px; background: var(--blue); color: #fff; font: 700 clamp(1.05rem, 3.4vw, 1.35rem) var(--font-display); letter-spacing: .03em; word-break: break-all; }
.th-route { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin: 22px 0; padding: 16px; border-radius: var(--radius); background: var(--surface-2, var(--paper)); }
.th-route b { font: 600 1.1rem var(--font-display); }
.th-route > div:last-child { text-align: right; }
.th-arrow { color: var(--blue); } .th-arrow svg { width: 26px; height: 26px; }
.th-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 20px; }
@media (min-width: 760px) { .th-meta { grid-template-columns: repeat(4, 1fr); } }
.th-meta dt { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.th-meta dd { margin: 3px 0 0; font-weight: 600; }
.th-progress { margin-bottom: 20px; }
.th-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border); }
.btn-help { --b-bg: var(--blue-100); --b-fg: var(--blue-700); box-shadow: none; }
.btn-help:hover { background: #d4e5ff; }
.progress-fill { background: linear-gradient(90deg, var(--blue), var(--teal)); }
.status-pill { background: var(--blue-100); color: var(--blue-700); }
.status-pill.delivered { background: #e7f6ee; color: var(--ok); }

/* Layout */
.track-layout { display: grid; gap: 20px; }
@media (min-width: 900px) { .track-layout { grid-template-columns: 1.15fr 1fr; align-items: start; } .track-layout .map-box { position: sticky; top: calc(var(--header-h) + 16px); height: 520px; min-height: 0; } }
.panel-title { font-size: 1.2rem; margin-bottom: 18px; }
.tz-note { margin: 8px 0 0; font-size: .78rem; color: var(--text-muted); }

/* Vertical timeline: newest on top */
.vtl { list-style: none; margin: 0; padding: 0; }
.vtl li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding-bottom: 24px; }
.vtl li::before { content: ""; position: absolute; left: 13px; top: 24px; bottom: -2px; width: 2px; background: var(--border); }
.vtl li:last-child { padding-bottom: 0; } .vtl li:last-child::before { display: none; }
.vtl-dot { position: relative; z-index: 1; width: 16px; height: 16px; margin: 4px 0 0 6px; border-radius: 50%; background: var(--surface); border: 3px solid var(--blue); }
.vtl li.current .vtl-dot { width: 22px; height: 22px; margin: 1px 0 0 3px; background: var(--blue); box-shadow: 0 0 0 5px var(--blue-100); }
.vtl li.pending .vtl-dot { border: 2px dashed var(--slate-300); }
.vtl li.pending::before { background: repeating-linear-gradient(var(--slate-300) 0 4px, transparent 4px 8px); }
.vtl-body h3 { margin: 0; font-size: 1.02rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vtl li.pending h3 { color: var(--text-muted); font-weight: 500; }
.vtl-now { padding: 2px 8px; border-radius: 999px; background: var(--blue); color: #fff; font: 600 .68rem var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
.vtl-meta { margin: 3px 0 0; font-size: .86rem; color: var(--text-muted); }
.vtl-note { margin: 8px 0 0; padding: 9px 12px; border-radius: var(--radius-sm); background: var(--paper); border-left: 3px solid var(--blue); font-size: .88rem; }

/* Search another */
.search-card { display: grid; gap: 16px; margin-top: 28px; padding: 24px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--white); }
.search-card h2 { font-size: 1.3rem; margin-bottom: 4px; } .search-card p { margin: 0; color: var(--slate-300); }
@media (min-width: 900px) { .search-card { grid-template-columns: 1fr 1.2fr; align-items: center; padding: 28px 32px; } }
.search-card .track-form { margin: 0; }
.search-card .btn { --b-bg: var(--signal); }

/* Footer legal block */
.legal-line { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; line-height: 1.7; color: #8ea2bb; }
.legal-line b { color: var(--slate-300); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 14px 0 0; font-size: .85rem; }

/* ==========================================================================
   Landing page: stepper, split hero, floating card, CTA, offices
   ========================================================================== */
.stepper-banner { padding: calc(var(--header-h) + 40px) 0 56px; text-align: center; color: var(--white);
  background: radial-gradient(700px 360px at 50% 0%, rgba(31, 111, 235, .28), transparent 65%), var(--navy-900); }
.stepper-banner h1 { font-size: clamp(1.9rem, 5.5vw, 3.2rem); max-width: 18em; margin-inline: auto; margin-bottom: 36px; }
.stepper { list-style: none; margin: 0 auto; padding: 0; max-width: 920px; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.stepper::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26px; height: 3px; background: rgba(255, 255, 255, .16); border-radius: 3px; }
.stepper::after { content: ""; position: absolute; left: 10%; top: 26px; height: 3px; width: 40%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 3px; transform-origin: left; animation: stepfill 1.6s var(--ease) both; }
@keyframes stepfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.stepper li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 4px; }
.step-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 8px; border-radius: 50%; background: var(--navy-800); border: 2px solid rgba(255, 255, 255, .22); color: var(--slate-300); }
.step-icon svg { width: 24px; height: 24px; }
.stepper b { font: 600 .92rem var(--font-display); }
.stepper small { font-size: .74rem; color: var(--slate-300); line-height: 1.3; }
.stepper li.done .step-icon { background: var(--blue); border-color: var(--blue); color: #fff; }
.stepper li.current .step-icon { background: var(--signal); border-color: var(--signal); color: var(--navy-950); box-shadow: 0 0 0 7px rgba(255, 122, 26, .22); }
@media (max-width: 639px) { .stepper b { font-size: .74rem; } .stepper small { display: none; } .step-icon { width: 42px; height: 42px; } .step-icon svg { width: 20px; height: 20px; } .stepper::before, .stepper::after { top: 20px; } }

.split-hero { padding: 72px 0; background: var(--bg); }
.split-hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split-hero-grid { grid-template-columns: 1fr 1fr; gap: 72px; } .split-hero { padding: 104px 0; } }
.sh-text .check-list b { color: var(--text); }
.mini-track { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; max-width: 480px; }
.mini-track input { min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font: 600 1rem var(--font-body); letter-spacing: .05em; text-transform: uppercase; }
.mini-track input::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; color: #8696ad; }
.mini-track input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 111, 235, .15); }
@media (min-width: 560px) { .mini-track { flex-direction: row; } .mini-track input { flex: 1; } }
.mini-note { margin: 10px 0 0; font-size: .88rem; color: var(--text-muted); }

.float-card-wrap { perspective: 1200px; }
.float-card { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg), 0 0 0 8px rgba(31, 111, 235, .06); transform-style: preserve-3d; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .float-card, .stepper::after { animation: none; } }
.fc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px; }
.fc-route { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 18px 0; padding: 14px; border-radius: var(--radius); background: var(--paper); }
.fc-route b { font: 600 1rem var(--font-display); } .fc-route > div:last-child { text-align: right; }
.fc-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; }
.fc-specs li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700); font-size: .85rem; font-weight: 600; }
.fc-specs svg { width: 16px; height: 16px; }
.fc-heading { font-size: 1rem; margin-bottom: 14px; }
.vtl-compact li { padding-bottom: 16px; }
.vtl-compact.is-collapsed li.more { display: none; }
.fc-toggle { width: 100%; min-height: 44px; margin-top: 8px; border: 1px dashed var(--blue); border-radius: 12px; background: transparent; color: var(--blue-700); font: 600 .92rem var(--font-body); cursor: pointer; }
.fc-toggle:hover { background: var(--blue-100); }
.fc-example { margin: 12px 0 0; text-align: center; font-size: .76rem; color: var(--text-muted); }

.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.cta-dark { padding: 80px 0; color: var(--white); background: radial-gradient(700px 320px at 100% 0%, rgba(255, 122, 26, .3), transparent 60%), var(--navy-950); }
.cta-dark-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .cta-dark-grid { grid-template-columns: 1.4fr 1fr; } .cta-dark-actions { text-align: right; } }
.cta-dark h2 { font-size: clamp(1.9rem, 5vw, 3rem); } .cta-dark p { color: var(--slate-300); max-width: 34em; font-size: 1.08rem; }
.btn-lg { min-height: 60px; padding: 0 36px; font-size: 1.12rem; }
.cta-link { display: block; margin-top: 14px; color: var(--slate-300); text-decoration: none; } .cta-link:hover { color: var(--white); }

.offices-strip { padding: 56px 0 8px; background: var(--navy-950); color: var(--slate-300); border-top: 1px solid rgba(255, 255, 255, .06); }
.offices-strip h2 { color: var(--white); font-size: 1.15rem; margin-bottom: 20px; }
.offices-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .offices-grid { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1000px) { .offices-grid { grid-template-columns: repeat(4, 1fr); } }
.office-card { font-style: normal; font-size: .92rem; line-height: 1.75; padding: 18px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.office-card.hq { border-color: var(--signal); }
.office-card b { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: var(--white); font: 600 1.02rem var(--font-display); }
.office-card .badge { font: 700 .66rem var(--font-body); padding: 3px 7px; border-radius: 6px; background: var(--signal); color: var(--navy-950); letter-spacing: .08em; }
.office-card a, .offices-more a { color: var(--slate-300); } .office-card a:hover, .offices-more a:hover { color: var(--white); }
.offices-more { margin: 22px 0 0; font-size: .85rem; }
.offices-strip + .site-footer { padding-top: 40px; }
