:root {
  --brand: #5538e8;
  --brand-2: #7a5cff;
  --brand-soft: #efebfe;
  --ink: #16162a;
  --ink-2: #2b2b45;
  --muted: #6b6b85;
  --line: #e8e8f0;
  --bg: #ffffff;
  --alt: #f6f5fc;
  --accent: #f5b301;
  --green: #12b981;
  --radius: 20px;
  --shadow: 0 18px 50px -18px rgba(85, 56, 232, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
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.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; font-weight: 700; border-radius: 14px; border: 2px solid transparent;
  padding: 12px 22px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #4a2fd6; }
.btn-small { padding: 9px 18px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--brand); border-color: #d9d2fb; }
.btn-ghost:hover { background: var(--brand-soft); box-shadow: none; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #f1eeff; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); box-shadow: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Navegación */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.nav.scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { border-radius: 10px; }
.links { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.links a { position: relative; padding: 6px 0; }
.links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand); transition: width .2s; }
.links a:hover::after { width: 100%; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 128px 0 84px; background: #fbfaff; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(122,92,255,.22), transparent 70%),
    radial-gradient(45% 45% at 5% 90%, rgba(245,179,1,.14), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(85,56,232,.10) 1px, transparent 0) 0 0 / 26px 26px;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pill { display: inline-block; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--brand), var(--brand-2) 60%, #b79bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--muted); margin: 22px 0 32px; max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-row.center { justify-content: center; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; padding: 0; margin: 34px 0 0; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; fill: var(--brand); }

/* Celular ilustrativo */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 300px; border-radius: 40px; background: #fff; border: 9px solid var(--ink); box-shadow: 0 40px 80px -28px rgba(22,22,42,.45), var(--shadow);
  overflow: hidden; transform: rotate(3deg); animation: bob 6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-10px); } }
.phone-top { height: 26px; background: var(--ink); display: flex; justify-content: center; align-items: flex-start; }
.phone-top span { width: 84px; height: 18px; background: #000; border-radius: 0 0 14px 14px; }
.map { position: relative; height: 230px; background: linear-gradient(160deg, #e9eaff, #f3f0ff); overflow: hidden; }
.map svg { width: 100%; height: 100%; display: block; }
.road { fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; }
.road.thin { stroke-width: 7; }
.route { fill: none; stroke: var(--brand); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 9 9; animation: dash 1.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -36; } }
.pin { position: absolute; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 6px 12px rgba(0,0,0,.25); }
.pin i { position: absolute; inset: 8px; background: #fff; border-radius: 50%; }
.pin-a { left: 15%; top: 62%; background: var(--green); }
.pin-b { right: 12%; top: 14%; background: #e5484d; }
.moto { position: absolute; left: 44%; top: 34%; font-size: 26px; filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); animation: ride 4.5s ease-in-out infinite alternate; }
@keyframes ride { from { transform: translate(-30px, 22px); } to { transform: translate(34px, -12px); } }
.sheet { padding: 16px; }
.sheet-row { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-size: 22px; flex: none; }
.avatar.big { width: 52px; height: 52px; font-size: 26px; }
.who b { display: block; font-size: 14px; }
.who small, .code small { color: var(--muted); font-size: 12px; }
.steps { display: flex; gap: 6px; margin: 14px 0; }
.steps span { flex: 1; height: 5px; border-radius: 5px; background: var(--line); }
.steps span.on { background: var(--brand); }
.code { background: var(--alt); border-radius: 14px; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; }
.code small { white-space: nowrap; }
.code b { font-size: 19px; letter-spacing: 5px; white-space: nowrap; color: var(--brand); font-family: ui-monospace, Menlo, Consolas, monospace; }
.float { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; font-weight: 700; font-size: 13px; box-shadow: 0 16px 36px -14px rgba(22,22,42,.35); display: flex; align-items: center; gap: 8px; animation: bob2 5s ease-in-out infinite; }
.float span { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-size: 13px; color: var(--brand); }
.float-1 { left: -4%; top: 22%; }
.float-2 { right: -2%; bottom: 14%; animation-delay: -2.2s; }
@keyframes bob2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Secciones */
.section { padding: 96px 0; }
.section.alt { background: var(--alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow.light { color: #bdb0ff; }
h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.muted { color: var(--muted); font-size: 18px; margin: 16px 0 24px; }
.muted-l { color: rgba(255,255,255,.72); font-size: 18px; margin: 16px 0 24px; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 18px; }
.step p { color: var(--muted); margin-top: 10px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards.three { margin-bottom: 30px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9d2fb; }
.section:not(.alt) .card { background: var(--alt); border-color: transparent; }
.ico { width: 52px; height: 52px; border-radius: 16px; background: var(--brand-soft); display: grid; place-items: center; font-size: 26px; margin-bottom: 16px; }
.card p { color: var(--muted); margin-top: 8px; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.split.rev { grid-template-columns: 1.1fr .9fr; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.checks.light li { color: rgba(255,255,255,.88); }
.checks.light li::before { background: rgba(255,255,255,.14); color: #fff; }
.checks b { color: inherit; }

.proof { display: flex; justify-content: center; }
.proof-card { width: min(380px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 22px; box-shadow: var(--shadow); }
.proof-top { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.proof-top small { display: block; color: var(--muted); font-size: 13px; }
.proof-top .ok { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; }
.proof-row { display: flex; justify-content: space-between; padding: 14px 4px 0; color: var(--muted); font-size: 15px; }
.proof-row b { color: var(--ink); }
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 4px; }

.dark { background: radial-gradient(70% 90% at 90% 0%, #3b2aa8, transparent 60%), var(--ink); color: #fff; }
.dark h2 { color: #fff; }
.biz { display: flex; justify-content: center; }
.biz-card { width: min(380px, 100%); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 26px; padding: 24px; backdrop-filter: blur(8px); }
.biz-head { display: flex; justify-content: space-between; align-items: baseline; }
.biz-head span { font-size: 40px; font-weight: 800; color: #fff; }
.bar { height: 8px; background: rgba(255,255,255,.14); border-radius: 8px; margin: 12px 0 20px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand-2), #c7b8ff); border-radius: 8px; }
.biz-list { display: grid; gap: 12px; }
.biz-list div { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.biz-list small { margin-left: auto; color: rgba(255,255,255,.55); font-weight: 500; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.g { background: var(--green); } .dot.a { background: var(--accent); } .dot.p { background: #b79bff; }

.req { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: var(--brand-soft); border-radius: var(--radius); padding: 30px 34px; }
.req p { color: var(--ink-2); margin-top: 6px; max-width: 620px; }

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #cfc5fb; box-shadow: 0 10px 30px -18px rgba(85,56,232,.4); }
.faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 24px; line-height: 1; font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 20px; }

.final { padding: 28px 0 96px; }
.final-in { text-align: center; background: linear-gradient(135deg, var(--brand), #3d22c4); color: #fff; border-radius: 32px; padding: 64px 28px; position: relative; overflow: hidden; }
.final-in::before { content: ""; position: absolute; width: 380px; height: 380px; right: -90px; top: -140px; border-radius: 50%; background: rgba(255,255,255,.1); }
.final-in h2 { color: #fff; position: relative; }
.final-in p { color: rgba(255,255,255,.85); font-size: 18px; margin: 14px auto 30px; max-width: 540px; position: relative; }
.final-in .cta-row { position: relative; }

.footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 56px 0 28px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand .brand { color: #fff; }
.foot-brand p { margin-top: 14px; max-width: 320px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col b { color: #fff; margin-bottom: 4px; }
.foot-col a:hover { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }

/* Aparición suave */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps-grid .reveal:nth-child(2) { transition-delay: .08s; }
.cards .reveal:nth-child(3), .steps-grid .reveal:nth-child(3) { transition-delay: .16s; }

@media (max-width: 960px) {
  .hero { padding-top: 108px; }
  .hero-in, .split, .split.rev { grid-template-columns: 1fr; gap: 44px; }
  .steps-grid, .cards { grid-template-columns: 1fr 1fr; }
  .req { flex-direction: column; align-items: flex-start; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .burger { display: block; margin-left: auto; }
  #cta-nav { display: none; }
  .links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; margin: 0; background: #fff; padding: 8px 20px 20px; box-shadow: 0 24px 40px -20px rgba(22,22,42,.25); transform: translateY(-120%); transition: transform .25s ease; }
  .links.open { transform: none; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav.open-menu { background: #fff; }
  .section { padding: 72px 0; }
  .steps-grid, .cards { grid-template-columns: 1fr; }
  .float { display: none; }
  .phone { width: 270px; }
  .cta-row .btn { width: 100%; }
  .final-in { border-radius: 24px; padding: 48px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
