/* =====================================================================
   NexCard — landing comercial
   ===================================================================== */
:root {
  --navy: #07152E; --navy-2: #0B1F45; --electric: #0866FF; --cyan: #00D5FF; --mist: #F3F6FB;
  --ink: #0B1B33; --ink-2: #4A5A75; --line: #E1E7F2;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --r: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
svg { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr, .skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { clip: auto; width: auto; height: auto; padding: .6rem 1rem; background: #fff; color: var(--navy); z-index: 100; top: 8px; left: 8px; border-radius: 8px; }
.lp-wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.lp-narrow { width: min(860px, 100% - 40px); }
.lp-center { text-align: center; margin-top: 2rem; }
.lp-muted { color: #7F95BC; font-size: .9rem; }

/* ---------- Botones */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .8rem 1.5rem; border-radius: 14px; font: 700 1rem var(--body); text-decoration: none; border: 2px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn--primary { background: var(--electric); color: #fff; box-shadow: 0 10px 30px rgba(8, 102, 255, .35); }
.lp-btn--primary:hover { background: #0558D9; box-shadow: 0 14px 34px rgba(8, 102, 255, .45); }
.lp-btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }
.lp-btn--ghost:hover { background: rgba(255,255,255,.14); }
.lp-btn--outline { color: var(--electric); border-color: var(--electric); background: #fff; }
.lp-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.lp-actions--center { justify-content: center; }

/* ---------- Encabezado */
.lp-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.lp-header.is-scrolled { background: rgba(7, 21, 46, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.lp-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font: 700 1.25rem var(--display); }
.lp-brand img { border-radius: 10px; }
.lp-nav { display: flex; align-items: center; gap: 1.6rem; }
.lp-nav a { color: #C9D6EE; text-decoration: none; font-weight: 600; font-size: .95rem; }
.lp-nav a:hover { color: #fff; }
.lp-nav .lp-nav-cta { color: #fff; background: var(--electric); padding: .6rem 1.1rem; border-radius: 12px; }
.lp-menu-btn { display: none; width: 46px; height: 46px; border: 0; background: rgba(255,255,255,.08); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.lp-menu-btn span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
@media (max-width: 900px) {
  .lp-menu-btn { display: flex; }
  .lp-nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 20px 1.5rem; background: var(--navy); box-shadow: 0 20px 40px rgba(0,0,0,.3); transform: translateY(-120%); transition: transform .25s; }
  .lp-nav.is-open { transform: none; }
  .lp-nav a { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 1.05rem; }
  .lp-nav .lp-nav-cta { margin-top: 1rem; text-align: center; border: 0; }
  .lp-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .lp-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .lp-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero */
.lp-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 130px 0 90px; }
.lp-hero-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 78% 40%, rgba(8, 102, 255, .45), transparent 70%), radial-gradient(40% 40% at 15% 85%, rgba(0, 213, 255, .14), transparent 70%); }
.lp-hero-glow::after { content: ""; position: absolute; right: -10%; top: 50%; width: 900px; height: 900px; transform: translateY(-50%); border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 88px, rgba(0, 213, 255, .07) 89px 90px); }
.lp-hero-grid { position: relative; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .lp-hero-grid { grid-template-columns: 1.05fr .95fr; } }
.lp-eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.2rem; padding: .4rem .9rem; border-radius: 99px; background: rgba(0, 213, 255, .1); color: var(--cyan); font-weight: 700; font-size: .85rem; border: 1px solid rgba(0, 213, 255, .25); }
.lp-hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; max-width: 14ch; }
.lp-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #B9C8E4; max-width: 46ch; margin: 1.4rem 0 0; }
.lp-note { color: #8FA6CF; font-size: .9rem; margin: 1rem 0 0; }
.lp-hero-visual { position: relative; display: flex; justify-content: center; min-height: 520px; }
.lp-hero-img { border-radius: 28px; box-shadow: 0 40px 90px rgba(0,0,0,.45); max-height: 620px; width: auto; }

/* Celular con tarjeta de ejemplo */
.lp-phone { width: 290px; height: 590px; padding: 12px; border-radius: 46px; background: #0B1220; box-shadow: 0 50px 100px rgba(0,0,0,.5), inset 0 0 0 2px #2A3854; animation: lp-float 6s ease-in-out infinite; }
.lp-phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; color: var(--ink); text-align: center; padding: 0 18px; }
.lp-phone-screen .m-cover { position: absolute; inset: 0 0 auto 0; height: 128px; background: linear-gradient(135deg, var(--navy), var(--electric)); }
.lp-phone-screen .m-photo { position: relative; width: 96px; height: 96px; margin: 76px auto 10px; border-radius: 50%; border: 4px solid #fff; background: linear-gradient(135deg, #F3C9A8, #E6A27F); display: grid; place-items: center; font: 700 1.6rem var(--display); color: #7A3E22; }
.lp-phone-screen .m-name { margin: 0; font: 700 1.25rem var(--display); }
.lp-phone-screen .m-role { margin: 2px 0 14px; color: var(--ink-2); font-size: .85rem; }
.lp-phone-screen .m-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 42px; border-radius: 12px; background: var(--mist); font-weight: 700; font-size: .85rem; }
.lp-phone-screen .m-btn svg { width: 16px; height: 16px; color: var(--electric); }
.lp-phone-screen .m-btn--wa { background: var(--electric); color: #fff; margin-bottom: 8px; }
.lp-phone-screen .m-btn--wa svg { color: #fff; }
.lp-phone-screen .m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lp-phone-screen .m-section { text-align: left; margin-top: 16px; display: grid; gap: 6px; font-size: .8rem; }
.lp-phone-screen .m-section b { font-size: .85rem; }
.lp-phone-screen .m-section span { padding: 9px 12px; border-radius: 10px; background: var(--mist); }
.lp-phone-screen .m-save { position: absolute; left: 14px; right: 14px; bottom: 14px; height: 46px; border-radius: 14px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.lp-phone-screen .m-save svg { width: 17px; height: 17px; }

.lp-float { position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem .7rem .7rem; border-radius: 18px; background: rgba(255,255,255,.96); color: var(--ink); font-weight: 700; font-size: .85rem; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.lp-float--qr { left: max(0px, calc(50% - 280px)); top: 70px; animation: lp-float 7s ease-in-out infinite reverse; }
.lp-float--nfc { right: max(0px, calc(50% - 290px)); bottom: 90px; animation: lp-float 8s ease-in-out infinite; }
.lp-qr { display: grid; grid-template-columns: repeat(7, 1fr); width: 44px; height: 44px; gap: 1px; padding: 3px; background: #fff; border-radius: 6px; }
.lp-qr i { background: transparent; border-radius: 1px; }
.lp-qr i.on { background: var(--navy); }
.lp-qr--big { width: 120px; height: 120px; padding: 8px; gap: 2px; border-radius: 14px; }
.lp-waves { position: relative; width: 44px; height: 44px; border-radius: 12px; background: var(--electric); display: grid; place-items: center; }
.lp-waves i { position: absolute; border: 2px solid #fff; border-left-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(45deg); }
.lp-waves i:nth-child(1) { width: 12px; height: 12px; }
.lp-waves i:nth-child(2) { width: 22px; height: 22px; opacity: .75; }
.lp-waves i:nth-child(3) { width: 32px; height: 32px; opacity: .45; }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 560px) {
  .lp-hero { padding-top: 110px; }
  .lp-hero-visual { min-height: 0; padding-bottom: 20px; }
  .lp-phone { width: 250px; height: 510px; }
  .lp-float--qr { left: 0; top: 40px; } .lp-float--nfc { right: 0; bottom: 40px; }
  .lp-float span:last-child { display: none; }
}

/* ---------- Secciones */
.lp-section { padding: 90px 0; }
.lp-section--tint { background: var(--mist); }
.lp-h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; text-align: center; max-width: 22ch; margin: 0 auto 1rem; }
.lp-sub { text-align: center; color: var(--ink-2); max-width: 56ch; margin: 0 auto 3rem; font-size: 1.08rem; }
.lp-h2 + .lp-benefits, .lp-h2 + .lp-steps, .lp-h2 + .lp-compare, .lp-h2 + .lp-faq { margin-top: 3rem; }

.lp-benefits { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lp-benefit { padding: 1.7rem; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-benefit:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(7, 21, 46, .08); border-color: transparent; }
.lp-benefit-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--electric), var(--cyan)); color: #fff; margin-bottom: 1.1rem; }
.lp-benefit-icon svg { width: 24px; height: 24px; }
.lp-benefit h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.lp-benefit p { margin: 0; color: var(--ink-2); }

.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: s; }
.lp-steps li { position: relative; padding: 1.7rem; background: #fff; border-radius: var(--r); }
.lp-step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--cyan); font: 800 1.1rem var(--display); margin-bottom: 1rem; }
.lp-steps h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.lp-steps p { margin: 0; color: var(--ink-2); }

.lp-dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.lp-qrnfc { display: grid; gap: 2rem; }
@media (min-width: 800px) { .lp-qrnfc { grid-template-columns: 1fr 1fr; } }
.lp-qrnfc article { padding: 2.2rem; border-radius: 26px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.09); }
.lp-qrnfc h2 { font-size: 1.7rem; margin: 1.6rem 0 .7rem; }
.lp-qrnfc p { color: #B9C8E4; margin: 0; }
.lp-qrnfc-art { display: flex; align-items: center; gap: 1.5rem; height: 130px; }
.lp-nfc-card { width: 160px; height: 100px; border-radius: 14px; background: linear-gradient(135deg, var(--electric), var(--navy-2)); display: grid; place-items: center; box-shadow: 0 20px 40px rgba(0,0,0,.35); transform: rotate(-8deg); }
.lp-nfc-card img { width: 46px; border-radius: 10px; }
.lp-waves--big { width: 70px; height: 70px; background: transparent; }
.lp-waves--big i { border-width: 3px; border-color: var(--cyan); border-left-color: transparent; border-bottom-color: transparent; animation: lp-pulse 2s ease-out infinite; }
.lp-waves--big i:nth-child(1) { width: 24px; height: 24px; } .lp-waves--big i:nth-child(2) { width: 44px; height: 44px; animation-delay: .25s; } .lp-waves--big i:nth-child(3) { width: 64px; height: 64px; animation-delay: .5s; }
@keyframes lp-pulse { 0% { opacity: .2; } 50% { opacity: 1; } 100% { opacity: .2; } }

/* Plantillas */
.lp-templates { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.lp-tpl { margin: 0; text-align: center; }
.lp-tpl figcaption { margin-top: .7rem; font-weight: 700; font-size: .95rem; }
.lp-tpl small { display: inline-block; margin-left: .3rem; padding: .1rem .45rem; border-radius: 6px; background: #E6F0FF; color: var(--electric); font-size: .7rem; vertical-align: middle; }
.tpl-mini { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(7, 21, 46, .08); transition: transform .2s; }
.lp-tpl:hover .tpl-mini { transform: translateY(-4px) rotate(-1deg); }
.tpl-mini .m-cover { position: absolute; inset: 0 0 auto 0; height: 34%; background: linear-gradient(135deg, var(--p), var(--a)); }
.tpl-mini--solid .m-cover { background: var(--p); }
.tpl-mini--diagonal .m-cover { clip-path: polygon(0 0, 100% 0, 100% 65%, 0 100%); }
.tpl-mini--none .m-cover { display: none; }
.tpl-mini .m-photo { position: absolute; top: 22%; left: 50%; width: 30%; aspect-ratio: 1; transform: translateX(-50%); background: color-mix(in srgb, var(--tx) 30%, var(--bg)); border: 3px solid var(--bg); }
.tpl-mini--left .m-photo { left: 12%; transform: none; }
.tpl-mini--none .m-photo { top: 8%; }
.m-circle { border-radius: 50%; } .m-rounded { border-radius: 30%; } .m-square { border-radius: 8%; }
.tpl-mini .m-line { position: absolute; height: 5%; border-radius: 3px; background: var(--tx); opacity: .8; left: 50%; transform: translateX(-50%); }
.tpl-mini .m-l1 { top: 50%; width: 58%; } .tpl-mini .m-l2 { top: 58%; width: 38%; opacity: .35; }
.tpl-mini--left .m-line { left: 12%; transform: none; }
.tpl-mini--none .m-l1 { top: 38%; } .tpl-mini--none .m-l2 { top: 46%; }
.tpl-mini .m-btn { position: absolute; left: 10%; right: 10%; top: 69%; height: 9%; background: var(--a); border-radius: 6px; }
.m-pill { border-radius: 99px !important; } .m-outline { background: transparent !important; border: 2px solid var(--a); }
.tpl-mini .m-row { position: absolute; left: 10%; right: 10%; top: 82%; height: 8%; display: flex; gap: 6%; }
.tpl-mini .m-row i { flex: 1; background: var(--sf); border-radius: 5px; }

/* Comparación */
.lp-compare { border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 20px 50px rgba(7, 21, 46, .07); }
.lp-compare-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1rem; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); align-items: center; }
.lp-compare-row:last-child { border-bottom: 0; }
.lp-compare-head { background: var(--navy); color: #fff; font: 700 .95rem var(--display); }
.lp-compare-row span:first-child { font-weight: 700; }
.lp-compare .old { color: var(--ink-2); }
.lp-compare .old::before { content: "✕ "; color: #D92D45; font-weight: 700; }
.lp-compare .new { color: var(--ink); font-weight: 600; }
.lp-compare .new::before { content: "✓ "; color: #0E9F6E; font-weight: 700; }
.lp-compare-head span::before { content: none !important; }
@media (max-width: 600px) {
  .lp-compare-row { grid-template-columns: 1fr 1fr; padding: .9rem 1rem; font-size: .92rem; }
  .lp-compare-row span:first-child { grid-column: span 2; }
  .lp-compare-head span:first-child { display: none; }
}

/* Planes */
.lp-plans { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); align-items: stretch; }
.lp-plan { position: relative; display: flex; flex-direction: column; padding: 2rem; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.lp-plan.is-featured { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 30px 70px rgba(8, 102, 255, .28); }
.lp-plan-badge { position: absolute; top: -13px; left: 2rem; padding: .3rem .8rem; border-radius: 99px; background: var(--cyan); color: var(--navy); font-weight: 800; font-size: .78rem; }
.lp-plan h3 { font-size: 1.4rem; }
.lp-plan-desc { color: var(--ink-2); margin: .5rem 0 0; font-size: .95rem; }
.is-featured .lp-plan-desc { color: #B9C8E4; }
.lp-price { margin: 1.4rem 0; }
.lp-price b { font: 800 2.6rem/1 var(--display); letter-spacing: -.03em; }
.lp-price span { color: var(--ink-2); font-weight: 600; }
.is-featured .lp-price span { color: #B9C8E4; }
.lp-plan ul { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: .6rem; flex: 1; }
.lp-plan li { padding-left: 1.7rem; position: relative; }
.lp-plan li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #E3F7EF; color: #0E9F6E; font-size: .72rem; font-weight: 800; display: grid; place-items: center; margin-top: .2rem; }
.is-featured li::before { background: rgba(0, 213, 255, .15); color: var(--cyan); }
.lp-plan .lp-btn { width: 100%; }

/* Preguntas */
.lp-faq { display: grid; gap: .8rem; }
.lp-faq details { background: #fff; border-radius: 16px; padding: 0 1.4rem; border: 1px solid var(--line); }
.lp-faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2rem 1.2rem 0; font: 600 1.05rem var(--display); position: relative; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--electric); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.lp-faq p { margin: 0 0 1.3rem; color: var(--ink-2); }

/* Llamado final */
.lp-cta { padding: 90px 0; background: radial-gradient(70% 120% at 50% 0%, var(--electric), var(--navy) 70%); color: #fff; text-align: center; }
.lp-cta h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.lp-cta p { color: #C9D6EE; font-size: 1.1rem; margin: 1rem 0 0; }

/* Pie */
.lp-footer { background: #050E20; color: #C9D6EE; padding: 60px 0 24px; }
.lp-footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.lp-footer h3 { font-size: 1rem; color: #fff; margin-bottom: .8rem; }
.lp-footer p { margin: .3rem 0; }
.lp-footer a { text-decoration: none; } .lp-footer a:hover { color: #fff; text-decoration: underline; }
.lp-copy { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.07); font-size: .85rem; color: #6E86B0; }

.lp-wa { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #16A34A; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px rgba(22, 163, 74, .45); transition: transform .15s; }
.lp-wa:hover { transform: scale(1.06); }
.lp-wa svg { width: 28px; height: 28px; }

/* Páginas legales */
.lp-legal { padding: 120px 0 80px; }
.lp-legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 2rem; }
.lp-legal h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; }
.lp-legal p { color: var(--ink-2); }
.lp-header--solid { background: var(--navy); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* Grillas balanceadas en pantallas grandes (6 beneficios = 3x2, 8 plantillas = 4x2) */
@media (min-width: 900px) {
  .lp-benefits { grid-template-columns: repeat(3, 1fr); }
  .lp-templates { grid-template-columns: repeat(4, 1fr); max-width: 860px; margin: 0 auto; gap: 1.6rem; }
}

/* ---------- Galería de plantillas reales (cada una es la tarjeta funcionando, en miniatura) */
.lp-templates { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.6rem 1.2rem; }
@media (min-width: 900px) { .lp-templates { grid-template-columns: repeat(4, 1fr); max-width: 980px; } }
.lp-tpl { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; }
.lp-tpl-phone { display: block; width: 100%; max-width: 210px; padding: 7px; border-radius: 30px; background: #0B1220; box-shadow: 0 24px 50px rgba(7, 21, 46, .22), inset 0 0 0 1.5px #2A3854; transition: transform .25s, box-shadow .25s; }
.lp-tpl:hover .lp-tpl-phone, .lp-tpl:focus-visible .lp-tpl-phone { transform: translateY(-6px); box-shadow: 0 34px 60px rgba(8, 102, 255, .28), inset 0 0 0 1.5px #2A3854; }
.lp-tpl-screen { position: relative; display: block; width: 100%; aspect-ratio: 390 / 800; border-radius: 24px; overflow: hidden; background: #fff; }
.lp-tpl-screen iframe { position: absolute; top: 0; left: 0; width: 390px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; }
.lp-tpl-name { margin-top: .9rem; font-weight: 700; font-size: .98rem; }
.lp-tpl-name small { display: inline-block; margin-left: .3rem; padding: .1rem .45rem; border-radius: 6px; background: #E6F0FF; color: var(--electric); font-size: .7rem; vertical-align: middle; }
.lp-tpl-cta { font-size: .82rem; color: var(--electric); font-weight: 600; opacity: 0; transition: opacity .2s; }
.lp-tpl:hover .lp-tpl-cta, .lp-tpl:focus-visible .lp-tpl-cta { opacity: 1; }
@media (hover: none) { .lp-tpl-cta { opacity: 1; } }

/* Celular: las plantillas se deslizan de costado (carrusel) */
@media (max-width: 699px) {
  .lp-templates { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding: .5rem 20px 1.5rem; margin: 0 -20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .lp-templates::-webkit-scrollbar { display: none; }
  .lp-tpl { flex: 0 0 58%; scroll-snap-align: center; }
  .lp-tpl-cta { opacity: 1; }
}

/* ---------- Video de portada */
.lp-video { position: relative; width: min(100%, 560px); }
.lp-video-screen { position: relative; overflow: hidden; border-radius: 28px; background: #000; box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.lp-video video { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; }
.lp-video--phone { width: 290px; height: 590px; padding: 12px; border-radius: 46px; background: #0B1220; box-shadow: 0 50px 100px rgba(0,0,0,.5), inset 0 0 0 2px #2A3854; animation: lp-float 6s ease-in-out infinite; }
.lp-video--phone .lp-video-screen { width: 100%; height: 100%; border-radius: 36px; box-shadow: none; }
.lp-video--phone video { width: 100%; height: 100%; max-height: none; }
.lp-sound { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border: 0; border-radius: 99px; background: rgba(7, 21, 46, .72); color: #fff; font: 600 .85rem var(--body); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.lp-sound svg { width: 14px; height: 14px; }
.lp-sound[aria-pressed="true"] { opacity: .75; }
@media (max-width: 560px) { .lp-video--phone { width: 250px; height: 510px; } }

/* ---------- Selector Mensual / Anual */
.lp-cycle { display: flex; width: fit-content; margin: -1.6rem auto 2.4rem; padding: 5px; border-radius: 99px; background: var(--mist); border: 1px solid var(--line); }
.lp-cycle button { display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1.4rem; border: 0; border-radius: 99px; background: transparent; color: var(--ink-2); font: 700 .98rem var(--body); cursor: pointer; }
.lp-cycle button.is-active { background: #fff; color: var(--navy); box-shadow: 0 4px 14px rgba(7, 21, 46, .12); }
.lp-cycle small { padding: .15rem .5rem; border-radius: 99px; background: #E3F7EF; color: #0E9F6E; font-size: .72rem; font-weight: 800; }
.lp-price-sub { margin: -1rem 0 1.4rem; font-size: .9rem; color: var(--ink-2); min-height: 1.4em; }
.is-featured .lp-price-sub { color: #B9C8E4; }
.lp-save { display: inline-block; margin-left: .3rem; padding: .1rem .5rem; border-radius: 99px; background: #E3F7EF; color: #0E9F6E; font-size: .75rem; font-weight: 800; }
.is-featured .lp-save { background: rgba(0, 213, 255, .15); color: var(--cyan); }
@media (max-width: 480px) { .lp-cycle button { padding: .65rem 1rem; } .lp-cycle small { display: none; } }
.lp-plan ul { align-content: start; }
.lp-price b { font-size: clamp(2rem, 3vw, 2.6rem); }
.lp-price span { white-space: nowrap; }

/* Tienda online destacada en cada plan */
.lp-plan li.lp-shop-feature { display: grid; padding: .6rem .8rem .6rem 2.4rem; margin: .2rem 0; border-radius: 12px; background: #E6F0FF; color: var(--navy); }
.lp-plan li.lp-shop-feature::before { content: ""; left: .75rem; top: 50%; transform: translateY(-50%); width: 1.15rem; height: 1.15rem; margin: 0; border-radius: 0; background: var(--electric);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cpath d='M3 6h18M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.lp-plan li.lp-shop-feature b { font-size: .95rem; }
.lp-plan li.lp-shop-feature small { color: var(--ink-2); font-size: .8rem; }
.is-featured li.lp-shop-feature { background: rgba(0, 213, 255, .12); color: #fff; }
.is-featured li.lp-shop-feature::before { background: var(--cyan); }
.is-featured li.lp-shop-feature small { color: #B9C8E4; }
.tpl-mini--wave .m-cover { clip-path: ellipse(120% 100% at 50% 0%); }
.tpl-mini--mesh .m-cover { background: radial-gradient(60% 80% at 15% 20%, var(--a), transparent 70%), radial-gradient(70% 90% at 80% 90%, color-mix(in srgb, var(--a) 55%, var(--p)), transparent 70%), var(--p); }

/* ---------- Herramientas incluidas */
.lp-features { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (min-width: 900px) { .lp-features { grid-template-columns: repeat(3, 1fr); } }
.lp-feature { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.lp-feature:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(7, 21, 46, .08); }
.lp-feature-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: #E6F0FF; color: var(--electric); }
.lp-feature-icon svg { width: 22px; height: 22px; }
.lp-feature h3 { font-size: 1.08rem; margin: .2rem 0 .4rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.lp-feature p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.lp-new { padding: .12rem .5rem; border-radius: 99px; background: linear-gradient(90deg, var(--electric), var(--cyan)); color: #fff; font: 800 .68rem var(--body); text-transform: uppercase; letter-spacing: .04em; }
.lp-kicker { text-align: center; margin: 0 0 .6rem; color: var(--electric); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; }

/* Celular de la portada: reseñas, tienda y Google */
.lp-phone-screen .m-role { margin-bottom: 4px; }
.lp-phone-screen .m-rating { margin: 0 0 12px; font-size: .78rem; font-weight: 700; }
.lp-phone-screen .m-rating span { color: #F5A524; letter-spacing: 1px; }
.lp-phone-screen .m-rating small { color: var(--ink-2); font-weight: 500; }
.lp-phone-screen .m-shop { text-align: left; margin-top: 12px; font-size: .8rem; }
.lp-phone-screen .m-shop b { display: block; font-size: .85rem; margin-bottom: 6px; }
.lp-phone-screen .m-shop div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lp-phone-screen .m-shop span { display: grid; gap: 4px; padding: 6px; border-radius: 10px; background: var(--mist); font-weight: 600; font-size: .72rem; }
.lp-phone-screen .m-shop i { display: block; height: 34px; border-radius: 7px; background: linear-gradient(135deg, #CFE0FF, #9EC2FF); }
.lp-phone-screen .m-shop span:last-child i { background: linear-gradient(135deg, #FFE1C7, #FFB37A); }
.lp-phone-screen .m-google { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; margin-top: 10px; border-radius: 12px; border: 1.5px solid #DADCE0; font-size: .74rem; font-weight: 700; }
.lp-phone-screen .m-google svg { width: 14px; height: 14px; color: #F5A524; fill: #F5A524; }
/* Celular de la portada: compacto para que entren tienda y reseñas */
.lp-phone-screen .m-row { display: none; }
.lp-phone-screen .m-cover { height: 112px; }
.lp-phone-screen .m-photo { width: 84px; height: 84px; margin-top: 64px; font-size: 1.4rem; }
.lp-phone-screen .m-btn--wa { margin-bottom: 0; }
@media (max-width: 560px) { .lp-phone-screen .m-shop i { height: 26px; } .lp-phone-screen .m-cover { height: 96px; } .lp-phone-screen .m-photo { width: 72px; height: 72px; margin-top: 54px; } }
@media (max-width: 560px) { .lp-phone-screen .m-google { font-size: .64rem; white-space: nowrap; gap: 4px; } }
