/* TAXIRADAR · portada en una sola página
   Hero con mapa real + banda de 5 tarjetas visibles + cierre. Texto grande. */

:root {
  --bg: #04060c;
  --ink: #f1f5fc;
  --muted: #b9c9e0;
  --dim: #93a3bb;
  --primary: #00eaa8;
  --cyan: #4cd6f5;
  --line: rgba(255, 255, 255, 0.11);
  --card: #080d17;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; }

/* aurora */
.aurora { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(120px); opacity: .5; animation: float 20s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 820px; height: 820px; background: rgba(0, 234, 168, .30); top: -340px; left: -240px; }
.aurora i:nth-child(2) { width: 640px; height: 640px; background: rgba(76, 214, 245, .20); bottom: -300px; right: -200px; animation-duration: 24s; }
.aurora i:nth-child(3) { width: 480px; height: 480px; background: rgba(0, 234, 168, .14); top: 40%; left: 44%; animation-duration: 28s; }
@keyframes float { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(60px, -40px, 0) scale(1.12); } }

/* barra */
.topbar {
  position: sticky; top: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 46px);
  background: rgba(4, 6, 12, .82); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 46px; height: 46px; filter: drop-shadow(0 0 18px rgba(0, 234, 168, .6)); }
.brand b { font-size: 23px; letter-spacing: 4.4px; font-weight: 900; }
.topbar nav { display: flex; gap: 24px; font-size: 15.5px; }
.topbar nav a { color: var(--muted); text-decoration: none; }
.topbar nav a:hover { color: var(--primary); }
@media (max-width: 720px) { .topbar nav { display: none; } }

main { position: relative; z-index: 1; }

/* ───────── HERO ───────── */
.hero {
  max-width: 1280px; margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 4vw, 46px) clamp(30px, 5vw, 64px);
  display: grid; gap: clamp(26px, 4vw, 48px); align-items: center;
}
@media (min-width: 1000px) { .hero { grid-template-columns: 1.02fr .98fr; } }

.kicker { font-size: 12.5px; letter-spacing: 3.4px; font-weight: 900; color: var(--primary); margin: 0 0 16px; text-transform: uppercase; }
h1 { font-size: clamp(40px, 6vw, 78px); line-height: 1; letter-spacing: -2.8px; margin: 0 0 22px; font-weight: 900; }
h1 em { font-style: normal; color: var(--primary); text-shadow: 0 0 40px rgba(0, 234, 168, .5); }
.lede { font-size: clamp(18px, 1.75vw, 21.5px); color: #cdd9ec; margin: 0 0 30px; max-width: 52ch; }
.lede b { color: var(--primary); font-weight: 800; }
.hint { font-size: 15.5px; color: #a6b6cd; margin: 18px 0 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 17px 26px; border-radius: 16px;
  background: rgba(255, 255, 255, .06); color: var(--ink); border: 1px solid var(--line);
  text-decoration: none; font-weight: 800; font-size: 16.5px; transition: transform .12s, border-color .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(0, 234, 168, .5); background: rgba(0, 234, 168, .1); }
.btn-glow {
  position: relative; isolation: isolate; border: 0; color: #032018;
  background: linear-gradient(180deg, #19ffc4, var(--primary));
  box-shadow: 0 16px 44px -14px rgba(0, 234, 168, .95), inset 0 0 0 1px rgba(255, 255, 255, .18);
  padding: 19px 34px; font-size: 18px; border-radius: 18px;
}
.btn-glow::after {
  content: ''; position: absolute; inset: -16px; border-radius: 34px; z-index: -1;
  background: radial-gradient(circle, rgba(0, 234, 168, .48), transparent 70%);
  animation: breathe 3.4s ease-in-out infinite;
}
@keyframes breathe { 0%, 100% { opacity: .45; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.08); } }

/* insignia Play */
.play {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 14px;
  user-select: none; -webkit-user-select: none;
  padding: 15px 26px 15px 20px; border-radius: 17px; cursor: default;
  background: linear-gradient(180deg, #131d2d, #0a1119); border: 1px solid rgba(255, 255, 255, .2);
  color: var(--ink); box-shadow: 0 22px 50px -26px rgba(0, 0, 0, .95);
}
.play-ico { width: 30px; height: 30px; filter: drop-shadow(0 0 12px rgba(0, 234, 168, .55)); }
.play-txt { display: grid; line-height: 1.1; text-align: left; }
.play-txt small { font-size: 11px; letter-spacing: 1.7px; color: var(--muted); font-weight: 800; }
.play-txt b { font-size: 22px; letter-spacing: -.3px; font-weight: 800; }
.play::before {
  content: ''; position: absolute; inset: -3px; border-radius: 20px; z-index: -1;
  background: conic-gradient(from 0deg, rgba(0, 234, 168, 0), rgba(0, 234, 168, .95), rgba(76, 214, 245, .6), rgba(0, 234, 168, 0));
  filter: blur(11px); animation: spin 5s linear infinite;
}
.play::after {
  content: ''; position: absolute; inset: -28px; border-radius: 50px; z-index: -2;
  background: radial-gradient(circle, rgba(0, 234, 168, .45), transparent 70%);
  animation: breathe 3s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* mapa del hero */
.hero-map {
  position: relative; border-radius: 28px; overflow: hidden; min-height: min(64vh, 580px);
  border: 1px solid rgba(0, 234, 168, .24); background: #070d16;
  box-shadow: 0 60px 120px -60px rgba(0, 234, 168, .75), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.hero-map > #map { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-map > #map-fallback { position: absolute; inset: 0; }
.hero-map > #map-fallback svg { width: 100%; height: 100%; display: block; }
.map-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 60% at 50% 118%, rgba(4, 6, 12, .45), transparent 62%),
    radial-gradient(110% 45% at 50% -12%, rgba(0, 234, 168, .12), transparent 62%);
}
.maplibregl-ctrl-attrib { background: rgba(4, 6, 12, .7) !important; border-radius: 9px !important; }
.maplibregl-ctrl-attrib, .maplibregl-ctrl-attrib a { color: #93a1b6 !important; font-size: 12px !important; }
.hero-map .maplibregl-canvas { filter: brightness(1.42) contrast(1.1) saturate(1.18); }

.float-card {
  position: absolute; left: 18px; bottom: 18px; z-index: 500; display: flex; align-items: center; gap: 11px;
  padding: 13px 17px; border-radius: 15px; background: rgba(6, 11, 19, .92); border: 1px solid var(--line);
  font-size: 15px; color: var(--muted); backdrop-filter: blur(8px); animation: floaty 4.5s ease-in-out infinite;
}
.float-card b { color: var(--ink); }
.live { width: 9px; height: 9px; border-radius: 99px; background: var(--primary); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(0, 234, 168, .6); } 70% { box-shadow: 0 0 0 11px rgba(0, 234, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 234, 168, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* marcadores del mapa */
.you-mk { position: relative; width: 20px; height: 20px; }
.you-mk b { position: absolute; inset: 0; border-radius: 99px; background: var(--primary); box-shadow: 0 0 20px 5px rgba(0, 234, 168, .85); display: block; }
.you-mk i { position: absolute; inset: -10px; border-radius: 99px; border: 2px solid rgba(0, 234, 168, .8); animation: ring 2.4s ease-out infinite; display: block; }
.you-mk i:nth-child(2) { animation-delay: .8s; }
@keyframes ring { 0% { transform: scale(.5); opacity: .95; } 100% { transform: scale(2.6); opacity: 0; } }
.taxi-mk { width: 30px; height: 30px; display: grid; place-items: center; }
.taxi-mk svg.car {
  width: 26px; height: 16px; display: block;
  filter: drop-shadow(0 0 3px rgba(0, 234, 168, .55));
  transform-origin: 50% 50%;
}

.float-card {
  position: absolute; left: 18px; bottom: 18px; z-index: 500; display: flex; align-items: center; gap: 11px;
  padding: 13px 17px; border-radius: 15px; background: rgba(6, 11, 19, .92); border: 1px solid var(--line);
  font-size: 15px; color: var(--muted); backdrop-filter: blur(8px); animation: floaty 4.5s ease-in-out infinite;
}
.float-card b { color: var(--ink); }
.live { width: 9px; height: 9px; border-radius: 99px; background: var(--primary); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(0, 234, 168, .6); } 70% { box-shadow: 0 0 0 11px rgba(0, 234, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 234, 168, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* marcadores del mapa */
.you-mk { position: relative; width: 20px; height: 20px; }
.you-mk b { position: absolute; inset: 0; border-radius: 99px; background: var(--primary); box-shadow: 0 0 20px 5px rgba(0, 234, 168, .85); display: block; }
.you-mk i { position: absolute; inset: -10px; border-radius: 99px; border: 2px solid rgba(0, 234, 168, .8); animation: ring 2.4s ease-out infinite; display: block; }
.you-mk i:nth-child(2) { animation-delay: .8s; }
@keyframes ring { 0% { transform: scale(.5); opacity: .95; } 100% { transform: scale(2.6); opacity: 0; } }
.taxi-mk { position: relative; width: 40px; height: 40px; display: grid; place-items: center; }
.taxi-mk svg.car {
  width: 34px; height: 21px; display: block;
  filter: drop-shadow(0 0 4px rgba(0, 234, 168, .7));
  transform-origin: 50% 50%;
}
.taxi-mk i {
  position: absolute; inset: 3px; border-radius: 99px;
  border: 1px solid rgba(0, 234, 168, .35); animation: ring 3.4s ease-out infinite;
}

.float-card {
  position: absolute; left: 18px; bottom: 18px; z-index: 500; display: flex; align-items: center; gap: 11px;
  padding: 13px 17px; border-radius: 15px; background: rgba(6, 11, 19, .92); border: 1px solid var(--line);
  font-size: 15px; color: var(--muted); backdrop-filter: blur(8px); animation: floaty 4.5s ease-in-out infinite;
}
.float-card b { color: var(--ink); }
.live { width: 9px; height: 9px; border-radius: 99px; background: var(--primary); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(0, 234, 168, .6); } 70% { box-shadow: 0 0 0 11px rgba(0, 234, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 234, 168, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* marcadores del mapa */
.you-mk { position: relative; width: 20px; height: 20px; }
.you-mk b { position: absolute; inset: 0; border-radius: 99px; background: var(--primary); box-shadow: 0 0 20px 5px rgba(0, 234, 168, .85); display: block; }
.you-mk i { position: absolute; inset: -10px; border-radius: 99px; border: 2px solid rgba(0, 234, 168, .8); animation: ring 2.4s ease-out infinite; display: block; }
.you-mk i:nth-child(2) { animation-delay: .8s; }
@keyframes ring { 0% { transform: scale(.5); opacity: .95; } 100% { transform: scale(2.6); opacity: 0; } }
.taxi-mk { position: relative; width: 38px; height: 38px; }
.taxi-mk b {
  position: absolute; left: 50%; top: 50%; width: 29px; height: 16px; margin: -8px 0 0 -14.5px;
  border-radius: 4px; background: linear-gradient(180deg, #19ffc4, #00c98f);
  box-shadow: 0 0 16px 3px rgba(0, 234, 168, .8), 0 0 0 1px rgba(4, 6, 12, .55); display: block;
  transition: transform .12s linear;
}
.taxi-mk b::before, .taxi-mk b::after {
  content: ''; position: absolute; width: 4px; height: 4px; border-radius: 99px; background: #032018; top: 50%; margin-top: -2px;
}
.taxi-mk b::before { left: 4px; }
.taxi-mk b::after { right: 4px; }
.taxi-mk i { position: absolute; inset: 0; border-radius: 99px; border: 1.5px solid rgba(0, 234, 168, .5); animation: ring 2.8s ease-out infinite; }

.float-card {
  position: absolute; left: 18px; bottom: 18px; z-index: 500; display: flex; align-items: center; gap: 11px;
  padding: 13px 17px; border-radius: 15px; background: rgba(6, 11, 19, .92); border: 1px solid var(--line);
  font-size: 15px; color: var(--muted); backdrop-filter: blur(8px); animation: floaty 4.5s ease-in-out infinite;
}
.float-card b { color: var(--ink); }
.live { width: 9px; height: 9px; border-radius: 99px; background: var(--primary); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(0, 234, 168, .6); } 70% { box-shadow: 0 0 0 11px rgba(0, 234, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 234, 168, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* marcadores del mapa */
.you-mk { position: relative; width: 20px; height: 20px; }
.you-mk b { position: absolute; inset: 0; border-radius: 99px; background: var(--primary); box-shadow: 0 0 20px 5px rgba(0, 234, 168, .85); display: block; }
.you-mk i { position: absolute; inset: -10px; border-radius: 99px; border: 2px solid rgba(0, 234, 168, .8); animation: ring 2.4s ease-out infinite; display: block; }
.you-mk i:nth-child(2) { animation-delay: .8s; }
@keyframes ring { 0% { transform: scale(.5); opacity: .95; } 100% { transform: scale(2.6); opacity: 0; } }
.taxi-mk { position: relative; width: 38px; height: 38px; }
.taxi-mk b {
  position: absolute; inset: 7px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(180deg, #19ffc4, #00c98f); box-shadow: 0 0 18px 3px rgba(0, 234, 168, .8);
  font-size: 9px; color: #032018; font-weight: 900;
}
.taxi-mk b::after { content: 'TAXI'; letter-spacing: .4px; }
.taxi-mk i { position: absolute; inset: 0; border-radius: 99px; border: 1.5px solid rgba(0, 234, 168, .55); animation: ring 2.8s ease-out infinite; }

/* ───────── BANDA DE TARJETAS ───────── */
.band { max-width: 1280px; margin: 0 auto; padding: clamp(28px, 5vw, 60px) clamp(18px, 4vw, 46px) clamp(40px, 6vw, 80px); }
.band-head { margin-bottom: clamp(22px, 3vw, 38px); }
.band-head h2 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -1.4px; margin: 0; font-weight: 900; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(196px, 1fr)); }

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)), var(--card);
  border: 1px solid var(--line); border-radius: 22px; padding: 16px 16px 20px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .18s ease, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 234, 168, .38); box-shadow: 0 40px 70px -50px rgba(0, 234, 168, .8); }
.thumbs, .thumb {
  position: relative; border-radius: 15px; overflow: hidden; margin-bottom: 14px;
  background: #070d16; border: 1px solid rgba(255, 255, 255, .06); height: 136px;
  display: grid; place-items: center;
}
.thumb > svg { width: 100%; height: 100%; display: block; }
.badge {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 99px;
  display: grid; place-items: center; font-size: 14px; font-weight: 900; color: #032018;
  background: var(--primary); box-shadow: 0 6px 18px -6px rgba(0, 234, 168, .9);
}
.card h3 { font-size: 21px; line-height: 1.25; margin: 2px 0 6px; letter-spacing: -.5px; font-weight: 800; }
.card p { font-size: 17px; line-height: 1.55; color: #c2cee1; margin: 0; min-height: 4.65em; }

/* animaciones de las miniaturas */
.mini-taxi { animation: drift 7s ease-in-out infinite alternate; }
.mini-taxi.d2 { animation-duration: 9s; animation-delay: -2s; }
.mini-taxi.d3 { animation-duration: 11s; animation-delay: -4s; }
@keyframes drift { from { transform: translate(-9px, 4px); } to { transform: translate(11px, -7px); } }
.car-go { animation: go 5.5s cubic-bezier(.4, 0, .6, 1) infinite; }
@keyframes go { 0% { transform: translate(-40px, 22px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translate(58px, -30px); opacity: 0; } }

.mini-phone { width: 46%; aspect-ratio: 9 / 15; border-radius: 16px; padding: 5px; background: linear-gradient(160deg, #1d2637, #0a0f18); border: 1px solid rgba(255, 255, 255, .18); }
.mini-screen { position: relative; height: 100%; border-radius: 12px; background: radial-gradient(120% 90% at 50% 0%, rgba(0, 234, 168, .14), transparent 60%), #05070d; display: grid; align-content: end; padding: 8px; }
.mini-pin { position: absolute; top: 34%; left: 50%; transform: translate(-50%, -50%); width: 9px; height: 9px; border-radius: 99px; background: var(--primary); box-shadow: 0 0 0 6px rgba(0, 234, 168, .18), 0 0 16px rgba(0, 234, 168, .8); }
.mini-btn { position: relative; overflow: hidden; text-align: center; font-size: 10px; font-weight: 900; color: #032018; background: linear-gradient(180deg, #19ffc4, var(--primary)); border-radius: 8px; padding: 7px 4px; }
.mini-btn::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); animation: sweep 2.8s ease-in-out infinite; }
@keyframes sweep { 0% { left: -45%; } 60%, 100% { left: 115%; } }

.chat { width: 78%; display: grid; gap: 7px; padding-top: 14px; }
.chat .b { font-size: 11.5px; padding: 7px 10px; border-radius: 11px; line-height: 1.3; }
.chat .them { justify-self: start; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.chat .me { justify-self: end; background: var(--primary); color: #032018; font-weight: 800; border-bottom-right-radius: 3px; }

/* ───────── CIERRE ───────── */
.closing {
  max-width: 900px; margin: 0 auto; text-align: center;
  padding: clamp(30px, 4vw, 52px) clamp(18px, 4vw, 46px) clamp(30px, 3vw, 44px);
}
.closing h2 { font-size: clamp(32px, 4.6vw, 58px); letter-spacing: -1.8px; line-height: 1.03; margin: 0 0 18px; font-weight: 900; }
.closing .lede { margin-inline: auto; margin-bottom: 30px; }
.closing .play { margin-bottom: 14px; }
.closing .hint { margin-top: 6px; }

/* ───────── PIE ───────── */
.foot {
  position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding: 26px clamp(16px, 4vw, 46px) 40px; border-top: 1px solid var(--line);
  background: rgba(4, 6, 12, .94); font-size: 14.5px; color: var(--dim);
}
.foot-line { width: 100%; height: 0; }
.foot a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .22); }
.foot a:hover { color: var(--primary); }
.foot .sep { color: rgba(255, 255, 255, .18); }
.foot-spacer { flex: 1; }
.foot-copy { color: var(--dim); }

/* ───────── revelado al bajar ───────── */
.card { animation: cardIn .7s cubic-bezier(.2, .8, .2, 1) both; }
.card:nth-child(2) { animation-delay: .06s; }
.card:nth-child(3) { animation-delay: .12s; }
.card:nth-child(4) { animation-delay: .18s; }
.card:nth-child(5) { animation-delay: .24s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ───────── móvil ───────── */
@media (max-width: 999px) {
  .hero { padding-top: 26px; }
  .hero-map { min-height: 340px; }
  h1 { letter-spacing: -1.8px; }
}
@media (max-width: 620px) {
  body { font-size: 16.5px; }
  h1 { font-size: 40px; letter-spacing: -1.4px; }
  .lede { font-size: 17px; }
  .cards { grid-template-columns: 1fr; }
  .card h3 { font-size: 20px; }
  .card p { font-size: 16px; }
  .brand b { font-size: 19px; letter-spacing: 3.4px; }
  .brand svg { width: 38px; height: 38px; }
  .play { padding: 13px 20px 13px 16px; }
  .play-txt b { font-size: 20px; }
  .btn-glow { padding: 17px 26px; font-size: 17px; }
  .foot { font-size: 13.5px; }
  .foot-spacer { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
