/* NexoDispatch — páginas públicas (inicio y rastreo). Se carga después de style.css. */
body.nd-public { background: #f5f7fb; overflow-x: hidden; }
.nd-header { background: var(--jr-navy-950); padding: 14px 0; position: sticky; top: 0; z-index: 50; }
.nd-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.nd-header .brand-mark.nd-mark { border-radius: 10px; box-shadow: none; }
.nd-header .brand-text span { color: var(--jr-orange-400); text-transform: none; letter-spacing: .02em; }
.nd-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nd-nav a { color: rgba(255,255,255,.8); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 8px; }
.nd-nav a:hover, .nd-nav a.active { background: rgba(255,255,255,.12); color: #fff; }
.nd-nav a.nd-lang { border: 1px solid rgba(255,255,255,.3); }

.nd-hero { background: linear-gradient(120deg, var(--jr-navy-950), var(--jr-navy-800)); padding: 72px 0 80px; }
.nd-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 50px); max-width: 820px; margin-bottom: 16px; }
.nd-hero p { color: rgba(255,255,255,.75); font-size: 18px; max-width: 680px; margin: 0 0 28px; }
.nd-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.nd-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer; }
.nd-btn-primary { background: #2f7cf6; color: #fff; }
.nd-btn-primary:hover { background: #1f66d6; }
.nd-btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.nd-btn-ghost:hover { background: rgba(255,255,255,.1); }

.nd-section { padding: 56px 0 64px; }
.nd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nd-card { background: #fff; border: 1px solid #e3e8f0; border-radius: 14px; padding: 24px; }
.nd-card h2 { font-size: 19px; margin-bottom: 8px; }
.nd-card p { font-size: 15px; margin: 0; }
.nd-model { margin: 32px 0 8px; font-size: 16px; font-weight: 600; color: var(--jr-navy-800); }
.nd-app { font-size: 15px; margin: 0; }

.nd-footer { background: var(--jr-navy-950); color: rgba(255,255,255,.6); padding: 24px 0; font-size: 13px; }
.nd-footer .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Rastreo */
.nd-track-hero { background: linear-gradient(120deg, var(--jr-navy-950), var(--jr-navy-800)); padding: 56px 0 120px; }
.nd-track-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 10px; }
.nd-track-hero p { color: rgba(255,255,255,.75); font-size: 17px; max-width: 620px; margin: 0; }
.nd-public .track-search { margin-top: -88px; }
.nd-public .track-search button { background: #2f7cf6; color: #fff; border: 0; }
.nd-carrier { margin: 4px 0 0; font-size: 14px; color: var(--jr-slate-500); }

@media (max-width: 820px) {
  .nd-cards { grid-template-columns: 1fr; }
  .nd-hero { padding: 48px 0 56px; }
}
@media (max-width: 560px) {
  .nd-public .track-search-row { flex-direction: column; }
}
