/* WhatsFire — Secciones nuevas y pulido visual de la página principal */
.lx-center { text-align: center; }
.lx-center .sec-desc { margin: 0 auto; }

/* ── Pulido general ───────────────────────────────────────────────── */
#navbar { transition: box-shadow .3s, background .3s; }
#navbar.lx-scrolled { background: rgba(255, 255, 255, .86) !important; backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 6px 24px -12px rgba(27, 43, 94, .25); }
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle, rgba(46, 204, 143, .28), transparent 70%); animation: lxFloat 14s ease-in-out infinite; }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -160px; background: radial-gradient(circle, rgba(45, 74, 156, .18), transparent 70%); animation: lxFloat 18s ease-in-out infinite reverse; }
.hero > * { position: relative; z-index: 1; }
@keyframes lxFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 26px); } }
.bc, .pc, .test-card { transition: transform .3s, box-shadow .3s, border-color .3s; }
.bc:hover { box-shadow: 0 22px 50px -24px rgba(27, 43, 94, .35); }
.pc:hover { border-color: rgba(46, 204, 143, .55); }
.pc-usd { color: var(--mint-dark) !important; font-weight: 600; }
.lx-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 2000;
  background: linear-gradient(90deg, #2ECC8F, #2D4A9C); transition: width .1s linear; }

/* ── Franja de confianza ──────────────────────────────────────────── */
.lx-trust { overflow: hidden; padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: #fff; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.lx-trust-track { display: flex; gap: 14px; width: max-content; animation: lxMarquee 42s linear infinite; }
.lx-trust:hover .lx-trust-track { animation-play-state: paused; }
.lx-chip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 16px; border-radius: 999px;
  background: var(--bg); color: var(--blue); font-weight: 600; font-size: .88rem; border: 1px solid var(--border); }
.lx-chip svg { color: var(--mint-dark); }
@keyframes lxMarquee { to { transform: translateX(-50%); } }

/* ── Cómo funciona ────────────────────────────────────────────────── */
.lx-how { background: linear-gradient(180deg, #fff, var(--bg)); }
.lx-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 52px; padding: 0; position: relative; }
.lx-steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--mint) 0 10px, transparent 10px 18px); opacity: .55; }
.lx-step { position: relative; background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 26px 22px 24px;
  box-shadow: var(--sh-sm); transition: transform .3s, box-shadow .3s; }
.lx-step:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.lx-step-n { position: absolute; top: 14px; right: 16px; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--blue-light); font-family: 'Plus Jakarta Sans', sans-serif; }
.lx-step-ic { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px;
  background: linear-gradient(135deg, #2ECC8F, #1DB879); color: #fff; font-size: 1.4rem; box-shadow: 0 12px 26px -10px rgba(46, 204, 143, .7); margin-bottom: 16px; }
.lx-step h3 { font-size: 1.06rem; color: var(--blue); margin-bottom: 8px; font-family: 'Plus Jakarta Sans', sans-serif; }
.lx-step p { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ── Para quién es ────────────────────────────────────────────────── */
.lx-how { padding-bottom: 56px; }
.lx-who { padding-top: 56px; }
.lx-who-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 48px; }
.lx-sectors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lx-sector { display: flex; align-items: center; gap: 12px; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--border);
  background: #fff; color: var(--blue); font: 600 .95rem 'Plus Jakarta Sans', sans-serif; cursor: pointer; transition: all .25s; }
.lx-sector svg { font-size: 1.3rem; color: var(--blue-mid); flex-shrink: 0; transition: color .25s; }
.lx-sector:hover { border-color: var(--mint); transform: translateY(-2px); }
.lx-sector.on { background: linear-gradient(135deg, #1B2B5E, #2D4A9C); color: #fff; border-color: transparent; box-shadow: 0 16px 34px -16px rgba(27, 43, 94, .7); }
.lx-sector.on svg { color: #7CF0C2; }
.lx-phone { border-radius: 30px; background: #0B141A; padding: 12px; box-shadow: 0 40px 80px -30px rgba(11, 20, 26, .55); max-width: 380px; justify-self: center; width: 100%; }
.lx-phone-top { display: flex; align-items: center; gap: 10px; background: #1F2C34; color: #E9EDEF; padding: 12px 14px; border-radius: 20px 20px 6px 6px; }
.lx-phone-top b { display: block; font-size: .92rem; }
.lx-phone-top small { color: #8696A0; font-size: .74rem; }
.lx-av { width: 36px; height: 36px; border-radius: 50%; background: #2ECC8F; color: #fff; display: flex; align-items: center; justify-content: center; }
.lx-phone-body { min-height: 260px; padding: 22px 14px; border-radius: 6px 6px 20px 20px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  background: #0B141A radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0/16px 16px; }
.lx-bubble { align-self: flex-end; max-width: 88%; background: #005C4B; color: #E9EDEF; padding: 10px 12px 22px; border-radius: 12px 12px 2px 12px;
  font-size: .9rem; line-height: 1.5; position: relative; animation: lxPop .35s ease; }
.lx-time { position: absolute; right: 10px; bottom: 5px; font-size: .68rem; color: #8FC3B8; display: inline-flex; align-items: center; gap: 0; }
.lx-time svg { color: #53BDEB; margin-left: -4px; }
.lx-time svg:first-of-type { margin-left: 4px; }
.lx-note { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; color: #8696A0; background: #182229; padding: 6px 10px; border-radius: 8px; }
.lx-note svg { color: #FFD279; }
@keyframes lxPop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }

/* ── Calculadora ──────────────────────────────────────────────────── */
.lx-calc { padding-top: 40px; }
.lx-calc-box { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px;
  border-radius: 28px; padding: 46px; background: radial-gradient(120% 140% at 0% 0%, #2D4A9C 0%, #1B2B5E 45%, #0F1A3D 100%); color: #fff;
  box-shadow: 0 40px 90px -40px rgba(27, 43, 94, .7); }
.lx-calc-box::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 204, 143, .35), transparent 70%); pointer-events: none; }
.lx-calc-desc { color: rgba(255, 255, 255, .72); line-height: 1.7; margin-bottom: 26px; }
.lx-range-label { display: block; font-weight: 600; margin-bottom: 12px; }
.lx-range-label b { font-size: 1.6rem; color: #7CF0C2; margin-left: 6px; }
.lx-range { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 8px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, #2ECC8F var(--fill, 5%), rgba(255, 255, 255, .18) var(--fill, 5%)); }
.lx-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 5px solid #2ECC8F; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.lx-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid #2ECC8F; }
.lx-range-scale { display: flex; justify-content: space-between; font-size: .75rem; color: rgba(255, 255, 255, .5); margin-top: 8px; }
.lx-fine { font-size: .76rem; color: rgba(255, 255, 255, .5); margin-top: 20px; line-height: 1.6; }
.lx-calc-right { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.lx-kpi { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.lx-kpi span { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .75); font-size: .88rem; }
.lx-kpi b { font-size: 1.15rem; text-align: right; }
.lx-kpi-ok b { color: #7CF0C2; font-size: .98rem; }
.lx-rec { background: #fff; color: var(--blue); border-radius: 18px; padding: 20px; }
.lx-rec small { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .7rem; color: var(--mint-dark); }
.lx-rec-name { font-size: 1.35rem; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; margin-top: 4px; }
.lx-rec-price { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.lx-rec-price small { font-size: .85rem; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 600; }
.lx-rec-per { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.lx-rec-btn { width: 100%; justify-content: center; text-decoration: none; }

/* ── Tabla comparativa ────────────────────────────────────────────── */
.lx-compare { margin-top: 26px; text-align: center; }
.lx-compare-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 14px; border: 1.5px solid var(--border);
  background: #fff; color: var(--blue); font: 700 .95rem 'Plus Jakarta Sans', sans-serif; cursor: pointer; transition: all .25s; }
.lx-compare-toggle:hover { border-color: var(--mint); }
.lx-chev { display: inline-flex; transition: transform .3s; }
.lx-compare-toggle[aria-expanded="true"] .lx-chev { transform: rotate(180deg); }
.lx-compare-body { margin-top: 20px; text-align: left; animation: lxPop .35s ease; }
.lx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 20px; border: 1.5px solid var(--border); background: #fff; box-shadow: var(--sh-sm); }
.lx-table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9rem; }
.lx-table th, .lx-table td { padding: 14px 16px; border-bottom: 1px solid var(--blue-light); text-align: center; }
.lx-table thead th { position: sticky; top: 0; background: #fff; color: var(--blue); font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif;
  border-bottom: 3px solid var(--pc, var(--border)); }
.lx-table thead th span { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mint-dark); }
.lx-table tbody th { text-align: left; color: var(--text); font-weight: 600; position: sticky; left: 0; background: #fff; z-index: 1; }
.lx-table thead th:first-child { text-align: left; left: 0; z-index: 2; }
.lx-table td small { color: var(--muted); margin-left: 2px; }
.lx-table .pop { background: rgba(46, 204, 143, .06); }
.lx-yes { display: inline-flex; width: 24px; height: 24px; border-radius: 50%; align-items: center; justify-content: center; background: var(--mint-light); color: var(--mint-dark); }
.lx-no { color: #CBD5E1; }
.lx-buy-row td, .lx-buy-row th { border-bottom: 0; }
.lx-mini-btn { display: inline-block; padding: 8px 16px; border-radius: 10px; background: var(--mint); color: #fff; font-weight: 700; font-size: .82rem; text-decoration: none; }
.lx-mini-btn:hover { background: var(--mint-dark); }

/* ── Llamado final ────────────────────────────────────────────────── */
.lx-final { padding-top: 30px; }
.lx-final-box { position: relative; overflow: hidden; max-width: 1200px; margin: 0 auto; border-radius: 30px; padding: 64px 40px; text-align: center;
  background: linear-gradient(135deg, #1DB879 0%, #2ECC8F 40%, #2D4A9C 100%); color: #fff; box-shadow: 0 40px 90px -40px rgba(29, 184, 121, .7); }
.lx-orb { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.lx-orb1 { width: 320px; height: 320px; left: -100px; top: -140px; animation: lxFloat 16s ease-in-out infinite; }
.lx-orb2 { width: 240px; height: 240px; right: -60px; bottom: -120px; animation: lxFloat 12s ease-in-out infinite reverse; }
.lx-final-in { position: relative; z-index: 1; }
.lx-final h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 14px; }
.lx-final p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; max-width: 560px; margin: 0 auto 28px; line-height: 1.7; }
.lx-final-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lx-final .btn-cta { background: #fff; color: var(--blue); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35); }
.lx-final .btn-cta:hover { background: #F0FFF8; }
.lx-btn-glass { display: inline-flex; align-items: center; gap: 8px; padding: 15px 28px; border-radius: 14px; color: #fff; font-weight: 600; text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); transition: background .25s; }
.lx-btn-glass:hover { background: rgba(255, 255, 255, .2); }
.lx-final-points { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 26px; font-size: .9rem; color: rgba(255, 255, 255, .9); }
.lx-final-points span { display: inline-flex; align-items: center; gap: 6px; }

/* ── Barra fija en celulares ──────────────────────────────────────── */
.lx-mbar { display: none; }
@media (max-width: 768px) {
  .lx-mbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 900; padding: 10px 10px 10px 16px; border-radius: 18px;
    background: rgba(27, 43, 94, .94); backdrop-filter: blur(10px); color: #fff; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45);
    transform: translateY(140%); transition: transform .35s ease; }
  .lx-mbar.on { transform: none; }
  .lx-mbar-txt b { display: block; font-size: .95rem; }
  .lx-mbar-txt small { color: rgba(255, 255, 255, .7); font-size: .76rem; }
  .lx-mbar .btn-cta { padding: 11px 18px; font-size: .88rem; box-shadow: none; white-space: nowrap; }
  body.lx-has-mbar footer { padding-bottom: 96px; }

  .lx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-steps::before { display: none; }
  .lx-who-wrap { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .lx-calc-box { grid-template-columns: minmax(0, 1fr); padding: 30px 22px; gap: 24px; }
  .lx-final-box { padding: 46px 22px; border-radius: 24px; }
}
@media (max-width: 520px) {
  .lx-steps { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .lx-sectors { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .lx-sector { padding: 12px; font-size: .82rem; gap: 8px; }
  .lx-sector svg { font-size: 1.1rem; }
  .lx-kpi { flex-direction: column; align-items: flex-start; gap: 4px; }
  .lx-kpi b { text-align: left; }
  .lx-final-actions .btn-cta, .lx-final-actions .lx-btn-glass { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-trust-track, .hero::before, .hero::after, .lx-orb { animation: none !important; }
  .lx-trust-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .lx-trust-track [aria-hidden="true"] { display: none; }
}
