/*
 * ARGOS TECH LAB — la misma marca que ARGOS CCNA: azul marino de rack, verde de enlace, azul de fibra y Pako.
 * Plano: superficies separadas por tono, sin cristal, sin brillos, sin sombras en reposo.
 */

@font-face { font-family: Inter; src: url(/fuentes/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; src: url(/fuentes/inter-ext.woff2) format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Morado eléctrico: noche violeta, superficies que se iluminan y un acento que brilla. */
  --fondo: #07040f;
  --panel: #120a26;
  --elevado: #1d1039;
  --borde: #33205f;
  --tinta: #f4f0ff;
  --tenue: #b6a9d8;
  --verde: #b98cff;
  --azul: #c084fc;
  --ojo: #e9d5ff;
  --sobre-verde: #12052b;
  --violeta: #7c3aed;
  --electrico: #a855f7;
  --brillo: 0 0 24px rgb(168 85 247 / 0.45);

  --letra: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --codigo: ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, Consolas, monospace;
  --t-enorme: clamp(2.3rem, 1.1rem + 3.6vw, 4.1rem);
  --t-titulo: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
  --t-sub: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  --t-nota: 0.875rem;

  --margen: clamp(16px, 4vw, 48px);
  --ancho: 1200px;
  --radio: 14px;
  --cabecera: 3.85rem;
  --salida: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--cabecera); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--fondo); color: var(--tinta); font: 400 1.0625rem/1.6 var(--letra); -webkit-font-smoothing: antialiased; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 750; line-height: 1.1; letter-spacing: -0.025em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--azul); color: var(--fondo); }

.saltar { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--verde); color: var(--sobre-verde); padding: 0.6rem 1rem; border-radius: 999px; font-weight: 700; }
.saltar:focus { top: 0.75rem; }

.antetitulo { font: 600 0.8rem/1.2 var(--codigo); color: var(--verde); letter-spacing: 0.02em; }
.nota { color: var(--tenue); font-size: var(--t-nota); max-width: 70ch; }
.chip { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--elevado); color: var(--tinta); font-size: 0.8rem; font-weight: 600; }

/* ---------- Cabecera ---------- */

.cabecera { position: sticky; top: 0; z-index: 5; background: rgb(7 4 15 / 0.92); border-bottom: 1px solid var(--borde); }
@supports (backdrop-filter: blur(1px)) { .cabecera { background: rgb(7 4 15 / 0.72); backdrop-filter: blur(12px); } }
.cabecera__dentro { display: flex; align-items: center; gap: 1rem 1.5rem; max-width: var(--ancho); margin: 0 auto; padding: 0.7rem var(--margen); }
.marca { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; flex: none; }
.marca__icono { width: 2.4rem; height: auto; filter: drop-shadow(0 0 8px rgb(168 85 247 / 0.55)); }
.marca__texto { font-weight: 800; font-size: 1.02rem; letter-spacing: 0.01em; white-space: nowrap; }
.marca__texto { display: grid; line-height: 1; font-size: 1.15rem; letter-spacing: 0.04em; }
.marca__texto span { margin-top: 0.25rem; font-size: 0.6rem; font-weight: 650; letter-spacing: 0.46em; color: var(--azul); }
.cabecera__dentro { display: grid; grid-template-columns: 1fr auto 1fr; }
.menu { display: flex; gap: 0.25rem; font-size: 0.95rem; font-weight: 600; }
.cabecera__fin { display: flex; align-items: center; justify-content: flex-end; gap: 0.25rem; }
.menu a, .cabecera__enlace, .idioma { text-decoration: none; padding: 0.45rem 0.8rem; border-radius: 999px; color: var(--tenue); transition: color 0.2s, background-color 0.2s; }
.menu a:hover, .cabecera__enlace:hover, .idioma:hover, :is(.menu, .cabecera__fin) a[aria-current] { color: var(--tinta); background: var(--panel); }
.cabecera__enlace { font-size: 0.95rem; font-weight: 600; }
.idioma { margin-left: 0.35rem; border: 1px solid var(--borde); color: var(--tinta); font-size: 0.9rem; font-weight: 600; }

/* ---------- Botones ---------- */

.acciones { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 2.9rem; padding: 0.7rem 1.3rem; border-radius: 999px; border: 1px solid var(--borde); background: var(--panel); color: var(--tinta); font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color 0.2s, border-color 0.2s, transform 0.15s var(--salida); }
.boton:hover { border-color: var(--azul); background: var(--elevado); }
.boton:active { transform: scale(0.98); }
.boton--principal { background: linear-gradient(135deg, var(--violeta), var(--electrico)); border-color: var(--electrico); color: #fff; box-shadow: 0 6px 24px rgb(124 58 237 / 0.35); }
.boton--principal:hover { background: linear-gradient(135deg, #8b4cf6, #b56cfa); border-color: #c084fc; }
.boton--grande { font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem); padding: 0.9rem 1.6rem; overflow-wrap: anywhere; }
.flecha { width: 1.05em; height: 0.75em; flex: none; transition: transform 0.3s var(--salida); }
a:hover > .flecha, .producto:hover .flecha, .otros a:hover .flecha { transform: translateX(0.2em); }

/* ---------- Pako ---------- */

.pako { overflow: visible; }
.pako__ojo { transform-box: fill-box; transform-origin: center; }
.pako__mirada { transition: transform 0.25s ease-out; }
@media (prefers-reduced-motion: no-preference) {
  .pako__ojo { animation: parpadeo 4.2s linear infinite; }
  .pako--flota .pako__cuerpo { animation: flotar 3.6s ease-in-out infinite alternate; }
  .pako--flota .pako__piso { animation: sombra 3.6s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
}
@keyframes parpadeo { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.12); } }
@keyframes flotar { to { transform: translateY(-3px); } }
@keyframes sombra { to { transform: scaleX(0.85); opacity: 0.7; } }

/* ---------- Teléfono con captura real ---------- */

.telefono { flex: none; padding: 7px; border-radius: 30px; background: #0a1322; border: 1px solid var(--borde); }
.telefono img { width: 100%; height: auto; border-radius: 23px; }

/* ---------- Portada: morado eléctrico ---------- */

.oculto { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.centro { text-align: center; }
.p-portada { background: radial-gradient(90% 60% at 78% 0%, #1d0b45 0%, transparent 65%) no-repeat, var(--fondo); }

.boton--fantasma { background: transparent; border-color: rgb(244 240 255 / 0.35); }
.boton--fantasma:hover { background: rgb(168 85 247 / 0.14); border-color: var(--electrico); }
.boton__play { width: 0.8rem; height: 0.8rem; }

/* Héroe: la marca a la izquierda, una red de puntos que gira a la derecha con la «A» encendida en el centro. */
.heroe { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: 2rem; max-width: var(--ancho); min-height: calc(100svh - var(--cabecera)); margin: 0 auto; padding: clamp(1.2rem, 4vh, 2.5rem) var(--margen); }
.heroe::after { content: ''; position: absolute; z-index: -1; left: 50%; bottom: 0; width: 100vw; height: 45%; translate: -50% 0; background: radial-gradient(55% 100% at 65% 100%, rgb(124 58 237 / 0.38), transparent 70%); pointer-events: none; }
.heroe__ante { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.3em; text-transform: uppercase; color: var(--verde); }
.heroe h1 { margin-top: 1rem; }
.heroe__marca { display: block; font-size: clamp(3rem, 1.2rem + 5.6vw, 6.2rem); font-weight: 850; line-height: 0.92; letter-spacing: -0.035em; }
.heroe__marca b { display: block; font-weight: 850; background: linear-gradient(90deg, #a855f7, #e2c7ff 55%, #8b5cf6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heroe__lema { display: block; margin-top: 1.1rem; font-size: clamp(1.3rem, 1rem + 1vw, 1.85rem); font-weight: 700; letter-spacing: -0.02em; }
.heroe__entrada { margin-top: 0.8rem; max-width: 46ch; color: var(--tenue); font-size: var(--t-sub); line-height: 1.5; }
.heroe .acciones { margin-top: 1.7rem; }

.heroe__red { position: relative; display: grid; place-items: center; justify-self: center; width: min(100%, calc(100svh - var(--cabecera) - 3rem)); aspect-ratio: 1; }
.heroe__red::before { content: ''; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, rgb(168 85 247 / 0.32), rgb(76 29 149 / 0.14) 55%, transparent 72%); }
.red { position: absolute; inset: 0; width: 100%; height: 100%; }
.heroe__orbita { position: absolute; inset: 31% -4%; border-radius: 50%; border: 1.5px solid rgb(192 132 252 / 0.5); box-shadow: 0 0 18px rgb(168 85 247 / 0.3), inset 0 0 18px rgb(168 85 247 / 0.18); transform: rotate(-14deg); }
.heroe__orbita--2 { inset: 40% 4%; border-color: rgb(192 132 252 / 0.28); transform: rotate(20deg); }
.heroe__emblema { position: relative; width: 30%; height: auto; filter: drop-shadow(0 0 18px rgb(168 85 247 / 0.8)) drop-shadow(0 0 54px rgb(124 58 237 / 0.55)); }
@media (prefers-reduced-motion: no-preference) {
  .heroe__orbita { animation: orbita 9s ease-in-out infinite alternate; }
  .heroe__orbita--2 { animation-duration: 12s; animation-direction: alternate-reverse; }
  .heroe__emblema { animation: latir 3.2s ease-in-out infinite alternate; }
}
@keyframes orbita { from { transform: rotate(-14deg) scaleY(1); } to { transform: rotate(-6deg) scaleY(0.82); } }
@keyframes latir { to { filter: drop-shadow(0 0 26px rgb(192 132 252 / 0.95)) drop-shadow(0 0 80px rgb(124 58 237 / 0.7)); } }

/* Ecosistema: cuatro tarjetas del mismo molde. */
.tramo__titulo--centro { text-align: center; }
.tramo__titulo--centro p { margin-inline: auto; }
.tramo__titulo--centro .heroe__ante { margin: 0 auto 0.8rem; font-size: 0.78rem; color: var(--verde); }
.tarjetas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.tarjeta { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 0.55rem; padding: 1.8rem 1.3rem 1.5rem; border-radius: 18px; background: linear-gradient(180deg, #180c36, #0c0620); border: 1px solid var(--borde); overflow: hidden; text-align: center; transition: border-color 0.25s, transform 0.3s var(--salida), box-shadow 0.25s; }
.tarjeta::before { content: ''; position: absolute; z-index: -1; left: -20%; right: -20%; top: -45%; height: 80%; background: radial-gradient(closest-side, rgb(168 85 247 / 0.3), transparent); }
.tarjeta:hover { border-color: var(--electrico); transform: translateY(-4px); box-shadow: 0 18px 50px rgb(124 58 237 / 0.28); }
.tarjeta:has(a:focus-visible) { outline: 2px solid var(--azul); outline-offset: 3px; }
.tarjeta__icono { display: grid; place-items: center; width: 5.4rem; height: 5.4rem; margin-bottom: 0.5rem; border-radius: 22px; background: linear-gradient(145deg, rgb(168 85 247 / 0.3), rgb(76 29 149 / 0.16)); border: 1px solid rgb(192 132 252 / 0.45); color: #efe3ff; box-shadow: var(--brillo); }
.tarjeta__icono svg { width: 2.8rem; height: 2.8rem; filter: drop-shadow(0 0 7px rgb(192 132 252 / 0.85)); }
.tarjeta h3 { font-size: 1.6rem; line-height: 1.05; letter-spacing: -0.02em; }
.tarjeta h3 a { text-decoration: none; }
.tarjeta h3 a::after { content: ''; position: absolute; inset: 0; }
.tarjeta h3 a:focus-visible { outline: none; }
.tarjeta__argos { display: block; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.26em; }
.tarjeta__nombre { display: block; margin-top: 0.2rem; background: linear-gradient(90deg, #d8b4fe, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.tarjeta > p:not(.tarjeta__estado) { color: var(--tenue); font-size: 0.97rem; line-height: 1.45; }
.tarjeta__estado { margin-top: auto; padding-top: 0.3rem; color: var(--tenue); font-size: 0.8rem; opacity: 0.85; }
.tarjeta__ir { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.5rem; padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid rgb(192 132 252 / 0.6); font-size: 0.92rem; font-weight: 650; transition: background-color 0.2s; }
.tarjeta:hover .tarjeta__ir { background: rgb(168 85 247 / 0.2); }

/* Producto destacado: el video de ARGOS CCNA. */
.destacado { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: 2.5rem; }
.destacado h2 { margin-top: 0.9rem; font-size: var(--t-titulo); }
.destacado__texto > p:not(.heroe__ante) { margin-top: 0.8rem; color: var(--tenue); }
.destacado .acciones { margin-top: 1.5rem; }
.destacado .video-ccna { margin-right: 3.5rem; }
.destacado .video-ccna__pako { left: auto; right: -3.8rem; bottom: -2.2rem; width: auto; margin: 0; }
.destacado .video-ccna__pako .globo { display: none; }

/* El video y Pako (también en la página de ARGOS CCNA). */
.video-ccna { position: relative; }
.pantalla { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radio); overflow: hidden; background: #05020b; border: 1px solid rgb(192 132 252 / 0.4); box-shadow: 0 0 0 1px rgb(168 85 247 / 0.1), 0 24px 70px rgb(124 58 237 / 0.3); }
.pantalla__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pantalla__boton { position: absolute; left: 0.9rem; bottom: 0.9rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border-radius: 50%; border: 1px solid rgb(244 240 255 / 0.25); background: rgb(7 4 15 / 0.75); color: var(--tinta); cursor: pointer; transition: background-color 0.2s, transform 0.15s var(--salida); }
.pantalla__boton:hover { background: var(--elevado); }
.pantalla__boton:active { transform: scale(0.94); }
.pantalla__icono { width: 1rem; height: 1rem; }
.pantalla__boton[data-estado='pausado'] .pantalla__icono--pausa, .pantalla__boton:not([data-estado='pausado']) .pantalla__icono--play { display: none; }
.video-ccna__pako { position: absolute; left: 100%; bottom: -0.5rem; display: grid; justify-items: start; width: 12rem; margin-left: -1.5rem; text-align: left; }
.video-ccna__pako .pako { width: 7.5rem; height: 7.5rem; }
.tramo .video-ccna { max-width: 50rem; }
.globo { position: relative; margin-bottom: 0.6rem; padding: 0.75rem 0.9rem; border-radius: var(--radio); background: var(--tinta); color: var(--fondo); font-size: 0.88rem; font-weight: 600; line-height: 1.35; }
.globo::after { content: ''; position: absolute; left: 2.6rem; bottom: -7px; width: 14px; height: 14px; background: var(--tinta); transform: rotate(45deg); border-radius: 2px; }

/* Privacidad en la portada. */
.pilares { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pilares li { padding: 1.6rem; border-radius: 18px; background: var(--panel); border: 1px solid var(--borde); }
.pilares__icono { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1rem; border-radius: 14px; background: rgb(168 85 247 / 0.16); border: 1px solid rgb(192 132 252 / 0.4); color: #efe3ff; }
.pilares__icono svg { width: 1.7rem; height: 1.7rem; }
.pilares h3 { font-size: 1.15rem; line-height: 1.25; }
.pilares p { margin-top: 0.5rem; color: var(--tenue); }
.enlace-mas { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 1.8rem; color: var(--verde); font-weight: 650; text-decoration: none; }
.enlace-mas:hover { text-decoration: underline; }

/* Banda de contacto. */
.banda { position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 2rem; padding: clamp(1.5rem, 4vw, 2.4rem); border-radius: 20px; background: linear-gradient(110deg, #1a0a3b 0%, #2b0f5f 58%, #4c1d95 100%); border: 1px solid rgb(192 132 252 / 0.4); overflow: hidden; }
.banda::after { content: ''; position: absolute; z-index: -1; right: 24%; top: -60%; width: 2px; height: 220%; background: linear-gradient(transparent, rgb(226 199 255 / 0.75), transparent); transform: rotate(35deg); box-shadow: 34px 0 0 rgb(226 199 255 / 0.22); }
.banda__emblema { width: 3.8rem; height: auto; filter: drop-shadow(0 0 14px rgb(168 85 247 / 0.8)); }
.banda h2 { font-size: clamp(1.4rem, 1rem + 1.2vw, 1.9rem); }
.banda p { margin-top: 0.4rem; color: #ddd0f7; max-width: 52ch; }

/* ---------- Tramos ---------- */

.tramo { max-width: var(--ancho); margin: 0 auto; padding: clamp(3.5rem, 9vh, 6rem) var(--margen) 0; }
.tramo--estrecho { padding-top: clamp(2.5rem, 6vh, 4rem); }
.tramo__titulo { margin-bottom: clamp(1.5rem, 4vh, 2.5rem); }
.tramo__titulo h2 { font-size: var(--t-titulo); }
.tramo__titulo p { margin-top: 0.7rem; color: var(--tenue); font-size: var(--t-sub); max-width: 52ch; }
.titulo-chico { font-size: 1.15rem; margin-bottom: 1rem; }

/* Íconos de producto (otros productos e índice legal). */
.producto__icono { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--elevado); color: var(--verde); flex: none; }
.producto__icono svg { width: 1.7rem; height: 1.7rem; }
.producto__icono--chico { width: 2.4rem; height: 2.4rem; border-radius: 10px; }
.producto__icono--chico svg { width: 1.35rem; height: 1.35rem; }

/* Cómo trabajamos. */
.principios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: principio; }
.principios li { counter-increment: principio; padding: 1.5rem; border-radius: var(--radio); border: 1px solid var(--borde); }
.principios li::before { content: '0' counter(principio); display: block; margin-bottom: 1rem; font: 600 0.85rem/1 var(--codigo); color: var(--verde); }
.principios h3 { font-size: 1.15rem; line-height: 1.25; }
.principios p { margin-top: 0.6rem; color: var(--tenue); }

/* Contacto. */
.contacto { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.5rem 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radio); background: var(--panel); border: 1px solid var(--borde); }
.contacto :is(h2, h3) { font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); }
.contacto p { margin-top: 0.5rem; color: var(--tenue); max-width: 46ch; }

/* ---------- Pie ---------- */

.pie { margin-top: clamp(4rem, 10vh, 7rem); border-top: 1px solid var(--borde); background: #05020b; }
.pie__dentro { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; max-width: var(--ancho); margin: 0 auto; padding: 3rem var(--margen) 1.5rem; }
.pie__marca p { margin-top: 0.9rem; color: var(--tenue); max-width: 32ch; font-size: 0.95rem; }
.pie__correo { display: inline-block; margin-top: 0.8rem; color: var(--verde); font-weight: 600; }
.pie h2 { font: 600 0.8rem/1 var(--codigo); color: var(--tenue); margin-bottom: 0.9rem; letter-spacing: 0.04em; }
.pie nav a { display: block; width: fit-content; padding: 0.3rem 0; text-decoration: none; font-size: 0.95rem; }
.pie nav a:hover { color: var(--verde); }
.pie__fin { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; padding-top: 1.2rem; border-top: 1px solid var(--borde); color: var(--tenue); font-size: var(--t-nota); }

/* ---------- Página de producto ---------- */

.migas { display: flex; flex-wrap: wrap; gap: 0.4rem; color: var(--tenue); font-size: 0.9rem; }
.migas a { text-decoration: none; }
.migas a:hover { color: var(--tinta); text-decoration: underline; }
.anden { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2.5rem; max-width: var(--ancho); margin: 0 auto; padding: clamp(1.5rem, 4vh, 3rem) var(--margen) 0; min-height: min(40rem, calc(100svh - 3.9rem)); }
.anden h1 { margin-top: 1.2rem; font-size: var(--t-enorme); }
.anden__lema { margin-top: 0.9rem; font-size: var(--t-sub); font-weight: 650; line-height: 1.35; max-width: 34ch; }
.anden__resumen { margin-top: 0.8rem; color: var(--tenue); max-width: 52ch; }
.anden .acciones { margin-top: 1.6rem; }
.ficha { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1.8rem; max-width: 46rem; }
.ficha > div { padding: 0.8rem 0.9rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--borde); }
.ficha dt { font: 600 0.75rem/1.2 var(--codigo); color: var(--verde); margin-bottom: 0.3rem; }
.ficha dd { font-size: 0.88rem; line-height: 1.4; }
.anden__capturas { display: flex; align-items: flex-end; gap: 0.8rem; }
.anden__capturas .telefono { width: min(12.5rem, calc((100svh - 10rem) * 0.42)); }
.anden__capturas--3 .telefono:not(:first-child) { width: min(10rem, calc((100svh - 10rem) * 0.34)); }
.anden__capturas--1 .telefono { width: min(15rem, calc((100svh - 9rem) * 0.47)); }
.anden__icono { display: grid; place-items: center; width: clamp(9rem, 20vw, 15rem); aspect-ratio: 1; border-radius: 28%; background: var(--panel); border: 1px solid var(--borde); color: var(--verde); }
.anden__icono svg { width: 48%; height: 48%; }

.pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: paso; }
.pasos li { counter-increment: paso; padding: 1.4rem 1.4rem 1.6rem; border-radius: var(--radio); background: var(--panel); border: 1px solid var(--borde); }
.pasos li::before { content: counter(paso, decimal-leading-zero); display: block; margin-bottom: 0.9rem; font: 600 0.85rem/1 var(--codigo); color: var(--verde); }
.pasos h3 { font-size: 1.15rem; line-height: 1.25; }
.pasos p { margin-top: 0.55rem; color: var(--tenue); }

/* ARGOS CCNA en la web. */
.web { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 2.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radio); background: var(--panel); border: 1px solid var(--borde); }
.web h2 { margin-top: 0.7rem; font-size: var(--t-titulo); }
.web__texto > p:not(.antetitulo) { margin-top: 0.8rem; color: var(--tenue); }
.web .boton { margin-top: 1.5rem; }
.cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; margin-top: 1.4rem; }
.cifras dt { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 800; line-height: 1; color: var(--verde); }
.cifras dd { margin-top: 0.35rem; color: var(--tenue); font-size: 0.85rem; line-height: 1.3; }
.navegador { border-radius: 12px; overflow: hidden; background: #05020b; border: 1px solid var(--borde); min-width: 0; }
.navegador__barra { display: flex; align-items: center; gap: 0.4rem; padding: 0.6rem 0.8rem; background: #0f0820; border-bottom: 1px solid var(--borde); }
.navegador__barra i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--borde); }
.navegador__barra span { margin-left: 0.6rem; padding: 0.2rem 0.7rem; border-radius: 999px; background: var(--fondo); color: var(--tenue); font: 500 0.78rem/1.3 var(--codigo); }
.navegador__consola { padding: 1rem 1.1rem 1.2rem; font: 500 0.8rem/1.65 var(--codigo); color: #cfe3f5; overflow-wrap: anywhere; }
.navegador__consola span { color: var(--verde); }
.navegador__salida { color: #6f8297; }
.navegador__ok { width: fit-content; margin-top: 0.8rem; padding: 0.35rem 0.7rem; border-radius: 8px; background: rgb(91 227 143 / 0.12); border: 1px solid rgb(91 227 143 / 0.45); color: var(--verde); font-family: var(--letra); font-weight: 700; }

/* Precios. */
.planes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.plan { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radio); border: 1px solid var(--borde); background: var(--panel); }
.plan--destacado { border-color: var(--verde); }
.plan h3 { font-size: 1rem; color: var(--tenue); font-weight: 650; letter-spacing: 0; }
.plan__precio { margin-top: 0.6rem; display: flex; align-items: baseline; gap: 0.25rem; }
.plan__precio b { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan__precio span { color: var(--tenue); }
.plan__detalle { margin-top: 0.4rem; font-size: 0.9rem; color: var(--verde); font-weight: 600; }
.plan ul { display: grid; gap: 0.45rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--borde); }
.plan li { position: relative; padding-left: 1.4rem; font-size: 0.95rem; }
.plan li::before { content: ''; position: absolute; left: 0.1rem; top: 0.42em; width: 0.7rem; height: 0.4rem; border: solid var(--verde); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

.enlaces-legales { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.enlaces-legales a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--borde); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.enlaces-legales a:hover { border-color: var(--azul); }

.otros { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.otros a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.9rem; height: 100%; padding: 1rem 1.1rem; border-radius: var(--radio); border: 1px solid var(--borde); text-decoration: none; transition: border-color 0.2s, background-color 0.2s; }
.otros a:hover { border-color: var(--azul); background: var(--panel); }
.otros b { display: block; font-size: 1rem; }
.otros a > span:not(.producto__icono) > span { display: block; margin-top: 0.15rem; color: var(--tenue); font-size: 0.88rem; line-height: 1.4; }
.otros .flecha { color: var(--verde); }

/* ARGOS CCNA: el video arriba y una galería que se acomoda al deslizar. */
.anden--video { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 3rem; }
.anden--video h1 { font-size: clamp(2.3rem, 1.2rem + 3vw, 3.7rem); }
.anden--video .ficha dd { font-size: 0.84rem; }
.anden__video { position: relative; padding-right: 3rem; }
.anden__video .video-ccna { max-width: none; }
.anden__video .video-ccna__pako { left: auto; right: -3.4rem; bottom: -2.4rem; width: auto; margin: 0; }
.anden__video .globo { display: none; }
.anden__video .video-ccna__pako .pako { width: 6.5rem; height: 6.5rem; }

.galeria { position: relative; isolation: isolate; }
.galeria::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 58%; width: min(72rem, 100vw); height: 30rem; translate: -50% -50%; background: radial-gradient(closest-side, rgb(124 58 237 / 0.38), transparent); pointer-events: none; }
.galeria__fila { display: grid; grid-template-columns: repeat(3, minmax(0, min(15rem, calc((100svh - 23rem) * 0.5)))); justify-content: center; align-items: end; gap: clamp(1.2rem, 4vw, 3.5rem); padding-top: 3rem; perspective: 1200px; }
.galeria__item { --giro: 0deg; --alto: 0px; text-align: center; transform: translateY(var(--alto)) rotateY(var(--giro)); transition: transform 0.5s var(--salida); }
.galeria__item:nth-child(1) { --giro: 12deg; }
.galeria__item:nth-child(2) { --alto: -3rem; }
.galeria__item:nth-child(3) { --giro: -12deg; }
.galeria__item:hover { transform: translateY(calc(var(--alto) - 10px)) rotateY(0deg); }
.galeria .telefono { width: 100%; box-shadow: 0 30px 80px rgb(124 58 237 / 0.35), 0 0 0 1px rgb(192 132 252 / 0.3); }
.galeria__item h3 { margin-top: 1.3rem; font-size: 1.15rem; }
.galeria__item p { margin-top: 0.35rem; color: var(--tenue); font-size: 0.92rem; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .galeria__item { animation: alzar linear both; animation-timeline: view(); animation-range: entry 0% cover 32%; }
    .galeria__item:nth-child(2) { animation-range: entry 8% cover 38%; }
    .galeria__item:nth-child(3) { animation-range: entry 16% cover 44%; }
  }
}
@keyframes alzar { from { opacity: 0; transform: translateY(calc(var(--alto) + 140px)) rotateY(calc(var(--giro) * 2.5)) scale(0.9); } }

/* ---------- Lectura: privacidad y legales ---------- */

.lectura { max-width: 46rem; margin: 0 auto; padding: clamp(1.5rem, 5vh, 3rem) var(--margen) 0; }
.lectura h1 { margin-top: 1.4rem; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1.15; }
.lectura h2 { margin-top: 2.6rem; font-size: 1.35rem; line-height: 1.25; letter-spacing: -0.015em; }
.lectura h3 { margin-top: 1.6rem; font-size: 1.1rem; line-height: 1.3; letter-spacing: -0.01em; }
.lectura p, .lectura li, .lectura td { color: #ddd4f5; }
.lectura p { margin-top: 1rem; }
.lectura h1 + p, .lectura .tenue { color: var(--tenue); font-size: 0.92rem; }
.lectura__entrada { font-size: var(--t-sub) !important; color: var(--tenue) !important; }
.lectura strong, .lectura b, .lectura td:first-child { color: var(--tinta); font-weight: 650; }
.lectura :is(ul, ol) { display: grid; gap: 0.5rem; margin-top: 1rem; padding-left: 1.3rem; }
.lectura ul { list-style: disc; }
.lectura ol { list-style: decimal; }
.lectura li::marker { color: var(--verde); }
.lectura a:not(.boton) { color: var(--azul); overflow-wrap: anywhere; }
.lectura > div, .lectura .caja, .lectura .resumen { margin-top: 1.5rem; padding: 0.2rem 1.4rem 1.3rem; border-radius: var(--radio); background: var(--panel); border: 1px solid var(--borde); }
.lectura .cards { list-style: none; padding: 0; }
.lectura .cards li { padding: 1rem 1.2rem; border-radius: var(--radio); border: 1px solid var(--borde); background: var(--panel); }
.lectura .tabla { overflow-x: auto; }
.lectura table { width: 100%; margin-top: 1.2rem; border-collapse: collapse; font-size: 0.95rem; }
.lectura :is(th, td) { text-align: left; vertical-align: top; padding: 0.6rem 0.9rem 0.6rem 0; border-bottom: 1px solid var(--borde); }
.lectura th { color: var(--verde); font: 600 0.78rem/1.3 var(--codigo); }
.lectura hr { border: 0; border-top: 1px solid var(--borde); margin: 2.5rem 0; }

.indice-legal { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem !important; list-style: none !important; padding: 0 !important; margin-top: 2rem !important; }
.indice-legal > li { padding: 1.2rem 1.3rem; border-radius: var(--radio); background: var(--panel); border: 1px solid var(--borde); }
.indice-legal h2 { display: flex; align-items: center; gap: 0.7rem; margin: 0; font-size: 1.05rem; }
.indice-legal ul { list-style: none !important; padding: 0 !important; gap: 0.2rem !important; margin-top: 0.9rem !important; }
.indice-legal a { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.15rem 0; color: var(--tinta) !important; text-decoration: none; font-weight: 600; }
.indice-legal a:hover { color: var(--verde) !important; }
.indice-legal .flecha { color: var(--verde); }
.indice-legal .nota { margin-top: 0.9rem; }

/* ---------- 404 ---------- */

.perdida { display: grid; justify-items: center; gap: 0.8rem; max-width: 40rem; margin: 0 auto; padding: clamp(2rem, 8vh, 5rem) var(--margen) 0; text-align: center; }
.perdida .pako { width: 9rem; height: 9rem; margin-bottom: 0.5rem; }
.perdida h1 { font-size: var(--t-titulo); }
.perdida > p:not(.antetitulo) { color: var(--tenue); }
.perdida .acciones { justify-content: center; margin-top: 1rem; }

/* ---------- Al entrar ---------- */

@media (prefers-reduced-motion: no-preference) {
  .heroe__texto > *, .anden__texto > * { animation: subir 0.8s var(--salida) both; }
  :is(.heroe__texto, .anden__texto) > :nth-child(2) { animation-delay: 0.06s; }
  :is(.heroe__texto, .anden__texto) > :nth-child(3) { animation-delay: 0.12s; }
  :is(.heroe__texto, .anden__texto) > :nth-child(n + 4) { animation-delay: 0.18s; }
  .anden__capturas, .anden__icono, .heroe__red, .anden__video { animation: subir 0.9s 0.15s var(--salida) both; }
  .video-ccna__pako { animation: asomar 0.8s 0.4s var(--salida) both; }
  @supports (animation-timeline: view()) {
    :is(.tarjeta, .destacado > *, .pilares li, .banda, .tramo__titulo--centro) { animation: subir linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  }
}
@keyframes subir { from { opacity: 0; transform: translateY(14px); } }
@keyframes asomar { from { opacity: 0; transform: translateY(18px) scale(0.94); } }

/* ---------- Pantallas estrechas ---------- */

@media (max-width: 70rem) {
  .tarjetas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .anden__capturas--3 .telefono:nth-child(3) { display: none; }
  .cabecera__enlace { display: none; }
}
@media (max-width: 56rem) {
  .anden, .web { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .anden__capturas { justify-content: center; }
  .anden__capturas .telefono, .anden__capturas--1 .telefono { width: 11rem; }
  .anden__capturas--3 .telefono:not(:first-child) { width: 9rem; }
  .anden__icono { display: none; }
  .principios, .pasos, .planes, .otros { grid-template-columns: minmax(0, 1fr); }
  .contacto { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .pie__dentro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pie__marca { grid-column: 1 / -1; }
  .pilares, .destacado { grid-template-columns: minmax(0, 1fr); }
  .heroe { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 1rem; }
  .heroe__red { order: -1; width: min(78vw, 22rem); margin-bottom: -1rem; }
  .destacado .video-ccna { margin-right: 2rem; }
  .destacado .video-ccna__pako { right: -2.6rem; bottom: -1.6rem; }
  .destacado .video-ccna__pako .pako { width: 5rem; height: 5rem; }
  .video-ccna__pako { left: auto; right: -0.4rem; bottom: -3.2rem; width: auto; margin: 0; }
  .tramo .video-ccna { margin-bottom: 3rem; }
  .video-ccna__pako .globo { display: none; }
  .video-ccna__pako .pako { width: 5.5rem; height: 5.5rem; }
  .banda { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .anden__video { padding-right: 2.2rem; margin-bottom: 1.5rem; }
  .anden__video .video-ccna__pako { right: -2.6rem; bottom: -1.8rem; }
  .anden__video .video-ccna__pako .pako { width: 5rem; height: 5rem; }
  .galeria__fila { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(62%, 15rem); justify-content: start; gap: 1.2rem; margin-inline: calc(-1 * var(--margen)); padding: 1rem var(--margen) 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; perspective: none; }
  .galeria__item, .galeria__item:hover { --giro: 0deg; --alto: 0px; scroll-snap-align: center; }
}
@media (max-width: 40rem) {
  :root { --cabecera: 6.3rem; }
  .cabecera__dentro { grid-template-columns: 1fr auto; row-gap: 0.4rem; padding-block: 0.6rem; }
  .menu { order: 3; grid-column: 1 / -1; margin: 0 -0.5rem; justify-content: space-between; gap: 0; font-size: 0.9rem; }
  .menu a { padding: 0.5rem 0.5rem; }
  .idioma { padding: 0.35rem 0.75rem; }
  .indice-legal, .ficha, .tarjetas { grid-template-columns: minmax(0, 1fr); }
  .anden__capturas--3 .telefono:nth-child(2) { display: none; }
  .cifras { gap: 0.5rem; }
}
