/* ==========================================================================
   AquaVolt — hoja de estilos (modo oscuro)
   Identidad "Corriente": ver assets/marca-kit-completo/LEEME.md
   Estructura basada en el One Pager aprobado (Proyecto Tlalocan, sept. 2026).
   ========================================================================== */

:root{
  --bg: #0B1114;
  --surface: #141C20;
  --surface-2: #182228;
  --border: #223035;
  --border-strong: #2E4047;

  --texto: #E9EEF0;
  --texto-secundario: #93A3AA;

  --azul: #4FA8CF;
  --azul-profundo: #0D4B6B;
  --naranja: #F0A93C;

  --fuente-logo: 'Archivo', sans-serif;
  --fuente-titulos: 'IBM Plex Sans', sans-serif;
  --fuente-cifras: 'IBM Plex Mono', monospace;

  --radio: 10px;
  --ancho-maximo: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 72px; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--texto);
  font-family: var(--fuente-titulos);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }

.wrap{
  max-width: var(--ancho-maximo);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--azul); color: #06141b;
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus{ left: 12px; top: 12px; }

.top-rule{ height: 3px; background: linear-gradient(90deg, var(--azul), var(--naranja)); }

h1, h2, h3{
  font-family: var(--fuente-titulos);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: #fff;
}

/* ---------- Destellos de fondo ---------- */
.bg-glow{
  position: fixed;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}
.bg-glow-orange{
  top: -180px; right: -160px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, var(--naranja), transparent 70%);
}
.bg-glow-blue{
  bottom: -220px; left: -200px;
  width: 760px; height: 760px;
  background: radial-gradient(circle, var(--azul), transparent 70%);
}
@media (max-width: 700px){ .bg-glow{ opacity: 0.15; } }

/* ---------- Animación de aparición ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].in-view{ opacity: 1; transform: none; }
[data-reveal-delay="1"]{ transition-delay: 0.1s; }
[data-reveal-delay="2"]{ transition-delay: 0.2s; }

/* ---------- Bocetos de línea (SVG) ---------- */
.s-line{ fill: none; stroke: var(--azul); stroke-width: 2; stroke-linecap: square; stroke-linejoin: miter; }
.s-dim{ stroke: var(--border-strong); }
.s-accent{ fill: none; stroke: var(--naranja); stroke-width: 2; stroke-linecap: square; }
.s-fill-accent{ fill: var(--naranja); opacity: .85; }
.s-thin{ fill: none; stroke: var(--azul); stroke-width: 1.1; stroke-linecap: square; opacity: .6; }
.s-thin-accent{ fill: none; stroke: var(--naranja); stroke-width: 1.2; stroke-linecap: square; }
.s-soft{ fill: color-mix(in srgb, var(--azul) 10%, var(--surface)); }
.s-faint{ opacity: .35; }
.s-dash{ stroke-dasharray: 3 3; }
.s-hatch{ stroke: var(--border-strong); stroke-width: 1; opacity: .8; }
.s-water{ stroke-dasharray: none; animation: ola 3s ease-in-out infinite; }
@keyframes ola{ 0%,100%{ transform: translateX(0); } 50%{ transform: translateX(4px); } }
.s-led{ fill: var(--azul); }
.s-led-accent{ fill: var(--naranja); }
.s-glyph{ font-family: var(--fuente-cifras); font-size: 12px; font-weight: 600; fill: var(--azul); }
.s-sub{ font-family: var(--fuente-titulos); font-size: 10.5px; fill: #6F818A; }
.bb-port{ fill: var(--bg); stroke: var(--naranja); stroke-width: 1.5; }
.s-iso{ color: var(--azul); }
.s-drop{ fill: var(--azul); }
.s-text{
  font-family: var(--fuente-cifras);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: var(--texto-secundario);
}
.s-text-dim{ fill: #5E7079; font-size: 10px; }
.s-text-strong{ fill: #fff; font-size: 12px; }
.s-text-accent{ fill: var(--naranja); }
.s-flow{ stroke-dasharray: 5 5; animation: flujo 1.4s linear infinite; }
.s-flow-lines path{
  fill: none; stroke: var(--azul); stroke-width: 2;
  stroke-dasharray: 4 14; animation: flujo 1.6s linear infinite;
}
.s-signal path{ animation: senal 2.4s var(--ease) infinite; }
.s-signal path:nth-child(2){ animation-delay: .3s; }
@keyframes flujo{ to{ stroke-dashoffset: -20; } }
@keyframes senal{ 0%,100%{ opacity: .25; } 50%{ opacity: 1; } }

.sketch-panel{
  border: 1px solid var(--border);
  border-radius: var(--radio);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  padding: 12px;
}
.sketch{ width: 100%; height: auto; display: block; }
.sketch-caption{
  margin: 12px 2px 0;
  font-family: var(--fuente-cifras);
  font-size: 0.76rem;
  color: var(--texto-secundario);
}

/* ---------- Encabezado ---------- */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,17,20,0.86);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
}
.brand{
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: #fff;
}
.brand-icon{ color: var(--azul); flex-shrink: 0; }
.brand-word{
  font-family: var(--fuente-logo);
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.brand-word strong{ font-weight: 700; }

.main-nav{ display: flex; align-items: center; gap: 24px; }
.main-nav a{
  text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  color: var(--texto-secundario);
  transition: color 0.2s var(--ease);
}
.main-nav a:hover{ color: #fff; }
.nav-cta{
  border: 1px solid var(--naranja);
  color: var(--naranja) !important;
  padding: 7px 16px; border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-cta:hover{ background: var(--naranja); color: #1a1000 !important; }

.nav-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span{ display: block; height: 2px; background: #fff; border-radius: 2px; }

@media (max-width: 1000px){
  .nav-toggle{ display: flex; }
  .main-nav{
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start;
    padding: 16px 24px 24px; gap: 16px;
    display: none;
  }
  .main-nav.open{ display: flex; }
}

/* ---------- Hero / 01 Pitch ---------- */
.hero{
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.hero-watermark{
  position: absolute;
  top: 46%; right: -8%;
  width: 720px; height: 720px; max-width: 64vw;
  transform: translateY(-50%);
  color: var(--azul);
  opacity: 0.045;
  pointer-events: none;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-lockup{ display: flex; width: fit-content; align-items: center; gap: 12px; margin-bottom: 28px; }
.brand-word-lg{ font-size: 2.1rem; }

.eyebrow, .section-eyebrow{
  font-family: var(--fuente-cifras);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--naranja);
  margin: 0 0 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow-num{ color: #5E7079; }

.hero h1{ font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 22px; }
.h1-line{ display: block; color: var(--azul); }
.hero-lead{ font-size: 1.06rem; color: var(--texto-secundario); max-width: 60ch; }
.hero-lead strong{ color: #fff; font-weight: 600; }
.hero-thesis{
  font-size: 1.06rem; color: #fff; font-weight: 500;
  border-left: 3px solid var(--naranja);
  padding-left: 16px; margin: 20px 0 0; max-width: 58ch;
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero-panel{ padding: 18px; }
.hero-facts{
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radio); overflow: hidden;
}
.hero-facts li{ background: var(--surface); padding: 16px 18px; }
.fact-value{ display: block; font-family: var(--fuente-cifras); font-weight: 600; font-size: 1.4rem; color: var(--naranja); }
.fact-label{ display: block; font-size: 0.82rem; color: var(--texto-secundario); line-height: 1.45; margin-top: 4px; }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .hero{ padding: 48px 0 56px; }
  .hero-watermark{ display: none; }
  .brand-word-lg{ font-size: 1.8rem; }
}

.btn{
  display: inline-block;
  padding: 12px 22px; border-radius: 6px;
  font-weight: 600; font-size: 0.92rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn-primary{ background: var(--naranja); color: #1a1000; }
.btn-primary:hover{ background: #f7bb5c; }
.btn-ghost{ border-color: var(--border-strong); color: #fff; }
.btn-ghost:hover{ border-color: var(--azul); color: var(--azul); }

/* ---------- Secciones ---------- */
.section{ padding: 96px 0; position: relative; }
.section.alt{
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head{ margin-bottom: 44px; }
.section-head-row{ display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-eyebrow{ color: var(--azul); }
.section-eyebrow::before{
  content: ''; width: 22px; height: 3px; background: var(--azul); flex-shrink: 0;
}
.section-eyebrow.tick-orange{ color: var(--naranja); }
.section-eyebrow.tick-orange::before{ background: var(--naranja); }
.section-title{ font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; max-width: 24ch; }
.section-head .section-title{ max-width: none; }

/* ---------- 02 Oportunidad ---------- */
.opp-grid{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radio); overflow: hidden;
}
.opp-card{ background: var(--bg); padding: 34px 30px 36px; }
.opp-icon{ width: 80px; height: 64px; margin-bottom: 22px; }
.opp-key{
  font-family: var(--fuente-cifras); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.76rem; color: var(--naranja);
  margin: 0 0 10px;
}
.opp-card h3{ font-size: 1.22rem; font-weight: 500; line-height: 1.4; margin: 0; }
@media (max-width: 820px){ .opp-grid{ grid-template-columns: 1fr; } }

/* ---------- 03 Situación ---------- */
.stat-grid{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radio); overflow: hidden;
  margin-bottom: 40px;
}
.stat-card{ background: var(--bg); padding: 26px 24px; }
.stat-number{
  display: block;
  font-family: var(--fuente-cifras); font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  color: var(--naranja);
  margin-bottom: 8px; white-space: nowrap;
}
.stat-number small{ font-size: 0.55em; color: var(--texto-secundario); font-weight: 500; }
.stat-label{ display: block; color: var(--texto-secundario); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 960px){ .stat-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .stat-grid{ grid-template-columns: 1fr; } }

.situation-grid{
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 40px; align-items: start;
}
.map-figure{ margin: 0; }
.map-panel{ padding: 22px 22px 14px; }
.mx-outline{ fill: color-mix(in srgb, var(--azul) 7%, transparent); stroke: var(--azul); stroke-width: 1.6; stroke-linejoin: round; }
.mx-links line{ stroke: var(--azul); stroke-width: 1; stroke-dasharray: 3 4; opacity: .45; }
.mx-sites circle{ fill: var(--naranja); }
.mx-pulse circle{
  fill: none; stroke: var(--naranja); stroke-width: 1.5;
  transform-box: fill-box; transform-origin: center;
  animation: pulso 2.8s var(--ease) infinite;
}
.mx-pulse circle:nth-child(2){ animation-delay: .7s; }
.mx-pulse circle:nth-child(3){ animation-delay: 1.4s; }
.mx-pulse circle:nth-child(4){ animation-delay: 2.1s; }
@keyframes pulso{ 0%{ transform: scale(1); opacity: .9; } 100%{ transform: scale(4.5); opacity: 0; } }

.actors{ display: grid; gap: 0; border-top: 1px solid var(--border); }
.actor{ padding: 22px 0; border-bottom: 1px solid var(--border); }
.actor-key{
  font-weight: 600; color: #fff; font-size: 1.08rem;
  margin: 0 0 6px; display: flex; align-items: center; gap: 10px;
}
.actor-key::before{ content: ''; width: 8px; height: 8px; background: var(--naranja); }
.actor p:last-child{ margin: 0; color: var(--texto-secundario); }
@media (max-width: 900px){ .situation-grid{ grid-template-columns: 1fr; } }

/* ---------- 04 Solución ---------- */
.flow{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radio); overflow: hidden;
  counter-reset: paso;
}
.flow-step{ background: var(--bg); padding: 28px 22px 30px; position: relative; }
.flow-step:not(:last-child)::after{
  content: ''; position: absolute; top: 72px; right: -7px; z-index: 2;
  width: 12px; height: 12px;
  border-top: 2px solid var(--naranja); border-right: 2px solid var(--naranja);
  transform: rotate(45deg);
  background: var(--bg);
}
.flow-icon{ display: block; width: 100%; max-width: 132px; height: auto; margin-bottom: 18px; }
.flow-num{ display: block; font-family: var(--fuente-cifras); font-size: 0.76rem; color: #5E7079; letter-spacing: .08em; }
.flow-step h3{ font-size: 1.08rem; margin: 4px 0 8px; }
.flow-step p{ margin: 0; color: var(--texto-secundario); font-size: 0.92rem; line-height: 1.55; }
@media (max-width: 1000px){
  .flow{ grid-template-columns: 1fr 1fr; }
  .flow-step::after{ display: none; }
  .flow-step:last-child{ grid-column: 1 / -1; }
}
@media (max-width: 560px){ .flow{ grid-template-columns: 1fr; } }

/* ---------- 05 Tecnología ---------- */
.made-in-mx{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fuente-cifras); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.76rem; font-weight: 600;
  color: var(--naranja);
  border: 1px solid color-mix(in srgb, var(--naranja) 55%, transparent);
  padding: 8px 14px; border-radius: 4px; margin: 0;
}
.made-in-mx svg{ color: var(--naranja); }

.tech-index{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radio); overflow: hidden;
  margin-bottom: 72px;
}
.tech-tab{
  background: var(--bg); padding: 20px 22px;
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--texto-secundario);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tech-tab strong{ color: #fff; font-weight: 600; }
.tech-tab:hover{ background: var(--surface-2); color: #fff; }
.tech-tab-num{
  font-family: var(--fuente-cifras); font-weight: 600;
  width: 34px; height: 34px; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--azul); color: var(--azul); border-radius: 4px;
}
@media (max-width: 820px){ .tech-index{ grid-template-columns: 1fr; } }

.tech-block{
  display: grid; grid-template-columns: 0.8fr 1.2fr;
  gap: 48px; align-items: center;
  padding-top: 56px; margin-top: 56px;
  border-top: 1px solid var(--border);
}
.tech-block:first-of-type{ border-top: 0; margin-top: 0; padding-top: 0; }
.tech-block-ems, .tech-block-infra{ grid-template-columns: 1fr; gap: 28px; }
.tech-label{
  font-family: var(--fuente-cifras); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.76rem; color: var(--azul);
  margin: 0 0 10px;
}
.tech-copy h3{ font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.tech-copy p:last-child{ color: var(--texto-secundario); margin: 0; }
.tech-copy-wide{ max-width: 72ch; }
.bb-panel{ padding: 20px; }
.bb-core{ fill: var(--surface-2); stroke: var(--naranja); stroke-width: 2; }
@media (max-width: 900px){ .tech-block{ grid-template-columns: 1fr; gap: 28px; } }

/* IA Sinapsis — introducción, arquitectura y áreas */
.sinapsis-intro{
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: 48px; align-items: center;
}
.sinapsis-title{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .35em; }
.sinapsis-title .brand-word{ font-size: 1em; }
.tech-copy .sinapsis-lead{
  color: #fff; font-size: 1.1rem; font-weight: 500; line-height: 1.55;
  border-left: 3px solid var(--naranja); padding-left: 16px; margin: 0 0 16px;
}
.syn-panel{ padding: 20px 18px 10px; }
.syn-signal, .syn-signal path{
  fill: none; stroke: var(--naranja); stroke-width: 2;
  stroke-dasharray: 2 18; stroke-linecap: round;
  animation: flujo 1.8s linear infinite;
}
.syn-vesicles circle{ fill: var(--naranja); animation: senal 1.8s var(--ease) infinite; }
.syn-vesicles circle:nth-child(2){ animation-delay: .3s; }
.syn-vesicles circle:nth-child(3){ animation-delay: .6s; }
.syn-vesicles circle:nth-child(4){ animation-delay: .9s; }
@media (max-width: 900px){ .sinapsis-intro{ grid-template-columns: 1fr; gap: 28px; } }

.syn-grid{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radio); overflow: hidden;
}
.syn-cap{ background: var(--bg); padding: 26px 24px 24px; display: flex; flex-direction: column; }
.syn-cap-key{
  font-family: var(--fuente-cifras); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.74rem; font-weight: 600;
  color: var(--naranja); margin: 0 0 8px;
}
.syn-cap h4{
  font-family: var(--fuente-titulos); font-size: 1.06rem; font-weight: 600;
  color: #fff; margin: 0 0 8px; line-height: 1.3;
}
.syn-cap p:not(.syn-cap-key){ color: var(--texto-secundario); font-size: 0.92rem; line-height: 1.6; margin: 0 0 18px; }
.syn-links{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.syn-chip{
  font-family: var(--fuente-cifras); font-size: 0.72rem;
  color: var(--azul); background: transparent;
  border: 1px solid var(--border-strong); border-radius: 4px;
  padding: 5px 9px; cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.syn-chip:hover{ border-color: var(--azul); color: #fff; }
.syn-chip:focus-visible{ outline: 2px solid var(--azul); outline-offset: 2px; }
@media (max-width: 960px){ .syn-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .syn-grid{ grid-template-columns: 1fr; } }

.viewer-label{
  font-family: var(--fuente-cifras); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.74rem; color: var(--texto-secundario);
  margin: 40px 0 14px;
}
.ems-group{
  margin: 0; padding: 8px 14px 4px;
  font-family: var(--fuente-cifras); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.66rem; font-weight: 600;
  color: var(--naranja);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* EMS — visor de pantallas reales */
.ems-viewer{
  display: grid; grid-template-columns: 260px 1fr;
  gap: 20px; align-items: start;
}
.ems-tabs{ position: relative; display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--radio); overflow: hidden; }
.ems-tab{
  position: relative;
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  font: inherit; font-size: 0.9rem;
  color: var(--texto-secundario);
  background: var(--bg);
  border: 0; border-bottom: 1px solid var(--border);
  padding: 8px 14px; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.ems-tab:last-child{ border-bottom: 0; }
.ems-tab:hover{ color: #fff; background: var(--surface-2); }
.ems-tab.is-active{ color: #fff; background: var(--surface-2); }
.ems-tab.is-active::before{ content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--naranja); }
.ems-tab-num{ font-family: var(--fuente-cifras); font-size: 0.74rem; color: #5E7079; }
.ems-tab.is-active .ems-tab-num{ color: var(--naranja); }
.ems-progress{
  position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--azul); opacity: .7;
}
.ems-tab.is-active.is-playing .ems-progress{ animation: progreso var(--ems-interval, 6s) linear forwards; }
@keyframes progreso{ to{ width: 100%; } }
.ems-tab:focus-visible{ outline: 2px solid var(--azul); outline-offset: -2px; }

.ems-stage{
  position: sticky; top: 84px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radio);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 30px 80px -40px rgba(79,168,207,.35);
}
.browser-chrome{
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.browser-chrome span{ width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.browser-url{
  margin-left: 12px; font-style: normal;
  font-family: var(--fuente-cifras); font-size: 0.72rem; color: #5E7079;
}
.ems-frames{ position: relative; aspect-ratio: 1904 / 960; background: #fff; }
.ems-frame{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top left;
  opacity: 0; transition: opacity .5s var(--ease);
}
.ems-frame.is-active{ opacity: 1; }
.ems-caption{
  margin: 0; padding: 14px 18px;
  font-family: var(--fuente-cifras); font-size: 0.8rem;
  color: var(--texto-secundario);
  border-top: 1px solid var(--border);
  min-height: 3.2em;
}
.ems-caption strong{ color: #fff; font-weight: 600; }
@media (max-width: 900px){
  .ems-viewer{ grid-template-columns: 1fr; }
  .ems-stage{ position: static; }
  .ems-tabs{
    display: flex; overflow-x: auto; scrollbar-width: none;
    order: 2;
  }
  .ems-tabs::-webkit-scrollbar{ display: none; }
  .ems-group{ display: none; }
  .ems-tab{ flex: 0 0 auto; width: auto; border-bottom: 0; border-right: 1px solid var(--border); white-space: nowrap; }
  .ems-tab.is-active::before{ top: auto; right: 0; width: auto; height: 3px; }
}

/* Infraestructura — imágenes */
.infra-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-card{
  margin: 0;
  border: 1px solid var(--border); border-radius: var(--radio);
  overflow: hidden; background: var(--surface);
}
.photo-card img{ width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-card figcaption{ padding: 16px 18px; font-size: 0.9rem; color: var(--texto-secundario); }
.photo-tag{
  display: block; margin-bottom: 4px;
  font-family: var(--fuente-cifras); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.72rem; color: var(--naranja);
}
@media (max-width: 760px){ .infra-grid{ grid-template-columns: 1fr; } }

/* ---------- 06 Qué buscamos ---------- */
.seek-grid{
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radio); overflow: hidden;
}
.seek-card{ background: var(--bg); padding: 30px 24px 32px; }
.seek-num{
  display: block; font-family: var(--fuente-cifras); font-weight: 600;
  font-size: 2rem; color: var(--azul); line-height: 1; margin-bottom: 22px;
}
.seek-card h3{ font-size: 1.08rem; }
.seek-card p{ margin: 0; color: var(--texto-secundario); font-size: 0.93rem; }
@media (max-width: 960px){ .seek-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .seek-grid{ grid-template-columns: 1fr; } }

/* ---------- 07 Línea de tiempo ---------- */
.timeline-section{
  background: linear-gradient(180deg, color-mix(in srgb, var(--azul-profundo) 55%, var(--bg)), var(--bg));
  border-top: 1px solid var(--border);
}
.timeline{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 24px; position: relative;
}
.timeline::before{
  content: ''; position: absolute; left: 0; right: 0; top: 7px;
  height: 2px; background: color-mix(in srgb, var(--azul) 45%, transparent);
}
.phase{ position: relative; padding-top: 34px; }
.phase-node{
  position: absolute; top: 0; left: 0;
  width: 16px; height: 16px;
  background: var(--bg); border: 2px solid var(--azul);
}
.phase-current .phase-node{ background: var(--naranja); border-color: var(--naranja); box-shadow: 0 0 0 6px color-mix(in srgb, var(--naranja) 22%, transparent); }
.phase-future .phase-node{ border-color: #5E7079; }
.phase-date{
  font-family: var(--fuente-cifras); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.74rem; color: var(--naranja);
  margin: 0 0 8px;
}
.phase h3{ font-size: 1.1rem; margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.phase-amount{ font-family: var(--fuente-cifras); color: var(--azul); font-size: 0.95rem; }
.phase p:last-child{ margin: 0; color: var(--texto-secundario); font-size: 0.92rem; }
@media (max-width: 960px){
  .timeline{ grid-template-columns: 1fr; gap: 0; padding-left: 32px; }
  .timeline::before{ left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .phase{ padding: 0 0 30px; }
  .phase-node{ left: -32px; top: 2px; }
}

/* ---------- Contacto ---------- */
.contact .section-head{ margin-bottom: 28px; }
.contact-list{
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radio); overflow: hidden;
}
.contact-list li{ background: var(--bg); padding: 24px; display: grid; gap: 6px; }
.contact-name{ color: #fff; font-weight: 600; }
.contact-list a{
  color: var(--azul); text-decoration: none;
  font-family: var(--fuente-cifras); font-size: 0.92rem;
  word-break: break-all;
}
.contact-list a:hover{ text-decoration: underline; }
@media (max-width: 820px){ .contact-list{ grid-template-columns: 1fr; } }

/* ---------- Pie de página ---------- */
.site-footer{
  background: #070b0d;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.footer-inner{ display: grid; gap: 10px; }
.brand-word-footer{ font-size: 1.4rem; }
.footer-tagline{
  font-family: var(--fuente-cifras); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.76rem; color: var(--naranja);
  margin: 4px 0 0;
}
.footer-legal{ font-size: 0.78rem; color: var(--texto-secundario); margin: 10px 0 0; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto; }
  .s-flow, .s-flow-lines path, .s-signal path, .mx-pulse circle, .s-water, .syn-signal, .syn-signal path, .syn-vesicles circle{ animation: none; }
  .mx-pulse{ display: none; }
}
