/* ═══════════════════════════════════════════════════════════
   City MotoVIP — Landing
   Dark · Neon Green #8CFF00 · Purple #A855F7 · Glassmorphism
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #0A0A0A;
  --bg-alt: #0F0F0F;
  --surface: #141414;
  --surface-2: #181818;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #FFFFFF;
  --text-dim: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.4);
  --green: #8CFF00;
  --green-soft: rgba(140, 255, 0, 0.12);
  --purple: #A855F7;
  --purple-soft: rgba(168, 85, 247, 0.12);
  --cyan: #00E5FF;
  --cyan-soft: rgba(0, 229, 255, 0.1);
  --red: #FF3B30;
  --red-soft: rgba(255, 59, 48, 0.12);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

::selection { background: var(--green); color: #000; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }
svg { max-width: 100%; max-height: 100%; }
em { font-style: italic; }

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

/* ── Badges ─────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  text-transform: uppercase;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}

.dot-red { background: var(--red); box-shadow: 0 0 10px var(--red); }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--green);
  color: #0A0A0A;
  box-shadow: 0 0 0 1px rgba(140, 255, 0, 0.25), 0 8px 32px rgba(140, 255, 0, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(140, 255, 0, 0.4), 0 14px 44px rgba(140, 255, 0, 0.38);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  border-color: rgba(140, 255, 0, 0.5);
  background: rgba(140, 255, 0, 0.08);
  transform: translateY(-2px);
}

.btn-wa {
  background: #25D366;
  color: #06250f;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.3);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(37, 211, 102, 0.42); }

.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

.btn .ic { width: 18px; height: 18px; }

.ic { width: 15px; height: 15px; flex: none; }

/* ── Header ─────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

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

.brand-mark {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 22px rgba(140, 255, 0, 0.35);
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-text em { color: var(--green); text-shadow: 0 0 12px rgba(140, 255, 0, 0.6); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  padding: 10px 22px !important;
  border-radius: 999px;
  background: var(--green);
  color: #0A0A0A !important;
  font-weight: 700 !important;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(140, 255, 0, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Sections ───────────────────────────────────────── */
.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.section-title em { color: var(--green); text-shadow: 0 0 22px rgba(140, 255, 0, 0.4); }
.section-title em.alt { color: var(--purple); text-shadow: 0 0 22px rgba(168, 85, 247, 0.45); }

.section-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 96px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -260px; left: 50%;
  width: 900px; height: 900px;
  max-width: 100vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(140, 255, 0, 0.09) 0%, rgba(168, 85, 247, 0.05) 38%, transparent 66%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
  position: relative;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.6vw, 66px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 24px;
}

.hero-title em { color: var(--green); font-style: italic; text-shadow: 0 0 30px rgba(140, 255, 0, 0.45); }
.hero-title em.alt { color: var(--purple); text-shadow: 0 0 30px rgba(168, 85, 247, 0.5); }

.hero-sub {
  margin-top: 22px;
  max-width: 520px;
  font-size: 17.5px;
  color: var(--text-dim);
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-faint);
}
.hero-checks .ic { color: var(--green); }

/* ── Hero visual ────────────────────────────────────── */
.hero-visual { position: relative; display: flex; justify-content: center; overflow: hidden; }

.phone-glow {
  position: absolute;
  inset: auto auto 6% 50%;
  width: 420px; height: 420px;
  max-width: 100%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(140, 255, 0, 0.22) 0%, transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}
.phone-glow-red { background: radial-gradient(circle, rgba(255, 59, 48, 0.2) 0%, transparent 65%); }

/* ── Teléfono ──────────────────────────────────────── */
.phone {
  position: relative;
  width: 300px;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  border: 10px solid #111;
  background: #000;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 90px -20px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(140, 255, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

/* Home indicator estilo iOS */
.phone::after {
  content: '';
  position: absolute;
  bottom: 7px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  z-index: 7;
}

/* ── Capturas reales dentro de un marco de celular ─── */
.phone-shot {
  position: relative;
  width: 260px;
  padding: 9px;
  border-radius: 42px;
  background: linear-gradient(155deg, #1d1d1d 0%, #0a0a0a 55%, #171717 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 40px 90px -20px rgba(0, 0, 0, 0.85),
    0 0 60px rgba(140, 255, 0, 0.06);
}

.phone-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 33px;
  background: #0A0A0A;
}

.phone-shot::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 33px;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.08) 0%, transparent 22%, transparent 80%, rgba(255, 255, 255, 0.05) 100%);
}

.screen {
  position: absolute;
  inset: 0;
  background: #0A0A0A;
  display: flex;
  flex-direction: column;
  padding: 54px 18px 18px;
}

/* Barra de estado estilo iPhone */
.screen-status {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px 0;
  z-index: 5;
  pointer-events: none;
}
.screen-status > b { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.st-notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 22px;
  background: #000;
  border-radius: 999px;
}
.st-icons { display: flex; align-items: center; gap: 5px; }
.st-icons svg { width: 12px; height: 12px; fill: rgba(255, 255, 255, 0.92); }
.st-bat {
  width: 19px; height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  padding: 1.5px;
}
.st-bat i { display: block; height: 100%; width: 68%; background: rgba(255, 255, 255, 0.92); border-radius: 1.5px; }

/* ── Stats ──────────────────────────────────────────── */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 54px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat { text-align: center; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 30px rgba(140, 255, 0, 0.35);
  letter-spacing: -0.02em;
}

.stat-label { font-size: 13.5px; color: var(--text-dim); margin-top: 6px; }

/* ── Servicios ──────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 26px 60px -18px rgba(0, 0, 0, 0.75);
}

.service-card:hover .service-ic { transform: scale(1.08); }

.service-ic {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--sc) 13%, transparent);
  color: var(--sc);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sc) 22%, transparent);
  transition: transform 0.35s var(--ease);
}

.service-ic svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 20px; font-weight: 700; margin-top: 22px; }
.service-card p { font-size: 14.5px; color: var(--text-dim); margin-top: 10px; line-height: 1.6; }

.card-arrow {
  position: absolute;
  top: 28px; right: 28px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.service-card:hover .card-arrow {
  background: var(--green);
  border-color: var(--green);
  color: #0A0A0A;
  transform: translateX(2px);
}

/* ── Split layout ───────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
}

.split-reverse .split-copy { order: -1; }

.split-visual { position: relative; display: flex; justify-content: center; overflow: hidden; }

.split-copy .section-title { font-size: clamp(32px, 3.8vw, 46px); }

/* Home screens */
.screen-home { padding: 40px 16px 16px; }

.home-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2px 14px;
}

.home-pin {
  width: 38px; height: 38px;
  flex: none;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 15%, transparent);
  color: var(--c);
}
.home-pin svg { width: 18px; height: 18px; }

.home-top b { font-size: 13px; display: block; }
.home-top small { font-size: 10px; color: var(--text-faint); }

.home-greet {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-content: center;
}
.home-greet b { font-size: 13px; }
.home-greet small {
  font-size: 10px;
  color: var(--text-faint);
  white-space: normal;
  overflow-wrap: break-word;
}

.map-mini {
  position: relative;
  aspect-ratio: 300 / 184;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #0d1210;
  overflow: hidden;
  margin-bottom: 12px;
}

.map-mini::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.5);
}

.map-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-base text {
  font-family: var(--font);
  font-weight: 500;
}

.map-route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.route-path {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(140, 255, 0, 0.6));
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.phone.visible .route-path { animation: routeDraw 2.2s var(--ease) forwards; }
@keyframes routeDraw { to { stroke-dashoffset: 0; } }

.map-car {
  position: absolute;
  top: 52%; left: 30%;
  transform: translate(-50%, -50%);
  width: 24px; height: 24px;
  display: grid; place-items: center;
  color: #0A0A0A;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid #0A0A0A;
  box-shadow: 0 0 12px rgba(140, 255, 0, 0.8);
  z-index: 2;
  animation: carRide 6s 2s var(--ease) infinite;
}
.map-car svg { width: 13px; height: 13px; }

@keyframes carRide {
  0%   { top: 52%; left: 30%; opacity: 0; }
  5%   { opacity: 1; }
  45%  { top: 52%; left: 69%; opacity: 1; }
  65%  { top: 30%; left: 69%; opacity: 1; }
  74%  { opacity: 0; }
  100% { top: 30%; left: 69%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .map-car { display: none; }
  .route-path { stroke-dashoffset: 0; animation: none; }
  .map-chip { opacity: 1; animation: none; }
}

.map-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 3px solid #0A0A0A;
  box-shadow: 0 0 12px rgba(140, 255, 0, 0.8);
  background: var(--green);
  transform: translate(-50%, -50%);
}
.map-pin-a { left: 30%; top: 62%; }
.map-pin-b { left: 69%; top: 24%; background: var(--purple); box-shadow: 0 0 12px rgba(168, 85, 247, 0.8); }

.map-pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(140, 255, 0, 0.7);
  animation: mapPulse 1.8s ease-out infinite;
}
@keyframes mapPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.map-chip {
  position: absolute;
  right: 8px; bottom: 8px;
  font-size: 9px;
  font-weight: 700;
  color: var(--text);
  background: rgba(10, 10, 10, 0.82);
  border: 1px solid var(--border-strong);
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  opacity: 0;
}

.phone.visible .map-chip { animation: chipIn 0.5s var(--ease) 2.4s forwards; }
@keyframes chipIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

.home-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 12px;
  margin-bottom: 14px;
}
.home-search svg { width: 16px; height: 16px; }

.driver-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  margin-bottom: 9px;
}

.driver-ava {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  color: var(--c);
  font-size: 12px;
  font-weight: 800;
}

.driver-info { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.driver-info b { font-size: 12px; white-space: nowrap; }
.driver-info small {
  font-size: 10px;
  color: var(--text-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.driver-eta {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

/* Duo */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  overflow-x: hidden;
}

.duo-item { text-align: center; }

.duo-item .split-visual { display: flex; justify-content: center; }

.duo-item .phone-glow { position: absolute; }

.duo-copy { margin-top: 36px; }
.duo-copy h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.duo-copy h3 em { color: var(--green); }
.duo-copy h3 em.alt { color: var(--purple); }
.duo-copy p { font-size: 14.5px; color: var(--text-dim); margin-top: 10px; max-width: 420px; margin-inline: auto; }

/* Feature list */
.feature-list { list-style: none; margin-top: 34px; display: flex; flex-direction: column; gap: 26px; }

.feature-list li { display: flex; gap: 16px; align-items: flex-start; }

.fl-ic {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--fc) 12%, transparent);
  color: var(--fc);
  border: 1px solid color-mix(in srgb, var(--fc) 22%, transparent);
}
.fl-ic svg { width: 22px; height: 22px; }

.feature-list b { font-size: 15.5px; }
.feature-list p { font-size: 14px; color: var(--text-dim); margin-top: 3px; line-height: 1.55; }

/* Promos */
.promo-list { margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }

.promo-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.promo-card:hover { border-color: var(--border-strong); transform: translateX(4px); }

.promo-ic {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--pc) 13%, transparent);
  color: var(--pc);
}
.promo-ic svg { width: 20px; height: 20px; }

.promo-card b { font-size: 14.5px; }
.promo-card p { font-size: 13px; color: var(--text-dim); margin-top: 4px; line-height: 1.5; }
.promo-card em { color: var(--green); font-style: normal; font-weight: 700; }

/* ── Trabaja con nosotros ───────────────────────────── */
.section-band {
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(168, 85, 247, 0.1), transparent 65%),
    var(--bg-alt);
  border-block: 1px solid var(--border);
}

.driver-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-card {
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}

.benefit-card:hover { transform: translateY(-6px); border-color: var(--border-strong); }

.benefit-ic {
  width: 56px; height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--bc) 13%, transparent);
  color: var(--bc);
}
.benefit-ic svg { width: 26px; height: 26px; }

.benefit-card h3 { font-size: 17px; font-weight: 700; margin-top: 18px; }
.benefit-card p { font-size: 13.5px; color: var(--text-dim); margin-top: 8px; line-height: 1.6; }

.work-cta {
  margin-top: 56px;
  text-align: center;
  padding: 44px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), rgba(168, 85, 247, 0.02));
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 30px 80px -30px rgba(168, 85, 247, 0.35);
}

.work-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: 0.01em;
}
.work-phone svg { width: 26px; height: 26px; color: var(--green); }

.work-cta p { margin: 12px 0 26px; color: var(--text-dim); font-size: 15px; }

/* ── Grupo WhatsApp ─────────────────────────────────── */
.wa-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(37, 211, 102, 0.08), rgba(37, 211, 102, 0.02));
  border: 1px solid rgba(37, 211, 102, 0.28);
}

.wa-logo {
  width: 50px; height: 50px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.45);
}
.wa-logo svg { width: 26px; height: 26px; }

.wa-copy { flex: 1; min-width: 0; }
.wa-copy b { display: block; font-size: 15px; }
.wa-copy small { font-size: 12px; color: var(--text-faint); }

/* WhatsApp chat mockup */
.wa-mock {
  width: 100%;
  max-width: 380px;
  border-radius: 24px;
  border: 1px solid var(--border-strong);
  background: #0d1210;
  overflow: hidden;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(37, 211, 102, 0.08);
}

.wa-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(37, 211, 102, 0.06);
  border-bottom: 1px solid rgba(37, 211, 102, 0.12);
}
.wa-chat-head b { font-size: 14px; display: block; }
.wa-chat-head small { font-size: 11px; color: var(--text-faint); }
.wa-chat-head > div { flex: 1; min-width: 0; }

.wa-group-ava {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  background: #25D366;
}
.wa-group-ava img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.wa-bubble {
  max-width: 82%;
  margin: 12px 14px 0;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.45;
}

.wa-out {
  background: #1d6b3a;
  color: #eafff2;
  margin-left: auto;
  border-top-right-radius: 4px;
}

.wa-in {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-top-left-radius: 4px;
}

.wa-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 14px 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--text-faint);
}

.wa-send {
  width: 28px; height: 28px;
  flex: none;
  border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366;
  color: #fff;
}
.wa-send svg { width: 14px; height: 14px; }

/* ── Descarga ───────────────────────────────────────── */
.download { padding: 60px 0 110px; }

.download-box {
  position: relative;
  text-align: center;
  padding: 76px 40px;
  border-radius: 32px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(ellipse 70% 90% at 50% 0%, rgba(140, 255, 0, 0.09), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.download-glow {
  position: absolute;
  bottom: -220px; left: 50%;
  transform: translateX(-50%);
  width: 640px; height: 440px;
  max-width: 100%;
  background: radial-gradient(ellipse, rgba(140, 255, 0, 0.16), transparent 65%);
  filter: blur(50px);
  pointer-events: none;
}

.download-box .section-title { margin-top: 18px; font-size: clamp(32px, 4vw, 48px); }
.download-box .section-sub { margin-inline: auto; max-width: 520px; }

.app-icon {
  width: 84px; height: 84px;
  margin: 24px auto 0;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 34px rgba(140, 255, 0, 0.25);
}

.store-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
  position: relative;
}

.store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  border-radius: 18px;
  background: #111;
  border: 1px solid var(--border-strong);
  min-width: 220px;
  justify-content: flex-start;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
  opacity: 0.92;
}

.store-btn:hover { border-color: rgba(140, 255, 0, 0.45); transform: translateY(-3px); }

.store-btn > svg { width: 26px; height: 26px; color: var(--text); }

.store-btn span { display: flex; flex-direction: column; text-align: left; }
.store-btn small { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }
.store-btn b { font-size: 16px; }

.soon-tag {
  position: absolute;
  top: -11px; right: 14px;
  font-size: 10px !important;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0A0A0A;
  background: var(--green);
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(140, 255, 0, 0.5);
}

.notify-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 38px;
  position: relative;
}

.notify-form input {
  width: min(380px, 100%);
  padding: 15px 22px;
  border-radius: 999px;
  background: #111;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.notify-form input::placeholder { color: var(--text-faint); }
.notify-form input:focus {
  border-color: rgba(140, 255, 0, 0.55);
  box-shadow: 0 0 0 4px rgba(140, 255, 0, 0.1);
}

.notify-ok { margin-top: 18px; color: var(--green); font-weight: 600; font-size: 14.5px; }

/* ── Footer ─────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p { font-size: 13.5px; color: var(--text-dim); margin-top: 16px; max-width: 280px; }

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 12px;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* ── Reveal animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ── Responsive ─────────────────────────────────────── */

/* 1024–1279px: tarjetas 170px con offset -70. El conductor (pantalla
   full-width + viewport limitado) solo puede alojar una tarjeta limpia:
   se oculta su subtítulo de greeting para liberar el lado derecho. */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-checks { justify-content: center; }
  .hero-visual { margin-top: 10px; }
  .split { grid-template-columns: 1fr; gap: 64px; }
  .split-reverse .split-copy { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 768–1023px (tablet): dos teléfonos de 240px, sin tarjetas flotantes */
@media (max-width: 1023px) and (min-width: 768px) {
  .duo .phone { width: 240px; }
}

@media (max-width: 768px) {
  .section { padding: 76px 0; }


  .nav-links {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 6px;
    padding: 20px 24px 28px;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    align-items: flex-start;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 8px; font-size: 16px; }
  .nav-cta { text-align: center !important; margin-top: 10px; }

  .nav-toggle { display: flex; }

  .services-grid, .driver-benefits { grid-template-columns: 1fr; }

  .store-btns { flex-direction: column; align-items: center; }
  .store-btn { width: min(320px, 100%); }

  .notify-form { flex-direction: column; align-items: center; }
  .notify-form .btn { width: min(320px, 100%); }

  .hero-title { font-size: clamp(38px, 10vw, 52px); }
  .download-box { padding: 56px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Móvil <768px: secciones apiladas en una columna */
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .duo { grid-template-columns: 1fr; gap: 56px; }
  .hero .phone { width: 246px; }
  .phone-shot { width: 236px; }

  /* Logo responsive: más pequeño en pantallas chicas */
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .brand-text { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero .phone { width: 218px; }
  .phone { width: 222px; }
  .phone-shot { width: 224px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }

  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .brand-text { font-size: 15px; }

  .work-cta .btn { white-space: normal; padding-inline: 26px; }
}

/* ── Reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── Páginas legales ────────────────────────────────── */
.legal-main { padding: calc(var(--header-h) + 56px) 0 80px; }
.legal-container { max-width: 820px; }

.legal-back {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.legal-back:hover { color: var(--green); }

.legal-head { margin-top: 28px; }
.legal-head .section-title { margin-top: 18px; }

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-faint);
}

.legal-prose { margin-top: 48px; }

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 25px);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 46px 0 14px;
}
.legal-prose h2:first-child { margin-top: 0; }

.legal-prose h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 28px 0 10px;
}

.legal-prose p,
.legal-prose li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
}
.legal-prose p + p { margin-top: 12px; }

.legal-prose ul,
.legal-prose ol { margin: 12px 0 12px 22px; display: grid; gap: 8px; }

.legal-prose li::marker { color: var(--green); }
.legal-prose li > ul { margin-top: 8px; }

.legal-prose strong { color: var(--text); font-weight: 600; }
.legal-prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.legal-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}
.legal-prose th,
.legal-prose td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  vertical-align: top;
}
.legal-prose th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
}
.legal-prose td:first-child { width: 32%; }

.legal-callout {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--green);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.legal-callout p { margin: 0; }

.legal-pending {
  background: var(--green-soft);
  border: 1px dashed rgba(140, 255, 0, 0.45);
  border-radius: 6px;
  padding: 1px 7px;
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal-nav a {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.legal-nav a:hover { color: var(--green); border-color: rgba(140, 255, 0, 0.4); }
.legal-nav a[aria-current="page"] { color: var(--green); border-color: rgba(140, 255, 0, 0.4); }

.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal-links a { color: inherit; transition: color 0.2s ease; }
.footer-legal-links a:hover { color: var(--green); }

@media (max-width: 767px) {
  .legal-main { padding-top: calc(var(--header-h) + 36px); }
  .legal-prose h2 { margin-top: 38px; }
}
