:root {
  --ink: #141414;
  --coral: #ff5a36;
  --coral-dark: #e6461f;
  --surface: #fff4ec;
  --line: #f0dcd2;
  --muted: #5b5b5b;
  --muted-on-ink: #c4c4c4;
  --bg: #fffaf6;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(20, 20, 20, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }

a { color: inherit; }

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

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { background: var(--white); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }

/* ---------- Navegación ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 246, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
}
.pill svg { width: 15px; height: 15px; fill: var(--coral); }
h1 {
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 22px 0 20px;
}
.hl { color: var(--coral); }
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 34em;
  margin: 0;
}
.download {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  scroll-margin-top: 100px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 22px 10px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  cursor: default;
}
.store-btn svg { width: 26px; height: 26px; fill: var(--white); }
.store-btn span { display: flex; flex-direction: column; font-weight: 700; font-size: 18px; line-height: 1.15; }
.store-btn small { font-weight: 500; font-size: 11px; opacity: .8; }

/* ---------- Teléfonos ---------- */
.phones {
  position: relative;
  height: 520px;
}
.phone {
  position: absolute;
  width: 250px;
  height: 500px;
  padding: 10px;
  border-radius: 40px;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.phone-back { left: 4%; top: 0; transform: rotate(-4deg); }
.phone-front { right: 4%; top: 20px; transform: rotate(3deg); }
.screen {
  position: relative;
  height: 100%;
  border-radius: 31px;
  background: var(--bg);
  overflow: hidden;
  padding: 18px 14px;
  font-size: 11px;
}
.app-top { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.app-top img { width: 22px; height: 22px; }
.search {
  margin: 12px 0;
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  color: #999;
}
.job {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 9px;
}
.job-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 12px; }
.price {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--coral-dark);
  background: var(--surface);
  padding: 2px 7px;
  border-radius: 999px;
}
.job p { margin: 3px 0 8px; color: var(--muted); }
.job-foot { display: flex; justify-content: space-between; align-items: center; }
.tag { color: var(--muted); font-weight: 600; }
.mini-btn {
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
}
.tabbar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-around;
  padding: 14px 20px 18px;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.tabbar i { width: 18px; height: 18px; border-radius: 6px; background: #e3e3e3; }
.tabbar i.on { background: var(--coral); }

.screen:has(.map) { padding: 0; }
.map { position: relative; height: 62%; background: #f3ece6; }
.map svg { width: 100%; height: 100%; }
.road { stroke: var(--white); stroke-width: 12; fill: none; }
.route { stroke: var(--coral); stroke-width: 4; fill: none; stroke-dasharray: 7 5; stroke-linecap: round; }
.me { fill: var(--ink); stroke: var(--white); stroke-width: 3; }
.pin { fill: var(--coral); }
.live {
  position: absolute;
  top: 16px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}
.live i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .3; } }
.trip { padding: 16px 14px; }
.trip small { color: var(--muted); font-weight: 600; }
.trip > b { display: block; font-size: 17px; margin: 2px 0 12px; }
.who {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
}
.who div { display: flex; flex-direction: column; flex: 1; }
.who em { font-style: normal; color: var(--muted); }
.avatar {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}
.verified {
  font-size: 9px;
  font-weight: 700;
  color: var(--ink);
  background: var(--coral);
  padding: 3px 7px;
  border-radius: 999px;
}

/* ---------- Secciones ---------- */
.section { padding: 88px 0; }
.kicker {
  margin: 0 0 10px;
  color: var(--coral-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h2 {
  margin: 0 0 40px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 18em;
}
h3 { margin: 0 0 8px; font-size: 19px; letter-spacing: -0.01em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.card p, .feature p { margin: 0; color: var(--muted); }
.num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
}

.section-ink { background: var(--ink); color: var(--white); }
.section-ink .lead { color: var(--muted-on-ink); }
.section-ink .kicker { color: var(--coral); }
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split h2 { margin-bottom: 18px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.checks li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}
.stat-grid { display: grid; gap: 14px; }
.stat {
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #1f1f1f;
  border: 1px solid #2c2c2c;
}
.stat b { display: block; font-size: 24px; color: var(--coral); letter-spacing: -0.02em; }
.stat span { color: var(--muted-on-ink); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--ink);
}
.icon svg { width: 22px; height: 22px; fill: var(--coral); }

.cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 40px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.cta h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); }
.cta p { margin: 0; color: var(--muted); }

/* ---------- Páginas de texto (legales) ---------- */
.doc { max-width: 720px; min-height: 50vh; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin: 0 0 24px; }
.doc p { font-size: 17px; color: var(--muted); }
.doc a { color: var(--coral-dark); font-weight: 600; }
.notice {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink) !important;
}

/* ---------- Footer ---------- */
.footer { padding: 36px 0 44px; border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer .brand { font-size: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer nav a:hover { color: var(--ink); }
.footer small { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .phones { height: 500px; max-width: 520px; width: 100%; margin-inline: auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .hero { padding: 44px 0 64px; }
  .steps, .features { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .phones { height: 440px; }
  .phone { width: 200px; height: 410px; border-radius: 34px; }
  .screen { border-radius: 26px; font-size: 9.5px; }
  .phone-back { left: 0; }
  .phone-front { right: 0; }
  .download .btn, .store-btn { flex: 1 1 100%; justify-content: center; }
  .cta { padding: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live i { animation: none; }
  .btn:hover { transform: none; }
}
