/* ==========================================================================
   blockchainempresarial.com — sistema "Negro"
   Fondo negro, Poppins fina, un acento: el azul del logotipo (#0E8FD5).
   ========================================================================== */

@import url("/assets/fonts/fonts.css");

:root {
  --negro: #000000; --negro-2: #0A0A0A; --superficie: #111111; --superficie-2: #171717;
  --linea: #262626; --linea-2: #333333;
  --blanco: #FFFFFF; --texto: #D6D6D6; --mudo: #8A8A8A; --mudo-2: #5C5C5C;
  --azul: #0E8FD5; --azul-claro: #5FB8EA; --azul-oscuro: #0A6FA8;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;
  --max: 1200px; --gutter: 32px; --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--negro); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--negro); color: var(--blanco); font: 300 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { margin: 0; font-weight: 200; line-height: 1.1; text-wrap: balance; }
h1 b, h2 b, h3 b { font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }
::selection { background: var(--azul); color: #fff; }
[id] { scroll-margin-top: 90px; }
main { flex: 1; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; font-size: 13px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.mono { font-family: var(--mono); }
.label { display: block; font-size: 12px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--azul-claro); }
.barra { display: block; width: 46px; height: 3px; background: var(--azul); margin: 26px auto 0; }
.barra.izq { margin-inline: 0; }
.mudo { color: var(--mudo); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: var(--pill); border: 1px solid rgba(255,255,255,.55); background: transparent; color: #fff; font-weight: 400; font-size: 14px; letter-spacing: .02em; cursor: pointer; white-space: nowrap; transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease; }
.btn:hover { background: var(--azul); border-color: var(--azul); color: #fff; }
.btn svg { width: 16px; height: 16px; transition: transform 160ms ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-azul { background: var(--azul); border-color: var(--azul); }
.btn-azul:hover { background: var(--azul-claro); border-color: var(--azul-claro); color: #000; }
.btn-sm { height: 40px; padding: 0 20px; font-size: 13px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--azul-claro); }
.link svg { width: 14px; height: 14px; }
.link:hover { color: #fff; }

/* Cabecera */
.header { position: sticky; top: 0; z-index: 40; background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: 84px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; font-size: 12.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.nav a { color: #fff; opacity: .78; transition: opacity 140ms; }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav .btn { opacity: 1; height: 40px; padding: 0 20px; font-size: 12px; letter-spacing: .1em; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); border-radius: var(--pill); padding: 8px 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #fff; cursor: pointer; }

/* Secciones */
.sec { padding: 140px 0; }
.sec + .sec { border-top: 1px solid var(--linea); }
.sec-head { text-align: center; max-width: 860px; margin: 0 auto 64px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.01em; }
.sec-head p { margin-top: 26px; font-size: 18px; color: var(--texto); font-weight: 300; max-width: 42em; margin-inline: auto; }
.sec-head.izq { text-align: left; margin-inline: 0; }
.sec-head.izq .barra { margin-inline: 0; }
.sec-head.izq p { margin-inline: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(1100px 600px at 70% 40%, rgba(14,143,213,.14), transparent 65%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: calc(100vh - 84px); padding: 60px 0 40px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 1.04; text-transform: uppercase; letter-spacing: -.005em; }
.hero h1 b { font-weight: 600; }
.hero h1 .punto { color: var(--azul); font-weight: 600; }
.hero .lead { margin-top: 30px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: var(--texto); max-width: 30em; }
.hero .lead b { font-weight: 500; color: #fff; }
.hero .acciones { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero figure { margin: 0; position: relative; }
.hero .cubos { width: 100%; height: auto; }
.cubo[data-k=dark] .f-top { fill: url(#gT); } .cubo[data-k=dark] .f-left { fill: url(#gL); } .cubo[data-k=dark] .f-right { fill: url(#gR); }
.cubo[data-k=blue] .f-top { fill: url(#bT); } .cubo[data-k=blue] .f-left { fill: url(#bL); } .cubo[data-k=blue] .f-right { fill: url(#bR); }
.cubo[data-k=glass] .f-top { fill: url(#wT); } .cubo[data-k=glass] .f-left { fill: url(#wL); } .cubo[data-k=glass] .f-right { fill: url(#wR); }
.cubo polygon { stroke: #000; stroke-width: .6; stroke-opacity: .55; }
.cubo .brillo { fill: #fff; opacity: 0; stroke: none; }
/* Entrada: los bloques se levantan en secuencia (una vez) */
.hero .cubo { opacity: 0; transform: translateY(40px); animation: levantar 900ms cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
@keyframes levantar { to { opacity: 1; transform: translateY(0); } }
/* Sello: la cara superior de cada bloque destella al "confirmarse" */
.hero .cubo .brillo { animation: sello 9s ease-in-out infinite; animation-delay: calc(var(--d, 0s) + 1.6s); }
@keyframes sello { 0%, 6% { opacity: 0; } 3% { opacity: .32; } 100% { opacity: 0; } }
.hero .cubo.torre .brillo { animation-name: sello-torre; animation-duration: 4.5s; }
@keyframes sello-torre { 0%, 100% { opacity: 0; } 50% { opacity: .18; } }
/* Bloque flotante (el activo tokenizado) y su órbita */
.hero .flotante { animation: flota 6s ease-in-out infinite; }
@keyframes flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero .orbita { fill: none; stroke: var(--azul-claro); stroke-width: 1; stroke-dasharray: 3 6; opacity: 0; animation: aparecer 1.2s ease 2.2s forwards; }
.hero .satelite { fill: #fff; opacity: 0; animation: aparecer 1.2s ease 2.4s forwards; filter: drop-shadow(0 0 4px #5FB8EA); }
@keyframes aparecer { to { opacity: .9; } }
/* Cadena: enlace entre bloques y pulso que recorre la red */
.hero .cadena { fill: none; stroke: #3E7A9E; stroke-width: 1.3; opacity: 0; animation: aparecer 1.2s ease 2.4s forwards; }
.hero .cadena.pulso { stroke: var(--azul-claro); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 40 600; filter: drop-shadow(0 0 3px #5FB8EA); animation: aparecer .1s ease 2.6s forwards, viaje-hero 3.2s linear 2.6s infinite; }
@keyframes viaje-hero { from { stroke-dashoffset: 622; } to { stroke-dashoffset: 0; } }
.hero .nodo { fill: #0A0A0A; stroke: var(--azul-claro); stroke-width: 1; opacity: 0; animation: aparecer 1.2s ease 2.4s forwards; }
/* Partículas que suben del bloque principal */
.hero .particula { fill: #fff; opacity: 0; filter: drop-shadow(0 0 3px #5FB8EA); animation: subir 4.2s ease-out infinite; animation-delay: calc(var(--d, 0s) + 2.5s); }
@keyframes subir { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-120px); } }
/* Haz de verificación que barre la escena */
.hero .haz { animation: barrer 7s ease-in-out 3s infinite; }
@keyframes barrer { 0%, 70% { transform: translateX(-160px) skewX(-20deg); } 100% { transform: translateX(900px) skewX(-20deg); } }
/* Anillos de base y halo respirando */
.hero .anillo-base ellipse { fill: none; stroke: #1C1C1C; stroke-width: 1; }
.hero .anillo-base ellipse:last-child { stroke: #2A3A45; stroke-dasharray: 2 8; animation: girar-anillo 24s linear infinite; }
@keyframes girar-anillo { to { stroke-dashoffset: -400; } }
.hero .halo { animation: respirar 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes respirar { 0%, 100% { opacity: .8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--mudo); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll i { width: 1px; height: 36px; background: linear-gradient(var(--azul), transparent); animation: baja 2.2s ease-in-out infinite; }
@keyframes baja { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Marquee de clientes */
.clientes { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); padding: 34px 0; overflow: hidden; }
.clientes .label { text-align: center; margin-bottom: 22px; color: var(--mudo); }
.marquee { display: flex; gap: 0; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee ul { display: flex; gap: 72px; margin: 0; padding: 0 36px; list-style: none; font-size: 15px; font-weight: 300; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); white-space: nowrap; }
.marquee ul li { display: flex; align-items: center; gap: 12px; }
.marquee ul li::before { content: ""; width: 8px; height: 9px; background: var(--azul); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: .8; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Problema */
.problema { padding: 120px 0; }
.problema .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.problema h2 { font-size: clamp(30px, 3.8vw, 50px); }
.problema h2 b { color: var(--azul-claro); }
.problema .lista { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.problema .lista li { padding: 26px 0; border-top: 1px solid var(--linea); display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.problema .lista li:last-child { border-bottom: 1px solid var(--linea); }
.problema .lista .n { font-family: var(--mono); font-size: 13px; color: var(--azul-claro); padding-top: 6px; }
.problema .lista h3 { font-size: 20px; font-weight: 400; }
.problema .lista p { margin-top: 8px; font-size: 15.5px; color: var(--mudo); }
.problema .remate { margin-top: 30px; font-size: 18px; color: var(--texto); max-width: 30em; }
.problema .remate b { font-weight: 500; color: #fff; }

/* Soluciones */
.soluciones-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.solucion { position: relative; border: 1px solid var(--linea-2); border-radius: 26px; padding: 34px 28px 30px; background: var(--negro); display: flex; flex-direction: column; min-width: 0; transition: border-color 200ms ease, transform 200ms ease; }
.solucion:hover { border-color: rgba(255,255,255,.55); transform: translateY(-3px); }
.solucion .icono { width: 34px; height: 34px; color: #fff; }
.solucion h3 { margin-top: 22px; font-size: 22px; font-weight: 400; line-height: 1.2; }
.solucion h3::after { content: "."; color: var(--azul); }
.solucion .para { margin-top: 10px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--azul-claro); }
.solucion p.desc { margin-top: 14px; font-size: 15px; color: var(--texto); line-height: 1.55; }
.solucion ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 13.5px; color: var(--mudo); }
.solucion ul li::before { content: "/ "; color: var(--azul); }
.solucion .btn { margin-top: auto; align-self: flex-start; margin-top: 28px; }
.soluciones-nota { margin-top: 44px; text-align: center; font-size: 15px; color: var(--mudo); }
.soluciones-nota b { color: var(--texto); font-weight: 400; }

/* Prueba */
.prueba { background: var(--negro-2); }
.prueba .grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.prueba h2 { font-size: clamp(30px, 3.8vw, 50px); }
.prueba h2 b { color: var(--azul-claro); }
.prueba .lead { margin-top: 26px; font-size: 18px; color: var(--texto); }
.prueba .hechos { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.prueba .hechos li { padding: 22px 0; border-top: 1px solid var(--linea); display: grid; grid-template-columns: 1fr; gap: 6px; }
.prueba .hechos li:last-child { border-bottom: 1px solid var(--linea); }
.prueba .hechos b { font-weight: 400; font-size: 18px; }
.prueba .hechos span { font-size: 14.5px; color: var(--mudo); }
.prueba figure { margin: 0; border: 1px solid var(--linea-2); border-radius: 26px; overflow: hidden; background: var(--negro); }
.prueba figure img { width: 100%; }
.prueba figcaption { padding: 16px 22px; font-size: 12.5px; color: var(--mudo); border-top: 1px solid var(--linea); }

/* Cifras */
.cifras { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.cifras .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.cifra { padding: 56px 28px 56px 0; border-right: 1px solid var(--linea); }
.cifra:not(:first-child) { padding-left: 32px; }
.cifra:last-child { border-right: 0; }
.cifra b { display: block; font-size: clamp(40px, 4.4vw, 64px); font-weight: 200; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.cifra b em { font-style: normal; color: var(--azul); font-weight: 200; }
.cifra span { display: block; margin-top: 14px; font-size: 14px; color: var(--mudo); letter-spacing: .04em; }

/* Academia */
.academia .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.academia h2 { font-size: clamp(30px, 3.8vw, 50px); }
.academia h2 b { color: var(--azul-claro); }
.academia .lead { margin-top: 26px; font-size: 18px; color: var(--texto); }
.academia .programas { margin: 34px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; font-size: 14.5px; color: var(--texto); }
.academia .programas li { padding: 10px 0; border-bottom: 1px solid var(--linea); }
.academia .programas li small { display: block; font-size: 12px; color: var(--mudo); margin-top: 2px; }
.cert-panel { border: 1px solid var(--linea-2); border-radius: 26px; padding: 32px; background: var(--negro-2); }
.cert-panel img { width: 100%; border-radius: 10px; border: 1px solid var(--linea); }
.cert-panel h3 { margin-top: 24px; font-size: 22px; font-weight: 400; }
.cert-panel p { margin-top: 8px; font-size: 14.5px; color: var(--mudo); }
.cert-panel form { margin-top: 18px; display: flex; gap: 10px; }
.cert-panel input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--linea-2); border-radius: var(--pill); background: var(--negro); padding: 0 20px; font-family: var(--mono); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.cert-panel input::placeholder { text-transform: none; letter-spacing: 0; color: var(--mudo-2); font-family: var(--sans); }
.cert-panel input:focus { outline: none; border-color: var(--azul); }

/* Cierre */
.cierre { text-align: center; padding: 160px 0; position: relative; overflow: hidden; }
.cierre::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 50% 100%, rgba(14,143,213,.18), transparent 70%); pointer-events: none; }
.cierre .wrap { position: relative; }
.cierre h2 { font-size: clamp(34px, 5vw, 68px); text-transform: uppercase; }
.cierre p { margin-top: 26px; font-size: 18px; color: var(--texto); max-width: 36em; margin-inline: auto; }
.cierre .acciones { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cierre .contacto { margin-top: 36px; font-size: 14px; color: var(--mudo); display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.cierre .contacto a:hover { color: #fff; }

/* Formulario de contacto */
.form { max-width: 720px; margin: 56px auto 0; text-align: left; }
.form .fila { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.campo { display: block; margin-top: 16px; }
.campo .label { margin-bottom: 8px; font-size: 11px; color: var(--mudo); }
.campo input, .campo textarea { width: 100%; border: 1px solid var(--linea-2); border-radius: 14px; background: var(--negro-2); padding: 13px 16px; font: 300 15.5px var(--sans); color: #fff; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--azul); }
.campo textarea { resize: vertical; min-height: 110px; }
.form .acciones { margin-top: 24px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: flex-start; }
.form .acciones small { font-size: 12.5px; color: var(--mudo); overflow-wrap: anywhere; }
.form details { margin-top: 30px; }
.form summary { cursor: pointer; font-size: 14px; color: var(--azul-claro); list-style: none; }
.form summary::-webkit-details-marker { display: none; }

/* Pie */
.footer { border-top: 1px solid var(--linea); padding: 36px 0; font-size: 12.5px; color: var(--mudo); background: var(--superficie); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a:hover { color: #fff; }
.footer .redes { display: flex; gap: 18px; }
.footer .redes svg { width: 18px; height: 18px; fill: currentColor; }

/* Verificador */
.verify-hero { padding: 96px 0 72px; position: relative; overflow: hidden; }
.verify-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 80% 0%, rgba(14,143,213,.14), transparent 65%); pointer-events: none; }
.verify-hero .wrap { position: relative; }
.verify-hero h1 { font-size: clamp(34px, 4.6vw, 62px); text-transform: uppercase; margin-top: 18px; }
.verify-hero .lead { margin-top: 22px; font-size: 17px; color: var(--texto); max-width: 38em; }
.buscador { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 460px) max-content; gap: 12px; align-items: end; }
.buscador .campo { margin: 0; }
.buscador input { height: 54px; border-radius: var(--pill); font-family: var(--mono); font-size: 18px; text-transform: uppercase; letter-spacing: .06em; padding: 0 22px; }
.buscador input::placeholder { text-transform: none; letter-spacing: 0; color: var(--mudo-2); font-size: 15px; font-family: var(--sans); }
.buscador .btn { height: 54px; }
.buscador .ayuda { grid-column: 1 / -1; width: 0; min-width: 100%; font-size: 13px; color: var(--mudo); }
.verify-hero.compact { padding: 34px 0 30px; }
.verify-hero.compact h1 { font-size: 26px; margin-top: 8px; }
.verify-hero.compact .lead, .verify-hero.compact .ayuda { display: none; }
.verify-hero.compact .buscador { margin-top: 16px; }
.resultado { display: none; border-top: 1px solid var(--linea); background: var(--negro-2); }
.resultado.show { display: block; }
.resultado .wrap { padding: 56px 0 120px; }
.veredicto { border: 1px solid var(--linea-2); border-radius: 26px; padding: 30px 34px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; background: var(--negro); }
.veredicto h2 { font-size: 30px; font-weight: 300; }
.veredicto p { margin-top: 10px; font-size: 15.5px; color: var(--texto); max-width: 44em; }
.veredicto .id { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--mudo); }
.sello { display: inline-block; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; border: 1px solid var(--azul); border-radius: var(--pill); padding: 12px 18px; }
.sello small { display: block; font-size: 10.5px; letter-spacing: .02em; margin-top: 4px; color: var(--mudo); text-transform: none; }
.sello.gris { border-color: var(--linea-2); color: var(--texto); }
.registro { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.registro > div { border: 1px solid var(--linea-2); border-radius: 26px; padding: 26px 30px; min-width: 0; background: var(--negro); }
.registro h3 { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--azul-claro); font-weight: 400; }
.registro dl { margin: 10px 0 0; }
.registro dl div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--linea); }
.registro dt { font-size: 13px; color: var(--mudo); }
.registro dd { margin: 0; font-size: 15.5px; line-height: 1.4; }
.registro dd.mono { font-size: 12.5px; word-break: break-all; color: var(--texto); }
.registro .estado { margin-top: 14px; font-size: 13px; display: flex; gap: 8px; align-items: center; color: var(--azul-claro); }
.registro .estado.mal { color: #fff; }
.hex { width: 10px; height: 11px; flex: none; }
.acciones-cert { margin-top: 24px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.acciones-cert a, .acciones-cert button.link { font-size: 14px; color: var(--azul-claro); background: none; border: 0; padding: 0; cursor: pointer; }
.acciones-cert a:hover, .acciones-cert button.link:hover { color: #fff; }
.como { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.como div { border: 1px solid var(--linea); border-radius: 26px; padding: 24px 26px; }
.como .num { font-family: var(--mono); font-size: 12px; color: var(--azul-claro); }
.como h3 { font-size: 17px; font-weight: 400; margin-top: 8px; }
.como p { margin-top: 8px; font-size: 14px; color: var(--mudo); }
.como-nota { margin-top: 18px; font-size: 13.5px; color: var(--mudo); max-width: 60em; }
.como-nota a { color: var(--azul-claro); }
.cert-frame { margin-top: 20px; margin-bottom: 20px; overflow: hidden; border: 1px solid var(--linea-2); border-radius: 14px; background: #fff; }
.cert-scale { transform-origin: top left; width: 1123px; }

/* Aparición al hacer scroll */
.rev { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms ease; }
.rev.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .header .wrap { height: 68px; }
  .brand img { height: 34px; }
  .nav { position: fixed; inset: 68px 0 0 0; background: var(--negro); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 32px 24px; display: none; z-index: 50; overflow: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 18px 0; border-bottom: 1px solid var(--linea); font-size: 15px; opacity: 1; }
  .nav .btn { margin-top: 20px; height: 48px; }
  .nav-toggle { display: inline-block; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; min-height: 0; padding: 56px 0 72px; }
  .hero figure { max-width: 520px; margin: 0 auto; order: -1; }
  .hero-scroll { display: none; }
  .problema .grid, .prueba .grid, .academia .grid { grid-template-columns: 1fr; gap: 44px; }
  .soluciones-grid { grid-template-columns: 1fr 1fr; }
  .cifras .wrap { grid-template-columns: 1fr 1fr; }
  .cifra { padding: 36px 20px 36px 0; }
  .cifra:nth-child(2n) { border-right: 0; }
  .cifra:nth-child(-n+2) { border-bottom: 1px solid var(--linea); }
  .registro { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .sec { padding: 88px 0; }
  .sec-head { margin-bottom: 40px; }
  .nav { padding: 12px 16px 24px; }
  .hero .wrap { padding: 32px 0 56px; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .hero .acciones .btn { width: 100%; }
  .marquee ul { gap: 40px; font-size: 13px; }
  .problema { padding: 88px 0; }
  .problema .lista li { grid-template-columns: 40px 1fr; gap: 12px; }
  .soluciones-grid { grid-template-columns: 1fr; }
  .cifras .wrap { grid-template-columns: 1fr 1fr; }
  .cifra { padding: 28px 12px 28px 0 !important; }
  .cifra:nth-child(2n) { padding-left: 16px !important; }
  .cifra b { font-size: 34px; }
  .academia .programas { grid-template-columns: 1fr; }
  .cert-panel { padding: 22px; }
  .cert-panel form { flex-direction: column; }
  .cierre { padding: 100px 0; }
  .cierre .acciones .btn { width: 100%; }
  .form .fila { grid-template-columns: 1fr; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
  .buscador { grid-template-columns: 1fr; }
  .buscador .btn { width: 100%; }
  .veredicto { grid-template-columns: 1fr; }
  .como { grid-template-columns: 1fr; }
  .registro dl div { grid-template-columns: 1fr; gap: 2px; }
  .cert-frame { margin-inline: calc(-1 * var(--gutter)); border-radius: 0; border-left: 0; border-right: 0; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } .rev { opacity: 1; transform: none; } .hero .cubo, .hero .cadena, .hero .nodo, .hero .orbita, .hero .satelite { opacity: 1; transform: none; } .hero .cadena.pulso, .hero .haz, .hero .particula { display: none; } }

/* Red de cubos (sección Casos) */
.red-cubos .malla line { stroke: #1E1E1E; stroke-width: 1; }
.red-cubos .enlace { stroke: #2F4C5E; stroke-width: 1.4; }
.red-cubos .pulso { stroke: var(--azul); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 10 260; animation: viaje 3.6s linear infinite; }
.red-cubos .pulso:nth-of-type(4) { animation-delay: -.9s; } .red-cubos .pulso:nth-of-type(6) { animation-delay: -1.8s; } .red-cubos .pulso:nth-of-type(8) { animation-delay: -2.7s; } .red-cubos .pulso:nth-of-type(10) { animation-delay: -1.3s; }
@keyframes viaje { from { stroke-dashoffset: 270; } to { stroke-dashoffset: 0; } }
.red-cubos .cubo[data-k=dark] .f-top { fill: url(#gT2); } .red-cubos .cubo[data-k=dark] .f-left { fill: url(#gL2); } .red-cubos .cubo[data-k=dark] .f-right { fill: url(#gR2); }
.red-cubos .cubo[data-k=blue] .f-top { fill: url(#bT2); } .red-cubos .cubo[data-k=blue] .f-left { fill: url(#bL2); } .red-cubos .cubo[data-k=blue] .f-right { fill: url(#bR2); }
.red-cubos .cubo[data-k=glass] .f-top { fill: url(#wT2); } .red-cubos .cubo[data-k=glass] .f-left { fill: url(#wL2); } .red-cubos .cubo[data-k=glass] .f-right { fill: url(#wR2); }
.prueba figure { padding: 10px 10px 0; }

/* Páginas de servicio */
.miga { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mudo); display: flex; gap: 10px; flex-wrap: wrap; }
.miga a:hover { color: #fff; }
.miga span::before { content: "/"; margin-right: 10px; color: var(--mudo-2); }
.p-hero { position: relative; overflow: hidden; padding: 72px 0 80px; border-bottom: 1px solid var(--linea); }
.p-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% 20%, rgba(14,143,213,.14), transparent 65%); pointer-events: none; }
.p-hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.p-hero h1 { margin-top: 22px; font-size: clamp(34px, 4.6vw, 62px); text-transform: uppercase; line-height: 1.06; }
.p-hero .lead { margin-top: 24px; font-size: 19px; color: var(--texto); max-width: 32em; }
.p-hero .acciones { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.p-hero figure { margin: 0; }
.p-hero .cubos { width: 100%; max-width: 480px; margin-inline: auto; }
.p-sec { padding: 104px 0; border-top: 1px solid var(--linea); }
.p-sec .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.p-sec h2 { font-size: clamp(28px, 3.4vw, 44px); }
.p-sec h2 b { color: var(--azul-claro); }
.p-sec .intro { margin-top: 20px; font-size: 17px; color: var(--texto); max-width: 30em; }
.p-sec .prosa { font-size: 16.5px; color: var(--texto); }
.p-sec .prosa p + p { margin-top: 18px; }
.p-sec .prosa b { color: #fff; font-weight: 500; }
.p-sec .prosa a { color: var(--azul-claro); }
.entregas { margin: 0; padding: 0; list-style: none; }
.entregas li { padding: 22px 0; border-top: 1px solid var(--linea); display: grid; grid-template-columns: 52px 1fr; gap: 16px; }
.entregas li:last-child { border-bottom: 1px solid var(--linea); }
.entregas .n { font-family: var(--mono); font-size: 13px; color: var(--azul-claro); padding-top: 5px; }
.entregas h3 { font-size: 19px; font-weight: 400; }
.entregas p { margin-top: 6px; font-size: 15px; color: var(--mudo); }
.fases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.fase { border: 1px solid var(--linea-2); border-radius: 22px; padding: 26px 24px; }
.fase .n { font-family: var(--mono); font-size: 12px; color: var(--azul-claro); }
.fase h3 { margin-top: 10px; font-size: 18px; font-weight: 400; }
.fase p { margin-top: 8px; font-size: 14px; color: var(--mudo); }
.fase .t { margin-top: 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mudo-2); }
.faq { max-width: 860px; margin-top: 48px; border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; font-size: 18px; font-weight: 400; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--azul-claro); font-size: 24px; font-weight: 200; text-align: right; }
.faq details[open] summary::after { content: "−"; }
.faq .r { padding: 0 0 24px; font-size: 15.5px; color: var(--texto); max-width: 46em; }
.relacionadas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.relacionadas a { border: 1px solid var(--linea-2); border-radius: 22px; padding: 24px; display: block; transition: border-color 160ms; }
.relacionadas a:hover { border-color: rgba(255,255,255,.55); }
.relacionadas .label { font-size: 11px; color: var(--mudo); }
.relacionadas h3 { margin-top: 8px; font-size: 18px; font-weight: 400; }
.relacionadas h3::after { content: " →"; color: var(--azul); }
.p-cta { text-align: center; padding: 120px 0; border-top: 1px solid var(--linea); position: relative; overflow: hidden; }
.p-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 50% 100%, rgba(14,143,213,.18), transparent 70%); pointer-events: none; }
.p-cta .wrap { position: relative; }
.p-cta h2 { font-size: clamp(30px, 4.4vw, 56px); text-transform: uppercase; }
.p-cta p { margin-top: 22px; font-size: 17px; color: var(--texto); max-width: 36em; margin-inline: auto; }
.p-cta .acciones { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 1080px) { .p-hero .wrap, .p-sec .grid { grid-template-columns: 1fr; gap: 36px; } .p-hero figure { order: -1; } .fases { grid-template-columns: 1fr 1fr; } .relacionadas { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .p-hero { padding: 40px 0 56px; } .p-sec { padding: 72px 0; } .fases { grid-template-columns: 1fr; } .p-hero .acciones .btn, .p-cta .acciones .btn { width: 100%; } .entregas li { grid-template-columns: 36px 1fr; gap: 10px; } }

/* Artículos y cursos */
.a-hero { padding: 64px 0 56px; border-bottom: 1px solid var(--linea); position: relative; overflow: hidden; }
.a-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 420px at 90% 0%, rgba(14,143,213,.12), transparent 65%); pointer-events: none; }
.a-hero .wrap { position: relative; max-width: 860px; }
.a-hero h1 { margin-top: 22px; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.08; }
.a-hero h1 b { color: var(--azul-claro); }
.a-hero .lead { margin-top: 22px; font-size: 19px; color: var(--texto); }
.a-hero .meta { margin-top: 26px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mudo); }
.a-body { padding: 72px 0 24px; }
.a-body .wrap { max-width: 860px; }
.a-sec { padding: 26px 0 30px; }
.a-sec + .a-sec { border-top: 1px solid var(--linea); }
.a-sec h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 300; }
.a-sec h2 b { color: var(--azul-claro); font-weight: 500; }
.a-sec .prosa { margin-top: 18px; font-size: 16.5px; color: var(--texto); }
.a-sec .prosa p + p { margin-top: 16px; }
.a-sec .prosa b { color: #fff; font-weight: 500; }
.a-sec .prosa a { color: var(--azul-claro); }
.a-sec ul.puntos { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15.5px; color: var(--texto); }
.a-sec ul.puntos li { padding-left: 18px; position: relative; }
.a-sec ul.puntos li::before { content: "/"; position: absolute; left: 0; color: var(--azul); }
.a-sec ul.puntos b { color: #fff; font-weight: 500; }
.tabla { margin-top: 22px; width: 100%; border-collapse: collapse; font-size: 14.5px; color: var(--texto); }
.tabla th, .tabla td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--linea); vertical-align: top; }
.tabla th { font-weight: 400; color: var(--azul-claro); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.tabla tr:last-child td { border-bottom: 1px solid var(--linea); }
.tabla td:first-child { color: #fff; font-weight: 400; }
.tabla-wrap { overflow-x: auto; }
.a-nota { margin-top: 18px; padding: 18px 22px; border: 1px solid var(--linea-2); border-radius: 18px; font-size: 14.5px; color: var(--texto); }
.a-nota b { color: #fff; font-weight: 500; }
.a-nota a { color: var(--azul-claro); }
.a-cta { margin-top: 40px; padding: 30px 32px; border: 1px solid var(--linea-2); border-radius: 26px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--negro-2); }
.a-cta h3 { font-size: 22px; font-weight: 300; }
.a-cta h3 b { color: var(--azul-claro); font-weight: 500; }
.a-cta p { margin-top: 8px; font-size: 14.5px; color: var(--mudo); }
.fuentes { font-size: 13px; color: var(--mudo); }
.fuentes ol { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.fuentes a { color: var(--azul-claro); word-break: break-all; }
/* Curso */
.ficha-curso { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ficha-curso div { border: 1px solid var(--linea-2); border-radius: 18px; padding: 16px 18px; }
.ficha-curso span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mudo); }
.ficha-curso b { display: block; margin-top: 6px; font-weight: 400; font-size: 16px; }
.temario { margin: 18px 0 0; padding: 0; list-style: none; counter-reset: m; }
.temario li { padding: 16px 0; border-top: 1px solid var(--linea); display: grid; grid-template-columns: 48px 1fr; gap: 14px; }
.temario li:last-child { border-bottom: 1px solid var(--linea); }
.temario li::before { counter-increment: m; content: counter(m, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--azul-claro); padding-top: 3px; }
.temario h3 { font-size: 17px; font-weight: 400; }
.temario p { margin-top: 5px; font-size: 14.5px; color: var(--mudo); }
@media (max-width: 1080px) { .ficha-curso { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .a-hero { padding: 40px 0 44px; } .a-body { padding: 48px 0 16px; } .a-cta { grid-template-columns: 1fr; } .a-cta .btn { width: 100%; } .ficha-curso { grid-template-columns: 1fr; } .temario li { grid-template-columns: 36px 1fr; gap: 10px; } }
