/* Página de anuncio · sin dependencias */
:root {
  --brand: #0b74de; --brand2: #06b6d4; --indigo: #4f46e5; --accent: #ff7a3d;
  --bg: #ffffff; --bg2: #f3f7fc; --text: #0f1b2d; --muted: #4d5f78; --line: #dfe8f2; --card: #ffffff;
  --shadow: 0 10px 34px rgba(15, 60, 120, .12);
  font-size: 18px; scroll-behavior: smooth; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0a111f; --bg2: #0f1a2e; --text: #eaf1fb; --muted: #a3b3c9; --line: #22304a; --card: #131e34; --brand: #3b9cff; --shadow: 0 10px 34px rgba(0, 0, 0, .35); color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 900; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--brand2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.15; letter-spacing: -.015em; font-weight: 800; }
h3 { font-size: 1.15rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1140px, 100% - 2.4rem); margin: 0 auto; }
.narrow { width: min(820px, 100% - 2.4rem); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .6rem 1rem; z-index: 100; } .skip:focus { left: .5rem; top: .5rem; }
.small { font-size: .9rem; color: var(--muted); }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .65rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; color: #fff; background: linear-gradient(135deg, var(--brand), var(--indigo)); box-shadow: 0 8px 22px rgba(11, 116, 222, .35); transition: transform .12s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(11, 116, 222, .45); }
.btn-lg { min-height: 58px; padding: .8rem 1.8rem; font-size: 1.08rem; }
.btn-sm { min-height: 42px; padding: .4rem 1.1rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); box-shadow: none; } .btn-ghost:hover { border-color: var(--brand); box-shadow: none; }
.btn-light { background: #fff; color: #0b3d80; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }

/* encabezado */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); transition: box-shadow .2s; }
.top.stuck { box-shadow: 0 2px 18px rgba(0, 0, 0, .1); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 900; font-size: 1.25rem; text-decoration: none; }
.menu { display: flex; align-items: center; gap: 1.5rem; } .menu a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--muted); } .menu a:not(.btn):hover { color: var(--text); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 3px; border-radius: 3px; background: var(--text); }
@media (max-width: 800px) {
  .burger { display: flex; }
  .menu { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.2rem 1.2rem; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .menu.open { display: flex; } .menu a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; } .menu .btn { margin-top: .8rem; }
}

/* hero */
.hero { position: relative; overflow: hidden; padding: clamp(2.2rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem); background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.b1 { width: 420px; height: 420px; background: #22d3ee; top: -120px; right: -80px; } .b2 { width: 340px; height: 340px; background: #818cf8; bottom: -120px; left: -100px; opacity: .35; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.pill { display: inline-block; padding: .4rem .95rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: .9rem; margin-bottom: 1.2rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); margin: 1.2rem 0 1.8rem; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.trust { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-weight: 700; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .hero-in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .cta-row .btn { width: 100%; } }

/* teléfono ilustrado */
.hero-art { position: relative; display: grid; place-items: center; min-height: 500px; }
.phone { position: relative; width: 265px; height: 500px; border-radius: 40px; padding: 10px; background: #0d1830; box-shadow: 0 30px 70px rgba(11, 60, 140, .4), inset 0 0 0 2px #2b3b5e; transform: rotate(3deg); }
.notch { position: absolute; top: 14px; left: 50%; width: 84px; height: 20px; margin-left: -42px; background: #0d1830; border-radius: 0 0 14px 14px; z-index: 5; }
.screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #dbe9f6; }
.mapbg { position: absolute; inset: 0; background: linear-gradient(#e8f1e6, #e8f1e6); }
.road { position: absolute; background: #fff; box-shadow: 0 0 0 2px #cfdbe8; }
.road.h1 { left: 0; right: 0; top: 24%; height: 12px; } .road.h2 { left: 0; right: 0; top: 47%; height: 16px; background: #fde9b0; } .road.h3 { left: 0; right: 0; top: 68%; height: 10px; }
.road.v1 { top: 0; bottom: 0; left: 26%; width: 11px; } .road.v2 { top: 0; bottom: 0; left: 58%; width: 15px; background: #fde9b0; } .road.v3 { top: 0; bottom: 0; left: 84%; width: 10px; }
.road.d1 { left: -10%; width: 130%; top: 36%; height: 9px; transform: rotate(-28deg); }
.park { position: absolute; left: 62%; top: 52%; width: 34%; height: 15%; background: #bfe3c0; border-radius: 12px; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; margin: -34px 0 0 -17px; display: grid; place-items: center; background: var(--c); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 5px 12px rgba(0, 0, 0, .3); font-size: 15px; line-height: 1; }
.pin.big { width: 42px; height: 42px; margin: -42px 0 0 -21px; font-size: 19px; animation: ping 2s infinite; }
.pin i { font-style: normal; transform: rotate(45deg); }
@keyframes ping { 0%, 100% { box-shadow: 0 5px 12px rgba(0, 0, 0, .3), 0 0 0 0 rgba(239, 68, 68, .5); } 50% { box-shadow: 0 5px 12px rgba(0, 0, 0, .3), 0 0 0 16px rgba(239, 68, 68, 0); } }
.sheet { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: .8rem; border-radius: 20px; background: #fff; color: #0f1b2d; box-shadow: 0 12px 34px rgba(0, 0, 0, .3); display: grid; gap: .5rem; }
.sheet-t { font-weight: 800; font-size: .9rem; }
.offer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem; align-items: center; padding: .4rem .5rem; border-radius: 14px; border: 1.5px solid #e2eaf3; font-size: .8rem; }
.offer small { white-space: nowrap; }
.offer small { display: block; color: #5b6b82; font-size: .68rem; } .offer.best { border-color: #16a34a; background: #eafaf0; }
.av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0b74de, #6366f1); color: #fff; font-weight: 800; font-size: .72rem; } .av.v2 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.price { font-size: 1rem; color: #0b74de; white-space: nowrap; }
.sheet-btn { text-align: center; padding: .6rem; border-radius: 12px; color: #fff; font-weight: 800; font-size: .9rem; background: linear-gradient(135deg, #0b74de, #06b6d4); }
.float { position: absolute; display: grid; padding: .5rem .8rem; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .82rem; animation: bob 5s ease-in-out infinite; }
.float small { color: var(--muted); font-size: .72rem; }
.f1 { top: 56px; left: -22px; } .f2 { top: 150px; right: -22px; animation-delay: -1.6s; } .f3 { bottom: -6px; right: 6px; animation-delay: -3.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 520px) { .f1 { left: 0; } .f2 { right: 0; } .f3 { left: 0; } .hero-art { min-height: 470px; } }

/* tira de servicios */
.strip { background: linear-gradient(90deg, var(--brand), var(--indigo)); color: #fff; }
.strip-in { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; padding: 1rem 0; font-weight: 800; }

/* secciones */
.sec { padding: clamp(3.5rem, 8vw, 6rem) 0; } .sec.alt { background: var(--bg2); }
.sec-head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; display: grid; gap: .8rem; } .sec-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow { display: inline-block; justify-self: center; padding: .25rem .8rem; border-radius: 999px; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); font-weight: 800; font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.eyebrow.light { background: rgba(255, 255, 255, .18); color: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; } .two > div > .eyebrow { margin-bottom: 1rem; } .two h2 { margin-bottom: 1rem; } .two p { color: var(--muted); font-size: 1.08rem; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 2rem; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.steps, .cards { grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 1020px) { .steps, .cards { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px) { .steps, .cards { grid-template-columns: 1fr !important; } }
.step { position: relative; padding: 1.6rem 1.3rem 1.4rem; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step .num { position: absolute; top: -14px; left: 1.3rem; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--brand), var(--indigo)); }
.step .ico { font-size: 2.4rem; margin-bottom: .4rem; } .step h3 { margin-bottom: .4rem; } .step p { color: var(--muted); font-size: .98rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.card { --c: var(--brand); padding: 1.6rem; border-radius: 24px; background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--c); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.badge { width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.9rem; border-radius: 18px; background: color-mix(in srgb, var(--c) 18%, var(--card)); margin-bottom: .9rem; }
.card p { color: var(--muted); margin-top: .4rem; font-size: .98rem; }

.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.2rem; }
.feat { display: flex; gap: 1rem; padding: 1.3rem; border-radius: 22px; background: var(--bg2); }
.feat > span { font-size: 2rem; line-height: 1; flex: none; } .feat p { color: var(--muted); font-size: .97rem; margin-top: .25rem; }

.reminder { background: radial-gradient(circle at 90% 0%, #22d3ee55 0, transparent 45%), linear-gradient(135deg, #0b74de, #4f46e5); color: #fff; }
.reminder p, .reminder .ticks { color: #e5efff; } .reminder h2 { color: #fff; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .6rem; font-weight: 600; }
.ticks li { padding-left: 2rem; position: relative; } .ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 1.4rem; height: 1.4rem; display: grid; place-items: center; border-radius: 50%; background: #16a34a; color: #fff; font-size: .8rem; font-weight: 900; }
.ticks.dark { color: var(--text); }
.rem-art { display: grid; gap: .9rem; }
.rem-card { display: grid; gap: .25rem; padding: 1.1rem 1.3rem; border-radius: 20px; background: #fff; color: #0f1b2d; box-shadow: 0 14px 34px rgba(0, 0, 0, .25); border-left: 8px solid #16a34a; }
.rem-card small { color: #5b6b82; } .rem-card.bad { border-color: #dc2626; } .rem-card.warn { border-color: #f59e0b; transform: translateX(18px); }
.chip { justify-self: start; margin-top: .3rem; padding: .3rem .8rem; border-radius: 999px; background: #e6f1fd; color: #0b5fb8; font-weight: 700; font-size: .82rem; }

.tech-art { display: grid; gap: .9rem; padding: 1.6rem; border-radius: 28px; background: var(--bg2); border: 1px solid var(--line); }
.req { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.req-i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; font-size: 1.4rem; background: #d1fae5; flex: none; } .req small { display: block; color: var(--muted); }
.offerbox { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem 1rem; padding: 1.1rem 1.2rem; border-radius: 18px; background: linear-gradient(135deg, #0b74de, #4f46e5); color: #fff; }
.offerbox b { font-size: 1.8rem; letter-spacing: .1em; } .offerbox small { grid-column: 1; opacity: .85; } .offerbox .btn { grid-row: 1 / span 2; grid-column: 2; background: #fff; color: #0b3d80; box-shadow: none; }
.tech-art + div .small { margin: -.6rem 0 1.6rem; }

.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.rule { padding: 1.8rem; border-radius: 24px; background: var(--card); border: 1px solid var(--line); text-align: center; } .rule b { display: block; font-size: 2.6rem; font-weight: 900; background: linear-gradient(90deg, var(--brand), var(--brand2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rule p { color: var(--muted); margin-top: .3rem; }

.faq { display: grid; gap: .8rem; }
details { border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; }
summary { cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 56px; }
summary::-webkit-details-marker { display: none; } summary::after { content: '+'; font-size: 1.6rem; color: var(--brand); transition: transform .2s; } details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

.cta { background: linear-gradient(135deg, #0a4fa8, #3730a3); color: #fff; }
.cta h2 { color: #fff; } .cta p { color: #dbe8ff; margin-bottom: 1.4rem; }
.form { display: grid; gap: 1rem; padding: 1.6rem; border-radius: 26px; background: var(--card); color: var(--text); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.form label { display: grid; gap: .3rem; font-weight: 700; font-size: .95rem; }
.form input:not([type=radio]) { min-height: 50px; padding: .6rem .9rem; border: 2px solid var(--line); border-radius: 14px; font: inherit; background: var(--bg); color: var(--text); } .form input:focus { outline: none; border-color: var(--brand); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; } .seg label { position: relative; } .seg input { position: absolute; opacity: 0; }
.seg span { display: grid; place-items: center; min-height: 50px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; text-align: center; } .seg input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 14%, var(--card)); } .seg input:focus-visible + span { outline: 3px solid var(--accent); }
.form-note { min-height: 1.4em; font-weight: 700; font-size: .95rem; color: var(--muted); margin: 0 !important; } .form-note.ok { color: #16a34a; } .form-note.err { color: #dc2626; }

.foot { padding: 2.4rem 0; background: var(--bg2); border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 1.2rem; justify-items: center; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; } .foot nav a { color: var(--muted); text-decoration: none; font-weight: 600; } .foot nav a:hover { color: var(--text); }
.foot small { color: var(--muted); }

/* animación de aparición (solo con JS) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .js .reveal { opacity: 1; transform: none; } }

/* iconos (mismo juego unico que la app; ver js/sprite.js) */
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; flex: none; }
.step .ico { color: var(--brand); } .step .ico .i { width: 2.3rem; height: 2.3rem; }
.badge .i { width: 1.9rem; height: 1.9rem; color: var(--c); }
.feat > span { color: var(--brand); } .feat > span .i { width: 1.8rem; height: 1.8rem; }
.pin i .i { width: 15px; height: 15px; stroke: #fff; } .pin.big i .i { width: 19px; height: 19px; }
.float { grid-template-columns: auto auto; column-gap: .55rem; align-items: center; } .float .i { grid-row: 1 / span 2; width: 1.5em; height: 1.5em; color: var(--brand); }
.req-i .i { width: 1.4rem; height: 1.4rem; color: #0f6e56; }
.strip-in .i, .trust .i, .pill .i { color: inherit; margin-right: .25rem; } .trust .i, .pill .i { color: var(--brand); }
.rem-card b .i { width: 1.2em; height: 1.2em; margin-right: .2rem; } .rem-card.bad .i { color: #dc2626; } .rem-card.warn .i { color: #b45309; } .rem-card.ok .i { color: #16a34a; }
