/* =========================================================
   Trans Tirvis Co — Premium Design System
   Palette: Navy #0A0F1E · Steel #1E3A5F · Gold #F0A500
            Light #F5F7FA · White #FFFFFF
   Type:    Bebas Neue (display) · Inter (body)
   ========================================================= */

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

:root {
  --navy:       #0A0F1E;
  --navy-mid:   #111827;
  --steel:      #1E3A5F;
  --steel-lt:   #2D5A8E;
  --gold:       #F0A500;
  --gold-lt:    #FFD166;
  --light:      #F5F7FA;
  --border:     #E5E9F0;
  --text:       #1F2937;
  --muted:      #6B7280;
  --white:      #FFFFFF;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:   12px;
  --radius-lg:20px;
  --shadow:   0 4px 24px rgba(10,15,30,.08);
  --shadow-lg:0 12px 48px rgba(10,15,30,.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ── Container ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,15,30,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: .06em;
  color: var(--white);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
  transition: color .2s;
}

.header-nav a:hover { color: var(--gold); }

.btn-nav-admin {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: .85rem !important;
  transition: background .2s, transform .15s !important;
}

.btn-nav-admin:hover {
  background: var(--gold-lt) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .3s;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  min-height: 540px;
  display: flex;
  align-items: center;
}

/* grid background */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* glow blob */
.hero-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(240,165,0,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  color: var(--white);
  letter-spacing: .02em;
  margin-bottom: 20px;
}

.headline-gold { color: var(--gold); }

.hero-sub {
  color: rgba(255,255,255,.62);
  font-size: 1.05rem;
  max-width: 400px;
  line-height: 1.7;
}

/* Tracker card */
.hero-tracker-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(8px);
}

.tracker-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--white);
  margin-bottom: 20px;
}

.tracker-icon { font-size: 1.5rem; }

.tracker-form { width: 100%; }

.input-row {
  display: flex;
  gap: 10px;
}

.tracker-input {
  flex: 1;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  letter-spacing: .05em;
  transition: border-color .2s, background .2s;
  outline: none;
}

.tracker-input::placeholder { color: rgba(255,255,255,.38); }
.tracker-input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.14);
}

.tracker-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .15s;
  font-family: var(--font-body);
}

.tracker-btn:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}

.tracker-hint {
  font-size: .78rem;
  color: rgba(255,255,255,.38);
  margin-top: 12px;
  text-align: center;
}

/* ═══════════════════════════════════════════
   TRACKING RESULT
═══════════════════════════════════════════ */
.section-result {
  background: var(--light);
  padding: 48px 0;
}

.result-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #991B1B;
  font-size: .95rem;
}

.error-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.result-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.result-strip {
  padding: 20px 28px;
}

.result-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.result-tn {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  font-weight: 500;
  letter-spacing: .05em;
}

.result-status-label {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: .06em;
  line-height: 1.1;
}

.result-service-badge {
  background: rgba(255,255,255,.22);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Progress bar */
.progress-wrap {
  height: 4px;
  background: #E5E7EB;
}

.progress-bar {
  height: 100%;
  transition: width .8s cubic-bezier(.4,0,.2,1);
}

/* Milestones */
.milestones {
  display: flex;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  gap: 8px;
}

.milestone {
  --mc: #9CA3AF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 80px;
  opacity: .4;
}

.milestone.done { opacity: 1; }

.milestone-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--mc);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--mc);
}

.milestone-lbl {
  font-size: .72rem;
  font-weight: 600;
  text-align: center;
  color: var(--mc);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Detail cols */
.result-details {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr;
  gap: 20px;
  align-items: start;
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--border);
}

.detail-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.detail-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 4px;
}

.detail-addr {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.5;
}

.route-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  margin-top: 22px;
}

/* Timeline */
.timeline-section {
  padding: 28px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .06em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}

.tl-item {
  position: relative;
  padding: 0 0 20px 20px;
}

.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -25px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--border);
  border: 2px solid var(--white);
}

.tl-latest .tl-dot {
  width: 16px;
  height: 16px;
  left: -26px;
  top: 4px;
}

.tl-status {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
}

.tl-location {
  font-size: .82rem;
  color: var(--steel-lt);
  margin: 2px 0;
  font-weight: 500;
}

.tl-desc {
  font-size: .85rem;
  color: var(--muted);
  margin: 2px 0;
}

.tl-time {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════
   STATS BAND
═══════════════════════════════════════════ */
.stats-band {
  background: var(--navy);
  padding: 48px 0;
}

.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 48px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: .02em;
}

.stat-lbl {
  font-size: .78rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,.12);
}

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
.section-services {
  padding: 80px 0;
  background: var(--white);
}

.section-eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: .02em;
  color: var(--navy);
  margin-bottom: 44px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.service-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.footer-copy {
  font-size: .82rem;
  color: rgba(255,255,255,.38);
}

/* ═══════════════════════════════════════════
   ADMIN SHARED STYLES
═══════════════════════════════════════════ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  width: 256px;
  min-width: 256px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-nav {
  padding: 16px 12px;
  flex: 1;
}

.sidebar-section-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.3);
  font-weight: 600;
  padding: 12px 10px 6px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 8px;
  color: rgba(255,255,255,.62);
  font-size: .88rem;
  font-weight: 500;
  transition: background .15s, color .15s;
  margin-bottom: 2px;
}

.sidebar-link:hover,
.sidebar-link.active {
  background: rgba(240,165,0,.14);
  color: var(--gold);
}

.sidebar-link .nav-icon { font-size: 1rem; width: 20px; text-align: center; }

.sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid rgba(255,255,255,.07);
}

/* Admin main content */
.admin-main {
  flex: 1;
  background: var(--light);
  min-width: 0;
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: .04em;
  color: var(--navy);
}

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

.admin-badge {
  background: var(--steel);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
}

.admin-content { padding: 32px; }

/* Stat cards */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.stat-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.stat-card-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  letter-spacing: .02em;
}

.stat-card-lbl {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
}

/* Data table */
.data-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.data-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}

.data-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .04em;
  color: var(--navy);
}

.table-wrap { overflow-x: auto; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
}

.admin-table th {
  text-align: left;
  padding: 12px 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--light);
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: #FAFBFF; }

/* Status badge */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: all .18s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-1px); }

.btn-secondary {
  background: var(--light);
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--border); }

.btn-danger {
  background: #FEE2E2;
  color: #991B1B;
}
.btn-danger:hover { background: #FECACA; }

.btn-sm { padding: 6px 12px; font-size: .8rem; }

/* Form styles */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .03em;
  text-transform: uppercase;
}

.form-control {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .9rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}

.form-control:focus {
  border-color: var(--steel-lt);
  box-shadow: 0 0 0 3px rgba(30,58,95,.1);
}

.form-section-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .05em;
  color: var(--steel);
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 20px;
  grid-column: 1 / -1;
}

/* Alert messages */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: .88rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.alert-success { background: #D1FAE5; color: #065F46; border: 1px solid #6EE7B7; }
.alert-error   { background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-info    { background: #DBEAFE; color: #1E40AF; border: 1px solid #93C5FD; }

/* Login page */
.login-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.login-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 44px 40px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(12px);
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 6px;
}

.login-subtitle {
  text-align: center;
  color: rgba(255,255,255,.45);
  font-size: .82rem;
  margin-bottom: 32px;
}

.login-card .form-label { color: rgba(255,255,255,.65); }

.login-card .form-control {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: var(--white);
}

.login-card .form-control::placeholder { color: rgba(255,255,255,.3); }

.login-card .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240,165,0,.15);
}

.login-btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
  font-size: 1rem;
  margin-top: 24px;
}

/* Tracking number mono */
.tn-mono {
  font-family: 'Courier New', monospace;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--steel);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state p { font-size: .9rem; }

/* Pagination */
.pagination {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.page-btn {
  padding: 7px 13px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  font-size: .82rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all .15s;
}
.page-btn:hover, .page-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Toast */
#toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 10px;
  font-size: .875rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  z-index: 9999;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
#toast.show { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-eyebrow { justify-content: center; }
  .result-details { grid-template-columns: 1fr; }
  .route-arrow { transform: rotate(90deg); margin: 0 auto; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--navy);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .stats-inner { gap: 24px; }
  .stat-divider { display: none; }
  .admin-sidebar { display: none; }
  .admin-layout.sidebar-open .admin-sidebar {
    display: flex;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 200;
  }
  .form-grid { grid-template-columns: 1fr; }
  .admin-content { padding: 16px; }
}

@media (max-width: 480px) {
  .input-row { flex-direction: column; }
  .milestones { justify-content: flex-start; }
}
