/* Landing LanzaLaWeb v2 — paleta original: marino #1a1a2e / #0f0f1a, blanco, lavanda #f8f9ff / #e8ecff. Tipografía Inter. */
:root {
  --navy: #1a1a2e;
  --navy-deep: #0f0f1a;
  --white: #ffffff;
  --mist: #f8f9ff;
  --lav: #e8ecff;
  --gray: #4a4a5e;
  --line: rgba(26, 26, 46, .1);
  --line-dark: rgba(255, 255, 255, .12);
  --on-dark: rgba(255, 255, 255, .78);
  --shadow: 0 30px 60px -24px rgba(26, 26, 46, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--navy); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.sec { padding: 112px 0; position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.dark .kicker { color: var(--on-dark); }
.title { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 16px 0 18px; }
.sub { font-size: 1.12rem; color: var(--gray); max-width: 560px; }
.dark .sub { color: var(--on-dark); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; border-radius: 999px; font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; box-shadow: 0 0 0 6px var(--navy); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(26, 26, 46, .55); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--lav); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-line:hover { border-color: var(--navy); }
.dark .btn-line { color: var(--white); border-color: var(--line-dark); }
.dark .btn-line:hover { border-color: var(--white); }
.btn-block { width: 100%; }

/* Header flotante */
.topbar { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; padding: 0 16px; }
.pill { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 22px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 40px -18px rgba(15, 15, 26, .5); }
.pill .logo img { height: 34px; width: auto; }
.pill ul { display: flex; gap: 6px; list-style: none; }
.pill ul a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--gray); text-decoration: none; transition: background .25s, color .25s; }
.pill ul a:hover { background: var(--mist); color: var(--navy); }
.pill .acts { display: flex; align-items: center; gap: 6px; }
.pill .btn { min-height: 42px; padding: 0 22px; font-size: 14px; }
.pill .login { font-size: 14px; font-weight: 600; text-decoration: none; padding: 8px 14px; color: var(--gray); }
.pill .login:hover { color: var(--navy); }

/* Hero */
.hero { color: var(--white); background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); padding: 168px 0 120px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 64px 64px; opacity: .35; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--on-dark); }
.eyebrow b { padding: 3px 10px; border-radius: 999px; background: var(--lav); color: var(--navy); font-size: 12px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); margin: 26px 0 24px; }
.hero h1 span { background: linear-gradient(90deg, var(--white), var(--lav) 60%, rgba(232, 236, 255, .55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: var(--on-dark); max-width: 520px; }
.hero .acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-dark); list-style: none; font-size: 14px; font-weight: 600; color: var(--on-dark); }
.hero .facts li { display: flex; align-items: center; gap: 8px; }
.hero .facts svg { width: 18px; height: 18px; color: var(--lav); }

/* Maqueta del producto */
.stage { position: relative; padding: 36px 0 36px 24px; }
.browser { background: var(--white); border-radius: 18px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(2deg); }
.browser .top { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--mist); border-bottom: 1px solid var(--line); }
.browser .top i { width: 10px; height: 10px; border-radius: 50%; background: var(--lav); }
.browser .url { margin-left: 10px; flex: 1; padding: 5px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 12px; color: var(--gray); }
.site { padding: 22px; color: var(--navy); }
.site .nv { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.site .nv b { font-size: 15px; letter-spacing: -.02em; }
.site .nv span { display: flex; gap: 8px; }
.site .nv span i { width: 34px; height: 7px; border-radius: 4px; background: var(--lav); }
.site .hd { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; max-width: 280px; }
.site .ln { height: 8px; border-radius: 4px; background: var(--lav); margin-top: 10px; max-width: 260px; }
.site .ln.s { max-width: 190px; }
.site .bt { display: inline-block; margin-top: 18px; padding: 9px 20px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: 12px; font-weight: 700; }
.site .blocks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.site .blocks i { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(135deg, var(--lav), var(--mist)); border: 1px solid var(--line); }
.gen { position: absolute; left: -10px; bottom: 6px; width: 250px; padding: 18px; border-radius: 16px; background: var(--navy); color: var(--white); border: 1px solid var(--line-dark); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); animation: float 6s ease-in-out infinite; }
.gen strong { display: block; font-size: 13px; margin-bottom: 12px; }
.gen .bar { height: 6px; border-radius: 3px; background: var(--line-dark); overflow: hidden; margin-bottom: 14px; }
.gen .bar i { display: block; height: 100%; width: 84%; border-radius: 3px; background: var(--lav); animation: fill 3.6s var(--ease) infinite; }
.gen ul { list-style: none; display: grid; gap: 7px; font-size: 12.5px; color: var(--on-dark); }
.gen li { display: flex; align-items: center; gap: 8px; }
.gen li svg { width: 15px; height: 15px; color: var(--lav); flex: none; }
.tolito { position: absolute; right: -14px; top: -8px; width: 112px; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); animation: float 5s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes fill { 0% { width: 8%; } 70%, 100% { width: 88%; } }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
.step { padding: 40px 36px 8px 0; position: relative; }
.step + .step { padding-left: 36px; border-left: 1px solid var(--line); }
.step .n { font-size: 5.2rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--lav); }
.step h3 { font-size: 1.35rem; margin: 6px 0 10px; letter-spacing: -.02em; }
.step p { color: var(--gray); }

/* Bento */
.bento-sec { background: var(--mist); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.tile { grid-column: span 2; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: 24px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
.tile.w6 { grid-column: span 6; }
.tile.ink { background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: var(--white); border-color: var(--navy); }
.tile .ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 14px; background: var(--lav); color: var(--navy); }
.tile.ink .ic { background: rgba(255, 255, 255, .12); color: var(--lav); }
.tile .ic svg { width: 26px; height: 26px; }
.tile h3 { font-size: 1.25rem; margin-bottom: 10px; letter-spacing: -.02em; }
.tile p { color: var(--gray); }
.tile.ink p { color: var(--on-dark); }
.tile.big h3 { font-size: 1.8rem; }
.tile.big .quote { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark); font-size: .95rem; color: var(--on-dark); }
.tile.big .quote b { color: var(--white); }

/* Panel con pestañas */
.dark { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: var(--white); }
.dark h2, .dark h3 { color: var(--white); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.tabs { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line-dark); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.tab { padding: 11px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--on-dark); font: 600 14px/1 var(--font); cursor: pointer; transition: background .3s, color .3s; }
.tab:hover { color: var(--white); }
.tab[aria-selected="true"] { background: var(--white); color: var(--navy); }
.pane { display: none; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; margin-top: 56px; }
.pane.on { display: grid; animation: show .5s var(--ease); }
@keyframes show { from { opacity: 0; transform: translateY(14px); } }
.pane .shot { padding: 10px; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-dark); }
.pane .shot img { width: 100%; border-radius: 14px; }
.pane h3 { font-size: 1.7rem; margin-bottom: 12px; letter-spacing: -.02em; }
.pane p { color: var(--on-dark); margin-bottom: 22px; }
.list { list-style: none; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; font-size: .98rem; }
.list svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--lav); }
.sec:not(.dark) .list svg { color: var(--navy); }

/* Ejemplos */
.ex-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.arrows { display: flex; gap: 10px; }
.arrows button { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--navy); cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.arrows button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.arrows svg { width: 20px; height: 20px; }
.ex-viewport { overflow: hidden; margin-top: 44px; padding: 8px 0 36px; cursor: grab; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ex-viewport.drag { cursor: grabbing; }
.ex-track { display: flex; align-items: flex-start; gap: 22px; width: max-content; will-change: transform; }
.ex img, .ex { -webkit-user-drag: none; user-select: none; }
.ex { flex: 0 0 min(460px, 80vw); border-radius: 20px; background: var(--white); border: 1px solid var(--line); overflow: hidden; text-decoration: none; box-shadow: 0 20px 44px -26px rgba(26, 26, 46, .45); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ex:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ex .top { display: flex; gap: 6px; padding: 12px 16px; background: var(--mist); border-bottom: 1px solid var(--line); }
.ex .top i { width: 9px; height: 9px; border-radius: 50%; background: var(--lav); }
.ex img { display: block; width: 100%; height: auto; object-fit: contain; background: var(--white); }

/* Planes */
.plans-sec { background: var(--mist); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 38px 34px; background: var(--white); border: 1px solid var(--line); border-radius: 28px; }
.plan.pro { background: linear-gradient(160deg, var(--navy), var(--navy-deep)); color: var(--white); border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-14px); }
.plan .tag { align-self: flex-start; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; background: var(--lav); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.plan h3 { font-size: 1.4rem; letter-spacing: -.02em; }
.plan .d { margin: 6px 0 24px; color: var(--gray); min-height: 50px; }
.plan.pro .d { color: var(--on-dark); }
.plan .p { font-size: 2.7rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.plan .pn { margin: 4px 0 26px; min-height: 22px; font-size: .86rem; color: var(--gray); }
.plan.pro .pn { color: var(--on-dark); }
.plan .list { padding-top: 26px; margin-bottom: 30px; border-top: 1px solid var(--line); flex: 1; }
.plan.pro .list { border-color: var(--line-dark); }
.plan.pro .list svg { color: var(--lav); }

/* Cifras */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); }
.num { padding: 8px 32px; }
.num + .num { border-left: 1px solid var(--line); }
.num strong { display: block; font-size: clamp(3rem, 7vw, 5.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.num span { display: block; margin-top: 10px; color: var(--gray); font-weight: 600; }

/* CTA final */
.final { padding: 0 0 112px; }
.final-box { position: relative; overflow: hidden; padding: 88px 32px; border-radius: 36px; text-align: center; background: linear-gradient(150deg, var(--navy), var(--navy-deep)); color: var(--white); }
.final-box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 56px 56px; opacity: .35; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%); }
.final-box > * { position: relative; }
.final-box h2 { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 760px; margin: 0 auto 18px; color: var(--white); }
.final-box p { color: var(--on-dark); max-width: 520px; margin: 0 auto 34px; font-size: 1.1rem; }

/* Footer */
.foot { padding: 64px 0 36px; text-align: center; color: var(--white); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); }
.foot img { height: 46px; width: auto; margin: 0 auto 24px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; margin-bottom: 26px; }
.foot nav a { color: var(--on-dark); font-weight: 600; text-decoration: none; transition: color .25s; }
.foot nav a:hover { color: var(--white); }
.foot p { color: var(--on-dark); font-size: .9rem; opacity: .8; }

/* Reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .sec { padding: 80px 0; }
  .hero { padding-top: 132px; }
  .hero-grid, .pane { grid-template-columns: 1fr; gap: 48px; }
  .stage { padding: 20px 0 60px; }
  .browser { transform: none; }
  .pill ul { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: span 2; }
  .plans { grid-template-columns: 1fr; }
  .plan.pro { transform: none; }
  .nums { grid-template-columns: 1fr; gap: 28px; }
  .num + .num { border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .tabs { width: 100%; overflow-x: auto; }
}
@media (max-width: 600px) {
  .pill { padding-left: 16px; }
  .pill .login { display: none; }
  .hero .acts .btn { width: 100%; }
  .gen { width: 210px; left: 0; }
  .tolito { width: 86px; right: 0; }
  .bento { grid-template-columns: 1fr; }
  .tile, .tile.w3, .tile.w4, .tile.w6 { grid-column: span 1; }
  .final-box { padding: 64px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .gen, .tolito, .gen .bar i, .pane.on { animation: none; }
  .btn, .tile, .ex { transition: none; }
}

/* Demostración: formulario de captación */
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.demo-points { margin-top: 28px; }
.lead-card { padding: 36px; border-radius: 28px; background: var(--white); color: var(--navy); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { margin-bottom: 18px; }
.f label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.f label span { font-weight: 400; color: var(--gray); }
.f input[type="text"], .f input[type="email"], .f input[type="tel"], .f textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid rgba(26, 26, 46, .22); border-radius: 12px; background: var(--white); color: var(--navy); font: 400 16px/1.4 var(--font); transition: border-color .25s, box-shadow .25s; }
.f textarea { resize: vertical; min-height: 96px; }
.f input:focus, .f textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px var(--lav); }
.f.bad input, .f.bad textarea { border-color: var(--navy); border-width: 2.5px; }
.msg { min-height: 0; margin-top: 6px; font-size: 13px; font-weight: 700; }
.msg:empty { display: none; }
.msg::before { content: "! "; font-weight: 800; }
.consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; color: var(--gray); cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--navy); }
.consent a { color: var(--navy); font-weight: 700; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 14px; font-size: 14px; font-weight: 600; text-align: center; }
.status:empty { display: none; }
.lead-ok { text-align: center; padding: 28px 8px; }
.lead-ok:focus { outline: none; }
.lead-ok .okic { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--navy); color: var(--white); }
.lead-ok .okic svg { width: 30px; height: 30px; }
.lead-ok h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--navy); }
.lead-ok p { color: var(--gray); }
@media (max-width: 980px) { .demo-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) { .f-row { grid-template-columns: 1fr; gap: 0; } .lead-card { padding: 26px 20px; } }

/* Botón secundario sobre el hero oscuro */
.hero .btn-line { color: var(--white); border-color: var(--line-dark); }
.hero .btn-line:hover { border-color: var(--white); }
.pill { background: rgba(255, 255, 255, .97); }
