/* ============================================================
   TENSA — lp.css  (Landing de Conversión)
   ============================================================ */

/* ─── VARIABLES ─── */
:root {
  --pink:      #25D366;
  --pink-dark: #c4093a;
  --pink-glow: rgba(241, 12, 69, 0.35);
  --black:     #050505;
  --surface:   rgba(255,255,255,0.04);
  --border:    rgba(255,255,255,0.08);
  --white:     #ffffff;
  --w60:       rgba(255,255,255,0.6);
  --w30:       rgba(255,255,255,0.3);
  --w12:       rgba(255,255,255,0.12);
  --font-disp: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:  cubic-bezier(0, 0, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
img { display: block; }

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--pink); }

/* ─── THREE.JS CANVAS ─── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ─── NANO-NAVBAR ─── */
.lp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s;
}
.lp-nav.scrolled {
  background: rgba(5,5,5,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.lp-nav-logo img { height: 92px; width: auto; }
.lp-nav-cta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--w60);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.2s;
}
.lp-nav-cta:hover { color: var(--white); border-color: var(--w30); }

/* ─── BLOQUE 1 — LA PREGUNTA ─── */
#b-pregunta {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
#b-pregunta::before {
  content: '';
  position: absolute;
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(241,12,69,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.pregunta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 28px;
  padding: 9px 20px;
  border: 1px solid rgba(241,12,69,0.4);
  border-radius: 40px;
  background: rgba(241,12,69,0.08);
  backdrop-filter: blur(8px);
  opacity: 0;
  animation: fade-up 0.6s var(--ease-out) 0.2s forwards;
}

.eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px var(--pink);
  animation: dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dot-pulse {
  0%,100%{ box-shadow: 0 0 6px var(--pink); }
  50%    { box-shadow: 0 0 18px var(--pink); transform: scale(1.2); }
}

.pregunta-hl-dynamic {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--w30);
  text-align: center;
  margin-bottom: 12px;
  min-height: 1em;
  opacity: 0;
  animation: fade-up 0.5s var(--ease-out) 0.3s forwards;
}

.pregunta-titulo {
  font-family: var(--font-disp);
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  text-align: center;
  max-width: 900px;
  margin-bottom: 48px;
  opacity: 0;
  animation: fade-up 0.7s var(--ease-out) 0.4s forwards;
}
.pregunta-titulo span { color: var(--pink); }

.pregunta-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fade-up 0.6s var(--ease-out) 0.7s forwards;
}

.btn-respuesta {
  padding: 16px 36px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.22s var(--ease);
}
.btn-respuesta--si {
  background: var(--surface);
  border: 1px solid var(--w12);
  color: var(--w60);
}
.btn-respuesta--si:hover { background: rgba(255,255,255,0.08); color: var(--white); border-color: var(--w30); }
.btn-respuesta--no {
  background: var(--pink);
  border: 1px solid transparent;
  color: white;
  box-shadow: 0 0 32px rgba(241,12,69,0.3);
}
.btn-respuesta--no:hover { background: var(--pink-dark); box-shadow: 0 0 52px rgba(241,12,69,0.5); transform: translateY(-2px); }

.respuesta-reveal {
  margin-top: 36px;
  max-width: 560px;
  width: 100%;
  text-align: left;
  padding: 24px 28px;
  border-radius: 10px;
  border-left: 3px solid var(--pink);
  background: rgba(241,12,69,0.06);
  font-size: 1rem;
  color: var(--w60);
  line-height: 1.7;
  display: none;
}
.respuesta-reveal.visible { display: block; animation: fade-up 0.4s var(--ease-out) forwards; }
.respuesta-reveal strong { color: var(--white); }

/* ── Inline CTA ── */
.inline-cta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-direction: column;
  gap: 12px;
}
.inline-cta-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--w30);
  text-transform: uppercase;
}
.inline-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.inline-cta-input {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  color: var(--white);
  font-size: 0.95rem;
  padding: 12px 16px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.inline-cta-input::placeholder { color: rgba(255,255,255,0.22); }
.inline-cta-input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(37,211,102,0.12);
}
.inline-cta-btn {
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 7px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.inline-cta-btn:hover {
  background: var(--pink-dark);
  box-shadow: 0 0 24px rgba(37,211,102,0.3);
  transform: translateY(-1px);
}
.inline-cta-note {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .inline-cta-row { flex-direction: column; }
  .inline-cta-btn { width: 100%; text-align: center; }
}

.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--w30);
  opacity: 0;
  animation: fade-in 1s var(--ease-out) 1.4s forwards;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--w30), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

/* ─── BLOQUE 2 — EL ESPEJO ─── */
#b-espejo {
  padding: 100px 24px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.espejo-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.espejo-titulo {
  font-family: var(--font-disp);
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  line-height: 0.95;
  margin-bottom: 56px;
}
.espejo-cards { display: flex; flex-direction: column; gap: 2px; }
.espejo-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), border-color 0.25s, background 0.25s;
}
.espejo-card.revealed { opacity: 1; transform: translateX(0); }
.espejo-card:hover { border-color: rgba(241,12,69,0.25); background: rgba(241,12,69,0.04); }
.espejo-card-text { font-size: 1rem; color: var(--w60); line-height: 1.6; }
.espejo-card-text strong { color: var(--white); }
.espejo-card-monto {
  font-family: var(--font-disp);
  font-size: 1.8rem;
  color: var(--pink);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ─── BLOQUE 3 — LA DEMO ─── */
/* ─── BLOQUE 3 — DEMO INTERACTIVO ─── */
#b-demo {
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, transparent, rgba(241,12,69,0.03) 40%, transparent);
  position: relative;
  z-index: 1;
}
.demo-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--pink);
  text-transform: uppercase;
  margin-bottom: 16px;
  text-align: center;
}
.demo-titulo {
  font-family: var(--font-disp);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  text-align: center;
  margin-bottom: 16px;
  line-height: 0.95;
}
.demo-subtitulo {
  font-size: 0.92rem;
  color: var(--w60);
  text-align: center;
  margin-bottom: 48px;
  max-width: 400px;
  line-height: 1.6;
}

/* Two-col: chips left, phone right */
.demo-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  width: 100%;
  max-width: 680px;
}

/* ── Chips ── */
.q-chips { display: flex; flex-direction: column; gap: 8px; }
.q-chips-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--w30);
  text-transform: uppercase;
  margin-bottom: 2px;
}
.q-chip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--w60);
  line-height: 1.4;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
  width: 100%;
}
.q-chip:hover {
  border-color: rgba(37,211,102,0.3);
  background: rgba(37,211,102,0.05);
  color: var(--white);
  transform: translateX(2px);
}
.q-chip--active {
  border-color: var(--pink) !important;
  background: rgba(37,211,102,0.08) !important;
  color: var(--white) !important;
}
.q-chip--active .q-chip-num { color: var(--pink); }
.q-chip-num {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  margin-top: 2px;
  transition: color 0.2s;
}
.q-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(255,255,255,0.18);
  letter-spacing: 0.06em;
  margin-top: 4px;
  padding: 0 2px;
}
.q-hint-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--pink);
  flex-shrink: 0;
  animation: blink-dot 1.6s ease-in-out infinite;
}
@keyframes blink-dot { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* ── WhatsApp phone ── */
.wa-phone {
  width: 100%;
  background: #111b21;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
}

/* Scan line */
.wa-scan {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}
.wa-scan.active {
  opacity: 1;
  animation: lp-scan 1.1s ease-in-out infinite;
}
@keyframes lp-scan {
  0%   { transform: translateY(0);    opacity: 0.9; }
  100% { transform: translateY(340px); opacity: 0; }
}

.wa-hdr {
  background: #1f2c33;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-avatar-wrap {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #1aaa52);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-disp); font-size: 1rem; color: white; flex-shrink: 0;
  transition: box-shadow 0.3s;
}
.wa-avatar-wrap.thinking {
  box-shadow: 0 0 0 3px rgba(37,211,102,0.4), 0 0 16px rgba(37,211,102,0.3);
  animation: av-glow 1s ease-in-out infinite;
}
@keyframes av-glow {
  0%,100% { box-shadow: 0 0 0 3px rgba(37,211,102,0.4), 0 0 14px rgba(37,211,102,0.25); }
  50%     { box-shadow: 0 0 0 5px rgba(37,211,102,0.25), 0 0 26px rgba(37,211,102,0.4); }
}
.wa-info { flex: 1; }
.wa-name { font-weight: 700; font-size: 0.88rem; color: #e9edef; }
.wa-status { font-size: 0.68rem; color: #8696a0; font-family: var(--font-mono); transition: color 0.2s; }
.wa-status.analyzing { color: var(--pink); }

/* Signal bars */
.wa-signal {
  display: flex; align-items: flex-end; gap: 2px; height: 13px;
}
.wa-signal span {
  width: 3px; border-radius: 1px;
  background: rgba(134,150,160,0.35);
  transition: background 0.2s, height 0.15s;
}
.wa-signal span:nth-child(1) { height: 5px; }
.wa-signal span:nth-child(2) { height: 9px; }
.wa-signal span:nth-child(3) { height: 13px; }
.wa-signal.active span { background: var(--pink); }
.wa-signal.active span:nth-child(1) { animation: s1 0.6s ease-in-out infinite; }
.wa-signal.active span:nth-child(2) { animation: s2 0.6s ease-in-out infinite 0.1s; }
.wa-signal.active span:nth-child(3) { animation: s3 0.6s ease-in-out infinite 0.2s; }
@keyframes s1 { 0%,100%{height:5px}  50%{height:11px} }
@keyframes s2 { 0%,100%{height:9px}  50%{height:5px}  }
@keyframes s3 { 0%,100%{height:13px} 50%{height:9px}  }

.wa-body {
  background: #0b141a;
  padding: 14px 12px;
  height: 320px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.07) transparent;
}
.wa-date-chip {
  text-align: center;
  font-size: 0.65rem;
  color: #8696a0;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  padding: 2px 9px;
  align-self: center;
  margin-bottom: 3px;
  font-family: var(--font-mono);
}
.wa-msg {
  max-width: 84%;
  border-radius: 7px;
  padding: 8px 11px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #e9edef;
  animation: lp-msg-in 0.25s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes lp-msg-in {
  from { opacity:0; transform:translateY(7px) scale(0.96); }
  to   { opacity:1; transform:translateY(0)   scale(1); }
}
.wa-msg--user { background: #005c4b; align-self: flex-end;  border-radius: 7px 7px 0 7px; }
.wa-msg--bot  { background: #1f2c33; align-self: flex-start; border-radius: 7px 7px 7px 0; }
.wa-msg-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.57rem;
  color: var(--pink);
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.wa-time { font-size: 0.6rem; color: #8696a0; text-align: right; margin-top: 3px; font-family: var(--font-mono); }

/* Typing indicator */
.wa-typing-bubble {
  background: #1f2c33; align-self: flex-start;
  border-radius: 7px 7px 7px 0;
  padding: 10px 13px;
  display: flex; gap: 4px; align-items: center;
  animation: lp-msg-in 0.2s ease forwards;
}
.db { width:6px; height:6px; border-radius:50%; background:#8696a0; animation: dbounce 1.2s ease-in-out infinite; }
.db:nth-child(2){animation-delay:0.2s;} .db:nth-child(3){animation-delay:0.4s;}
@keyframes dbounce { 0%,60%,100%{transform:translateY(0);} 30%{transform:translateY(-5px);} }

/* Inline data card */
.wa-data-card {
  background: rgba(37,211,102,0.06);
  border: 1px solid rgba(37,211,102,0.18);
  border-radius: 7px;
  padding: 9px 11px;
  margin-top: 7px;
}
.wa-data-title {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.12em;
  color: rgba(37,211,102,0.7);
  text-transform: uppercase;
  margin-bottom: 7px;
}
.wa-bar-row {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 4px; font-size: 0.7rem;
}
.wa-bar-label { color: #8696a0; width: 72px; flex-shrink: 0; font-family: var(--font-mono); font-size: 0.62rem; }
.wa-bar-track { flex:1; height:4px; background:rgba(255,255,255,0.06); border-radius:2px; overflow:hidden; }
.wa-bar-fill { height:100%; border-radius:2px; width:0%; transition: width 0.8s cubic-bezier(0.4,0,0.2,1); }
.wa-bar-fill--red    { background: #ef4444; }
.wa-bar-fill--amber  { background: #f59e0b; }
.wa-bar-fill--green  { background: #22c55e; }
.wa-bar-fill--blue   { background: #3b82f6; }
.wa-bar-fill--purple { background: #a855f7; }
.wa-bar-val { font-family: var(--font-mono); font-size: 0.62rem; color: #e9edef; width: 56px; text-align:right; flex-shrink:0; }

.wa-ftr {
  background: #1f2c33; padding: 9px 12px;
  display:flex; align-items:center; gap:8px;
}
.wa-input-bar {
  flex:1; background:#2a3c44; border-radius:18px; padding:8px 13px;
  font-size: 0.78rem; color: #8696a0;
  font-family: var(--font-body);
  transition: color 0.2s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wa-input-bar.typing-in { color: #e9edef; }
.wa-send-btn { width:34px; height:34px; border-radius:50%; background:#00a884; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.wa-send-btn svg { width:14px; height:14px; fill:white; transform:rotate(45deg); }

/* Responsive */
@media (max-width: 640px) {
  .demo-layout {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
  .q-chips {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 7px;
  }
  .q-chips-label { width: 100%; }
  .q-chip { flex: 1 1 calc(50% - 7px); min-width: 130px; }
  .q-hint { width: 100%; }
  .wa-body { height: 280px; }
}

/* ─── BLOQUE 4 — EL PRECIO ─── */
#b-precio {
  padding: 100px 24px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.precio-label {
  font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.22em; color: var(--pink);
  text-transform: uppercase; margin-bottom: 20px;
}
.precio-comparacion {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-bottom: 12px; flex-wrap: wrap;
}
.precio-tachado {
  font-family: var(--font-disp);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--w30);
  position: relative;
  letter-spacing: 0.02em;
}
.precio-tachado::after {
  content: ''; position: absolute; top: 50%;
  left: -4px; right: -4px; height: 3px;
  background: var(--w30); transform: rotate(-8deg);
}
.precio-flecha { font-size: 2rem; color: var(--w30); }
.precio-real {
  font-family: var(--font-disp);
  font-size: clamp(4rem, 14vw, 9rem);
  color: var(--pink);
  letter-spacing: 0.01em;
  text-shadow: 0 0 60px rgba(241,12,69,0.4);
  line-height: 1;
}
.precio-periodo {
  font-family: var(--font-mono);
  font-size: 0.75rem; letter-spacing: 0.12em; color: var(--w30); margin-bottom: 24px;
}
.precio-copy {
  font-size: 1.1rem; color: var(--w60);
  max-width: 480px; margin: 0 auto 16px; line-height: 1.7;
}
.precio-copy strong { color: var(--white); }
.precio-features {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px;
}
.precio-feat {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--w60); padding: 6px 12px; border: 1px solid var(--border);
  border-radius: 20px; background: var(--surface);
}
.precio-feat::before { content: '✓'; color: var(--pink); font-weight: 700; }

/* ─── BLOQUE 5 — FORMULARIO ─── */
#b-form {
  padding: 80px 24px 120px;
  display: flex; flex-direction: column; align-items: center;
  position: relative;
  z-index: 1;
}
.form-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.22em; color: var(--pink);
  text-transform: uppercase; text-align: center; margin-bottom: 16px;
}
.form-titulo {
  font-family: var(--font-disp);
  font-size: clamp(2.4rem, 8vw, 5.5rem);
  text-align: center; line-height: 0.95; margin-bottom: 8px;
}
.form-sub {
  text-align: center; color: var(--w30);
  font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.04em; margin-bottom: 48px;
}
.form-card {
  width: 100%; max-width: 460px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 36px; position: relative; overflow: hidden;
}
.form-card::before {
  content: ''; position: absolute; top: -1px; left: 20%; right: 20%;
  height: 1px; background: linear-gradient(to right, transparent, var(--pink), transparent);
}
.form-steps {
  display: flex; align-items: center; gap: 0; margin-bottom: 28px; justify-content: center;
}
.form-step-dot {
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  background: var(--surface); border: 1px solid var(--border); color: var(--w30);
  transition: all 0.3s; position: relative; z-index: 1;
}
.form-step-dot.active { background: var(--pink); border-color: var(--pink); color: white; box-shadow: 0 0 16px rgba(241,12,69,0.4); }
.form-step-dot.done { background: rgba(34,197,94,0.2); border-color: #22c55e; color: #22c55e; }
.form-step-line { flex: 1; height: 1px; background: var(--border); max-width: 60px; transition: background 0.3s; }
.form-step-line.done { background: #22c55e; }
.form-panel { display: none; }
.form-panel.active { display: block; animation: fade-up 0.35s var(--ease-out) forwards; }
.form-panel-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 4px; }
.form-panel-sub { font-size: 0.82rem; color: var(--w30); margin-bottom: 24px; }
.field { margin-bottom: 14px; }
.field label {
  display: block; font-family: var(--font-mono);
  font-size: 0.65rem; letter-spacing: 0.1em;
  color: var(--w30); text-transform: uppercase; margin-bottom: 6px;
}
.field input {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  padding: 12px 14px; color: var(--white); font-size: 0.95rem;
  font-family: var(--font-body); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(241,12,69,0.12); }
.field input.error { border-color: var(--pink) !important; }
.field-hint { font-size: 0.72rem; color: var(--w30); margin-top: 5px; font-family: var(--font-mono); }
.field-error { font-size: 0.72rem; color: var(--pink); margin-top: 4px; display: none; }
.field-error.visible { display: block; }
.form-privacy {
  font-size: 0.72rem; color: var(--w30); text-align: center;
  margin-top: 12px; line-height: 1.5;
}
.form-privacy a { color: var(--pink); text-decoration: underline; }
.btn-cta {
  width: 100%; padding: 15px 24px;
  background: var(--pink); border: none; border-radius: 8px;
  color: white; font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  cursor: pointer; margin-top: 8px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  position: relative; overflow: hidden;
}
.btn-cta:hover { background: var(--pink-dark); box-shadow: 0 0 40px rgba(241,12,69,0.45); transform: translateY(-1px); }
.btn-cta:active { transform: scale(0.98); }
.btn-cta.loading { pointer-events: none; opacity: 0.7; }
.btn-cta.loading::after {
  content: ''; position: absolute; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: white;
  border-radius: 50%; animation: spin 0.7s linear infinite;
  right: 16px; top: 50%; transform: translateY(-50%);
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.btn-back {
  background: none; border: none; color: var(--w30); font-size: 0.82rem;
  cursor: pointer; margin-top: 12px; display: block; width: 100%;
  text-align: center; transition: color 0.2s; padding: 4px;
}
.btn-back:hover { color: var(--w60); }
.pse-badges {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.pse-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px; border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; color: var(--w60);
}
.pse-resumen {
  background: rgba(241,12,69,0.06); border: 1px solid rgba(241,12,69,0.15);
  border-radius: 8px; padding: 14px 16px; margin-bottom: 20px;
}
.pse-row {
  display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem;
}
.pse-row + .pse-row { margin-top: 6px; }
.pse-row.total { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(241,12,69,0.15); }
.pse-label { color: var(--w60); }
.pse-val { font-family: var(--font-mono); font-weight: 700; color: var(--white); }
.pse-val.green { color: #4ade80; }
.select-styled {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  padding: 12px 14px; color: var(--white); font-size: 0.93rem;
  font-family: var(--font-body); outline: none; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  transition: border-color 0.2s;
}
.select-styled:focus { border-color: var(--pink); }
.select-styled option { background: #1a1a1a; }
.radio-group { display: flex; gap: 10px; }
.radio-opt {
  flex: 1; padding: 10px; border: 1px solid var(--border); border-radius: 6px;
  display: flex; align-items: center; gap: 8px; font-size: 0.85rem;
  color: var(--w60); cursor: pointer; transition: all 0.2s; user-select: none;
}
.radio-opt.selected { border-color: var(--pink); background: rgba(241,12,69,0.08); color: var(--white); }
.radio-opt input { display: none; }

/* ─── FOOTER ─── */
.lp-footer {
  border-top: 1px solid var(--border); padding: 28px 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  position: relative; z-index: 1;
}
.lp-footer-copy { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; color: var(--w30); }
.lp-footer-links { display: flex; gap: 20px; }
.lp-footer-links a { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; color: var(--w30); transition: color 0.2s; }
.lp-footer-links a:hover { color: var(--pink); }

/* ─── ANIMATIONS ─── */
@keyframes fade-up { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }
@keyframes fade-in  { from{opacity:0;} to{opacity:1;} }

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .lp-nav { padding: 14px 20px; }
  .pregunta-btns { flex-direction: column; align-items: center; }
  .btn-respuesta { width: 100%; max-width: 320px; text-align: center; }
  #b-espejo { padding: 60px 20px; }
  .espejo-card { grid-template-columns: 1fr; gap: 8px; }
  #b-demo, #b-precio, #b-form { padding: 60px 20px; }
  #b-form { padding-bottom: 80px; }
  .form-card { padding: 24px 20px; }
  .lp-footer { flex-direction: column; padding: 24px 20px; }
}