/* ============================================================
   JRAUTOCARRIERS — Sistema de diseño
   Paleta basada en el logo real de la flota: azul marino profundo
   (carrocería/confianza) + azul cielo brillante (acento de marca)
   ============================================================ */

:root {
  /* Marca */
  --jr-navy-950: #060d1e;
  --jr-navy-900: #0a1730;
  --jr-navy-800: #0f2145;
  --jr-navy-700: #16305f;
  --jr-navy-600: #1e3f7a;
  --jr-orange-600: #0a6ea8;
  --jr-orange-500: #1496d1;
  --jr-orange-400: #5bc8f0;
  --jr-amber-400: #38bdf8;

  /* Neutrales */
  --jr-ink: #10151f;
  --jr-slate-700: #3c4657;
  --jr-slate-500: #6b7686;
  --jr-slate-300: #c3cad4;
  --jr-slate-100: #eef1f5;
  --jr-white: #ffffff;

  /* Estados de rastreo */
  --jr-status-done: #17a34a;
  --jr-status-active: #1496d1;
  --jr-status-pending: #94a3b8;

  /* WhatsApp */
  --jr-whatsapp: #25d366;
  --jr-whatsapp-dark: #128c4a;

  /* Tipografía */
  --font-display: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  /* Layout */
  --container-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-md: 0 10px 30px -12px rgba(6, 13, 30, 0.35);
  --shadow-lg: 0 24px 60px -20px rgba(6, 13, 30, 0.45);
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--jr-ink);
  background: var(--jr-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--jr-navy-950);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { line-height: 1.7; color: var(--jr-slate-700); margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--jr-orange-600);
  background: #e7f5fc;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--jr-orange-500);
  box-shadow: 0 0 0 4px rgba(20,150,209,.18);
}

.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); }
.section-head p { font-size: 17px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: var(--jr-whatsapp);
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(37, 211, 102, .55);
}
.btn-primary:hover { background: var(--jr-whatsapp-dark); box-shadow: 0 14px 30px -8px rgba(18,140,74,.55); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-navy {
  background: var(--jr-navy-900);
  color: #fff;
}
.btn-navy:hover { background: var(--jr-navy-800); transform: translateY(-2px); }

.btn-block { width: 100%; }
.btn-lg { padding: 18px 34px; font-size: 16px; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 500;
  display: flex;
  align-items: center;
  transition: background-color .25s ease, box-shadow .25s ease, height .25s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.site-header.is-solid {
  background: rgba(10, 23, 48, .96);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.4);
  height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: 0 6px 16px -4px rgba(10,110,168,.6);
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { color: #fff; font-size: 19px; font-weight: 800; letter-spacing: .01em; }
.brand-text span { color: var(--jr-orange-400); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: rgba(255,255,255,.82);
  font-weight: 600;
  font-size: 14.5px;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease;
}
.nav-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-links a.active { background: rgba(255,255,255,.14); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 12px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  align-items: center; justify-content: center;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0;
  background: var(--jr-navy-950);
  z-index: 600;
  display: flex; flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer .drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-drawer a {
  color: #fff; font-family: var(--font-display); font-size: 22px; font-weight: 700;
  padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-drawer .btn { margin-top: 24px; }
.drawer-close {
  width: 44px; height: 44px; border-radius: 10px; border: none;
  background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background:
    linear-gradient(120deg, rgba(6,13,30,.94) 10%, rgba(10,23,48,.82) 55%, rgba(15,33,69,.55) 100%),
    radial-gradient(circle at 82% 18%, rgba(91,200,240,.28), transparent 45%),
    #0a1730;
  overflow: hidden;
}
.hero::after {
  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: 46px 46px;
  mask-image: linear-gradient(180deg, transparent, rgba(0,0,0,.9) 40%, transparent 90%);
  pointer-events: none;
}
.hero-road {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.55));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 9px 18px; border-radius: 999px;
  color: #fff; font-size: 13px; font-weight: 600;
  margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--jr-orange-500); box-shadow: 0 0 0 4px rgba(20,150,209,.25); }

.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -.01em;
}
.hero h1 em { font-style: normal; color: var(--jr-orange-400); }
.hero p.lead {
  color: rgba(255,255,255,.78);
  font-size: 18px;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; color: #fff; font-family: var(--font-display); font-size: 26px; }
.hero-stats .stat span { color: rgba(255,255,255,.6); font-size: 13px; }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--jr-navy-900);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: flex-end;
}
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(6,13,30,.15), rgba(6,13,30,.75) 75%);
  z-index: 1;
}
.hero-visual img { z-index: 0; }
.hero-visual .hero-float-card { z-index: 2; }
.hero-visual .truck-illustration { width: 100%; padding: 20px; }
.hero-float-card {
  position: absolute;
  background: rgba(10,23,48,.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  color: #fff;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
}
.hero-float-card.top { top: 26px; left: 26px; }
.hero-float-card.bottom { bottom: 26px; right: 26px; }
.hero-float-card .ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--jr-orange-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-float-card strong { display: block; font-size: 14px; }
.hero-float-card span { font-size: 12px; color: rgba(255,255,255,.65); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16/10; }
}

/* ---------------- Page hero (páginas internas) ---------------- */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 64px;
  background: linear-gradient(120deg, var(--jr-navy-950), var(--jr-navy-800));
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: -10%; top: -30%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(91,200,240,.25), transparent 65%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.72); font-size: 17px; max-width: 620px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; color: rgba(255,255,255,.55); font-size: 13.5px; margin-bottom: 18px; font-weight: 600; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--jr-orange-400); }

/* ---------------- Cards ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .card-grid, .card-grid.cols-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .card-grid, .card-grid.cols-3, .card-grid.cols-2 { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--jr-white);
  border: 1px solid var(--jr-slate-100);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card .ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(150deg, var(--jr-orange-500), var(--jr-orange-600));
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 20px;
  box-shadow: 0 10px 20px -8px rgba(10,110,168,.5);
}
.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; margin-bottom: 14px; }
.feature-card a.more { font-weight: 700; font-size: 14px; color: var(--jr-navy-800); display: inline-flex; align-items: center; gap: 6px; }
.feature-card a.more:hover { color: var(--jr-orange-600); }

.feature-card.dark {
  background: linear-gradient(160deg, var(--jr-navy-900), var(--jr-navy-950));
  border-color: transparent;
}
.feature-card.dark h3, .feature-card.dark p { color: #fff; }
.feature-card.dark p { color: rgba(255,255,255,.7); }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 22px 22px; background: var(--jr-slate-100); border-radius: var(--radius-md); }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -18px; left: 22px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--jr-navy-900); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800;
  border: 4px solid #fff;
}
.step h3 { font-size: 16.5px; margin: 10px 0 6px; }
.step p { font-size: 14px; margin: 0; }

/* ---------------- Coverage ---------------- */
.coverage-panel {
  background: linear-gradient(160deg, var(--jr-navy-900), var(--jr-navy-950));
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) { .coverage-panel { grid-template-columns: 1fr; padding: 34px 24px; } }
.state-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin-top: 22px; }
@media (max-width: 480px) { .state-list { grid-template-columns: 1fr; } }
.state-pill {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 14px 16px; border-radius: var(--radius-sm);
  font-weight: 700; font-family: var(--font-display); font-size: 14.5px;
}
.state-pill.base { background: rgba(20,150,209,.15); border-color: rgba(91,200,240,.4); }
.state-pill .flag { width: 30px; height: 30px; border-radius: 8px; background: var(--jr-orange-500); display:flex; align-items:center; justify-content:center; font-size: 12px; flex-shrink:0; }
.state-pill.base .flag { background: var(--jr-orange-500); }
.state-pill:not(.base) .flag { background: rgba(255,255,255,.15); }
.map-graphic { position: relative; }

/* ---------------- Testimonial / trust strip ---------------- */
.trust-strip {
  background: var(--jr-navy-950);
  color: rgba(255,255,255,.7);
  padding: 26px 0;
  text-align: center;
  font-size: 13.5px;
  letter-spacing: .04em;
}

/* ---------------- CTA banner ---------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--jr-orange-600), var(--jr-orange-500));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner::after {
  content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px;
  background: rgba(255,255,255,.14); border-radius: 50%;
}
.cta-banner h2 { color: #fff; margin-bottom: 8px; font-size: clamp(24px,3vw,32px); }
.cta-banner p { color: rgba(255,255,255,.92); margin: 0; font-size: 16px; }
.cta-banner .btn-navy { background: #0a1730; }
.cta-banner .btn-navy:hover { background: #060d1e; }

/* ---------------- Forms ---------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--jr-slate-100);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 7px; color: var(--jr-navy-900); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid var(--jr-slate-300);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--jr-ink);
  background: #fbfcfe;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--jr-orange-500);
  box-shadow: 0 0 0 4px rgba(20,150,209,.14);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--jr-navy-950); color: rgba(255,255,255,.65); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid p { color: rgba(255,255,255,.6); font-size: 14px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14.5px; color: rgba(255,255,255,.65); transition: color .18s ease; }
.footer-links a:hover { color: var(--jr-orange-400); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14.5px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 2px; color: var(--jr-orange-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--jr-orange-500); }

/* ---------------- WhatsApp Floating Button ---------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-float .wa-tooltip {
  background: #fff;
  color: var(--jr-navy-950);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.wa-float .wa-btn {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--jr-whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(18,140,74,.7);
  position: relative;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.wa-float .wa-btn svg { width: 32px; height: 32px; fill: #fff; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 12px 28px -8px rgba(18,140,74,.7), 0 0 0 0 rgba(37,211,102,.55); }
  50% { box-shadow: 0 12px 28px -8px rgba(18,140,74,.7), 0 0 0 14px rgba(37,211,102,0); }
}
@media (max-width: 640px) {
  .wa-float .wa-tooltip { display: none; }
  .wa-float .wa-btn { width: 56px; height: 56px; }
  .wa-float { right: 16px; bottom: 16px; }
}

/* ---------------- Tracking page ---------------- */
.track-search {
  background: linear-gradient(160deg, var(--jr-navy-900), var(--jr-navy-950));
  border-radius: var(--radius-lg);
  padding: 42px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  margin-top: -110px;
  position: relative;
  z-index: 5;
}
@media (max-width: 640px) { .track-search { padding: 26px; margin-top: -80px; } }
.track-search-row { display: flex; gap: 12px; }
@media (max-width: 560px) { .track-search-row { flex-direction: column; } }
.track-search input {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 17px 24px;
  font-size: 16px;
  font-family: var(--font-display);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.track-search input:focus { outline: 3px solid var(--jr-orange-400); }
.track-search .btn { border-radius: 999px; }
.track-hint { color: rgba(255,255,255,.55); font-size: 13.5px; margin-top: 14px; margin-bottom: 0; }

.track-result { margin-top: 56px; display: none; }
.track-result.visible { display: block; }
.track-summary {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 24px;
  background: var(--jr-slate-100);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 40px;
}
.track-summary h3 { margin-bottom: 4px; font-size: 20px; }
.track-summary .track-code { color: var(--jr-orange-600); font-family: var(--font-display); }
.track-summary .meta { display: flex; gap: 28px; flex-wrap: wrap; }
.track-summary .meta div span { display: block; font-size: 12px; color: var(--jr-slate-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.track-summary .meta div strong { font-family: var(--font-display); font-size: 15px; }
.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: 13px; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .04em;
}
.status-badge.recibido { background: #eef1f5; color: var(--jr-slate-700); }
.status-badge.preparacion { background: #fff4e5; color: #b45309; }
.status-badge.transito { background: #e7f5fc; color: var(--jr-orange-600); }
.status-badge.entregado { background: #e8f8ee; color: var(--jr-status-done); }
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.progress-track { display: flex; align-items: center; margin-bottom: 48px; }
.progress-step { flex: 1; text-align: center; position: relative; }
.progress-step .node {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--jr-slate-100);
  border: 3px solid var(--jr-slate-300);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; position: relative; z-index: 2;
  color: var(--jr-slate-500);
  transition: all .25s ease;
}
.progress-step .line {
  position: absolute; top: 23px; left: -50%; width: 100%; height: 4px;
  background: var(--jr-slate-300); z-index: 1;
}
.progress-step:first-child .line { display: none; }
.progress-step span { font-size: 13px; font-weight: 700; color: var(--jr-slate-500); font-family: var(--font-display); }
.progress-step.done .node { background: var(--jr-status-done); border-color: var(--jr-status-done); color: #fff; }
.progress-step.done .line { background: var(--jr-status-done); }
.progress-step.active .node { background: var(--jr-orange-500); border-color: var(--jr-orange-500); color: #fff; box-shadow: 0 0 0 6px rgba(20,150,209,.18); }
.progress-step.active span, .progress-step.done span { color: var(--jr-navy-950); }

@media (max-width: 640px) {
  .progress-track { flex-direction: column; align-items: flex-start; gap: 0; }
  .progress-step { display: flex; align-items: center; gap: 14px; text-align: left; padding: 10px 0; flex: none; width: 100%; }
  .progress-step .node { margin: 0; }
  .progress-step .line { top: 0; bottom: auto; left: 22px; width: 4px; height: 100%; }
}

.timeline { border-left: 3px solid var(--jr-slate-100); margin-left: 10px; }
.timeline-item { position: relative; padding: 0 0 32px 32px; }
.timeline-item::before {
  content: ''; position: absolute; left: -9px; top: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--jr-orange-500); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--jr-slate-100);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item .when { font-size: 12.5px; color: var(--jr-slate-500); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.timeline-item h4 { font-size: 15.5px; margin-bottom: 4px; }
.timeline-item p { font-size: 14px; margin: 0; }

.track-error {
  display: none;
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  padding: 18px 22px; border-radius: var(--radius-sm); margin-top: 56px; font-weight: 600;
}
.track-error.visible { display: block; }

/* ---------------- Admin ---------------- */
.admin-shell { min-height: 100vh; background: var(--jr-slate-100); font-family: var(--font-body); }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, var(--jr-navy-950), var(--jr-navy-800)); padding: 20px; }
.admin-login-card { background: #fff; border-radius: var(--radius-lg); padding: 44px; width: 100%; max-width: 400px; box-shadow: var(--shadow-lg); }
.admin-topbar { background: var(--jr-navy-950); color: #fff; padding: 16px 0; }
.admin-topbar .container { display: flex; justify-content: space-between; align-items: center; }
.admin-main { padding: 36px 0; }
.admin-card { background: #fff; border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-md); margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--jr-slate-100); }
.admin-table th { color: var(--jr-slate-500); text-transform: uppercase; font-size: 11.5px; letter-spacing: .05em; }
.admin-table tr:hover { background: #fafbfc; }
.pill-btn { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--jr-navy-900); color: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; border: none; }
.pill-btn.secondary { background: var(--jr-slate-300); color: var(--jr-navy-950); }
.pill-btn.danger { background: #dc2626; }
.admin-alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.admin-alert.error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.admin-alert.success { background: #ecfdf3; color: #067647; border: 1px solid #abefc6; }
.code-chip { font-family: var(--font-display); font-weight: 800; color: var(--jr-orange-600); background: #e7f5fc; padding: 4px 10px; border-radius: 8px; font-size: 13px; }

/* ---------------- Fleet gallery ---------------- */
.fleet-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}
.fleet-gallery a {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
}
.fleet-gallery a.tall { grid-row: span 2; }
.fleet-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.fleet-gallery a:hover img { transform: scale(1.06); }
.fleet-gallery a::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(6,13,30,.55));
  pointer-events: none;
}
@media (max-width: 980px) {
  .fleet-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .fleet-gallery a.tall { grid-row: span 1; }
}
@media (max-width: 560px) {
  .fleet-gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
}

.credential-strip {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.credential-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--jr-slate-100);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--jr-navy-900);
}
.credential-pill svg { color: var(--jr-orange-600); flex-shrink: 0; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
