/* AutoRadar: portada comercial (solo index.html). cuenta/admin/radar siguen con estilos.css.
   Mismos colores que el dashboard (build_dashboard_v2.py): negro, azul #4f8cff, verde = bajo mercado. */
:root {
  --bg: #0a0a0c; --bg2: #0f0f12; --card: #151519; --card2: #1e1e24; --border: #2a2a31;
  --text: #e8eaed; --muted: #9aa0ac; --accent: #4f8cff; --accent2: #3b74e6; --accent-osc: #1d3f8f;
  --green: #2ecc71; --yellow: #f1c40f; --red: #e74c3c; --orange: #f39c4b;
  --display: 'Archivo Black', 'Arial Black', Impact, sans-serif;
  --texto: 'Plus Jakarta Sans', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --radio: 22px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--texto); line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
.cont { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  font-family: var(--texto); font-weight: 800; font-size: 16px; text-decoration: none; letter-spacing: .01em;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-acento { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -8px rgba(79,140,255,.6); }
.btn-acento:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-claro { background: var(--card2); color: var(--text); border-color: var(--border); }
.btn-claro:hover { border-color: var(--accent); }
.btn-grande { font-family: var(--display); font-weight: 400; font-size: 19px; letter-spacing: .06em; padding: 20px 34px; text-transform: uppercase; }
.btn:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Barra superior (píldora de vidrio) ---------- */
.barra-env { position: sticky; top: 0; z-index: 50; padding: 14px 0 0; }
.barra {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 16px; border-radius: 999px;
  background: rgba(21,21,25,.72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid var(--border); box-shadow: 0 12px 40px -18px rgba(0,0,0,.8);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #6aa0ff, var(--accent) 50%, var(--accent-osc)); box-shadow: 0 6px 18px -6px rgba(79,140,255,.7);
}
.logo-ico svg { width: 22px; height: 22px; }
.logo-txt { font-family: var(--display); font-size: 22px; letter-spacing: .01em; color: var(--text); }
.logo-txt span { color: var(--accent); }
.barra nav { display: flex; align-items: center; gap: 26px; }
.barra nav .enlace { color: var(--muted); text-decoration: none; font-weight: 700; font-size: 15px; }
.barra nav .enlace:hover { color: var(--text); }
.barra .acciones { display: flex; gap: 10px; }
.barra .btn { padding: 11px 20px; font-size: 15px; }
@media (max-width: 920px) { .barra nav .enlace { display: none; } }
@media (max-width: 520px) {
  .barra { padding: 8px 8px 8px 10px; }
  .logo-ico { width: 34px; height: 34px; } .logo-txt { font-size: 18px; }
  .barra .btn { padding: 10px 14px; font-size: 14px; }
  .barra .btn-claro { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 64px; overflow: hidden;
  background:
    radial-gradient(700px 480px at 76% 42%, rgba(79,140,255,.20), rgba(79,140,255,0) 70%),
    radial-gradient(600px 400px at 0% 0%, rgba(79,140,255,.08), rgba(79,140,255,0) 70%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--bg); }
.hero .cont { display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center; }
.chip-vivo {
  display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.chip-vivo i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(46,204,113,.6); animation: latido 1.8s infinite; }
@keyframes latido { 70% { box-shadow: 0 0 0 10px rgba(46,204,113,0); } 100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); } }
.titular {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .9; letter-spacing: -.01em;
  font-size: clamp(52px, 6.6vw, 108px); margin: 18px 0 22px; isolation: isolate; color: #fff;
}
.titular span { display: block; }
.titular .acento { color: var(--accent); }
.titular .subrayado { position: relative; display: inline-block; }
.titular .subrayado::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .14em; background: rgba(79,140,255,.28); z-index: -1; transform: skewX(-12deg);
}
.bajada { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 560px; margin: 0 0 26px; }
.bajada strong { color: var(--text); }

.plan-pildora {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 5px; background: var(--card);
  border: 1px solid var(--border); border-radius: 999px; margin-bottom: 16px; flex-wrap: wrap;
}
.plan-pildora .op { padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted); }
.plan-pildora .op.activa { background: var(--card2); color: var(--text); border: 1px solid var(--accent); }
.plan-pildora .op.activa b { color: var(--accent); }
.plan-pildora .cinta {
  position: absolute; top: -12px; left: 14px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; text-transform: uppercase;
}
.cta-fila { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-nota { font-size: 14px; color: var(--muted); margin: 14px 0 0; display: flex; gap: 16px; flex-wrap: wrap; }
.cta-nota span { display: inline-flex; align-items: center; gap: 6px; }
.cta-nota svg { width: 16px; height: 16px; color: var(--green); }

/* Escena: radar + celular */
.escena { position: relative; min-height: 640px; display: grid; place-items: center; }
.radar {
  position: absolute; width: min(640px, 112%); aspect-ratio: 1; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, transparent 0 19.6%, rgba(79,140,255,.35) 19.6% 20%, transparent 20% 39.6%, rgba(79,140,255,.3) 39.6% 40%,
      transparent 40% 59.6%, rgba(79,140,255,.24) 59.6% 60%, transparent 60% 79.6%, rgba(79,140,255,.18) 79.6% 80%, transparent 80%);
}
.radar::before, .radar::after { content: ""; position: absolute; background: rgba(79,140,255,.16); }
.radar::before { left: 50%; top: 10%; bottom: 10%; width: 1px; }
.radar::after { top: 50%; left: 10%; right: 10%; height: 1px; }
.barrido {
  position: absolute; inset: 10%; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(79,140,255,0) 0deg, rgba(79,140,255,0) 290deg, rgba(79,140,255,.3) 358deg, rgba(79,140,255,.65) 360deg);
  animation: girar 4.5s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(79,140,255,.2), 0 0 16px rgba(79,140,255,.8); animation: parpadeo 4.5s infinite; }
.blip.b1 { left: 20%; top: 30%; } .blip.b2 { right: 16%; top: 22%; animation-delay: -1.3s; }
.blip.b3 { left: 14%; bottom: 26%; animation-delay: -3s; }
.blip.b4 { right: 12%; bottom: 34%; animation-delay: -2.1s; background: var(--green); box-shadow: 0 0 0 6px rgba(46,204,113,.2), 0 0 16px rgba(46,204,113,.8); }
@keyframes parpadeo { 0%, 100% { opacity: .25; transform: scale(.8); } 12% { opacity: 1; transform: scale(1.15); } 40% { opacity: .7; transform: scale(1); } }

.celular {
  position: relative; z-index: 2; width: 320px; border-radius: 48px; padding: 11px; background: #050506;
  box-shadow: 0 0 0 2px #2f2f36, 0 50px 90px -30px rgba(0,0,0,.9), 0 0 80px -20px rgba(79,140,255,.45);
  transform: rotate(-3deg);
}
.pantalla { border-radius: 38px; overflow: hidden; background: var(--bg); }
.cel-cabeza { background: linear-gradient(160deg, #10131c, #16264d); color: #fff; padding: 12px 18px 18px; border-bottom: 1px solid var(--border); }
.cel-estado { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; }
.isla { width: 92px; height: 24px; background: #000; border-radius: 999px; }
.cel-titulo { margin-top: 14px; font-family: var(--display); font-size: 20px; letter-spacing: .02em; text-transform: uppercase; }
.cel-sub { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.cel-sub i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.cel-cuerpo { padding: 12px; display: grid; gap: 9px; }
.oferta { background: var(--card); border-radius: 16px; padding: 12px; border: 1px solid var(--border); }
.oferta.destacada { border-color: var(--green); box-shadow: 0 10px 28px -14px rgba(46,204,113,.55); }
.of-fila { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.of-modelo { font-weight: 800; font-size: 14px; line-height: 1.2; }
.of-meta { font-size: 11px; color: var(--muted); margin-top: 2px; }
.pct { flex: none; background: rgba(46,204,113,.15); color: var(--green); font-weight: 800; font-size: 12px; padding: 4px 8px; border-radius: 999px; }
.of-precios { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.of-precio { font-family: var(--display); font-size: 19px; color: #fff; }
.of-mercado { font-size: 11px; color: var(--muted); text-decoration: line-through; }
.barra-precio { position: relative; height: 7px; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--yellow) 55%, var(--red)); margin: 10px 0 4px; }
.barra-precio i { position: absolute; top: 50%; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 3px solid #fff; transform: translate(-50%, -50%); }
.barra-precio u { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #fff; opacity: .5; }
.of-leyenda { display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.chip { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: var(--card2); color: var(--muted); }
.chip.fb { background: rgba(79,140,255,.16); color: #8db4ff; } .chip.neo { background: rgba(243,156,75,.16); color: var(--orange); }
.chip.rapido { background: rgba(241,196,15,.14); color: var(--yellow); }
.cel-boton { margin: 2px 0 6px; background: var(--accent); color: #fff; text-align: center; font-weight: 800; font-size: 13px; letter-spacing: .06em; padding: 11px; border-radius: 999px; text-transform: uppercase; }
.cel-boton-env { padding: 0 12px 14px; }
.ejemplo { position: absolute; z-index: 3; bottom: 18px; right: 6%; font-size: 11px; color: var(--muted); background: rgba(21,21,25,.85); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; }

.flotante {
  position: absolute; z-index: 3; background: rgba(21,21,25,.92); border: 1px solid var(--border); border-radius: 16px; padding: 10px 14px;
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; animation: flotar 5s ease-in-out infinite;
}
.flotante .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.flotante .ico svg { width: 18px; height: 18px; }
.flotante small { display: block; font-size: 11px; color: var(--muted); font-weight: 600; }
.flotante.f1 { left: -20px; top: 30%; } .flotante.f1 .ico { background: rgba(46,204,113,.15); color: var(--green); }
.flotante.f2 { left: -20px; bottom: 18%; animation-delay: -2.5s; }
@media (min-width: 981px) { .celular { left: 70px; } } .flotante.f2 .ico { background: rgba(79,140,255,.16); color: var(--accent); }
@keyframes flotar { 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .hero .cont { grid-template-columns: 1fr; }
  .escena { min-height: 600px; }
  .flotante.f1 { left: 2%; } .flotante.f2 { left: auto; right: 2%; }
}
@media (max-width: 520px) {
  .hero { padding-top: 24px; }
  .celular { width: 286px; }
  .flotante { font-size: 12px; padding: 8px 10px; }
  .flotante { display: none; }
  .btn-grande { width: 100%; font-size: 15px; letter-spacing: .02em; padding: 18px 16px; }
  .titular { font-size: 10.4vw; }
  .plan-pildora { border-radius: 20px; }
  .plan-pildora .op { padding: 8px 12px; font-size: 14px; }
}

/* ---------- Franja de cifras ---------- */
.cifras { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 34px 0; }
.cifras .cont { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cifra b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1; color: #fff; }
.cifra b em { font-style: normal; color: var(--accent); }
.cifra span { color: var(--muted); font-size: 14px; font-weight: 600; }
@media (max-width: 760px) { .cifras .cont { grid-template-columns: 1fr 1fr; row-gap: 26px; } }

/* ---------- Cinta de marcas ---------- */
.cinta-marcas { background: var(--accent); color: var(--bg); overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg); margin: 22px -10px; box-shadow: 0 14px 40px -18px rgba(79,140,255,.8); }
.cinta-marcas .pista { display: flex; gap: 46px; width: max-content; animation: deslizar 32s linear infinite; }
.cinta-marcas span { font-family: var(--display); font-size: 26px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; }
.cinta-marcas span::after { content: "✦"; font-size: 16px; opacity: .6; }
@keyframes deslizar { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.seccion { padding: 96px 0; }
.kicker { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.titulo-sec { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95; font-size: clamp(40px, 6vw, 76px); margin: 0 0 18px; letter-spacing: -.005em; color: #fff; }
.titulo-sec .acento { color: var(--accent); }
.intro { font-size: 18px; color: var(--muted); max-width: 620px; margin: 0; }
.cabeza-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 48px; }
@media (max-width: 860px) { .cabeza-sec { grid-template-columns: 1fr; } .seccion { padding: 72px 0; } }

/* Tarjetas de lo que ves */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.carta {
  position: relative; background: var(--card); border-radius: var(--radio); padding: 26px; border: 1px solid var(--border);
  overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.carta:hover { transform: translateY(-4px); border-color: rgba(79,140,255,.5); box-shadow: 0 24px 50px -28px rgba(79,140,255,.35); }
.carta .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.carta .ico svg { width: 26px; height: 26px; }
.carta h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 22px; line-height: 1.05; margin: 0 0 10px; letter-spacing: .01em; color: #fff; }
.carta p { margin: 0; color: var(--muted); font-size: 15px; }
.carta.ancha { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.carta.acento { background: linear-gradient(150deg, #6aa0ff, var(--accent) 45%, var(--accent-osc)); border-color: transparent; }
.carta.acento p { color: #e3ecff; }
.carta.profunda { background: linear-gradient(160deg, #13182a, var(--card) 70%); border-color: #26324f; }
.i-acento { background: rgba(79,140,255,.16); color: var(--accent); } .i-verde { background: rgba(46,204,113,.15); color: var(--green); }
.i-amarillo { background: rgba(241,196,15,.14); color: var(--yellow); } .i-rojo { background: rgba(231,76,60,.15); color: var(--red); }
.i-blanco { background: rgba(255,255,255,.2); color: #fff; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .carta.ancha { grid-column: auto; grid-template-columns: 1fr; } }

/* Mini comparación de precio dentro de la carta ancha */
.comparar { background: var(--card2); border: 1px solid var(--border); border-radius: 18px; padding: 18px; display: grid; gap: 12px; }
.comparar .fila { display: grid; grid-template-columns: 84px 1fr auto; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.comparar .pista { height: 14px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.comparar .pista i { display: block; height: 100%; border-radius: 999px; }
.comparar .ahorro { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--border); padding-top: 12px; font-size: 14px; font-weight: 700; }
.comparar .ahorro b { font-family: var(--display); font-weight: 400; color: var(--green); font-size: 26px; }

/* Rotación */
.rot { display: grid; gap: 8px; margin-top: 18px; }
.rot div { display: grid; grid-template-columns: 110px 1fr 54px; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; }
.rot u { display: block; height: 10px; border-radius: 999px; background: rgba(255,255,255,.08); text-decoration: none; overflow: hidden; }
.rot u i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), #8db4ff); border-radius: 999px; }
.rot em { font-style: normal; color: var(--muted); text-align: right; }

/* ---------- Cómo funciona ---------- */
.franja { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.franja::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -320px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,140,255,.18), rgba(79,140,255,0) 65%);
}
.pasos { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.paso { background: var(--card); border: 1px solid var(--border); border-radius: var(--radio); padding: 28px; }
.paso .num { font-family: var(--display); font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.paso h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 24px; margin: 14px 0 8px; line-height: 1.05; color: #fff; }
.paso p { color: var(--muted); margin: 0; font-size: 15px; }
.metodos { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.metodo { font-weight: 800; font-size: 13px; padding: 7px 12px; border-radius: 10px; color: var(--text); background: var(--card2); border: 1px solid var(--border); }
@media (max-width: 860px) { .pasos { grid-template-columns: 1fr; } }

/* ---------- Precio + formulario ---------- */
.precio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.plan {
  position: relative; border-radius: 28px; padding: 34px; color: #fff; overflow: hidden;
  background: linear-gradient(150deg, #6aa0ff 0%, var(--accent) 40%, var(--accent-osc) 100%);
  box-shadow: 0 40px 80px -40px rgba(79,140,255,.75);
}
.plan::after { content: ""; position: absolute; width: 380px; height: 380px; right: -140px; bottom: -160px; border-radius: 50%; border: 40px solid rgba(255,255,255,.08); }
.plan .cinta { display: inline-block; background: #fff; color: var(--accent-osc); font-weight: 800; font-size: 12px; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; }
.plan h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 30px; margin: 16px 0 4px; }
.plan .monto { display: flex; align-items: flex-start; gap: 6px; font-family: var(--display); line-height: .85; margin: 14px 0 6px; }
.plan .monto small { font-size: 28px; margin-top: 10px; }
.plan .monto span { font-size: clamp(88px, 11vw, 128px); }
.plan .periodo { font-weight: 700; font-size: 17px; opacity: .92; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; position: relative; z-index: 1; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; background: rgba(255,255,255,.2); border-radius: 50%; padding: 3px; }

.acceso { background: var(--card); border-radius: 28px; padding: 34px; border: 1px solid var(--border); box-shadow: 0 30px 60px -40px rgba(0,0,0,.9); }
.acceso h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 28px; margin: 0 0 6px; line-height: 1; color: #fff; }
.acceso > p { margin: 0 0 20px; color: var(--muted); }
.pestanas { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; background: var(--bg); border: 1px solid var(--border); border-radius: 999px; margin-bottom: 20px; }
.pestanas button { font-family: var(--texto); font-weight: 800; font-size: 15px; border: 0; background: transparent; color: var(--muted); padding: 11px; border-radius: 999px; cursor: pointer; }
.pestanas button[aria-selected="true"] { background: var(--card2); color: var(--text); box-shadow: inset 0 0 0 1px var(--accent); }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); }
input {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--card2);
  color: var(--text); font-size: 16px; font-family: var(--texto); transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: #6b7180; }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(79,140,255,.25); }
form .btn { width: 100%; margin-top: 4px; border: 0; }
button:disabled { opacity: .55; cursor: wait; }
.letra-chica { font-size: 13px; color: var(--muted); margin: 4px 0 0; text-align: center; }
.aviso { padding: 11px 14px; border-radius: 12px; font-size: 14px; margin: 0; font-weight: 600; }
.aviso:empty { display: none; }
.aviso.error { background: #e74c3c22; color: #ff9b91; border: 1px solid #e74c3c55; }
.aviso.ok { background: #2ecc7122; color: #7ee2a8; border: 1px solid #2ecc7155; }
.aviso.info { background: #4f8cff1f; color: #a9c5ff; border: 1px solid #4f8cff55; }
@media (max-width: 860px) { .precio-grid { grid-template-columns: 1fr; } .plan, .acceso { padding: 26px; } }

/* ---------- Preguntas ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 0 22px; }
.faq details[open] { border-color: rgba(79,140,255,.5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); font-size: 22px; font-weight: 700; transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* ---------- Llamado final ---------- */
.final { padding: 0 0 96px; }
.final .caja {
  position: relative; overflow: hidden; border-radius: 32px; background: linear-gradient(150deg, #121a30, var(--card) 60%);
  border: 1px solid #26324f; padding: clamp(32px, 6vw, 72px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center;
}
.final .caja::before { content: ""; position: absolute; inset: auto -120px -220px auto; width: 560px; height: 560px; border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(79,140,255,.35) 0 2px, transparent 2px 46px); opacity: .6; }
.final .titulo-sec { margin: 0; position: relative; }
.final p { color: var(--muted); font-size: 18px; margin: 0 0 22px; position: relative; }
.final .derecha { position: relative; }
@media (max-width: 860px) { .final .caja { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.pie { background: #070709; border-top: 1px solid var(--border); color: var(--muted); padding: 48px 0 40px; font-size: 14px; }
.pie .cont { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.pie h4 { color: var(--text); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.pie a { color: var(--muted); text-decoration: none; display: block; margin-bottom: 8px; }
.pie a:hover { color: var(--text); }
.pie .legal { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 22px; font-size: 13px; }
@media (max-width: 760px) { .pie .cont { grid-template-columns: 1fr 1fr; } .pie .cont > div:first-child { grid-column: 1 / -1; } }

/* ---------- Aparición al hacer scroll ---------- */
.aparece { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.aparece.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .aparece { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
