:root {
  --fondo: #07080d; --fondo2: #0d0f17; --panel: #12151f; --panel2: #191d2a; --borde: #232838; --borde2: #313852;
  --texto: #eef0f6; --tenue: #98a0b4; --acento: #7c5cff; --acento2: #b06bff; --cian: #3ad6ff; --ok: #3ddc97;
  --ancho: 1160px; --radio: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fondo); color: var(--texto); font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, sans-serif; letter-spacing: -.025em; line-height: 1.1; margin: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.contenedor { width: min(var(--ancho), 100% - 32px); margin: 0 auto; }
.degradado { background: linear-gradient(90deg, var(--cian), var(--acento2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tenue { color: var(--tenue); }
.etiqueta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #cdbfff; background: rgba(124, 92, 255, .12); border: 1px solid rgba(124, 92, 255, .35); padding: 6px 12px; border-radius: 99px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; padding: 14px 22px; border-radius: 12px; transition: transform .12s, filter .15s, border-color .15s; cursor: pointer; border: 0; font-size: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-primario { background: linear-gradient(135deg, var(--acento), var(--acento2)); color: #fff; box-shadow: 0 10px 30px rgba(124, 92, 255, .35); }
.btn-primario:hover { filter: brightness(1.08); }
.btn-sec { background: var(--panel2); border: 1px solid var(--borde2); color: var(--texto); }
.btn-sec:hover { border-color: var(--acento); }
.btn svg { width: 18px; height: 18px; }

/* cabecera */
.cabecera { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(7, 8, 13, .72); border-bottom: 1px solid rgba(255, 255, 255, .05); }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; }
.marca b { color: var(--acento2); }
.logo-x { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--acento), var(--acento2)); color: #fff; font-weight: 800; box-shadow: 0 4px 18px rgba(124, 92, 255, .5); }
.menu { display: flex; gap: 28px; color: var(--tenue); font-size: 15px; }
.menu a:hover { color: var(--texto); }
.cabecera .btn { padding: 10px 16px; font-size: 14px; }

/* héroe */
.heroe { position: relative; padding: 88px 0 72px; overflow: hidden; }
.heroe::before { content: ""; position: absolute; inset: -20% -10% auto; height: 700px; background: radial-gradient(600px 380px at 25% 30%, rgba(124, 92, 255, .32), transparent 70%), radial-gradient(500px 360px at 80% 50%, rgba(58, 214, 255, .18), transparent 70%); pointer-events: none; }
.heroe .contenedor { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.heroe h1 { font-size: clamp(38px, 5.4vw, 64px); margin: 18px 0 18px; }
.heroe p.sub { font-size: 19px; color: var(--tenue); max-width: 540px; margin: 0 0 30px; }
.acciones { display: flex; gap: 12px; flex-wrap: wrap; }
.nota { font-size: 13px; color: var(--tenue); margin-top: 14px; }
.telefonos { position: relative; height: 560px; }
.telefono { position: absolute; width: 230px; aspect-ratio: 9 / 16; border-radius: 34px; padding: 8px; background: #040509; border: 1px solid var(--borde2); box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .03) inset; overflow: hidden; }
.telefono img, .telefono video { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.telefono.t1 { left: 4%; top: 60px; transform: rotate(-7deg); opacity: .9; }
.telefono.t2 { left: 50%; top: 0; transform: translateX(-50%); width: 260px; z-index: 2; }
.telefono.t3 { right: 4%; top: 70px; transform: rotate(7deg); opacity: .9; }

/* secciones */
section { padding: 88px 0; }
.titulo-seccion { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.titulo-seccion h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 14px 0 12px; }
.titulo-seccion p { color: var(--tenue); font-size: 17px; margin: 0; }

.pasos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: paso; }
.paso { background: var(--panel); border: 1px solid var(--borde); border-radius: var(--radio); padding: 28px; position: relative; }
.paso::before { counter-increment: paso; content: counter(paso); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(124, 92, 255, .15); color: #cdbfff; font-weight: 800; margin-bottom: 18px; }
.paso h3 { font-size: 20px; margin-bottom: 8px; }
.paso p { color: var(--tenue); margin: 0; }

.ventajas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ventaja { background: linear-gradient(180deg, var(--panel), var(--fondo2)); border: 1px solid var(--borde); border-radius: var(--radio); padding: 26px; }
.ventaja .ico { font-size: 26px; margin-bottom: 14px; }
.ventaja h3 { font-size: 18px; margin-bottom: 6px; }
.ventaja p { color: var(--tenue); margin: 0; font-size: 15px; }

.plantillas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.plantilla { border-radius: 16px; overflow: hidden; background: var(--panel); border: 1px solid var(--borde); }
.plantilla .img { aspect-ratio: 9 / 13; background: var(--panel2) center / cover no-repeat; display: grid; place-items: center; font-size: 44px; }
.plantilla .txt { padding: 12px 14px 14px; font-size: 14px; }
.plantilla .txt b { display: block; }
.plantilla .txt span { color: var(--tenue); font-size: 12.5px; }
.plantilla.pronto { opacity: .6; }

/* galería de ejemplos */
.galeria-ej { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: stretch; }
.galeria-ej img, .telefono-ej { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; border: 1px solid var(--borde); background: var(--panel); transition: transform .2s, border-color .2s; }
.galeria-ej img:hover { transform: translateY(-4px) scale(1.02); border-color: var(--acento); }
.telefono-ej.grande { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; overflow: hidden; border-radius: 22px; box-shadow: 0 30px 70px rgba(124, 92, 255, .2); border-color: var(--borde2); }
.telefono-ej video { width: 100%; height: 100%; object-fit: cover; }

/* precios */
.selector { display: inline-flex; padding: 5px; background: var(--panel); border: 1px solid var(--borde); border-radius: 99px; margin: 0 auto 36px; }
.selector button { background: none; border: 0; color: var(--tenue); font: inherit; font-weight: 600; padding: 9px 18px; border-radius: 99px; cursor: pointer; }
.selector button.sel { background: var(--panel2); color: var(--texto); box-shadow: 0 0 0 1px var(--borde2); }
.selector small { color: var(--ok); margin-left: 6px; }
.centro { text-align: center; }
.precios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--panel); border: 1px solid var(--borde); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.plan.destacado { background: linear-gradient(180deg, rgba(124, 92, 255, .14), var(--panel) 40%); border-color: var(--acento); box-shadow: 0 30px 70px rgba(124, 92, 255, .18); }
.plan .cinta { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--acento), var(--acento2)); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.plan h3 { font-size: 22px; }
.plan .para { color: var(--tenue); font-size: 14px; margin: 4px 0 0; }
.plan .precio { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan .precio small { font-size: 15px; font-weight: 500; color: var(--tenue); letter-spacing: 0; }
.plan .local { color: var(--tenue); font-size: 13px; min-height: 20px; margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; color: #cfd4e2; flex: 1; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--ok); font-weight: 800; }
.plan li.no { color: var(--tenue); } .plan li.no::before { content: "–"; color: var(--tenue); }
.pagos { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; color: var(--tenue); font-size: 14px; }
.pagos span { display: inline-flex; align-items: center; gap: 6px; }

/* requisitos y FAQ */
.dos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.caja { background: var(--panel); border: 1px solid var(--borde); border-radius: var(--radio); padding: 28px; }
.caja h3 { font-size: 20px; margin-bottom: 14px; }
.caja table { width: 100%; border-collapse: collapse; font-size: 15px; }
.caja td { padding: 10px 0; border-top: 1px solid var(--borde); vertical-align: top; }
.caja td:first-child { color: var(--tenue); width: 38%; padding-right: 12px; }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--borde); border-radius: 14px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--acento2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--tenue); margin: 12px 0 0; }

/* llamada final y pie */
.final { text-align: center; background: radial-gradient(700px 300px at 50% 0%, rgba(124, 92, 255, .25), transparent 70%); border-top: 1px solid var(--borde); }
.final h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 16px; }
.final .acciones { justify-content: center; margin-top: 28px; }
footer { border-top: 1px solid var(--borde); padding: 36px 0; color: var(--tenue); font-size: 14px; }
footer .contenedor { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a:hover { color: var(--texto); }

/* páginas legales */
.legal { max-width: 780px; margin: 0 auto; padding: 64px 0 96px; }
.legal h1 { font-size: 40px; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 34px 0 10px; }
.legal p, .legal li { color: #c9cede; }
.legal .aviso { background: rgba(255, 193, 77, .08); border: 1px solid rgba(255, 193, 77, .3); color: #ffd98a; border-radius: 12px; padding: 12px 16px; font-size: 14px; }

.tabs-legal { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--borde); border-radius: 99px; margin-bottom: 26px; }
.tabs-legal a { padding: 8px 16px; border-radius: 99px; color: var(--tenue); font-weight: 600; font-size: 14px; }
.tabs-legal a.sel { background: var(--panel2); color: var(--texto); box-shadow: 0 0 0 1px var(--borde2); }
.legal h3 { font-size: 17px; margin: 18px 0 6px; }
.legal a { color: #c9b9ff; text-decoration: underline; text-underline-offset: 3px; }
.indice { background: var(--panel); border: 1px solid var(--borde); border-radius: 14px; padding: 14px 20px; margin: 22px 0 8px; }
.indice summary { cursor: pointer; font-weight: 600; }
.indice ol { margin: 10px 0 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.indice li { margin: 4px 0; }
.indice a { text-decoration: none; color: var(--tenue); } .indice a:hover { color: var(--texto); }
@media (max-width: 640px) { .indice ol { columns: 1; } .tabs-legal { display: flex; } }

/* aparición suave al hacer scroll */
.aparece { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.aparece.visto { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .aparece { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 960px) {
  .menu { display: none; }
  .heroe .contenedor, .dos { grid-template-columns: 1fr; }
  .telefonos { height: 470px; }
  .telefono { width: 180px; } .telefono.t2 { width: 210px; }
  .pasos, .ventajas, .precios { grid-template-columns: 1fr; }
  .plantillas { grid-template-columns: repeat(2, 1fr); }
  .galeria-ej { grid-template-columns: repeat(3, 1fr); }
  .telefono-ej.grande { grid-column: span 3; grid-row: auto; aspect-ratio: 9 / 12; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) { .telefono.t1, .telefono.t3 { display: none; } .heroe { padding-top: 48px; } .btn { width: 100%; } }
