:root {
  --navy: #0b2a5b;
  --navy-2: #0a1f44;
  --blue: #1e63d6;
  --blue-soft: #e8f0fe;
  --teal: #0fb58a;
  --mint: #2ee6a8;
  --amber: #f5a524;
  --ink: #0f1b33;
  --muted: #5b6b85;
  --line: #dde5f0;
  --bg: #ffffff;
  --tint: #f3f6fb;
  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(11, 42, 91, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

/* Barra de promoción */
.promo { background: linear-gradient(90deg, #0fb58a, #1e63d6); color: #fff; text-align: center; padding: 8px 16px; font-size: .92rem; }
.promo a { color: #fff; font-weight: 700; margin-left: 8px; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .88); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.stuck { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(11, 42, 91, .5); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand b { display: block; font-weight: 800; letter-spacing: .12em; font-size: 1.05rem; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: .72rem; margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.menu a:not(.btn):hover { color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 14px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 16px; border-radius: 12px; font-size: .92rem; }
.btn-go { background: linear-gradient(135deg, var(--mint), var(--teal)); color: #04261c; box-shadow: 0 12px 28px -12px rgba(15, 181, 138, .8); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .06); }
.btn-dark { background: var(--navy); color: #fff; width: 100%; }
.btn-dark:hover { background: var(--blue); }
.btn-wa { background: #1faa59; color: #fff; width: 100%; box-shadow: 0 12px 26px -14px rgba(31, 170, 89, .9); }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--blue); margin-bottom: 12px; }
.eyebrow.light { color: var(--mint); }
.sub { color: var(--muted); font-size: 1.08rem; margin-top: 12px; max-width: 62ch; }
.sub.light, .lead { color: #c9d7ef; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: .84rem; margin-top: 10px; }
.center { text-align: center; margin-top: 22px; }

/* Portada */
.hero { background: radial-gradient(1100px 520px at 85% -10%, rgba(46, 230, 168, .22), transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy) 55%, #123f86); color: #fff; padding: 64px 0 0; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--mint); }
.lead { font-size: 1.14rem; margin-top: 18px; max-width: 52ch; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.os { list-style: none; display: flex; gap: 20px; padding: 0; margin: 26px 0 0; color: #c9d7ef; font-weight: 600; font-size: .92rem; }
.os li { display: flex; align-items: center; gap: 7px; }
.os svg { width: 18px; height: 18px; fill: currentColor; }
.hero-shot { position: relative; margin: 0; }
.window { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .18); }
.window-bar { height: 30px; background: #e9eef6; display: flex; align-items: center; gap: 6px; padding: 0 12px; color: var(--muted); font-size: .72rem; font-weight: 600; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #c5cfde; }
.window-bar i:first-child { background: #ff6058; } .window-bar i:nth-child(2) { background: #ffbd2e; } .window-bar i:nth-child(3) { background: #28c940; }
.window-bar span { margin-left: 8px; }
.hero-shot .window { transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: left center; }
.chip { position: absolute; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: .86rem; box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .55); animation: float 5s ease-in-out infinite; }
.chip b { background: var(--blue-soft); color: var(--blue); padding: 2px 7px; border-radius: 6px; margin-right: 4px; }
.chip-a { left: -18px; bottom: 22%; }
.chip-b { right: 4%; top: -14px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-9px); } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 56px; background: rgba(255, 255, 255, .14); border-radius: 18px 18px 0 0; overflow: hidden; }
.facts div { background: rgba(8, 26, 58, .55); padding: 20px 22px; }
.facts b { display: block; font-size: 1.02rem; }
.facts span { color: #b9c9e6; font-size: .88rem; }

/* Secciones */
.sec { padding: 88px 0; }
.sec-tint { background: var(--tint); }
.sec-dark { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; }
.sec-go { background: radial-gradient(900px 420px at 10% 0, rgba(46, 230, 168, .25), transparent 60%), linear-gradient(150deg, #0a3a4a, var(--navy)); color: #fff; }

/* Pestañas */
.tabs { display: flex; gap: 8px; margin-top: 30px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .15s; }
.tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.panel { display: grid; grid-template-columns: .8fr 1.4fr; gap: 40px; align-items: center; margin-top: 30px; }
.panel[hidden] { display: none; }
.panel-text p { color: var(--muted); margin-top: 10px; }
.panel h3 { font-size: 1.6rem; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.ticks li { padding-left: 30px; position: relative; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.400 8.600 13.500 14.500 7' fill='none' stroke='%23fff' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain; }
.panel .window { border-color: var(--line); }

/* Módulos */
.grid { display: grid; gap: 16px; margin-top: 34px; }
.mods { grid-template-columns: repeat(4, 1fr); }
.mods article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.mods article:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.mods p { color: var(--muted); font-size: .93rem; margin-top: 6px; }
.ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; font-style: normal; font-size: 1.35rem; margin-bottom: 14px; }
.c1 { background: #e8f0fe; } .c2 { background: #e3f8ef; } .c3 { background: #fff1dc; } .c4 { background: #fde8ea; } .c5 { background: #efe9fd; } .c6 { background: #def5f7; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gallery img { transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 10px 14px; font-weight: 700; font-size: .9rem; border-top: 1px solid var(--line); position: relative; background: #fff; }

/* Facturación */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; padding-left: 54px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(46, 230, 168, .16); color: var(--mint); font-weight: 800; }
.steps b { display: block; font-size: 1.05rem; }
.steps span { color: #c9d7ef; font-size: .95rem; }
.pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.pills li { border: 1px solid rgba(255, 255, 255, .25); padding: 6px 12px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: #dbe6f8; }

/* Lector y celular */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card-xl { background: var(--tint); border: 1px solid var(--line); border-radius: 24px; padding: 34px; overflow: hidden; }
.card-xl h3 { font-size: 1.5rem; }
.card-xl p:not(.eyebrow) { color: var(--muted); margin-top: 10px; }
.window.sm { margin-top: 24px; box-shadow: 0 18px 40px -22px rgba(11, 42, 91, .5); border-color: var(--line); }
.phone-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; background: linear-gradient(160deg, #e8f0fe, #e3f8ef); }
.phone { width: 190px; border: 7px solid #0f1b33; border-radius: 30px; overflow: hidden; margin-bottom: -60px; box-shadow: var(--shadow); background: #fff; }
.link { display: inline-block; margin-top: 16px; font-weight: 800; text-decoration: none; }

/* Cotizador */
.quote { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; margin-top: 34px; align-items: start; }
.quote-main { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; }
.step-t { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-top: 4px; }
.step-t:not(:first-child) { margin-top: 34px; }
.step-t span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--navy); color: #fff; font-size: .95rem; }
.step-t em { font-style: normal; color: var(--muted); font-weight: 600; font-size: .95rem; }
.quote-main .muted { margin-top: 6px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.plan { position: relative; cursor: pointer; }
.plan input { position: absolute; opacity: 0; inset: 0; }
.plan-in { display: grid; gap: 4px; padding: 18px; border: 2px solid var(--line); border-radius: 16px; height: 100%; transition: border-color .15s, box-shadow .15s, background .15s; }
.plan input:checked + .plan-in { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 10px 26px -18px rgba(30, 99, 214, .9); }
.plan input:focus-visible + .plan-in { outline: 3px solid var(--amber); outline-offset: 2px; }
.plan-name { font-weight: 800; }
.plan-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.plan-price b { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.plans-sm .plan-price b { font-size: 1.5rem; }
.plan-price s { color: var(--muted); font-weight: 600; }
.plan-price small { color: var(--muted); font-weight: 600; }
.plan-note { color: var(--muted); font-size: .86rem; }
.badge { justify-self: start; margin-top: 6px; background: var(--amber); color: #3a2500; font-weight: 800; font-size: .76rem; padding: 4px 9px; border-radius: 999px; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-weight: 700; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 44px; height: 42px; border: 0; background: none; font-size: 1.25rem; cursor: pointer; color: var(--ink); }
.qty button:hover { background: var(--tint); }
.qty output { min-width: 38px; text-align: center; font-weight: 800; }
.quote-side { background: var(--navy-2); color: #fff; border-radius: 24px; padding: 28px; position: sticky; top: 92px; }
.quote-side h3 { font-size: 1.15rem; }
.lines { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.lines li { display: flex; justify-content: space-between; gap: 12px; color: #dbe6f8; font-size: .94rem; }
.lines li b { color: #fff; white-space: nowrap; }
.lines li.off { color: var(--mint); }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 16px; padding-top: 16px; }
.total b { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.renew { color: #b9c9e6; font-size: .86rem; min-height: 1.2em; }
.quote-side label, .form label { display: grid; gap: 6px; font-weight: 700; font-size: .88rem; margin-top: 14px; }
.quote-side label small, .form label small { font-weight: 500; opacity: .7; }
input[type="text"], input[type="tel"] { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%; }
.quote-side input { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: #fff; }
.quote-side input::placeholder { color: #8fa3c7; }
.quote-side .btn { margin-top: 18px; }
.quote-side .fine { color: #9fb2d3; }

/* Descargas */
.dl { grid-template-columns: repeat(3, 1fr); }
.dl article { border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 10px; background: #fff; transition: transform .18s, box-shadow .18s; }
.dl article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dl p { color: var(--muted); min-height: 3em; }
.dl small { color: var(--muted); text-align: center; }
.os-ic { width: 40px; height: 40px; fill: var(--navy); }
details { border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; margin-top: 12px; background: #fff; }
details summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; position: relative; padding-right: 30px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 2px; top: 10px; font-size: 1.4rem; color: var(--blue); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 14px; }
.help { margin-top: 22px; }

/* Prueba */
.trial { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.phone-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; color: #fff; text-decoration: none; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); padding: 12px 18px; border-radius: 16px; }
.phone-link svg { width: 34px; height: 34px; fill: #25d366; }
.phone-link small { display: block; color: #b9c9e6; font-size: .78rem; }
.phone-link b { font-size: 1.35rem; letter-spacing: .02em; }
.form { background: #fff; color: var(--ink); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.form label:first-child { margin-top: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset { border: 0; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
legend { font-weight: 700; font-size: .88rem; margin-bottom: 8px; padding: 0; }
.form .chk { display: inline-flex; grid-template-columns: none; margin: 0; cursor: pointer; }
.chk input { position: absolute; opacity: 0; }
.chk span { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; }
.chk input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chk input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.err { color: #c62828; font-weight: 700; font-size: .9rem; margin-top: 12px; }
.form .btn { margin-top: 18px; }

/* Pie */
.foot { background: #06162f; color: #b9c9e6; padding: 34px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot .brand { color: #fff; }
.foot .brand small { color: #8fa3c7; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { color: #dbe6f8; text-decoration: none; font-weight: 600; }
.fab { position: fixed; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); z-index: 30; transition: transform .15s; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 32px; height: 32px; fill: #fff; }

/* Aparición al desplazar */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-in, .panel, .split, .quote, .trial, .duo { grid-template-columns: 1fr; }
  .hero-shot .window { transform: none; }
  .chip-a { left: 8px; } .chip-b { right: 8px; }
  .mods { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .dl { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .quote-side { position: static; }
  .burger { display: block; }
  .menu { position: absolute; left: 0; right: 0; top: 68px; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); display: none; }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 14px; }
  .sec { padding: 64px 0; }
}
@media (max-width: 560px) {
  .mods, .gallery, .plans, .two { grid-template-columns: 1fr; }
  .phone-card { grid-template-columns: 1fr; }
  .phone { margin: 10px auto -60px; }
  .chip { display: none; }
  .quote-main, .quote-side, .form, .card-xl { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
