/* ==========================================================================
   GoldVault Logistics — Public website styles
   Design language: corporate navy + gold accent, generous whitespace,
   crisp typography, subtle motion.
   ========================================================================== */

:root {
  --ink: #0d1f2e;
  --text: #24384c;
  --muted: #5e7183;
  --faint: #8a99a9;

  --primary: #0f4c81;
  --primary-600: #0c3f6b;
  --primary-dark: #0a2e4f;
  --navy: #0b2239;
  --navy-2: #102c49;

  --accent: #c9962e;
  --accent-600: #b3811f;
  --accent-soft: #fbf3df;

  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --line: #e4e9f0;

  --success: #177e4e;  --success-bg: #e8f5ee;
  --warning: #b27513;  --warning-bg: #fcf3e2;
  --danger:  #be3b30;  --danger-bg:  #fbeae8;
  --info:    #2563eb;  --info-bg:    #eaf1fd;

  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 18px;

  --shadow-s: 0 1px 2px rgba(13, 31, 46, .06), 0 2px 8px rgba(13, 31, 46, .05);
  --shadow-m: 0 4px 14px rgba(13, 31, 46, .07), 0 12px 34px rgba(13, 31, 46, .08);
  --shadow-l: 0 18px 50px rgba(7, 22, 38, .16);

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

/* ---------- Base ---------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }

.ic { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.ic-lg { width: 26px; height: 26px; }

::selection { background: rgba(15, 76, 129, .16); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Buttons -------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease,
              transform .12s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 17px; height: 17px; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(15, 76, 129, .28); }
.btn-primary:hover { background: var(--primary-600); color: #fff; }

.btn-accent { background: var(--accent); color: #23180a; box-shadow: 0 6px 16px rgba(201, 150, 46, .30); }
.btn-accent:hover { background: var(--accent-600); color: #fff; }

.btn-outline { background: transparent; color: var(--primary); border-color: #c6d4e2; }
.btn-outline:hover { border-color: var(--primary); background: rgba(15, 76, 129, .05); }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef3f8; color: var(--navy); }

.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #a33227; color: #fff; }

.btn-sm { padding: 8px 14px; font-size: .85rem; border-radius: 8px; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-family: var(--font-display); font-size: .95rem;
}
.link-arrow .ic { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- Forms ------------------------------------------------------------ */

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .86rem;
  color: var(--ink);
  margin-bottom: 7px;
  font-family: var(--font-display);
}
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 5px; }

.input, select.input, textarea.input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: var(--faint); }
.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3.5px rgba(15, 76, 129, .13);
}
textarea.input { resize: vertical; min-height: 96px; }

.input-wrap { position: relative; }
.input-wrap > .ic {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--faint); pointer-events: none;
}
.input-wrap .input { padding-left: 44px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-error { color: var(--danger); font-size: .84rem; margin-top: 6px; }

.checkbox-line { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--text); }
.checkbox-line input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--primary); }

/* ---------- Badges & alerts --------------------------------------------------- */

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.4;
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger  { background: var(--danger-bg);  color: var(--danger); }
.badge-info    { background: var(--info-bg);    color: var(--info); }
.badge-primary { background: #e3edf7;           color: var(--primary); }
.badge-accent  { background: var(--accent-soft);color: var(--accent-600); }
.badge-neutral { background: #edf1f5;           color: var(--muted); }

.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: .93rem;
  border: 1px solid transparent;
  margin-bottom: 18px;
}
.alert .ic { width: 19px; height: 19px; margin-top: 1px; }
.alert-success { background: var(--success-bg); color: #116039; border-color: #cdebd9; }
.alert-info    { background: var(--info-bg);    color: #1d4fa8; border-color: #d4e3fb; }
.alert-warning { background: var(--warning-bg); color: #8a5c10; border-color: #f3e2bb; }
.alert-danger  { background: var(--danger-bg);  color: #973026; border-color: #f2cfca; }

/* ---------- Header -------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(13, 31, 46, .06); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img, .brand svg { height: 40px; width: auto; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.18rem; color: var(--ink);
  letter-spacing: -.01em; line-height: 1.1;
}
.brand-name small {
  display: block; font-size: .62rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent-600);
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  padding: 9px 13px;
  font-weight: 600; font-size: .93rem;
  color: var(--text);
  border-radius: 8px;
  transition: color .15s ease, background-color .15s ease;
}
.main-nav a:hover { color: var(--primary); background: rgba(15, 76, 129, .06); }
.main-nav a.is-active { color: var(--primary); }
.main-nav a.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.main-nav .nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 8px; }
.main-nav .nav-admin {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1.5px solid var(--line); border-radius: 9px;
  padding: 8px 14px; color: var(--ink); font-weight: 700;
}
.main-nav .nav-admin:hover { border-color: var(--primary); color: var(--primary); background: #fff; }
.main-nav .nav-admin .ic { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  background: none; border: 1.5px solid var(--line); border-radius: 9px;
  width: 42px; height: 42px; cursor: pointer;
  color: var(--ink); align-items: center; justify-content: center;
}
.nav-toggle .ic-close { display: none; }
body.nav-open .nav-toggle .ic-open { display: none; }
body.nav-open .nav-toggle .ic-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(13, 31, 46, .12);
    padding: 14px 20px 20px;
    display: none;
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav a { padding: 12px 14px; font-size: 1rem; }
  .main-nav a.is-active::after { display: none; }
  .main-nav .nav-sep { display: none; }
  .main-nav .nav-admin { margin-top: 10px; justify-content: center; }
}

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

.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 85% -10%, rgba(21, 91, 152, .55), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(11, 34, 57, .9), transparent 55%),
    linear-gradient(160deg, #0d3054 0%, var(--navy) 58%, #081a2c 100%);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(720px 420px at 70% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(64px, 9vw, 120px) 0 clamp(88px, 10vw, 130px);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  color: #ffd98a;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #6fd39a; box-shadow: 0 0 0 3px rgba(111,211,154,.25); }

.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: #ffc95e; }

.hero-sub {
  color: #b9c9da;
  font-size: 1.06rem;
  max-width: 54ch;
  margin-bottom: 34px;
}

.track-widget {
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
  padding: 26px 26px 24px;
  max-width: 560px;
}
.track-widget h2 {
  font-size: 1.06rem; margin: 0 0 4px; color: var(--ink);
  display: flex; align-items: center; gap: 9px;
}
.track-widget h2 .ic { color: var(--primary); }
.track-widget p { font-size: .87rem; color: var(--muted); margin-bottom: 16px; }

.track-form { display: flex; gap: 10px; }
.track-form .input-wrap { flex: 1; }
.track-form .input {
  height: 52px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.track-form .btn { height: 52px; padding-inline: 22px; }

@media (max-width: 560px) {
  .track-form { flex-direction: column; }
  .track-form .btn { width: 100%; }
}

.track-hint { margin-top: 12px; font-size: .78rem; color: var(--faint); }
.track-hint code {
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 2px 8px; border-radius: 6px; font-size: .78rem; color: var(--ink);
}

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 30px;
  color: #9db2c6; font-size: .84rem; font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { width: 16px; height: 16px; color: #ffc95e; }

/* Hero visual (photo or route illustration) */
.hero-visual { position: relative; min-height: 380px; }
.hero-routes { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-visual.has-photo { aspect-ratio: 5 / 4; max-height: 540px; }
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow-l);
}
/* soft darkening at the base so the white float-cards stay readable */
.hero-visual.has-photo::after {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  border-radius: 26px;
  background: linear-gradient(200deg, rgba(8,26,44,0) 45%, rgba(8,26,44,.38) 100%);
}
.hero-visual.has-photo .float-card { z-index: 2; }
.hero-visual.has-photo .float-card.fc-1 { top: -4%; }
.hero-visual.has-photo .float-card.fc-2 { bottom: -4%; }

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-l);
  padding: 16px 18px;
  animation: floaty 7s ease-in-out infinite;
}
.float-card.fc-1 { top: 6%; right: 4%; width: 250px; animation-delay: .8s; }
.float-card.fc-2 { bottom: 10%; right: 22%; width: 230px; animation-delay: 2.2s; }

.float-card .fc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.float-card .fc-head strong { font-size: .82rem; color: var(--ink); font-family: var(--font-display); }
.float-card .fc-head small { display: block; color: var(--faint); font-size: .68rem; }
.float-card .fc-avatar {
  width: 34px; height: 34px; border-radius: 9px;
  background: #e3edf7; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.mini-track { display: flex; align-items: center; gap: 0; margin-top: 4px; }
.mini-track .mt-node { width: 9px; height: 9px; border-radius: 50%; background: #d6dee7; flex: none; }
.mini-track .mt-node.on { background: var(--success); }
.mini-track .mt-node.now { background: var(--primary); box-shadow: 0 0 0 4px rgba(15,76,129,.15); }
.mini-track .mt-bar { height: 2.5px; flex: 1; background: #d6dee7; }
.mini-track .mt-bar.on { background: var(--success); }
.float-card .fc-foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: .7rem; color: var(--muted); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 72px; }
  .hero-visual { display: none; }
}

/* Entrance animation */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { animation: riseIn .7s cubic-bezier(.2,.7,.3,1) both; }
.rise-d1 { animation-delay: .08s; } .rise-d2 { animation-delay: .16s; }
.rise-d3 { animation-delay: .24s; } .rise-d4 { animation-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Section headers ----------------------------------------------------------- */

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 12px;
  font-family: var(--font-display);
}
.section-head p { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* ---------- Services --------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: #d3dde8; }
.service-thumb {
  width: calc(100% + 56px);
  margin: -30px -28px 22px;
  height: 180px;
  object-fit: cover;
  border-radius: calc(var(--radius-l) - 1px) calc(var(--radius-l) - 1px) 0 0;
  display: block;
}
@supports (aspect-ratio: 1 / 1) {
  .service-thumb { height: auto; aspect-ratio: 16 / 9; }
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #e3edf7; color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon .ic { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .93rem; margin-bottom: 14px; }

@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 30px 28px;
}
.step-num {
  counter-increment: step;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #ffc95e;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step-num::before { content: counter(step); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Dark stats band ---------------------------------------------------------------------- */

.stats-band { background: var(--navy); color: #fff; }
.stats-band .section { padding: clamp(48px, 6vw, 72px) 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat-n {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  color: #ffc95e; letter-spacing: -.02em;
}
.stat-l { color: #9db2c6; font-size: .88rem; font-weight: 600; margin-top: 4px; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split feature (lookup teaser / about) ----------------------------------------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse .split-media { order: 2; }

/* Story / fleet imagery (about page) */
.story-media { margin: 30px 0 0; }
.story-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
}
@supports (aspect-ratio: 1 / 1) {
  .story-media img { height: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}

.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.check-list .ic { color: var(--success); width: 19px; height: 19px; margin-top: 2px; }
.check-list strong { color: var(--ink); }

.lookup-panel {
  background: linear-gradient(165deg, #10345a, var(--navy));
  border-radius: var(--radius-l);
  padding: clamp(28px, 4vw, 44px);
  color: #fff;
  box-shadow: var(--shadow-m);
  position: relative;
  overflow: hidden;
}
.lookup-panel::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  border: 26px solid rgba(255, 201, 94, .12);
}
.lookup-panel h3 { color: #fff; font-size: 1.3rem; }
.lookup-panel p { color: #b9c9da; font-size: .93rem; }
.lookup-panel .badge { margin-bottom: 14px; }

/* ---------- Page hero (inner pages) ---------------------------------------------------------------- */

.page-hero {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(21, 91, 152, .5), transparent 60%),
    linear-gradient(160deg, #0d3054, var(--navy));
  color: #fff;
  padding: clamp(48px, 7vw, 84px) 0;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.page-hero p { color: #b9c9da; max-width: 60ch; margin: 0; font-size: 1rem; }
.breadcrumb { display: flex; gap: 8px; font-size: .82rem; color: #8ba3ba; margin-bottom: 16px; }
.breadcrumb a { color: #c4d4e4; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Tracking result page ----------------------------------------------------------------------- */

.track-page-body { background: var(--bg-alt); padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 8vw, 96px); }

.track-searchbar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  padding: 22px 24px;
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 30px;
}
.track-searchbar .input-wrap { flex: 1; }
.track-searchbar .input { height: 50px; text-transform: uppercase; font-weight: 600; letter-spacing: .03em; }
.track-searchbar .btn { height: 50px; }

.result-shell { max-width: 980px; margin-inline: auto; }

.shipment-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.shipment-top {
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  align-items: center; justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfe, #fff);
}
.shipment-top .tn-label { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.shipment-top .tn-value {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--ink); letter-spacing: .02em;
}
.shipment-updated { font-size: .8rem; color: var(--muted); text-align: right; }

.route-bar { padding: 26px 28px 8px; }
.route-cities {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  margin-bottom: 14px; gap: 12px;
}
.route-cities small { display: block; font-size: .7rem; color: var(--faint); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.route-cities .rc-end { text-align: right; }
.route-progress { position: relative; height: 6px; background: #e8edf3; border-radius: 999px; margin: 0 6px 6px; }
.route-progress .rp-fill {
  position: absolute; inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--primary), #2f7cc0);
  border-radius: 999px;
  transition: width .8s cubic-bezier(.2,.7,.3,1);
}
.route-progress .rp-pin {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(15, 76, 129, .25);
  transition: left .8s cubic-bezier(.2,.7,.3,1);
}
.route-progress .rp-pin.delivered { border-color: var(--success); color: var(--success); }
.route-progress .rp-pin .ic { width: 16px; height: 16px; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
.detail-cell { background: #fff; padding: 18px 22px; }
.detail-cell dt {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 5px;
}
.detail-cell dd { margin: 0; font-weight: 600; color: var(--ink); font-size: .95rem; }
.detail-cell dd small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }

@media (max-width: 860px) { .detail-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .detail-grid { grid-template-columns: 1fr 1fr; } .detail-cell dd { font-size: .88rem; } }

/* Timeline */
.timeline-section { padding: 28px; border-top: 1px solid var(--line); }
.timeline-title {
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 22px; font-family: var(--font-display);
}

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute; left: 15px; top: 8px; bottom: 8px;
  width: 2px; background: #e2e8ef;
}
.tl-item { position: relative; padding: 0 0 26px 52px; }
.tl-item:last-child { padding-bottom: 4px; }
.tl-dot {
  position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 2px solid #dbe2ea;
  color: #b6c2cf;
  z-index: 1;
}
.tl-dot .ic { width: 15px; height: 15px; }
.tl-item.done .tl-dot { background: var(--success); border-color: var(--success); color: #fff; }
.tl-item.current .tl-dot {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 0 0 5px rgba(15, 76, 129, .14);
}
.tl-label { font-weight: 700; color: var(--ink); font-family: var(--font-display); font-size: .98rem; }
.tl-item.upcoming .tl-label { color: #9aa8b6; font-weight: 600; }
.tl-time { font-size: .83rem; color: var(--muted); margin-top: 2px; }
.tl-note { font-size: .85rem; color: var(--muted); margin-top: 4px; background: var(--bg-alt); border-radius: 8px; padding: 8px 12px; display: inline-block; }
.tl-badge { margin-left: 8px; vertical-align: 2px; }

.tl-extras { margin-top: 18px; border-top: 1px dashed var(--line); padding-top: 16px; }
.tl-extra { display: flex; gap: 10px; font-size: .86rem; color: var(--muted); padding: 5px 0; }
.tl-extra .ic { width: 15px; height: 15px; margin-top: 3px; color: var(--accent-600); }
.tl-extra time { color: var(--faint); white-space: nowrap; }

/* Not found state */
.empty-state {
  background: #fff; border: 1px dashed #d4dce5; border-radius: var(--radius-l);
  padding: clamp(36px, 6vw, 64px) 28px;
  text-align: center;
  max-width: 640px; margin-inline: auto;
}
.empty-state .es-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg-alt); color: var(--faint);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.empty-state .es-icon .ic { width: 28px; height: 28px; }
.empty-state h3 { font-size: 1.15rem; }
.empty-state p { color: var(--muted); font-size: .93rem; max-width: 46ch; margin-inline: auto; }

/* ---------- Information lookup result ---------------------------------------------------------------- */

.verify-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
  max-width: 760px; margin-inline: auto;
  overflow: hidden;
}
.verify-banner {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 26px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
}
.verify-banner.ok   { background: var(--success-bg); color: var(--success); border-bottom: 1px solid #cdebd9; }
.verify-banner.warn { background: var(--warning-bg); color: var(--warning); border-bottom: 1px solid #f3e2bb; }
.verify-banner .ic { width: 22px; height: 22px; }

.verify-body { display: grid; grid-template-columns: 200px 1fr; gap: 28px; padding: 28px; }
@media (max-width: 620px) { .verify-body { grid-template-columns: 1fr; } }

.photo-frame {
  width: 180px; height: 210px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--faint);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame .ph-empty { text-align: center; font-size: .78rem; padding: 12px; }
.photo-frame .ph-empty .ic { width: 30px; height: 30px; margin: 0 auto 8px; }

.kv-list { margin: 0; display: grid; gap: 0; }
.kv-list > div {
  display: grid; grid-template-columns: 170px 1fr; gap: 14px;
  padding: 11px 0; border-bottom: 1px solid #eef2f6;
  font-size: .93rem;
}
.kv-list > div:last-child { border-bottom: 0; }
.kv-list dt { color: var(--muted); font-weight: 600; }
.kv-list dd { margin: 0; color: var(--ink); font-weight: 600; word-break: break-word; }
.kv-list dd.pre { white-space: pre-line; font-weight: 400; }
@media (max-width: 480px) { .kv-list > div { grid-template-columns: 1fr; gap: 2px; } }

.privacy-note {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 28px 26px;
  padding: 12px 16px;
  background: var(--bg-alt); border-radius: 10px;
  font-size: .8rem; color: var(--muted);
}
.privacy-note .ic { width: 15px; height: 15px; margin-top: 2px; flex: none; }

/* ---------- About page --------------------------------------------------------------------------------- */

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 26px; }
.value-card .service-icon { margin-bottom: 16px; }
.value-card h3 { font-size: 1.05rem; }
.value-card p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 860px) { .value-grid { grid-template-columns: 1fr; } }

.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.milestone { border-left: 3px solid var(--accent); padding-left: 18px; }
.milestone strong { font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; display: block; }
.milestone span { color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .milestones { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .milestones { grid-template-columns: 1fr; } }

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

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 14px;
}
.contact-info-card .service-icon { width: 44px; height: 44px; margin: 0; border-radius: 11px; }
.contact-info-card .service-icon .ic { width: 20px; height: 20px; }
.contact-info-card h4 { margin: 0 0 3px; font-size: .95rem; }
.contact-info-card p { margin: 0; color: var(--muted); font-size: .89rem; white-space: pre-line; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l);
  box-shadow: var(--shadow-s); padding: clamp(24px, 4vw, 36px);
}

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

.cta-band {
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(21, 91, 152, .5), transparent 60%),
    linear-gradient(150deg, #0d3054, var(--navy));
  border-radius: var(--radius-l);
  color: #fff;
  padding: clamp(36px, 5vw, 60px);
  display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-band p { color: #b9c9da; margin: 0; }

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

.site-footer { background: var(--navy); color: #9db2c6; margin-top: 0; }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(48px, 6vw, 72px) 0 40px;
}
.footer-brand img, .footer-brand svg { height: 38px; margin-bottom: 16px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: .88rem; max-width: 34ch; }
.footer-col h4 {
  color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 800;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: #9db2c6; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; font-size: .88rem; align-items: flex-start; }
.footer-contact .ic { width: 16px; height: 16px; margin-top: 3px; color: #ffc95e; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  padding: 20px 0;
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  align-items: center; justify-content: space-between;
  font-size: .8rem; color: #7d93a9;
}
.footer-bottom a { color: #7d93a9; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Misc ------------------------------------------------------------------------------------------------------ */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
