/* landing.css — Relay Link · "Dusk Dispatch"
   Aterrizado en el mundo del flete: asfalto al anochecer + ámbar de lámpara de
   autopista + verde de cartel-guía (solo plata). Tipografía Overpass (la cara
   derivada de la Highway Gothic de los carteles de ruta de EE.UU.).
   Todo namespaced bajo .rl-landing → no toca el resto del app. */
.rl-landing {
  --asphalt: #0B0E16;
  --asphalt-2: #121726;
  --asphalt-3: #1b2238;
  --stroke: #232c44;
  --sodium: #FF9D42;          /* acento: lámpara de autopista / dispatch */
  --sodium-2: #ffb86b;
  --sodium-glow: rgba(255,157,66,.16);
  --green: #21C08A;           /* RESERVADO: plata / ganancia / "go" */
  --green-glow: rgba(33,192,138,.14);
  --paint: #EEF3FA;           /* blanco reflectante */
  --paint-dim: #93A0B6;
  --paint-faint: #5e6b85;

  position: relative;
  min-height: 100vh;
  background: var(--asphalt);
  color: var(--paint);
  font-family: "Overpass", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}
.rl-landing *, .rl-landing *::before, .rl-landing *::after { box-sizing: border-box; }
.rl-mono { font-family: "Overpass Mono", ui-monospace, monospace; }

/* Atmósfera: faro ámbar + grilla tenue de carretera */
.rl-landing::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 78% 12%, var(--sodium-glow), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, var(--green-glow), transparent 70%);
}
.rl-landing > * { position: relative; z-index: 1; }

/* ── Nav ───────────────────────────────────────────────── */
.rl-nav { display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 64px); max-width: 1280px; margin: 0 auto; }
.rl-brand { display: flex; align-items: center; gap: 10px; font-weight: 800;
  letter-spacing: -.02em; font-size: 1.25rem; }
.rl-brand .rl-wheel { width: 26px; height: 26px; color: var(--sodium); }
.rl-brand b { color: var(--sodium); }
.rl-navlinks { display: flex; align-items: center; gap: 30px; }
.rl-navlinks a { color: var(--paint-dim); text-decoration: none; font-size: .92rem;
  font-weight: 500; transition: color .18s; }
.rl-navlinks a:hover { color: var(--paint); }
.rl-btn { font-family: inherit; font-weight: 700; border: none; cursor: pointer;
  border-radius: 10px; font-size: .95rem; padding: 11px 22px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px; transition: transform .15s, box-shadow .2s, background .2s; }
.rl-btn-primary { background: var(--sodium); color: #1a1206; box-shadow: 0 8px 24px -8px var(--sodium); }
.rl-btn-primary:hover { background: var(--sodium-2); transform: translateY(-2px); box-shadow: 0 14px 34px -8px var(--sodium); }
.rl-btn-ghost { background: transparent; color: var(--paint); border: 1.5px solid var(--stroke); }
.rl-btn-ghost:hover { border-color: var(--sodium); color: var(--sodium); }
.rl-landing a:focus-visible, .rl-landing button:focus-visible {
  outline: 3px solid var(--sodium); outline-offset: 3px; border-radius: 10px; }

/* Pestaña de salida de autopista (rótulo de sección) */
.rl-exit { display: inline-flex; align-items: stretch; font-family: "Overpass Mono", monospace;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 20px;
  border: 1.5px solid var(--green); border-radius: 6px; overflow: hidden; color: var(--green); }
.rl-exit b { background: var(--green); color: var(--asphalt); padding: 4px 8px; }
.rl-exit span { padding: 4px 12px; }

/* ── Hero ──────────────────────────────────────────────── */
.rl-hero { max-width: 1280px; margin: 0 auto; padding: clamp(36px, 7vw, 88px) clamp(20px, 5vw, 64px) 40px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.rl-h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: .98; font-weight: 900;
  letter-spacing: -.03em; margin: 0 0 22px; }
.rl-h1 .rl-amber { color: var(--sodium); }
.rl-h1 .rl-grn { color: var(--green); }
.rl-lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--paint-dim); max-width: 46ch; margin: 0 0 32px; }
.rl-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.rl-trust { margin-top: 38px; }
.rl-trust-label { font-family: "Overpass Mono", monospace; font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--paint-faint); margin-bottom: 12px; }
.rl-trust-marks { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.rl-trust-marks span { font-weight: 700; color: var(--paint-dim); font-size: .9rem; letter-spacing: -.01em; }

/* Hero stage: la mejor carga "viva" */
.rl-stage { position: relative; }
.rl-boards { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.rl-chip { font-family: "Overpass Mono", monospace; font-size: .72rem; font-weight: 600;
  padding: 6px 11px; border-radius: 999px; border: 1px solid var(--stroke);
  color: var(--paint-dim); display: inline-flex; align-items: center; gap: 7px; transition: .2s; }
.rl-chip .rl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--paint-faint); }
.rl-chip.on { border-color: var(--sodium); color: var(--paint); background: var(--sodium-glow); }
.rl-chip.on .rl-dot { background: var(--sodium); box-shadow: 0 0 8px var(--sodium); }

.rl-best { position: relative; background: linear-gradient(160deg, var(--asphalt-2), #0e1322);
  border: 1px solid var(--stroke); border-radius: 18px; padding: 26px; overflow: hidden;
  box-shadow: 0 30px 70px -30px #000, inset 0 1px 0 rgba(255,255,255,.04); }
.rl-best::after { /* barrido de radar */
  content: ""; position: absolute; top: 0; left: -60%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, var(--sodium-glow), transparent);
  animation: rl-scan 4.2s ease-in-out infinite; }
.rl-best-tag { display: inline-flex; align-items: center; gap: 7px; font-family: "Overpass Mono", monospace;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; color: var(--sodium);
  border: 1px solid var(--sodium); border-radius: 6px; padding: 4px 9px; margin-bottom: 18px; }
.rl-route { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.rl-route .rl-city { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.rl-route .rl-arrow { color: var(--sodium); font-size: 1.1rem; }
.rl-route-sub { font-family: "Overpass Mono", monospace; color: var(--paint-faint); font-size: .78rem; margin-bottom: 22px; }
.rl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.rl-stat .rl-k { font-family: "Overpass Mono", monospace; font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--paint-faint); }
.rl-stat .rl-v { font-size: 1.3rem; font-weight: 800; font-family: "Overpass Mono", monospace; }
.rl-stat .rl-v.rl-money { color: var(--green); }
.rl-best-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.rl-via { font-family: "Overpass Mono", monospace; font-size: .78rem; color: var(--paint-dim); }
.rl-via b { color: var(--sodium); }
.rl-mini-dispatch { font-family: inherit; font-weight: 700; font-size: .82rem; color: var(--asphalt);
  background: var(--sodium); border: none; border-radius: 8px; padding: 8px 16px; cursor: pointer; }
.rl-fade { animation: rl-fadein .5s ease; }

/* ── Ticker de fletes ──────────────────────────────────── */
.rl-ticker { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke);
  background: #090c14; overflow: hidden; white-space: nowrap; }
.rl-ticker-track { display: inline-flex; gap: 40px; padding: 12px 0; animation: rl-marquee 38s linear infinite; }
.rl-ticker:hover .rl-ticker-track { animation-play-state: paused; }
.rl-tick { font-family: "Overpass Mono", monospace; font-size: .82rem; color: var(--paint-dim); }
.rl-tick b { color: var(--paint); }
.rl-tick .rl-tg { color: var(--green); }
.rl-tick .rl-sep { color: var(--sodium); margin: 0 4px; }

/* ── Secciones ─────────────────────────────────────────── */
.rl-section { max-width: 1280px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 64px); }
.rl-section h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 900; letter-spacing: -.025em; margin: 0 0 14px; }
.rl-section .rl-sub { color: var(--paint-dim); max-width: 52ch; margin: 0 0 44px; font-size: 1.05rem; }

/* Cómo funciona — secuencia real → numerada como salidas */
.rl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rl-step { background: var(--asphalt-2); border: 1px solid var(--stroke); border-radius: 16px; padding: 28px; }
.rl-step-n { font-family: "Overpass Mono", monospace; font-size: .72rem; font-weight: 700; color: var(--green);
  border: 1.5px solid var(--green); border-radius: 6px; padding: 3px 8px; display: inline-block; margin-bottom: 18px; }
.rl-step h3 { font-size: 1.2rem; font-weight: 800; margin: 0 0 8px; }
.rl-step p { color: var(--paint-dim); font-size: .94rem; margin: 0; }

/* Features */
.rl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rl-feat { background: var(--asphalt-2); border: 1px solid var(--stroke); border-radius: 16px; padding: 26px;
  transition: transform .2s, border-color .2s; }
.rl-feat:hover { transform: translateY(-4px); border-color: var(--sodium); }
.rl-feat i { font-size: 1.3rem; color: var(--sodium); margin-bottom: 14px; display: block; }
.rl-feat h3 { font-size: 1.08rem; font-weight: 800; margin: 0 0 7px; }
.rl-feat p { color: var(--paint-dim); font-size: .9rem; margin: 0; }

/* CTA final */
.rl-cta-band { text-align: center; max-width: 760px; margin: 0 auto; padding: clamp(60px, 9vw, 120px) 24px; }
.rl-cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; letter-spacing: -.03em; margin: 0 0 14px; }
.rl-cta-band h2 .rl-amber { color: var(--sodium); }
.rl-cta-band p { color: var(--paint-dim); margin: 0 0 32px; font-size: 1.1rem; }

/* Footer */
.rl-footer { border-top: 1px solid var(--stroke); }
.rl-footer-in { max-width: 1280px; margin: 0 auto; padding: 36px clamp(20px,5vw,64px);
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.rl-footer .rl-mono { color: var(--paint-faint); font-size: .78rem; }

/* ── Reveal al hacer scroll ────────────────────────────── */
.rl-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rl-reveal.rl-in { opacity: 1; transform: none; }

/* ── Keyframes ─────────────────────────────────────────── */
@keyframes rl-scan { 0% { left: -60%; } 55%, 100% { left: 120%; } }
@keyframes rl-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rl-fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rl-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.rl-stage .rl-best { animation: rl-float 6s ease-in-out infinite; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 920px) {
  .rl-hero { grid-template-columns: 1fr; }
  .rl-steps, .rl-grid { grid-template-columns: 1fr; }
  .rl-navlinks .rl-hide-sm { display: none; }
}

/* ── Accesibilidad: respeta reduce-motion ──────────────── */
@media (prefers-reduced-motion: reduce) {
  .rl-best::after, .rl-stage .rl-best, .rl-ticker-track { animation: none !important; }
  .rl-reveal { opacity: 1; transform: none; transition: none; }
  .rl-best::after { display: none; }
}
