/* ════════════════════════════════════════════════════════════════
   UNIVERSO TEAL · LABORATORIO
   Red de grafeno (panal), turquesa que brilla como calor, letra
   técnica y un índice de informe a la izquierda.
   ════════════════════════════════════════════════════════════════ */
.u-teal {
  --t-fondo: #030b0c;
  --t-panel: #061315;
  --t-panel-2: #0a1b1d;
  --t-linea: rgba(24, 184, 176, .16);
  --t-linea-2: rgba(24, 184, 176, .3);
  --t-turquesa: #18b8b0;
  --t-brillo: #62f0e2;
  --t-texto: #e4f1ef;
  --t-texto-2: #bfd3d0;
  --t-mudo: #86a7a2;
  --t-display: 'Space Grotesk', 'Noto Sans', sans-serif;
  --t-mono: 'IBM Plex Mono', 'Noto Sans Mono', monospace;
  --acento: #62f0e2;
  /* El marco común toma el fondo y las líneas del universo */
  --fondo: var(--t-fondo); --cabecera: var(--t-fondo); --borde: var(--t-linea); --borde-fuerte: var(--t-linea-2); --hueco: #0c2224; --mudo: var(--t-mudo);
  background: var(--t-fondo);
}
.u-teal main { color: var(--t-texto); }
.u-teal ::selection { background: var(--t-turquesa); color: #021013; }

/* Portada con la red */
.t-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--t-linea); }
.t-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48.5' viewBox='0 0 28 48.5'%3E%3Cpath d='M14 0L28 8.08V24.25L14 32.33L0 24.25V8.08ZM14 32.33V48.5' fill='none' stroke='%2318b8b0' stroke-opacity='.22' stroke-width='.8'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 78% 30%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 85%);
  mask-image: radial-gradient(ellipse 70% 90% at 78% 30%, #000 0%, rgba(0, 0, 0, .35) 55%, transparent 85%);
}
.t-hero::after {
  content: ""; position: absolute; inset: -20% -10%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(98, 240, 226, .18), transparent 70%) no-repeat;
  background-size: 46% 70%;
  animation: t-calor 16s ease-in-out infinite alternate;
}
@keyframes t-calor { from { background-position: 92% 18%; } to { background-position: 52% 62%; } }
.t-hero-in {
  position: relative; z-index: 1; max-width: 1180px; margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--margen) clamp(40px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px 56px; align-items: end;
}
.t-kicker { font: 500 12px/1.4 var(--t-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--t-brillo); }
.t-titulo { margin-top: 18px; font: 600 clamp(36px, 5.2vw, 66px)/1.04 var(--t-display); letter-spacing: -.025em; color: #fff; }
.t-lede { margin-top: 22px; max-width: 62ch; font-size: 17.5px; line-height: 1.65; color: var(--t-texto-2); }
.t-lede strong { color: #fff; font-weight: 600; }
.t-specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid var(--t-linea-2); }
.t-specs > div { padding: 14px 16px 0 0; }
.t-specs dt { font: 500 11px/1.4 var(--t-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t-mudo); }
.t-specs dd { margin-top: 6px; font: 500 15px/1.35 var(--t-display); color: var(--t-texto); }
.t-estado { border: 1px solid var(--t-linea-2); border-radius: 10px; background: rgba(6, 19, 21, .82); backdrop-filter: blur(6px); }
.t-estado-cab { padding: 12px 16px; border-bottom: 1px solid var(--t-linea); font: 500 11px/1.4 var(--t-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--t-mudo); }
.t-estado ol { list-style: none; }
.t-estado li + li { border-top: 1px solid var(--t-linea); }
.t-estado a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 16px; color: var(--t-texto); }
.t-estado a:hover { background: rgba(24, 184, 176, .07); text-decoration: none; }
.t-estado b { font: 600 15px/1.3 var(--t-display); }
.t-estado small { grid-column: 1; font-size: 12.5px; color: var(--t-mudo); }
.t-estado .t-etq { grid-row: 1 / span 2; grid-column: 2; align-self: center; }

/* Etiquetas epistémicas */
.t-etq {
  display: inline-flex; align-items: center; padding: 2px 8px; border: 1px solid transparent; border-radius: 4px;
  font: 500 11px/1.4 var(--t-mono); letter-spacing: .06em; white-space: nowrap; vertical-align: 1px;
}
.t-etq.vc { background: var(--t-turquesa); color: #021013; }
.t-etq.pend { border-color: var(--t-turquesa); color: var(--t-brillo); }
.t-etq.hip { border-color: #4d6663; color: var(--t-mudo); }
.t-etq.fis { border: 1px dashed #4d6663; color: var(--t-texto-2); }

/* Cuerpo: índice de informe + secciones */
.t-cuerpo { max-width: 1180px; margin: 0 auto; padding: 0 var(--margen) 80px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; }
.t-indice { position: sticky; top: 24px; align-self: start; padding-top: 56px; }
.t-indice ol { list-style: none; display: flex; flex-direction: column; border-left: 1px solid var(--t-linea); }
.t-indice a {
  display: flex; gap: 10px; margin-left: -1px; padding: 7px 0 7px 14px; border-left: 2px solid transparent;
  font-size: 13.5px; color: var(--t-mudo);
}
.t-indice a span { font: 500 12px/1.6 var(--t-mono); color: #6f938d; }
.t-indice a:hover { color: var(--t-texto); text-decoration: none; }
.t-indice a[aria-current] { border-left-color: var(--t-brillo); color: #fff; }
.t-indice a[aria-current] span { color: var(--t-brillo); }
.t-sec { padding: 56px 0; border-bottom: 1px solid var(--t-linea); scroll-margin-top: 16px; }
.t-sec:last-child { border-bottom: 0; }
.t-sec > .t-num { margin: 0; font: 500 12px/1.4 var(--t-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--t-turquesa); }
.t-sec h2 { margin: 12px 0 22px; max-width: 26ch; font: 600 clamp(26px, 3.2vw, 36px)/1.15 var(--t-display); letter-spacing: -.02em; color: #fff; }
.t-sec > p, .t-sec .t-p { max-width: 70ch; margin-bottom: 16px; font-size: 16.5px; line-height: 1.72; color: var(--t-texto-2); }
.t-sec strong { color: #fff; font-weight: 600; }
.t-sec p a, .t-sec li a, .t-sec dd a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; text-decoration-color: color-mix(in oklab, currentColor 50%, transparent); }
.t-intro { font-size: 18px !important; color: var(--t-texto) !important; }
.t-aviso { max-width: 76ch; margin: 24px 0; padding: 18px 20px; border: 1px solid var(--t-linea-2); border-radius: 8px; background: rgba(24, 184, 176, .05); }
.t-aviso .t-aviso-tit { margin-bottom: 8px; font: 500 11.5px/1.4 var(--t-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--t-brillo); }
.t-aviso p { font-size: 15.5px; line-height: 1.7; color: var(--t-texto-2); }
.t-aviso-quieto { border-color: #2a3a39; background: rgba(255, 255, 255, .02); }
.t-aviso-quieto .t-aviso-tit { color: var(--t-mudo); }
.t-leyenda { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 820px; }
.t-leyenda li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--t-linea); border-radius: 8px; background: var(--t-panel); font-size: 14.5px; line-height: 1.5; color: var(--t-texto-2); }

/* Verticales: vídeo y ficha */
.t-verts { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.t-vert {
  display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); overflow: hidden;
  border: 1px solid var(--t-linea-2); border-radius: 12px; background: var(--t-panel); scroll-margin-top: 16px;
}
.t-vert-media { position: relative; display: block; width: 100%; height: 100%; min-height: 240px; padding: 0; border: 0; background: #000; cursor: zoom-in; }
.t-vert-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t-vert-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset -40px 0 60px -20px var(--t-panel); pointer-events: none; }
.t-vert-info { display: flex; flex-direction: column; gap: 14px; padding: 24px 26px 26px; }
.t-vert-cab { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.t-vert-cab h3 { font: 600 26px/1.1 var(--t-display); letter-spacing: -.01em; color: #fff; }
.t-vert-tipo { font-size: 15px; color: var(--t-texto-2); }
.t-madurez { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--t-mudo); }
.t-madurez-k { font: 500 11px/1.6 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--t-mudo); }
.t-madurez .seg { display: flex; gap: 3px; flex: 0 0 auto; }
.t-madurez .seg i { width: 18px; height: 6px; border-radius: 2px; background: #15302f; }
.t-madurez .seg i.on { background: var(--t-brillo); box-shadow: 0 0 8px rgba(98, 240, 226, .45); }
.t-filas { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 10px 18px; margin: 4px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--t-texto-2); }
.t-filas dt { padding-top: 2px; font: 500 11px/1.6 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--t-mudo); }
.t-filas dd { margin: 0; }
.t-filas ul { padding-left: 1.1em; }
.t-filas li + li { margin-top: 3px; }
.t-filas .t-nota-apl { margin-top: 8px; font-size: 13.5px; color: var(--t-mudo); }

/* Cuadro de estado */
.t-tabla { overflow-x: auto; border: 1px solid var(--t-linea-2); border-radius: 10px; }
.t-tabla table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.t-tabla th { padding: 12px 14px; background: var(--t-panel-2); font: 500 11px/1.4 var(--t-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--t-mudo); text-align: left; }
.t-tabla td { padding: 14px; border-top: 1px solid var(--t-linea); color: var(--t-texto-2); vertical-align: top; }
.t-tabla td:first-child { font: 600 14px/1.4 var(--t-display); color: #fff; white-space: nowrap; }
.t-tabla-nota { max-width: 76ch; margin-top: 14px !important; font-size: 14px !important; color: var(--t-mudo) !important; }

/* Auditoría: controles A a F */
.t-controles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 28px 0; overflow: hidden; border: 1px solid var(--t-linea-2); border-radius: 10px; background: var(--t-linea); }
.t-controles li { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--t-panel); }
.t-controles .letra { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--t-turquesa); border-radius: 50%; font: 600 13px/1 var(--t-mono); color: var(--t-brillo); }
.t-controles strong { font: 600 16px/1.3 var(--t-display); color: #fff; }
.t-controles p { font-size: 14px; line-height: 1.6; color: var(--t-texto-2); }

/* A la espera: hitos */
.t-hitos { list-style: none; position: relative; display: flex; flex-direction: column; gap: 26px; margin: 28px 0; padding-left: 52px; }
.t-hitos::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--t-turquesa), transparent); }
.t-hitos > li { position: relative; }
.t-hitos .num {
  position: absolute; left: -52px; top: -2px; display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid var(--t-turquesa); border-radius: 50%; background: var(--t-fondo);
  font: 600 14px/1 var(--t-mono); color: var(--t-brillo);
}
.t-hitos h3 { margin-bottom: 8px; font: 600 19px/1.3 var(--t-display); color: #fff; }
.t-hitos p { max-width: 70ch; font-size: 15.5px; line-height: 1.7; color: var(--t-texto-2); }
.t-busca { display: inline-flex; gap: 8px; margin-top: 10px; padding: 6px 10px; border: 1px solid var(--t-linea-2); border-radius: 6px; font-size: 13px; color: var(--t-texto-2); }
.t-busca b { font: 500 11px/1.9 var(--t-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--t-brillo); }

/* Teaser en la portada */
.t-lado { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.t-teaser { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--t-linea-2); border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; }
.t-teaser img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.t-teaser:hover img { transform: scale(1.03); }
.t-teaser:focus-visible { outline: 2px solid var(--t-brillo); outline-offset: 2px; }
.t-teaser-pie { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: var(--t-turquesa); color: #021013; font: 600 14px/1 var(--t-display); }
.t-teaser-pie small { font: 500 11px/1 var(--t-mono); opacity: .75; }
.t-teaser:hover .t-teaser-pie { background: var(--t-brillo); }

/* Colaboración */
.t-firma { margin-top: 28px !important; font: 500 18px/1.5 var(--t-display) !important; color: #fff !important; }
.t-cta { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0 28px; padding: 12px 18px; border-radius: 8px; background: var(--t-turquesa); color: #021013; font: 600 15px/1 var(--t-display); }
.t-cta:hover { background: var(--t-brillo); text-decoration: none; }
.t-nota { max-width: 80ch; padding-top: 22px; border-top: 1px solid var(--t-linea); font-size: 13.5px !important; line-height: 1.7 !important; color: var(--t-mudo) !important; }
.t-nota strong { color: var(--t-texto-2) !important; }
.t-sec > .t-pie-mono { margin-top: 14px; font: 500 11.5px/1.6 var(--t-mono); letter-spacing: .06em; color: var(--t-mudo); }

@media (max-width: 1080px) {
  .t-hero-in { grid-template-columns: minmax(0, 1fr); }
  .t-estado, .t-lado { max-width: 520px; }
  .t-cuerpo { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .t-indice { display: none; }
}
@media (max-width: 860px) {
  .t-vert { grid-template-columns: minmax(0, 1fr); }
  .t-vert-media { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
  .t-vert-media::after { box-shadow: inset 0 -40px 60px -20px var(--t-panel); }
  .t-controles { grid-template-columns: minmax(0, 1fr); }
  .t-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
}
@media (max-width: 640px) {
  .t-leyenda { grid-template-columns: minmax(0, 1fr); }
  .t-filas { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .t-filas dd { margin-bottom: 10px; }
  .t-vert-info { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .t-hero::after { animation: none; } .t-teaser img { transition: none; } }
