/* ZIPCO landing — versión clara
   Paleta: turquesa del logo/app + azul marino para títulos. */
:root {
  --navy: #050d1a;
  --ink: #0f1b2d;
  --muted: #5a6678;
  --line: #e4e9f0;
  --bg: #ffffff;
  --tint: #f3f8fa;
  --teal: #14c8b8;
  --teal-dark: #0a9e92;
  --blue: #0a6cff;
  --grad: linear-gradient(100deg, #12d6e0 0%, #14c8b8 35%, #0a6cff 100%);
  --radius: 20px;
  --shadow: 0 20px 50px -20px rgba(5, 13, 26, .25);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 7vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.narrow { max-width: 680px; margin-inline: auto; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.topbar__nav { display: none; gap: 28px; font-size: .95rem; font-weight: 500; color: var(--muted); }
.topbar__nav a { text-decoration: none; }
.topbar__nav a:hover { color: var(--navy); }

/* Logo provisional: se reemplaza por el logo nuevo */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.15rem;
}
.brand__name { font-weight: 800; letter-spacing: .14em; color: var(--navy); font-size: 1.05rem; }
.brand--small .brand__mark { width: 30px; height: 30px; font-size: .95rem; border-radius: 9px; }
.brand__img { height: 36px; width: auto; }

/* ---------- Botones y tiendas ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px;
  background: var(--navy); color: #fff; font-weight: 600; text-decoration: none;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #0c1d36; transform: translateY(-1px); }
.btn--small { padding: 9px 18px; font-size: .9rem; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.stores--center { justify-content: center; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px; border-radius: 14px;
  background: var(--navy); color: #fff; opacity: .9; cursor: default;
  min-width: 172px;
}
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.store small { font-weight: 500; font-size: .7rem; opacity: .75; letter-spacing: .02em; }

/* ---------- Portada ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 56px 0 72px;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(20, 200, 184, .14), transparent 70%),
    radial-gradient(500px 360px at 10% 90%, rgba(10, 108, 255, .08), transparent 70%);
}
.hero__grid { display: grid; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: #e8faf8; color: var(--teal-dark); font-weight: 600; font-size: .85rem;
  margin-bottom: 22px;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(20, 200, 184, .2); }
.lead { font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: var(--muted); margin-top: 18px; max-width: 560px; }
.hero__note { margin-top: 16px; font-size: .9rem; color: var(--muted); }

.hero__visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 10px 14px; box-shadow: var(--shadow); font-size: .85rem;
}
.float-card strong { display: block; color: var(--navy); }
.float-card small { color: var(--muted); }
.float-card__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #e8faf8; }
.float-card--a { top: 47%; left: 0; }
.float-card--b { bottom: 8%; right: 0; }

/* ---------- Mapa vivo de la portada ---------- */
.livemap { position: absolute; inset: -6% -10%; width: 120%; height: 112%; z-index: 0; }
.hero__visual .phone, .hero__visual .float-card { z-index: 1; }
.livemap__blocks rect { fill: #e2f2f4; }
.livemap__streets path { fill: none; stroke: #d3e3ec; stroke-width: 10; stroke-linecap: round; }
.livemap__streets .livemap__avenue { stroke: #d9eaf1; stroke-width: 16; }
.livemap__routes path {
  fill: none; stroke: var(--teal); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 420; stroke-dashoffset: 420; opacity: .75;
  animation: route 4.8s ease-in-out var(--d) infinite;
}
.livemap__pins g { transform: translate(var(--x), var(--y)); }
.livemap__pins .dot { fill: var(--blue); stroke: #fff; stroke-width: 3; }
.livemap__pins .dot--home { fill: var(--navy); }
.livemap__pins .pulse { fill: var(--teal); opacity: 0; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out var(--d) infinite; }
@keyframes route { 0% { stroke-dashoffset: 420; opacity: 0; } 15% { opacity: .8; } 55% { stroke-dashoffset: 0; opacity: .8; } 85%, 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .55; } 100% { transform: scale(3.2); opacity: 0; } }
.phone--tilt { animation: float 6s ease-in-out infinite; will-change: transform; }
.livemap--live { pointer-events: none; }
.is-paused .livemap__routes path, .is-paused .livemap__pins .pulse, .is-paused .phone--tilt,
.is-paused .demo__caret { animation-play-state: paused; }
@keyframes float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-10px); } }

/* ---------- Búsqueda de ejemplo ---------- */
.demo {
  max-width: 620px; margin: 36px auto 0; padding: 18px;
  border-radius: 24px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -30px rgba(5, 13, 26, .25);
}
.demo__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 16px; border: 2px solid var(--teal);
  box-shadow: 0 0 0 5px rgba(20, 200, 184, .12); font-size: 1.05rem; color: var(--navy);
}
.demo__bar svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--teal-dark); stroke-width: 2.2; stroke-linecap: round; }
.demo__query { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.demo__caret { width: 2px; height: 1.2em; background: var(--teal-dark); animation: caret 1s steps(1) infinite; flex: none; }
@keyframes caret { 50% { opacity: 0; } }
.demo__tag { margin-left: auto; flex: none; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--tint); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }
.demo__count { margin: 14px 4px 8px; font-size: .85rem; font-weight: 600; color: var(--teal-dark); min-height: 1.3em; }
.demo__results { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; min-height: 318px; }
.demo__results li {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px;
  border-radius: 18px; background: #fffaf3; border: 1.5px solid #fbe1c0;
  animation: rise .45s cubic-bezier(.2, .8, .2, 1) both;
}
.demo__results li:nth-child(2) { animation-delay: .08s; }
.demo__results li:nth-child(3) { animation-delay: .16s; }
.demo__ico { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #fff1de, #ffe2bf); font-size: 1.9rem; flex: none; }
.demo__body { min-width: 0; flex: 1; }
.demo__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.demo__head strong { color: var(--navy); font-size: 1rem; font-weight: 800; line-height: 1.25; }
.demo__kind { flex: none; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.demo__kind--biz { background: #f58a1f; color: #fff; }
.demo__kind--person { background: #e3f7e9; color: #1f8a46; }
.demo__desc { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.demo__meta { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: .8rem; }
.demo__dist { color: var(--ink); font-weight: 600; }
.demo__dist::before { content: "📍 "; font-size: .75rem; }
.demo__status { background: #3fb950; color: #fff; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.demo.is-leaving .demo__results li { animation: fall .25s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fall { to { opacity: 0; transform: translateY(-6px); } }
.demo__note { margin: 12px 4px 0; font-size: .75rem; color: #8a95a6; }

/* ---------- Teléfono con captura ---------- */
.phone {
  width: 250px; aspect-ratio: 443 / 868;
  padding: 10px; border-radius: 40px;
  background: #0b1424;
  box-shadow: 0 40px 80px -30px rgba(5, 13, 26, .45), inset 0 0 0 2px #23324a;
}
.phone--tilt { transform: rotate(-4deg); }
.phone--right { transform: rotate(3deg); }
.phone__screen { width: 100%; height: 100%; border-radius: 31px; overflow: hidden; background: #f6f8fb; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
/* Captura parcial: tarjeta con la proporción real de la imagen */
.screen {
  margin: 0; width: min(340px, 100%);
  border-radius: 26px; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -30px rgba(5, 13, 26, .4), 0 0 0 1px rgba(5, 13, 26, .06);
}
.screen img { width: 100%; height: auto; }
.screen--tilt-r { transform: rotate(2deg); }
.screen--tilt-l { transform: rotate(-2deg); }
.shot-placeholder {
  height: 100%; display: grid; place-items: center;
  background:
    linear-gradient(#fff, #fff) 16px 56px / calc(100% - 32px) 44px no-repeat,
    linear-gradient(#fff, #fff) 16px 116px / calc(100% - 32px) 120px no-repeat,
    linear-gradient(#fff, #fff) 16px 252px / calc(100% - 32px) 120px no-repeat,
    #eef3f7;
}
.shot-placeholder__label {
  font-size: .75rem; font-weight: 600; color: var(--muted);
  background: #fff; border: 1px dashed #b9c4d2; border-radius: 8px; padding: 4px 10px;
}

/* ---------- Franja de categorías ---------- */
.strip { border-block: 1px solid var(--line); padding: 20px 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li {
  padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 500;
  background: var(--tint); color: var(--ink); border: 1px solid var(--line);
}

/* ---------- Todo está en ZIPCO ---------- */
.section--catalog { padding-top: 72px; }
.catalog { margin-top: 40px; display: grid; gap: 16px; }
.catalog__col { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.catalog__col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 16px; }
.catalog__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.catalog__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.chips--left { justify-content: flex-start; }

/* ---------- Ilustración: comunidad conectada ---------- */
.network { width: min(420px, 100%); height: auto; }
.network__lines path { fill: none; stroke: #9adfd8; stroke-width: 2; stroke-dasharray: 5 6; }
.network__ring { fill: none; stroke: #d7eef0; stroke-width: 1.5; }
.network__core { fill: var(--teal); }
.network__node rect { fill: #fff; stroke: var(--line); stroke-width: 1.5; filter: drop-shadow(0 8px 14px rgba(5, 13, 26, .08)); }
.network__node text { font: 600 14px var(--font); fill: var(--navy); text-anchor: middle; }
.network__node--people rect { fill: var(--navy); stroke: var(--navy); }
.network__node--people text { fill: #fff; }

/* ---------- Lo que viene (oscuro, con red animada) ---------- */
.future {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 500px at 50% 0%, #0d2a44 0%, var(--navy) 70%);
}
.future__net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.future__inner { position: relative; }
.future h2 { color: #fff; }
.future h2 { background: linear-gradient(90deg, #fff 0%, #9ff3ea 60%, #7fb6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.future .lead { color: #b8c6d8; }
.future .tag { background: rgba(20, 200, 184, .16); color: #6ff0e2; border: 1px solid rgba(20, 200, 184, .45); }
.future__grid { margin-top: 40px; display: grid; gap: 16px; }
.future__card {
  padding: 26px; border-radius: var(--radius);
  background: rgba(13, 32, 54, .72); border: 1px solid rgba(255, 255, 255, .12);
  transition: border-color .25s ease, transform .25s ease;
}
.future__card:hover { border-color: rgba(20, 200, 184, .6); transform: translateY(-3px); }
.future__card h3 { color: #fff; }
.future__card p { color: #b8c6d8; margin-top: 6px; font-size: .97rem; }
.future__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 14px; background: rgba(20, 200, 184, .14); color: #6ff0e2; box-shadow: 0 0 24px rgba(20, 200, 184, .25); }
.future__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Secciones ---------- */
.section { padding: 84px 0; }
.section--tint { background: var(--tint); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.eyebrow--center { text-align: center; }

.split { display: grid; gap: 48px; align-items: center; }
.split__visual { display: grid; place-items: center; }

.features { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.features li { display: flex; gap: 16px; align-items: flex-start; }
.features__icon {
  flex: none; width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--teal-dark);
}
.section--tint .features__icon { background: #fff; }
.features__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.features p { color: var(--muted); margin-top: 4px; font-size: .97rem; }

.soon {
  margin-top: 30px; padding: 18px 20px; border-radius: 16px;
  border: 1px dashed #9adfd8; background: rgba(255, 255, 255, .7);
}
.soon ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); display: grid; gap: 8px; font-size: .95rem; }
.soon strong { color: var(--navy); }
.tag {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--navy); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Cómo funciona ---------- */
.flow { margin-top: 44px; display: grid; gap: 40px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.steps__n {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad);
}
.steps p { color: var(--muted); margin-top: 4px; font-size: .95rem; }

.mutual {
  display: grid; gap: 16px; align-items: center;
  padding: 26px; border-radius: var(--radius);
  background: linear-gradient(135deg, #f0fbfa, #eef5ff); border: 1px solid #d7eef0;
}
.mutual__col ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px; }
.mutual__link { display: grid; place-items: center; color: var(--teal-dark); }
.mutual__link svg { width: 48px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }

/* ---------- Comunidad ---------- */
.stats { margin-top: 44px; display: grid; gap: 16px; }
.stat { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; }
.stat__n { font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.stat__n { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__l { color: var(--muted); margin-top: 4px; font-size: .95rem; }
.source { margin-top: 14px; text-align: center; font-size: .75rem; color: #8a95a6; }

.values { margin-top: 48px; display: grid; gap: 16px; }
.value { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value p { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.value__art { width: 120px; height: 80px; margin-bottom: 14px; }
.value__art .a { fill: var(--teal); }
.value__art .b { fill: #8fe6de; }
.value__art .c { fill: #0a6cff; opacity: .75; }
.value__art .w { fill: #fff; }
.value__art .line { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.value__art .dash { fill: none; stroke: #9fb0c4; stroke-width: 3; stroke-dasharray: 6 7; stroke-linecap: round; }

/* ---------- Llamado final ---------- */
.cta { padding: 88px 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%;
  background: radial-gradient(closest-side, rgba(20, 200, 184, .28), transparent);
  pointer-events: none;
}
.cta__inner { position: relative; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #c4d0df; margin: 16px auto 0; max-width: 560px; }
.cta .store { background: #fff; color: var(--navy); }
.cta__mail { margin-top: 28px !important; }
.cta__mail a { color: var(--teal); font-weight: 600; }

/* ---------- Pie ---------- */
.footer { padding: 40px 0 28px; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: 24px; }
.footer__tag { margin-top: 8px; color: var(--muted); font-size: .9rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; font-size: .9rem; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--navy); }
.social { display: flex; gap: 10px; }
.social__icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--line); color: #a3aebd; cursor: default;
}
.social__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.social__icon .fill { fill: currentColor; stroke: none; }
.footer__legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .78rem; color: #8a95a6; }

/* ---------- Páginas legales ---------- */
.legal { padding: 72px 0 96px; }
.legal__box { max-width: 680px; margin: 24px auto 0; padding: 28px; border-radius: var(--radius); border: 1px dashed #b9c4d2; background: var(--tint); color: var(--muted); }
.legal__back { display: inline-block; margin-top: 28px; color: var(--teal-dark); font-weight: 600; }

/* ---------- Escritorio ---------- */
@media (min-width: 900px) {
  .topbar__nav { display: flex; }
  .hero { padding: 88px 0 104px; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; }
  .split { grid-template-columns: 1.15fr .85fr; gap: 72px; }
  .split--reverse .split__copy { order: 2; }
  .split--reverse .split__visual { order: 1; }
  .phone { width: 280px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { flex-direction: column; }
  .mutual { grid-template-columns: 1fr auto 1fr; padding: 32px 40px; }
  .mutual__link svg { transform: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: repeat(4, 1fr); }
  .catalog { grid-template-columns: 1fr 1fr; }
  .future__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__inner { grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
  .float-card--a { left: -6px; top: 47%; }
  .float-card--b { right: -6px; bottom: 4%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .future__card { transition: none; }
  .livemap__routes path { animation: none; stroke-dashoffset: 0; opacity: .5; }
  .livemap__pins .pulse, .phone--tilt, .demo__caret, .demo__results li { animation: none; }
  .phone--tilt { transform: rotate(-4deg); }
}
