/* Página de venta. Usa los tokens de menu.css */
html { scroll-padding-top: 80px; }
html, body { overflow-x: clip; }
body { background: var(--bg); }
.l-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.l-h2 { font-family: var(--display); font-size: clamp(30px, 4.4vw, 46px); line-height: 1.08; letter-spacing: -.02em; margin: 10px 0 12px; }
.l-lead { font-size: 18px; color: var(--ink-2); max-width: 620px; margin: 0; }
.center { text-align: center; }
.center .l-lead { margin: 0 auto; }
section.l-sec { padding: 84px 0; }
@media (max-width: 720px) { section.l-sec { padding: 60px 0; } }

/* Barra superior */
.l-nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.l-nav.scrolled { border-bottom-color: var(--line); }
.l-nav .l-wrap { display: flex; align-items: center; gap: 8px; height: 68px; }
.l-links { display: flex; gap: 2px; margin-left: 18px; }
.l-links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; }
.l-links a:hover { background: var(--surface-2); color: var(--ink); }
.l-nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.l-nav-cta .btn { padding: 10px 16px; font-size: 14.5px; border-radius: 12px; }
.l-login { color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; }
.l-login:hover { background: var(--surface-2); }
.l-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-size: 18px; }
.l-mobile { display: none; }
@media (max-width: 900px) {
  .l-links { display: none; }
  .l-nav-cta .btn-primary { display: none; }
  .l-burger { display: grid; place-items: center; }
  .l-mobile { position: fixed; z-index: 29; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 20px 20px; display: grid; gap: 4px; transform: translateY(-120%); transition: transform .25s; }
  .l-mobile.open { transform: none; }
  .l-mobile a { padding: 12px 6px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .l-mobile .btn { margin-top: 10px; border-bottom: 0; color: var(--brand-ink); }
}

/* Hero */
.l-hero { padding: 56px 0 40px; position: relative; overflow-x: clip; }
.l-hero::before { content: ''; position: absolute; inset: -200px -10% auto auto; width: 720px; height: 720px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 16%, transparent), transparent 65%); z-index: -1; }
.l-hero .l-wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .l-hero .l-wrap { grid-template-columns: 1fr; gap: 36px; } .l-hero { padding-top: 28px; } }
.l-hero h1 { font-family: var(--display); font-size: clamp(38px, 6.2vw, 64px); line-height: 1.02; letter-spacing: -.025em; margin: 14px 0 0; }
.l-hero h1 em { font-style: normal; color: var(--brand); }
.l-hero .l-lead { margin-top: 20px; }
.l-cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.l-cta-row .btn { padding: 16px 24px; font-size: 16px; border-radius: 16px; }
.l-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.l-trust span::before { content: '✓ '; color: var(--ok); font-weight: 800; }
.l-device { position: relative; justify-self: center; }
.l-phone { width: 300px; aspect-ratio: 9 / 18.5; border-radius: 44px; background: #15130f; padding: 11px; box-shadow: 0 40px 90px rgba(28,26,23,.28), inset 0 0 0 2px #2a2620; position: relative; z-index: 2; }
.l-phone iframe, .l-phone .ph { width: 100%; height: 100%; border: 0; border-radius: 34px; background: var(--bg); display: block; }
.l-phone .ph { background: linear-gradient(160deg, var(--brand), color-mix(in srgb, var(--brand) 50%, #000)); }
.l-float { position: absolute; z-index: 3; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 700; white-space: nowrap; animation: floaty 5s ease-in-out infinite; }
.l-float small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; }
.l-float .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.l-float.a { left: -120px; top: 70px; }
.l-float.a .ic { background: color-mix(in srgb, var(--ok) 15%, transparent); color: var(--ok); }
.l-float.b { right: -110px; top: 46%; animation-delay: -2s; }
.l-float.b .ic { background: color-mix(in srgb, #1B7BD8 15%, transparent); color: #1B7BD8; }
.l-float.c { left: -90px; bottom: 60px; animation-delay: -3.5s; }
.l-float.c .ic { background: var(--brand-soft); color: var(--brand); }
@keyframes floaty { 50% { transform: translateY(-8px); } }
@media (max-width: 1100px) { .l-float.a { left: -60px; } .l-float.b { right: -50px; } .l-float.c { left: -40px; } }
@media (max-width: 560px) { .l-phone { width: 260px; } .l-float { display: none; } }

/* Franja de tipos de negocio */
.l-strip { border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; }
.l-strip .row { display: flex; gap: 36px; justify-content: center; flex-wrap: wrap; color: var(--ink-2); font-weight: 700; font-size: 15px; }

/* Problema / solución */
.l-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
@media (max-width: 800px) { .l-compare { grid-template-columns: 1fr; } }
.l-col { border-radius: 24px; padding: 28px; }
.l-col h3 { margin: 0 0 14px; font-size: 19px; }
.l-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.l-col li { display: flex; gap: 12px; font-size: 15.5px; }
.l-col.bad { background: var(--surface-2); color: var(--ink-2); }
.l-col.bad li::before { content: '✕'; color: var(--danger); font-weight: 800; }
.l-col.good { background: var(--surface); box-shadow: var(--shadow); border: 2px solid var(--brand); }
.l-col.good li::before { content: '✓'; color: var(--ok); font-weight: 800; }

/* Pasos */
.l-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; counter-reset: step; }
@media (max-width: 800px) { .l-steps { grid-template-columns: 1fr; } }
.l-step { background: var(--surface); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); position: relative; }
.l-step::before { counter-increment: step; content: counter(step); position: absolute; top: 22px; right: 24px; font-family: var(--display); font-size: 54px; font-weight: 700; color: var(--brand-soft); line-height: 1; }
.l-step .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
.l-step h3 { margin: 12px 0 6px; font-size: 19px; }
.l-step p { margin: 0; color: var(--ink-2); }

/* Funciones */
.l-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 900px) { .l-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .l-feats { grid-template-columns: 1fr; } }
.l-feat { background: var(--surface); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.l-feat .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; color: var(--brand); }
.l-feat .ic svg { width: 24px; height: 24px; stroke-width: 1.8; }
.l-feat h3 { margin: 14px 0 6px; font-size: 17px; }
.l-feat p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.l-feat .pill { display: inline-block; margin-top: 10px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); }
.l-feat .pill.biz { background: var(--brand); color: var(--brand-ink); }

/* SINPE */
.l-sinpe { background: #0E1B2E; color: #fff; border-radius: 32px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; overflow: hidden; position: relative; }
.l-sinpe::after { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -160px; background: radial-gradient(circle, rgba(35,166,240,.35), transparent 70%); }
@media (max-width: 860px) { .l-sinpe { grid-template-columns: 1fr; padding: 36px 24px; } }
.l-sinpe .eyebrow { color: #7DD3FC; }
.l-sinpe .l-h2 { color: #fff; }
.l-sinpe p { color: #C7D2E0; font-size: 17px; margin: 0; }
.l-sinpe ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.l-sinpe li { display: flex; gap: 10px; color: #E6EDF6; }
.l-sinpe li::before { content: '✓'; color: #4ADE80; font-weight: 800; }
.l-sinpe .mock { position: relative; z-index: 1; display: grid; gap: 12px; }
.l-sinpe .mock .card { border-radius: 18px; padding: 18px; background: linear-gradient(135deg, #0B4F9C, #1B7BD8 60%, #23A6F0); }
.l-sinpe .mock .card small { opacity: .8; font-weight: 700; text-transform: uppercase; font-size: 11.5px; letter-spacing: .05em; }
.l-sinpe .mock .card b { display: block; font-size: 26px; letter-spacing: .04em; margin-top: 2px; }
.l-sinpe .mock .row { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 600; }
.l-sinpe .mock .tag { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.l-sinpe .mock .tag.w { background: rgba(251,191,36,.18); color: #FCD34D; }
.l-sinpe .mock .tag.ok { background: rgba(74,222,128,.18); color: #86EFAC; }

/* Calculadora */
.l-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; align-items: stretch; }
@media (max-width: 860px) { .l-calc { grid-template-columns: 1fr; } }
.l-calc .panel-c { background: var(--surface); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.l-calc label { display: block; margin-bottom: 20px; }
.l-calc label span { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; }
.l-calc label span b { color: var(--brand); }
.l-calc input[type=range] { width: 100%; accent-color: var(--brand); }
.l-calc .result { background: var(--ink); color: var(--bg); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.l-calc .result .big { font-family: var(--display); font-size: clamp(38px, 6vw, 56px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; color: #fff; }
.l-calc .result p { margin: 8px 0 0; opacity: .8; }
.l-calc .result .lines { margin-top: 18px; display: grid; gap: 6px; font-size: 14.5px; opacity: .9; }
.l-calc .result .lines div { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); padding-top: 6px; }
.l-note { font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }

/* Precios */
.l-plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 860px; margin: 40px auto 0; }
@media (max-width: 760px) { .l-plans { grid-template-columns: 1fr; } }
.l-toggle-row { text-align: center; margin-top: 18px; color: var(--ink-2); font-size: 14.5px; }
.l-table-wrap { max-width: 860px; margin: 28px auto 0; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.l-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.l-table th, .l-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.l-table th { background: var(--surface-2); font-size: 13px; }
.l-table td:not(:first-child), .l-table th:not(:first-child) { text-align: center; width: 120px; }
.l-table .y { color: var(--ok); font-weight: 800; }
.l-table .n { color: var(--ink-3); }
.l-table tr:last-child td { border-bottom: 0; }

/* Preguntas */
.l-faq { max-width: 780px; margin: 36px auto 0; display: grid; gap: 10px; }
.l-faq details { background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 0 22px; }
.l-faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 16px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--brand); transition: transform .2s; }
.l-faq details[open] summary::after { transform: rotate(45deg); }
.l-faq details p { margin: 0 0 20px; color: var(--ink-2); }

/* Llamado final */
.l-final { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #000)); color: #fff; border-radius: 32px; padding: 64px 32px; text-align: center; position: relative; overflow: hidden; }
.l-final .l-h2 { color: #fff; }
.l-final p { color: rgba(255,255,255,.85); font-size: 18px; margin: 0 auto; max-width: 560px; }
.l-final .l-cta-row { justify-content: center; }
.l-final .btn-white { background: #fff; color: var(--ink); }
.l-final .btn-outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }

.l-foot { padding: 40px 0 50px; color: var(--ink-3); font-size: 14px; }
.l-foot .l-wrap { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.l-foot a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.l-foot .sp { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .l-float { animation: none; } }
