/* ══════════════════════════════════════════════════════════════════
   Páginas públicas de Vantax (inicio, servidores, soporte, legales, en vivo, tickets…)
   Lo común (colores, botones, contornos, cabecera, pie) está en vantax.css.
   ══════════════════════════════════════════════════════════════════ */

body.web { display: flex; flex-direction: column; }
body.web > main { position: relative; z-index: 1; flex: 1; width: 100%; }
body.web > .envoltura { width: 100%; }
.kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--acento2); display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--acento); box-shadow: 0 0 10px rgba(var(--brillo), .9); }
.degradado { background: linear-gradient(180deg, #fff 25%, var(--acento2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Inicio ─────────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 50px; align-items: center; padding: clamp(40px, 8vw, 100px) 0 40px; }
.hero .titulo-grande { margin: 20px 0 22px; font-size: clamp(42px, 6.4vw, 84px); }
.hero .acciones { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.franja { display: flex; gap: 14px 40px; flex-wrap: wrap; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--hilo); }
.franja div { display: flex; flex-direction: column; gap: 4px; }
.franja b { font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.franja span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--suave); }
.emblema { position: relative; width: min(440px, 100%); aspect-ratio: 1; margin-left: auto; }
.emblema svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.emblema .giro { transform-origin: 50% 50%; animation: girar 80s linear infinite; will-change: transform; }
.emblema .giro-inverso { transform-origin: 50% 50%; animation: girar 120s linear infinite reverse; will-change: transform; }
.emblema img { position: absolute; left: 50%; top: 50%; width: 38%; height: 38%; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 1px rgba(var(--brillo), .6), 0 0 60px rgba(var(--brillo), .55); }
.seccion-web { padding: 80px 0 0; }
.seccion-web > header { margin-bottom: 32px; max-width: 700px; }
.seccion-web > header .titulo-seccion { margin-top: 14px; }
.seccion-web > header p { color: var(--suave); font-size: 16.5px; line-height: 1.65; margin: 14px 0 0; }
.rasgos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rasgo { padding: 28px 26px; transition: border-color .25s, transform .25s; }
.rasgo:hover { border-color: var(--contorno); transform: translateY(-3px); }
.ico-rasgo { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--contorno); border-radius: 12px; color: var(--acento2); margin-bottom: 20px; box-shadow: inset 0 0 18px rgba(var(--brillo), .18), 0 0 18px rgba(var(--brillo), .12); }
.ico-rasgo svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rasgo h3 { margin: 0 0 8px; font-size: 18px; font-weight: 620; }
.rasgo p { margin: 0; color: var(--suave); line-height: 1.6; font-size: 14.5px; }
.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.paso { padding: 26px; }
.paso .num { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--acento); }
.paso h3 { margin: 12px 0 8px; font-size: 18px; }
.paso p { margin: 0; color: var(--suave); line-height: 1.6; font-size: 14.5px; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--hilo); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-size: 17px; font-weight: 560; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-right: 1.5px solid var(--acento2); border-bottom: 1.5px solid var(--acento2); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--acento2); }
.faq details p { margin: 0 4px 22px; color: var(--suave); line-height: 1.7; max-width: 720px; }
.cta-final { margin: 90px 0 0; padding: clamp(36px, 6vw, 64px) clamp(22px, 5vw, 64px); text-align: center; }
.cta-final p { color: var(--suave); max-width: 560px; margin: 14px auto 0; line-height: 1.6; }
.cta-final .botonera { justify-content: center; }

/* ── Encabezado de una página ──────────────────────────────────── */
.cab-pagina { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: flex-end; justify-content: space-between; padding: clamp(40px, 6vw, 70px) 0 30px; }
.cab-pagina h1 { margin: 14px 0 0; font-size: clamp(34px, 4.6vw, 58px); font-weight: 680; letter-spacing: -.035em; line-height: 1.02; }
.cab-pagina p { margin: 12px 0 0; color: var(--suave); max-width: 640px; line-height: 1.6; }
.cab-pagina .botonera { margin: 0; }

/* ── Mis servidores ─────────────────────────────────────────────── */
.grid-servidores { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.tarjeta-servidor { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 28px 20px 20px; transition: border-color .25s, transform .25s; }
.tarjeta-servidor:hover { border-color: var(--contorno); transform: translateY(-3px); }
.tarjeta-servidor .icono-s { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--hilo2); }
.tarjeta-servidor.con-vantax .icono-s { box-shadow: 0 0 0 1px rgba(var(--brillo), .55), 0 0 24px rgba(var(--brillo), .35); }
.tarjeta-servidor .sin-icono-s { display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 650; color: var(--acento2); background: rgba(var(--brillo), .1); }
.tarjeta-servidor h3 { margin: 4px 0 0; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; line-height: 1.35; }
.estado-s { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--tenue); }
.estado-s i { width: 7px; height: 7px; border-radius: 50%; background: var(--tenue); }
.con-vantax .estado-s { color: var(--acento2); }
.con-vantax .estado-s i { background: var(--acento); box-shadow: 0 0 8px rgba(var(--brillo), .9); }
.tarjeta-servidor .enlace { width: 100%; margin-top: auto; }
.vacio-web { padding: 56px clamp(20px, 5vw, 48px); text-align: center; }
.vacio-web h2 { margin: 0 0 10px; font-size: 24px; }
.vacio-web p { color: var(--suave); margin: 0 auto; max-width: 520px; line-height: 1.6; }

/* ── Mensaje centrado (404, error, verificación, soporte…) ─────── */
.centro { min-height: calc(100vh - 240px); display: flex; align-items: center; justify-content: center; padding: 50px 0; }
.mensaje-web { width: min(580px, 100%); text-align: center; padding: clamp(32px, 6vw, 52px) clamp(22px, 5vw, 50px); }
.mensaje-web .sello { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 24px; display: block; box-shadow: 0 0 0 1px rgba(var(--brillo), .55), 0 0 40px rgba(var(--brillo), .45); }
.mensaje-web .codigo { font-family: var(--mono); font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--acento2); }
.mensaje-web h1 { margin: 12px 0 14px; font-size: clamp(28px, 4.4vw, 42px); font-weight: 680; letter-spacing: -.03em; line-height: 1.08; }
.mensaje-web p { color: var(--suave); line-height: 1.65; margin: 0 0 6px; }
.mensaje-web .botonera { justify-content: center; }
.mensaje-web .nota-web { margin-top: 26px; font-size: 13px; color: var(--tenue); }
.mensaje-web .nota-web a { color: var(--acento2); }
.mensaje-web.bien .sello { box-shadow: 0 0 0 1px rgba(110, 231, 183, .6), 0 0 40px rgba(110, 231, 183, .35); }
.mensaje-web.bien .codigo { color: var(--ok); }
.mensaje-web.mal .sello { box-shadow: 0 0 0 1px rgba(var(--peligro-brillo), .6), 0 0 40px rgba(var(--peligro-brillo), .35); }
.mensaje-web.mal .codigo { color: var(--peligro); }
.consola { margin: 24px 0 0; padding: 12px 14px; border: 1px solid var(--hilo2); border-radius: 9px; font-family: var(--mono); font-size: 13px; text-align: left; color: var(--acento2); }
.consola.mal { color: var(--peligro); border-color: rgba(var(--peligro-brillo), .4); }
.consola.bien { color: var(--ok); border-color: rgba(110, 231, 183, .4); }
.barra-progreso { height: 3px; background: var(--hilo); border-radius: 3px; overflow: hidden; margin-top: 20px; }
.barra-progreso i { display: block; height: 100%; width: 4%; background: linear-gradient(90deg, var(--acento), var(--acento2)); box-shadow: 0 0 10px rgba(var(--brillo), .8); transition: width .45s ease; }
.barra-progreso.mal i { background: var(--peligro); }

/* ── Legales ────────────────────────────────────────────────────── */
.cab-legal { padding: clamp(40px, 6vw, 72px) 0 34px; max-width: 820px; }
.cab-legal h1 { margin: 16px 0 10px; font-size: clamp(36px, 5vw, 62px); font-weight: 680; letter-spacing: -.035em; line-height: 1.04; }
.cab-legal .fecha-legal { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--tenue); }
.cab-legal .entradilla { margin-top: 18px; }
.cab-legal .entradilla span, .cab-legal .entradilla b { color: var(--tinta); font-weight: 600; }
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 50px; align-items: start; }
.indice-legal { position: sticky; top: 92px; padding: 22px 20px; }
.indice-legal ol { list-style: none; margin: 12px 0 0; padding: 0; counter-reset: ind; }
.indice-legal li { counter-increment: ind; }
.indice-legal a { display: flex; gap: 10px; padding: 6px 0; font-size: 13.5px; color: var(--suave); text-decoration: none; line-height: 1.4; }
.indice-legal a::before { content: counter(ind, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--tenue); padding-top: 2px; }
.indice-legal a:hover { color: var(--acento2); }
.prosa section { padding: 30px 0; border-bottom: 1px solid var(--hilo); scroll-margin-top: 92px; }
.prosa section:first-child { padding-top: 0; }
.prosa section:last-child { border-bottom: 0; }
.prosa h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; font-size: clamp(20px, 2.2vw, 24px); font-weight: 640; letter-spacing: -.015em; }
.prosa h2 .num { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--acento); flex-shrink: 0; }
.prosa h3 { margin: 22px 0 10px; font-size: 17px; }
.prosa p, .prosa li { color: var(--suave); line-height: 1.75; font-size: 15.5px; }
.prosa p { margin: 0 0 12px; }
.prosa ul, .prosa ol { margin: 0 0 12px; padding-left: 22px; }
.prosa li { margin: 4px 0; }
.prosa li::marker { color: var(--acento); }
.prosa b, .prosa strong { color: var(--tinta); font-weight: 600; }
.prosa a { color: var(--acento2); text-decoration: underline; text-decoration-color: rgba(var(--brillo), .5); text-underline-offset: 3px; }
.prosa a:hover { color: #fff; }
.prosa table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
.prosa th, .prosa td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hilo); color: var(--suave); vertical-align: top; }
.prosa th { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--acento2); font-weight: 500; }
.prosa td:first-child { color: var(--tinta); }
.pasar-legal { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 40px 0 0; }

/* ── En vivo ────────────────────────────────────────────────────── */
.vivo-cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cifra-vivo { padding: 28px 26px; }
.cifra-vivo span { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--suave); }
.cifra-vivo b { display: block; margin-top: 10px; font-size: clamp(38px, 5vw, 60px); font-weight: 680; letter-spacing: -.04em; line-height: 1; }
.cifra-vivo small { display: block; margin-top: 8px; color: var(--tenue); font-size: 13px; }
.punto-vivo { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px rgba(110, 231, 183, .9); animation: latido 2s ease-in-out infinite; vertical-align: middle; }
.grafica-vivo { margin-top: 18px; padding: 24px 24px 18px; }
.grafica-vivo .lienzo { position: relative; height: 340px; margin-top: 16px; }

/* ── Tickets (Mis tickets, transcripciones) ────────────────────── */
.bloque-web { padding: 26px 26px 22px; margin-bottom: 22px; }
.fila-web { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--hilo); color: var(--tinta); text-decoration: none; border-radius: 8px; min-width: 0; }
.fila-web:last-child { border-bottom: 0; }
a.fila-web:hover { background: rgba(var(--brillo), .07); }
.fila-web img { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; box-shadow: 0 0 0 1px var(--hilo2); }
.fila-web .principal { flex: 1; min-width: 0; }
.fila-web .principal b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fila-web .principal small { display: block; color: var(--tenue); font-size: 12.5px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fila-web .estrellas { color: var(--aviso); font-size: 14px; flex-shrink: 0; }
.cifras-web { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.cifras-web > div { padding: 20px 22px; }
.cifras-web span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--suave); }
.cifras-web b { display: block; margin-top: 8px; font-size: 28px; font-weight: 650; letter-spacing: -.02em; }
.tabla-web { width: 100%; border-collapse: collapse; font-size: 14px; }
.tabla-web th { text-align: left; padding: 10px 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); font-weight: 500; border-bottom: 1px solid var(--contorno); }
.tabla-web td { padding: 11px 10px; border-bottom: 1px solid var(--hilo); color: var(--suave); }
.tabla-web td b { color: var(--tinta); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.tabla-web img { width: 24px; height: 24px; border-radius: 50%; }
.desplazable { overflow-x: auto; }
.fichas-web { display: flex; flex-wrap: wrap; gap: 8px; }
.ficha-web { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--hilo2); border-radius: 999px; font-size: 13.5px; color: var(--suave); max-width: 100%; overflow-wrap: anywhere; }
.ficha-web img { width: 18px; height: 18px; border-radius: 50%; }
.ficha-web b { color: var(--tinta); font-weight: 600; }
.ficha-web.activa { color: #fff; border-color: var(--acento); background: rgba(var(--brillo), .14); }
a.ficha-web { text-decoration: none; }
a.ficha-web:hover { color: var(--tinta); border-color: rgba(var(--brillo), .5); }
.buscar-web { display: flex; gap: 10px; align-items: center; }
.buscar-web .linea-txt { margin: 0; min-width: 0; }
.paginas-web { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-size: 13.5px; color: var(--tenue); }
.cab-bloque { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.cab-bloque h2 { margin: 0; font-size: 20px; font-weight: 640; }
.cab-bloque h2 small { color: var(--tenue); font-weight: 400; font-size: 14px; }
.cab-ticket { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.cab-ticket > img { width: 68px; height: 68px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(var(--brillo), .45), 0 0 24px rgba(var(--brillo), .3); }
.cab-ticket h1 { margin: 6px 0 4px; font-size: clamp(24px, 3.2vw, 36px); font-weight: 680; letter-spacing: -.025em; line-height: 1.1; overflow-wrap: anywhere; }
.cab-ticket p { margin: 0; color: var(--suave); }
.cab-ticket .nota-ticket { margin-left: auto; text-align: center; }
.cab-ticket .nota-ticket b { font-size: 22px; color: var(--aviso); letter-spacing: 2px; }
.cab-ticket .nota-ticket small { display: block; color: var(--tenue); font-size: 12px; }
.texto-suave { color: var(--suave); line-height: 1.6; }
.texto-tenue { color: var(--tenue); font-size: 13px; }
.respuesta-web { margin: 0 0 14px; }
.respuesta-web b { display: block; color: var(--tinta); }
.respuesta-web p { margin: 4px 0 0; color: var(--suave); white-space: pre-wrap; overflow-wrap: anywhere; }
.romper { overflow-wrap: anywhere; word-break: break-word; min-width: 0; }

@media (max-width: 980px) {
    .hero { grid-template-columns: 1fr; gap: 20px; padding-top: 30px; }
    .emblema { width: min(300px, 80vw); margin: 0 auto; order: -1; }
    .rasgos, .pasos, .vivo-cifras, .cifras-web { grid-template-columns: 1fr; }
    .legal { grid-template-columns: 1fr; gap: 24px; }
    .indice-legal { position: static; }
    .cab-ticket .nota-ticket { margin-left: 0; }
    .grafica-vivo .lienzo { height: 260px; }
    .buscar-web { flex-direction: column; align-items: stretch; }
    .cifras-web { grid-template-columns: 1fr 1fr; }
}
.prosa section > div { margin: 0 0 14px; padding: 2px 0 2px 16px; border-left: 1px solid var(--contorno); }
.prosa section > div b { display: block; color: var(--tinta); margin-bottom: 2px; }
.prosa section > div p { margin: 0; }
.prosa li > span:first-child { color: var(--tinta); font-weight: 600; }
.fila-con-accion { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--hilo); }
.fila-con-accion:last-child { border-bottom: 0; }
.fila-con-accion > .fila-web { flex: 1; border-bottom: 0; }
.aviso.fijo-web { animation: none; margin: 0 0 22px; }
h1 .simbolo { font-size: .5em; font-weight: 400; letter-spacing: 0; -webkit-text-fill-color: var(--acento2); color: var(--acento2); opacity: .75; vertical-align: .32em; margin: 0 .06em; }
