:root {
  --navy-950: #03111d;
  --navy-900: #061a2b;
  --navy-800: #0a2b3e;
  --navy-700: #12445a;
  --cyan-500: #00a9cf;
  --cyan-300: #58d9e7;
  --green-600: #0a8f55;
  --green-500: #12a866;
  --orange-500: #f38744;
  --ink: #eaf5f7;
  --muted: #93b1bd;
  --paper: #0a2b3e;
  --paper-2: #061c2e;
  --white: #ffffff;
  --line: rgba(88, 217, 231, 0.18);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* El header es `sticky` y mide 111px en movil. Sin esto, cualquier enlace
   del menu (#how, #monitor, #faq, #contact) aterriza con el eyebrow y parte
   del titulo TAPADOS por el header: medido el 2026-11-05 a 390px, el eyebrow
   quedaba en y=96 con el header llegando hasta y=111.
   El valor va un poco por encima de la altura del header para que la seccion
   no arranque pegada al borde. Afecta solo al salto de ancla, no al layout. */
main > section[id],
main [id^="monitor"] {
  scroll-margin-top: 124px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-2);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  background: var(--cyan-300);
  color: var(--navy-950);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ⚠️ EL FONDO Y EL DESENFOQUE VAN EN ::before, NO AQUI. NO LOS SUBAS.
   Arreglado 2026-11-05. `backdrop-filter` en un elemento lo convierte en
   BLOQUE CONTENEDOR de sus descendientes `position: fixed`. `.primary-nav`
   es fixed, asi que dejaba de medirse contra la pantalla y pasaba a medirse
   contra los 111px del header. Eso rompia el menu movil de dos formas:

   1. `inset: 110px 0 64px` quedaba sobre-restringido dentro de 111px, y el
      panel salia de 68px de alto: los tres enlaces se dibujaban FUERA de su
      propio fondo, como texto fantasma encima del contenido de la pagina.
   2. Cerrado, `transform: translateX(100%)` lo dejaba de x=390 a x=780 y
      —al no ser ya fijo al viewport— SI contaba para el desbordamiento:
      `scrollWidth` 780 contra `clientWidth` 390, o sea scroll horizontal en
      toda la pagina. Es el bug que STATUS.md arrastraba desde el 2026-10-09.

   Poniendo fondo y desenfoque en el pseudo-elemento, el header deja de ser
   bloque contenedor y el nav vuelve a medirse contra la pantalla. El aspecto
   no cambia: ::before cubre el header entero y pinta exactamente lo mismo.
   `.header-wave` es `absolute` y sigue anclada al header, que es `sticky`. */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(88, 217, 231, 0.14);
  transition: box-shadow 220ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(6, 26, 43, 0.96);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(3, 17, 29, 0.1);
}

/* Onda de agua en el borde inferior del header. Recoge el lenguaje de la
   ola del logo y sustituye al borde plano de 1px. Dos capas a distinta
   velocidad para dar profundidad; el desplazamiento es exactamente media
   anchura del SVG, asi que el ciclo es continuo y no se nota el salto. */
.header-wave {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 13px;
  overflow: hidden;
  pointer-events: none;
}

.header-wave svg {
  display: block;
  width: 200%;
  height: 100%;
}

.header-wave path {
  will-change: transform;
}

.header-wave-back {
  fill: rgba(0, 169, 207, 0.3);
  animation: wave-drift 21s linear infinite;
}

.header-wave-front {
  fill: rgba(88, 217, 231, 0.42);
  animation: wave-drift 13s linear infinite;
}

@keyframes wave-drift {
  to {
    transform: translateX(-50%);
  }
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 34px;
  padding: 5px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.055em;
}

.utility-bar p {
  margin: 0;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.utility-links a {
  color: var(--cyan-300);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--max));
  min-height: 84px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

/* El monograma se extrajo del JPG original con canal alfa, asi que se funde
   con el navy en vez de flotar dentro de un recuadro blanco. Sin recorte y
   sin radio: la marca se ve completa. */
.brand-mark {
  width: auto;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 7px rgba(3, 17, 29, 0.5));
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand strong {
  color: var(--white);
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand small {
  margin-top: 4px;
  color: var(--cyan-300);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 29px);
  font-size: 14px;
  color: #b7d0d9;
}

.primary-nav a {
  position: relative;
  padding: 14px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.language-switcher {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.language-switcher button {
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.language-switcher button.is-active {
  background: var(--navy-700);
  color: var(--white);
}

.menu-toggle {
  display: none;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 13px 21px;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 13px;
}

.button-primary {
  color: var(--white);
  background: var(--green-600);
  box-shadow: 0 12px 28px rgba(10, 143, 85, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #087b49;
}

.button-ghost {
  color: var(--cyan-300);
  border-color: rgba(88, 217, 231, 0.42);
  background: rgba(255, 255, 255, 0.03);
}

.button-secondary {
  color: var(--cyan-300);
  border-color: var(--cyan-300);
  background: transparent;
}

.whatsapp-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #20b85a;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(32, 184, 90, 0.24);
}

.whatsapp-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button .whatsapp-icon {
  margin-right: 9px;
}

.icon-only-link {
  display: inline-grid;
  place-items: center;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 79% 38%, rgba(0, 190, 231, 0.3), transparent 31%),
    radial-gradient(circle at 91% 64%, rgba(0, 115, 167, 0.22), transparent 29%),
    linear-gradient(125deg, var(--navy-950), var(--navy-900) 52%, #06283b);
}

.hero::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  right: -200px;
  top: -280px;
  border: 1px solid rgba(88, 217, 231, 0.09);
  border-radius: 50%;
}

.hero-grid {
  width: min(calc(100% - 48px), var(--max));
  min-height: auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 20px;
  padding: 84px 0 58px;
}

.hero-copy {
  position: relative;
  z-index: 8;
  max-width: 900px;
}

.manufacturer-lockup {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.flow-mark {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.flow-mark i {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--cyan-500);
}

.flow-mark i:nth-child(2) {
  width: 16px;
}

.flow-mark i:nth-child(3) {
  width: 9px;
  background: var(--orange-500);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero .eyebrow,
.mechanism-section .eyebrow,
.results-section .eyebrow {
  color: var(--cyan-300);
}

/* =====================================================================
   RESULTADOS POR INDUSTRIA — fusion de Resultados + Industrias (2026-10-10)
   El lector se busca por tipo de propiedad. La que tiene caso documentado
   se abre con <details>, el mismo patron del FAQ: sin JavaScript nuevo y
   accesible por teclado.
   ===================================================================== */
/* ---- Tabs por industria (decidido 2026-10-10) ----------------------
   El visitante se identifica primero y despues ve la evidencia de lo
   suyo. Iconos de linea, no emoji: bajan el registro de una seccion de
   evidencia y cambian de forma en cada sistema operativo. */
.cs-tabs {
  display: flex;
  gap: 8px;
  margin-top: 40px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.cs-tab {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 132px;
  padding: 16px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: none;
  color: var(--muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.cs-tab svg { width: 24px; height: 24px; }

.cs-tab:hover { border-color: rgba(88, 217, 231, 0.42); color: #cfe3e9; }
.cs-tab:focus-visible { outline: 2px solid var(--cyan-300); outline-offset: 2px; }

.cs-tab[aria-selected="true"] {
  border-color: rgba(88, 217, 231, 0.65);
  background: #12445a;
  color: var(--white);
}

.cs-tab.is-empty { opacity: 0.6; }

.cs-tab-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
}

.cs-tab-count {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.cs-tab[aria-selected="true"] .cs-tab-count { color: var(--cyan-300); }

.cs-panel {
  margin-top: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.cs-panel:focus-visible { outline: 2px solid var(--cyan-300); outline-offset: 4px; }

.cs-cases {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* Estado vacio honesto: no se inventa un caso ni se deja la pestana muda. */
.cs-empty {
  max-width: 54ch;
  padding: 10px 0 6px;
}

.cs-empty p {
  margin: 0;
  color: var(--white);
  font-size: 18px;
  line-height: 1.45;
}

.cs-empty-note {
  margin-top: 12px !important;
  color: var(--muted) !important;
  font-size: 15px !important;
}

.cs-empty .button { margin-top: 20px; }

/* ---- Biblioteca de case studies (opcion A, elegida 2026-10-10) ------
   Cada caso es una tarjeta-documento, no una ficha de estadistica. La
   portada da la senal de "estudio formal" antes de leer, y el resultado
   va como frase: asi el calificador ("por persona") deja de parecer una
   excusa pegada al numero, que era el reclamo de Diego.
   Las portadas son ilustraciones, no la primera pagina real del PDF. */
.case-doc-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--ews-navy-900, #061a2b);
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: border-color 200ms ease, transform 200ms ease;
}

.case-doc-card:hover,
.case-doc-card:focus-visible {
  border-color: rgba(88, 217, 231, 0.5);
  transform: translateY(-2px);
  outline: none;
}

.case-doc-card:focus-visible { outline: 2px solid var(--cyan-300); outline-offset: 2px; }

.doc-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 150px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(170deg, #0d2c3f, #061a2b);
}

/* La franja superior imita la cabecera de un informe. */
.doc-cover::before {
  content: "";
  position: absolute;
  inset: 16px 16px auto;
  height: 5px;
  background: var(--cyan-300);
  opacity: 0.75;
}

.doc-rule {
  height: 5px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.14);
}

.doc-rule:nth-of-type(1) { margin-top: 16px; width: 82%; }
.doc-rule:nth-of-type(2) { width: 66%; }
.doc-rule:nth-of-type(3) { width: 74%; }

.doc-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 42px;
  margin-top: auto;
}

.doc-chart i {
  flex: 1;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.doc-chart i:last-child {
  background: linear-gradient(180deg, var(--cyan-300), #2f9fc0);
}

.doc-body { padding: 18px 18px 20px; }

.doc-industry {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.doc-result {
  display: block;
  margin-top: 10px;
  color: var(--white);
  font-size: 16px;
  line-height: 1.45;
}

.doc-result b { color: var(--cyan-300); font-weight: 600; }

.doc-open {
  display: inline-block;
  margin-top: 14px;
  color: var(--cyan-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.doc-open::after { content: " \2192"; }

/* Industrias sin case study: linea discreta, nunca tarjeta. Una tarjeta
   vacia al lado de un documento real se lee como un hueco. */
.case-also {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---- Ventana del caso -------------------------------------------- */
.case-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
}

/* ⚠️ Sin esto la ventana NO se oculta: `display: grid` de la regla de arriba
   le gana al `[hidden] { display: none }` de la hoja del navegador. */
.case-modal[hidden] { display: none; }

.case-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 10, 18, 0.82);
  backdrop-filter: blur(6px);
}

.case-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(88, 217, 231, 0.3);
  border-radius: 4px;
  background: var(--navy-950, #061a2b);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

.case-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.case-modal-close:hover,
.case-modal-close:focus-visible { background: rgba(255, 255, 255, 0.16); }

.case-modal-eyebrow {
  margin: 0;
  color: var(--cyan-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.case-modal-body h3 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.12;
}

.case-modal-figure {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 22px;
}

.case-modal-figure strong {
  font-size: clamp(46px, 7vw, 68px);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  color: var(--cyan-300);
}

.case-modal-figure span { color: var(--muted); font-size: 15px; }

/* Comparacion antes/despues. La barra se dibuja proporcional al "antes",
   asi la reduccion se ve sin ejes ni leyendas. */
.case-compare { margin-top: 28px; }

.case-bar {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.case-bar small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-bar i {
  display: block;
  width: var(--w);
  height: 14px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.case-bar.is-after i { background: linear-gradient(90deg, var(--cyan-300), #2f9fc0); }

.case-bar b {
  color: var(--white);
  font-size: 14px;
  font-variant-numeric: lining-nums tabular-nums;
}

.case-unit {
  margin: 6px 0 0 86px;
  color: var(--muted);
  font-size: 12px;
}

.case-modal-facts {
  margin: 26px 0 0;
  border-top: 1px solid rgba(88, 217, 231, 0.18);
}

.case-modal-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(88, 217, 231, 0.12);
}

.case-modal-facts dt { color: var(--muted); font-size: 13px; }

.case-modal-facts dd {
  margin: 0;
  color: var(--white);
  font-size: 14px;
  text-align: right;
}

.case-modal-basis {
  margin: 18px 0 0;
  color: #cfe3e9;
  font-size: 14px;
  line-height: 1.6;
}

.case-note {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--cyan-300);
  color: #cfe3e9;
  font-size: 14px;
  line-height: 1.6;
}

.case-doc { margin-top: 24px; }

.case-source {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ---- La ventana cuando muestra el documento ---------------------
   Mas ancha y mas alta que la de datos: un case study es una pagina
   carta y hay que poder leerla sin hacer zoom. */
.case-modal.has-doc .case-modal-panel {
  width: min(1000px, 100%);
  max-height: 92vh;
  padding: 0;
}

.case-modal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.case-modal.has-doc .case-modal-head {
  padding: 26px clamp(22px, 4vw, 40px) 20px;
  border-bottom: 1px solid rgba(88, 217, 231, 0.2);
}

.case-doc-frame {
  /* El piso en pixeles evita que el visor colapse si `vh` no resuelve
     (pasa en vistas previas que no componen). */
  height: min(68vh, 820px);
  min-height: 420px;
  background: #0b1b27;
}

.case-doc-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.case-doc-fallback {
  margin: 0;
  padding: 14px clamp(22px, 4vw, 40px) 0;
}

.case-doc-fallback a {
  color: var(--cyan-300);
  font-size: 13px;
  font-weight: 700;
}

.case-modal.has-doc .case-source {
  margin: 10px 0 0;
  padding: 0 clamp(22px, 4vw, 40px) 22px;
}

/* Con la ventana abierta la pagina de atras no debe moverse. */
body.is-modal-open { overflow: hidden; }

.case-bridge {
  max-width: 760px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

/* Estructura de titulares animables.
   app.js parte el texto de cualquier [data-headline] en palabras: cada una
   queda envuelta en .hw (mascara) con un <i> dentro (lo que se mueve). La
   palabra sube desde detras de su propia linea con un desfase corto.
   El padding/margin compensados evitan que la mascara corte ascendentes y
   descendentes de la serif. Si el JS no corre, el texto se ve normal. */
[data-headline] .hw {
  display: inline-block;
  overflow: hidden;
  padding: 0.12em 0.05em 0.2em;
  margin: -0.12em -0.05em -0.2em;
  vertical-align: top;
}

[data-headline] .hw > i {
  display: inline-block;
  font-style: inherit;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 520ms ease;
  transition-delay: var(--hw-delay, 0ms);
}

[data-headline].is-headline-in .hw > i {
  opacity: 1;
  transform: translateY(0);
}

h1 {
  max-width: 720px;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.04;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 30px;
  color: #bad0d9;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.microcopy {
  margin: 16px 0 0;
  color: #789aa8;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 590px;
  display: grid;
  place-items: center;
  isolation: isolate;
  perspective: 900px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -44% -14% -10%;
  background:
    linear-gradient(180deg, rgba(3, 17, 29, 0.22), rgba(0, 124, 169, 0.08)),
    url("assets/smart-valve-hero-aura.jpg") center 43% / cover no-repeat;
  filter: blur(28px) saturate(1.28);
  opacity: 0.58;
  transform: scale(1.08);
  -webkit-mask-image: radial-gradient(ellipse 80% 74% at 50% 54%, #000 38%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 74% at 50% 54%, #000 38%, transparent 100%);
}

.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: -28% -10% -8%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 44%, transparent 40%, rgba(3, 17, 29, 0.24) 74%, transparent 100%),
    radial-gradient(ellipse at 50% 88%, rgba(0, 198, 232, 0.18), transparent 58%);
}

.hero-product {
  position: relative;
  z-index: 3;
  width: min(100%, 500px);
  height: 630px;
  object-fit: cover;
  object-position: 50% 38%;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.28));
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 11%, #000 89%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 8%, #000 86%, transparent 100%);
  mask-composite: intersect;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(1.02);
  transition: transform 180ms ease-out;
}

.hero-mist {
  position: absolute;
  z-index: 4;
  display: block;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.34;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.hero-mist-one {
  right: -8%;
  bottom: 10%;
  width: 92%;
  height: 115px;
  background:
    radial-gradient(ellipse at 24% 60%, rgba(86, 223, 239, 0.5), transparent 34%),
    radial-gradient(ellipse at 72% 44%, rgba(0, 164, 211, 0.46), transparent 42%);
  animation: mist-drift-one 9s ease-in-out infinite alternate;
}

.hero-mist-two {
  top: 25%;
  left: -12%;
  width: 76%;
  height: 90px;
  background: radial-gradient(ellipse, rgba(52, 196, 222, 0.38), transparent 65%);
  animation: mist-drift-two 12s ease-in-out infinite alternate;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 169, 207, 0.45), rgba(0, 169, 207, 0.07) 52%, transparent 70%);
  filter: blur(6px);
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(88, 217, 231, 0.18);
  border-radius: 50%;
}

.orbit-one {
  width: 470px;
  height: 470px;
}

.orbit-two {
  width: 570px;
  height: 570px;
  border-style: dashed;
  animation: slow-spin 26s linear infinite;
}

.product-caption {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-left: 3px solid var(--green-500);
  background: rgba(6, 26, 43, 0.9);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  backdrop-filter: blur(12px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 5px rgba(18, 168, 102, 0.16);
}

.trust-strip {
  position: relative;
  /* .hero-visual (z-index 1) se solapa encima de las celdas 3 y 4 y les pintaba
     su resplandor y su neblina por encima, lavando el texto. Las cifras van
     delante del producto, no detrás. */
  z-index: 2;
  width: 100%;
  margin: 24px 0 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(88, 217, 231, 0.28);
}

/* Nota al pie del asterisco de "≈20% ahorro promedio reportado". Vivia en la
   seccion de casos; al eliminarse esa seccion (2026-10-21) baja aqui, pegada a
   la cifra que califica. 13px y no 11px: por debajo de 13 el texto legal deja
   de leerse en telefono, y un descargo que no se lee no es un descargo. */
.hero-footnote {
  position: relative;
  z-index: 2;
  margin: 0 0 6px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.trust-strip article {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  border-right: 1px solid rgba(88, 217, 231, 0.28);
}

.trust-strip article:first-child {
  border-left: 1px solid rgba(88, 217, 231, 0.28);
}

/* Cifras clave: sans, no Georgia. Georgia solo trae números de estilo antiguo
   (el 3, 4, 7 y 9 bajan de la línea base), y a peso 400 en blanco sobre azul
   oscuro los trazos finos se desdibujan. Estos cuatro datos son el gancho de la
   página, así que van en Inter con cifras alineadas y tabulares. */
.trust-strip strong {
  color: var(--white);
  font-family: var(--ews-font-sans, Inter, sans-serif);
  font-size: clamp(32px, 2.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums tabular-nums;
}

.trust-strip strong span {
  font-size: 0.5em;
  font-weight: 500;
  letter-spacing: 0;
}

.trust-strip article > span {
  margin-top: 9px;
  color: #d7e9f1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.editorial-section,
.proof-section,
.installation-section,
.faq-section {
  position: relative;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 120px 0;
}

/* El indice (01, 02...) vivia en position:absolute dentro de un margen
   izquierdo de 120px, y por eso TODA la seccion se sangraba para dejarle sitio.
   El resultado: las secciones con indice arrancaban en 220px y las que no, en
   100px, asi que el texto saltaba de lado al bajar por la pagina. Ahora fluye
   encima del titulo y todas las secciones comparten un unico margen izquierdo.
   Decidido con Diego el 2026-10-12. No devolverlo a absolute. */
.section-index {
  margin-bottom: 20px;
  color: var(--orange-500);
  font-size: 13px;
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
}

.section-heading {
  max-width: 890px;
}

.section-heading > p:last-child {
  max-width: 770px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.problem-grid {
  margin: 68px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-grid article {
  min-height: 255px;
  padding: 34px 34px 34px 0;
  border-right: 1px solid var(--line);
}

.problem-grid article + article {
  padding-left: 34px;
}

.problem-grid article:last-child {
  border-right: 0;
}

.problem-grid article > span,
.solution-grid article > span,
.industries-grid article > span {
  color: var(--orange-500);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.problem-grid h3 {
  margin-top: 50px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.problem-grid p,
.solution-grid p,
.industries-grid p {
  margin: 13px 0 0;
  color: var(--muted);
}

.mechanism-section,
.industries-section {
  position: relative;
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--navy-900);
}

.mechanism-section .section-index,
.industries-section .section-index {
  top: 128px;
  left: max(24px, calc((100vw - var(--max)) / 2));
}

.section-heading-light > p:last-child {
  color: #a6c0ca;
}

/* =====================================================================
   SIN LA VÁLVULA / CON THE SMART VALVE — reescrito 2026-10-21
   Las dos columnas se ven A LA VEZ. Antes era un interruptor y el lector
   solo veia una: el contraste pasaba en su memoria, no en la pantalla.
   En telefono (<760px) cada fila se apila en dos tarjetas, una encima de
   la otra, con su rotulo "Sin" / "Con" delante. Nunca se encoge a dos
   columnas de 150px: a ese ancho las frases se parten palabra por palabra.
   ===================================================================== */
.compare {
  margin-top: 64px;
  border: 1px solid rgba(88, 217, 231, 0.18);
  background: rgba(3, 17, 29, 0.42);
}

/* Solo se pinta el lado activo. Las dos celdas viven siempre en el DOM para
   que el cambio de idioma no tenga que reescribir texto. */
.compare[data-mechanism="without"] .compare-cell-on,
.compare[data-mechanism="with"] .compare-cell-off {
  display: none;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(0, 2.4fr);
}

.compare-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-row + .compare-row {
  border-top: 1px solid rgba(88, 217, 231, 0.14);
}

.compare-label {
  margin: 0;
  padding: 26px;
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: #c7dbe4;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.compare-label b {
  color: var(--orange, #f08c4b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.compare-cell {
  padding: 26px;
  border-left: 1px solid rgba(88, 217, 231, 0.14);
}

.compare-cell strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

.compare-cell small {
  display: block;
  max-width: 56ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Los dos lados se ven EXACTAMENTE igual. Decision de Diego, 2026-10-21:
   antes la celda "con válvula" llevaba fondo con tinte cian y el titulo en
   blanco mas brillante, y el lado "sin válvula" se veia apagado al lado.
   Como solo se ve un lado a la vez, el boton activo ya dice cual estas
   mirando; pintarlos distinto solo hacia que la pagina pareciera inconsistente
   al alternar. NO volver a darle color o fondo propio a .compare-cell-on. */
.compare-cell strong { color: #eaf6fa; }

.compare-close {
  margin: 0;
  padding: 26px;
  border-top: 1px solid rgba(88, 217, 231, 0.18);
  color: #eaf6fa;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.45;
}

@media (max-width: 760px) {
  .compare-row {
    grid-template-columns: 1fr;
    padding-bottom: 6px;
  }

  .compare-label { padding: 22px 20px 2px; }

  .compare-cell {
    padding: 10px 20px 20px;
    border-left: 0;
  }

  .compare-close { padding: 22px 20px; }
}

.mechanism-demo {
  margin-top: 64px;
  border: 1px solid rgba(88, 217, 231, 0.18);
  background: rgba(3, 17, 29, 0.42);
}

.mechanism-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(88, 217, 231, 0.18);
}

.mechanism-controls button {
  min-height: 56px;
  border: 0;
  background: transparent;
  color: #8fb0bc;
  cursor: pointer;
  font-weight: 750;
}

.mechanism-controls button + button {
  border-left: 1px solid rgba(88, 217, 231, 0.18);
}

.mechanism-controls button.is-active {
  color: var(--white);
  background: rgba(0, 169, 207, 0.14);
  box-shadow: inset 0 -3px 0 var(--cyan-300);
}

.system-diagram {
  position: relative;
  padding: 64px clamp(18px, 4.5vw, 56px) 50px;
  overflow: hidden;
}

/* =====================================================================
   EL SISTEMA, DE IZQUIERDA A DERECHA — rehecho 2026-10-09 (3er intento)
   Medidor a la izquierda, Smart Valve al centro, y tramos abiertos a
   ambos lados para que se vea el aire. Decision de Diego.

   LO QUE CUENTA LA ANIMACION:
   el agua municipal llega con aire disperso en MUCHAS burbujas finas.
   Cuando la presion cae, esas burbujas se expanden y se juntan en BOLSAS
   GRANDES, que es lo que el medidor registra como volumen.
   Sin valvula eso pasa ANTES del medidor -> cobra volumen inflado.
   Con valvula pasa DESPUES de la valvula -> ya fuera del tramo que cobra.

   ⚠️ La valvula NO comprime el aire ni lo encoge: EVITA QUE SE EXPANDA.
   Por eso con valvula las burbujas se MANTIENEN finas; nunca se las ve
   achicarse. Ver STATUS.md, "THE MECHANISM MISTAKE".
   ===================================================================== */
.diagram-stage {
  position: relative;
  height: 376px;
  --axis: 52%;
}

.cut-pipe {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: var(--axis);
  height: 172px;
  transform: translateY(-50%);
}

.cut-wall {
  position: absolute;
  left: 0;
  right: 0;
  height: 16px;
}

.cut-wall-top {
  top: 0;
  border-top: 1px solid rgba(88, 217, 231, 0.5);
  background: linear-gradient(180deg, #65747e, #2b343b 45%, #0d1317);
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.7);
}

.cut-wall-bottom {
  bottom: 0;
  border-bottom: 1px solid rgba(88, 217, 231, 0.5);
  background: linear-gradient(0deg, #65747e, #2b343b 45%, #0d1317);
  box-shadow: 0 -2px 7px rgba(0, 0, 0, 0.7);
}

.cut-end {
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(90deg, rgba(10, 16, 20, 0.95), rgba(10, 16, 20, 0));
}

.cut-end-left { left: 0; }

.cut-end-right {
  right: 0;
  background: linear-gradient(270deg, rgba(10, 16, 20, 0.95), rgba(10, 16, 20, 0));
}

.cut-water {
  position: absolute;
  top: 16px;
  right: 0;
  bottom: 16px;
  left: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(5, 36, 53, 0.97), rgba(11, 78, 106, 0.9) 48%, rgba(3, 26, 40, 0.99));
  box-shadow: inset 0 16px 26px -12px rgba(0, 0, 0, 0.9), inset 0 -16px 26px -12px rgba(0, 0, 0, 0.9);
}

.water-streak {
  position: absolute;
  left: -30%;
  height: 2px;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(174, 226, 240, 0.28), transparent);
  animation: streak-run 6s linear infinite;
}

.water-streak.s1 { top: 26%; animation-duration: 5.2s; }
.water-streak.s2 { top: 52%; animation-duration: 6.6s; animation-delay: -2.4s; }
.water-streak.s3 { top: 74%; animation-duration: 5.9s; animation-delay: -4.1s; }

@keyframes streak-run {
  to { left: 130%; }
}

.air-field {
  position: absolute;
  inset: 0;
}

/* El arrastre va en el contenedor y la transformacion en los hijos: asi
   el cruce fino->bolsa puede tener su propia curva sin desincronizar la
   posicion. Los tres comparten duracion y `--delay`, que es lo que los
   mantiene cuadrados. */
.air {
  position: absolute;
  top: var(--lane);
  left: 0;
  animation: air-travel-a 13s linear infinite;
  animation-delay: var(--delay);
}

/* ⚠️ Dos nombres para la MISMA animacion de arrastre, a proposito.
   Al cambiar de estado solo se reinician las animaciones cuyo NOMBRE
   cambia. Si el arrastre conservara un unico nombre, las opacidades de
   `.fine`/`.big` reiniciarian y el arrastre no, y el tamano quedaria
   desfasado de la posicion: se veian bolsas grandes en la acometida y
   burbujas finas pasada la valvula. Cambiando tambien este nombre, las
   tres animaciones reinician juntas y siguen cuadradas.
   NO unificar estos dos keyframes en uno solo. */
@keyframes air-travel-a {
  from { left: -8%; }
  to   { left: 108%; }
}

@keyframes air-travel-b {
  from { left: -8%; }
  to   { left: 108%; }
}

.mechanism-demo[data-mechanism="with"] .air {
  animation-name: air-travel-b;
}

.air i {
  position: absolute;
  display: block;
}

/* Las muchas burbujas finas: un solo nodo con seis box-shadow, que es
   mucho mas barato que seis elementos por paquete. */
.air .fine {
  top: 0;
  left: 0;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: rgba(192, 240, 252, 0.95);
  box-shadow:
    11px -8px 0 -0.6px rgba(192, 240, 252, 0.9),
    -10px 7px 0 -0.8px rgba(192, 240, 252, 0.85),
    18px 9px 0 -1.4px rgba(192, 240, 252, 0.8),
    -17px -6px 0 -1.2px rgba(192, 240, 252, 0.8),
    5px 14px 0 -1.6px rgba(192, 240, 252, 0.75),
    -4px -14px 0 -1.8px rgba(192, 240, 252, 0.7);
  animation: fine-early 13s linear infinite;
  animation-delay: var(--delay);
}

/* La bolsa grande en la que se juntan al expandirse. */
.air .big {
  top: 0;
  left: 0;
  width: 64px;
  height: 36px;
  margin: -18px 0 0 -32px;
  border: 1.6px solid rgba(178, 234, 246, 0.95);
  border-radius: 50%;
  background: radial-gradient(ellipse at 36% 28%, rgba(255, 255, 255, 0.5), rgba(126, 206, 226, 0.15) 62%, rgba(126, 206, 226, 0.05));
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.35);
  opacity: 0;
  animation: big-early 13s linear infinite;
  animation-delay: var(--delay);
}

/* SIN valvula: la presion ya cayo antes del medidor (22%), asi que el
   aire llega al registro convertido en bolsas. El cruce cierra en 24%. */
@keyframes fine-early {
  0%, 10%   { opacity: 1; transform: scale(1); }
  18%, 100% { opacity: 0; transform: scale(1.3); }
}

@keyframes big-early {
  0%, 10%   { opacity: 0; transform: scale(0.45); }
  18%       { opacity: 1; transform: scale(0.92); }
  32%, 100% { opacity: 1; transform: scale(1); }
}

/* CON valvula: la presion se sostiene hasta la valvula (52%). El aire
   cruza el medidor todavia fino y solo se junta despues. */
@keyframes fine-late {
  0%, 52%   { opacity: 1; transform: scale(1); }
  60%, 100% { opacity: 0; transform: scale(1.3); }
}

@keyframes big-late {
  0%, 52%   { opacity: 0; transform: scale(0.45); }
  60%       { opacity: 1; transform: scale(0.9); }
  74%, 100% { opacity: 1; transform: scale(1); }
}

.mechanism-demo[data-mechanism="with"] .air .fine { animation-name: fine-late; }
.mechanism-demo[data-mechanism="with"] .air .big  { animation-name: big-late; }

.billed-zone {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 32%;
  border-right: 1px dashed rgba(240, 138, 61, 0.6);
  background: linear-gradient(90deg, rgba(240, 138, 61, 0.14), rgba(240, 138, 61, 0.03));
  pointer-events: none;
}

.diagram-label {
  position: absolute;
  z-index: 6;
  top: 6px;
  color: #7fa2b0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.supply-label { left: 0; }
.building-label { right: 0; }

.zone-caption {
  position: absolute;
  bottom: 2px;
  left: 0;
  color: rgba(240, 138, 61, 0.9);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- Nodos ---------------------------------------------------------
   Medidor a la izquierda, valvula al centro. El orden fisico manda: el
   agua pasa PRIMERO por el medidor y DESPUES por la valvula, que va
   aguas abajo del lado del cliente. No invertirlos. */
.node {
  position: absolute;
  z-index: 4;
  top: var(--axis);
  line-height: 0;
  transform: translate(-50%, -50%);
}

.meter-node { left: 22%; }
.valve-node { left: 52%; }

.node-name {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: 96px;
  color: #b9d4dc;
  font-size: 11px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* El medidor por fuera, como lo ve el cliente en su acometida. */
.meter-body {
  position: relative;
  display: block;
  width: 118px;
}

.meter-dome {
  position: relative;
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto;
  border: 7px solid #2a6f88;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 28%, #f4fbfd, #bedae2 52%, #86aebc);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.55), 0 14px 26px rgba(0, 0, 0, 0.5);
}

.meter-hand {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 3px;
  height: 33px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--orange-500);
  transform-origin: 50% 37px;
  animation: meter-sweep 1.5s linear infinite;
}

/* Sin valvula la aguja barre mas rapido: cruza mas volumen por segundo
   porque el aire que la atraviesa va inflado. */
.mechanism-demo[data-mechanism="with"] .meter-hand {
  animation-duration: 2.3s;
}

@keyframes meter-sweep {
  to { transform: rotate(360deg); }
}

.meter-digits {
  display: block;
  width: max-content;
  margin: 11px auto 0;
  padding: 3px 6px;
  border-radius: 2px;
  background: #cfe3e9;
  color: #0d3547;
  font-family: var(--mono, ui-monospace, "SFMono-Regular", Menlo, monospace);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

/* La valvula no existe en el estado "sin": mostrarla atenuada daba a
   entender que estaba instalada igualmente. Aqui se instala al cambiar. */
.valve-node {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mechanism-demo[data-mechanism="with"] .valve-node {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Foto oficial del producto. Viene vertical, con las flechas de flujo
   hacia arriba: rotada 90 grados quedan apuntando en el sentido del agua
   de esta linea. Es casi cuadrada, asi que la caja no se descuadra. */
.valve-photo {
  display: block;
  width: 164px;
  height: auto;
  transform: rotate(90deg);
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.65));
}

/* ---- La demanda: la causa, no el efecto -------------------------- */
.demand-node {
  position: absolute;
  z-index: 4;
  left: 88%;
  top: var(--axis);
  margin-top: 74px;
  text-align: center;
  transform: translateX(-50%);
}

.demand-stub {
  display: block;
  width: 10px;
  height: 20px;
  margin: 0 auto;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, rgba(88, 217, 231, 0.6), rgba(88, 217, 231, 0.12));
}

.demand-drop {
  display: block;
  width: 7px;
  height: 7px;
  margin: 1px auto 0;
  border-radius: 50%;
  background: var(--cyan-300);
  animation: demand-draw 2.4s ease-in-out infinite;
}

@keyframes demand-draw {
  0%, 100% { transform: translateY(0) scale(0.5); opacity: 0.15; }
  40%      { transform: translateY(9px) scale(1); opacity: 1; }
  75%      { transform: translateY(20px) scale(0.45); opacity: 0; }
}

.demand-node small {
  display: block;
  margin-top: 7px;
  color: #7fa2b0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.system-diagram .concept-label {
  bottom: 14px;
  left: clamp(18px, 4.5vw, 56px);
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec-strip li {
  padding: 22px 24px;
}

.spec-strip li + li {
  border-left: 1px solid var(--line);
}

.spec-strip small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.spec-strip strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}

/* =====================================================================
   REPRODUCTOR DE RENDER (2026-10-12)
   Oculto mientras no existan los clips. app.js lo revela solo si los dos
   responden. Ver 03-higgsfield/MECANISMO-RENDER-BRIEF.md
   ===================================================================== */
.mech-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: #04121d;
}

.mech-media[hidden] { display: none; }

.mech-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0;
  transition: opacity 320ms ease;
}

/* Los dos clips se apilan en la misma caja para que el cambio no mueva el
   layout ni deje un salto de altura. */
.mech-video:not(.is-active) {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mech-video.is-active { position: relative; opacity: 1; }

/* Los rotulos van AQUI, en HTML, no quemados en el video: un solo archivo
   tiene que servir para español e ingles. */
.mech-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mech-tag {
  position: absolute;
  padding: 5px 10px;
  border: 1px solid rgba(88, 217, 231, 0.35);
  border-radius: 3px;
  background: rgba(4, 18, 29, 0.78);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.mech-tag-meter  { top: 8%; left: 14%; }
.mech-tag-valve  { top: 8%; left: 54%; }
.mech-tag-demand { bottom: 10%; right: 6%; }

/* =====================================================================
   CORTE DEL MECANISMO (2026-10-12)
   Sustituye el diagrama anterior, donde la foto del producto iba pegada
   encima del tubo sin empalmar con el. Ahora todo es un SVG en linea.

   🔴 LA REGLA QUE GOBIERNA ESTA ANIMACION: la valvula NO comprime el aire.
   Evita que se expanda (CLAUDE.md §8, manufacturer-verified.md §1). Por eso
   las burbujas JAMAS se encogen. Nacen finas en los dos estados y lo unico
   que cambia es EN QUE PUNTO crecen:
     · sin valvula  -> crecen AL CRUZAR EL MEDIDOR, y ese volumen se factura
     · con valvula  -> cruzan finas y crecen DESPUES de la valvula, ya fuera
                       del tramo que se cobra
   Si alguien hace que se encojan con la valvula puesta, es falso. No hacerlo.
   ===================================================================== */
.mech-figure {
  margin: 0;
}

/* El diagrama mide 1180 de ancho. Encogido a 360px el texto caia a 2.4px y a
   768px (iPad) a 5.5px: ilegible en los dos. Por debajo de 1000px el SVG
   conserva un ancho minimo y la figura se desplaza de lado. Medido, no
   estimado: con 900px de minimo los rotulos de pieza quedan en ~10px. */
@media (max-width: 1000px) {
  .mech-figure {
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mech-svg { min-width: 900px; }

  .mech-figure .concept-label { position: sticky; left: 0; }

  /* Senal de que hay mas diagrama a la derecha. Sin esto el visitante ve el
     medidor y cree que eso es todo: se pierde la valvula, que es el punto. */
  .system-diagram::after {
    content: "";
    position: absolute;
    top: 56px;
    right: 0;
    bottom: 78px;
    width: 44px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(3, 17, 29, 0), rgba(3, 17, 29, 0.92));
  }
}

.mech-svg {
  display: block;
  width: 100%;
  height: auto;
}

.mech-edge {
  fill: var(--muted);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mech-edge-end { text-anchor: end; }

.mech-pipe-wall { fill: url(#mechWall); }
.mech-water { fill: url(#mechWater); }

.mech-streaks line {
  stroke: rgba(176, 226, 240, 0.22);
  stroke-width: 2;
  stroke-linecap: round;
}

/* --- El tramo facturado ------------------------------------------------ */
/* Corchete, no caja: la caja punteada quedaba debajo del tubo y solo se veian
   sus bordes, que se leian como lineas sueltas. */
.mech-billed path {
  fill: none;
  stroke: rgba(243, 135, 68, 0.6);
  stroke-width: 1.5;
}

.mech-billed text {
  fill: var(--orange-500);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-anchor: middle;
}

/* --- Medidor ----------------------------------------------------------- */
.mech-stem { fill: #35505f; }
.mech-meter-body { fill: #d8e6ee; stroke: #7d99a8; stroke-width: 2; }
.mech-meter-dome { fill: #f2f8fb; stroke: #8fb0c0; stroke-width: 2; }
.mech-meter-hand {
  stroke: var(--orange-500);
  stroke-width: 3;
  stroke-linecap: round;
  transform-origin: 250px 106px;
  animation: mech-hand 3.2s linear infinite;
}
.mech-meter-screen { fill: #0d2330; }
.mech-digits {
  fill: #c9f0fb;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 15px;
  letter-spacing: 0.1em;
  text-anchor: middle;
}

.mech-node-name {
  fill: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-anchor: middle;
}

/* --- La valvula -------------------------------------------------------- */
.mech-valve { opacity: 0; pointer-events: none; transition: opacity 320ms ease; }

/* ⚠️ En "sin valvula" la valvula NO EXISTE, no va atenuada. Mostrarla a media
   opacidad decia que esta instalada igual, que es justo lo que ese estado
   niega. Bug corregido el 2026-10-06; no reintroducirlo. */
[data-mechanism="with"] .mech-valve { opacity: 1; pointer-events: auto; }

.mech-flange { fill: url(#mechSteel); stroke: #000; stroke-width: 1; }
.mech-bolt circle { fill: #93a7b3; stroke: #2b3840; stroke-width: 1; }
.mech-body { fill: url(#mechSteel); stroke: #000; stroke-width: 1; }
.mech-chamber { fill: url(#mechWater); }
.mech-adjust rect { fill: #8fa6b4; stroke: #2b3840; stroke-width: 1.5; }

.mech-spring path {
  fill: none;
  stroke: #cfe2ec;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform-box: fill-box;
  transform-origin: left center;
  animation: mech-spring 3.6s ease-in-out infinite;
}

.mech-plunger rect {
  fill: #e4eef4;
  stroke: #7f98a6;
  stroke-width: 1.5;
  animation: mech-plunger 3.6s ease-in-out infinite;
}

.mech-shaft { fill: #b9ccd6; }
.mech-backplate { fill: #9fb4c0; }

.mech-part {
  fill: var(--cyan-300);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-anchor: middle;
}

/* --- Demanda ----------------------------------------------------------- */
.mech-demand rect { fill: #35505f; }
.mech-demand path { fill: var(--cyan-300); animation: mech-drop 2.4s ease-in infinite; }

/* --- Lectura de presion ------------------------------------------------ */
.mech-gauge-label {
  text-anchor: middle;
  fill: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.mech-gauge-track { fill: rgba(255, 255, 255, 0.08); }
/* El riel mide 200px (x 150→350). El relleno NUNCA puede pasarse de ahi. */
.mech-gauge-fill {
  fill: var(--orange-500);
  width: 74px;
  transition: width 420ms ease, fill 420ms ease;
}
[data-mechanism="with"] .mech-gauge-fill { width: 188px; fill: var(--green-500); }

/* --- El aire ----------------------------------------------------------- */
.mech-air .bub {
  animation: mech-air-without 13s linear infinite;
  animation-delay: var(--delay);
}

.mech-air .bub circle {
  fill: rgba(206, 241, 252, 0.3);
  stroke: rgba(220, 247, 255, 0.85);
  stroke-width: 1.5;
}

[data-mechanism="with"] .mech-air .bub { animation-name: mech-air-with; }

/* Sin valvula: la presion cae en el medidor (x=250) y ahi mismo el aire se
   infla. Cruza el punto de cobro ya expandido. */
@keyframes mech-air-without {
  0%   { transform: translate(74px, var(--lane)) scale(1); }
  14%  { transform: translate(210px, var(--lane)) scale(1); }
  26%  { transform: translate(320px, var(--lane)) scale(2.5); }
  100% { transform: translate(1160px, var(--lane)) scale(2.5); }
}

/* Con valvula: la presion aguas arriba se sostiene, asi que el aire cruza el
   medidor del mismo tamano que entro. Solo se expande DESPUES de la valvula
   (x=830), ya fuera del tramo facturado. Nunca se encoge. */
@keyframes mech-air-with {
  0%   { transform: translate(74px, var(--lane)) scale(1); }
  70%  { transform: translate(830px, var(--lane)) scale(1); }
  82%  { transform: translate(940px, var(--lane)) scale(2.5); }
  100% { transform: translate(1160px, var(--lane)) scale(2.5); }
}

@keyframes mech-hand {
  to { transform: rotate(360deg); }
}

/* El resorte se comprime y el plunger modula: "la unica funcion de
   movimiento", en palabras del fabricante. */
@keyframes mech-spring {
  0%, 100% { transform: scaleX(1); }
  50%      { transform: scaleX(0.74); }
}

@keyframes mech-plunger {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-22px); }
}

@keyframes mech-drop {
  0%   { transform: translateY(0); opacity: 0; }
  25%  { opacity: 1; }
  100% { transform: translateY(26px); opacity: 0; }
}

/* Sin movimiento el aire quedaria congelado en un punto y no se leeria el
   contraste. Se reparte a lo largo del tubo conservando el tamano que le
   toca a cada estado. */
@media (prefers-reduced-motion: reduce) {
  .mech-air .bub,
  .mech-spring path,
  .mech-plunger rect,
  .mech-meter-hand,
  .mech-demand path {
    animation: none;
  }
  .mech-air .bub { transform: translate(calc(120px + var(--delay) * -90), var(--lane)); }
}

.mechanism-reading {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(88, 217, 231, 0.18);
}

.mechanism-reading > div {
  padding: 23px 28px;
}

.mechanism-reading > div + div {
  border-left: 1px solid rgba(88, 217, 231, 0.18);
}

.mechanism-reading small {
  display: block;
  color: #7295a3;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.mechanism-reading strong {
  display: block;
  margin-top: 6px;
  color: var(--white);
  font-size: 17px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 38px;
  border-top: 1px solid rgba(88, 217, 231, 0.18);
  border-bottom: 1px solid rgba(88, 217, 231, 0.18);
}

.solution-grid article {
  min-height: 270px;
  padding: 28px;
  border-right: 1px solid rgba(88, 217, 231, 0.18);
}

.solution-grid article:last-child {
  border-right: 0;
}

.solution-grid h3 {
  margin-top: 52px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
}

.solution-grid p {
  color: #91adb8;
}

.monitor-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: center;
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 84% 36%, rgba(0, 169, 207, 0.18), transparent 31%),
    linear-gradient(135deg, #0b354a, var(--paper-2));
}

.monitor-copy > p:not(.eyebrow, .monitor-note) {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.monitor-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.monitor-points article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 15px;
  padding: 24px 22px 24px 0;
  border-bottom: 1px solid var(--line);
}

.monitor-points article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.monitor-points article:nth-child(even) {
  padding-left: 22px;
}

.monitor-points article > span {
  color: var(--orange-500);
  font-size: 11px;
  font-weight: 800;
}

.monitor-points h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 400;
}

.monitor-points p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.monitor-note {
  margin: 24px 0 0;
  padding-left: 17px;
  border-left: 3px solid var(--cyan-500);
  color: #b9d4dc;
  font-size: 13px;
  font-weight: 650;
}

/* ---- La aplicacion: funciones + pantalla ---------------------------
   El telefono vuelve como representacion (peticion de Diego), pero
   dentro muestra el reporte de antes/despues en vez de una lectura
   falsa. Las funciones listadas arriba SOLO salen de
   product-master.md §B y §6 — no anadir ninguna sin fuente. */
/* Lista de funciones: solo titulos. Decision de Diego 2026-10-10 — seis
   parrafos aqui empalagaban y la seccion ya explica el metodo arriba. */
.features-kicker {
  margin: 44px 0 0;
  color: var(--cyan-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.monitor-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.monitor-features li {
  position: relative;
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-size: 15px;
  line-height: 1.4;
}

/* Marca de cotejo dibujada: el emoji cambia de forma en cada sistema. */
.monitor-features li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 2px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--cyan-300);
  border-bottom: 2px solid var(--cyan-300);
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .monitor-features { grid-template-columns: 1fr; gap: 0; }
}

.monitor-visual { margin: 0; }

.app-kicker {
  margin: 0;
  color: var(--cyan-300);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.app-features {
  margin: 14px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.app-features li {
  position: relative;
  padding-left: 24px;
  color: #cfe3e9;
  font-size: 15px;
  line-height: 1.5;
}

/* Marca de cotejo dibujada: un emoji se ve distinto en cada sistema. */
.app-features li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 2px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--cyan-300);
  border-bottom: 2px solid var(--cyan-300);
  transform: rotate(-45deg);
}

/* El chasis. Cuerpo, bisel y pantalla son tres capas: es lo que hace
   que lea como un dispositivo y no como una caja con barras adentro.
   285px de ancho — por debajo de ~260 el contenido no respira. */
.app-phone {
  position: relative;
  width: min(285px, 100%);
  margin: 0 auto;
  padding: 11px;
  border-radius: 38px;
  background:
    linear-gradient(160deg, #35505f 0%, #162936 16%, #0a1a25 55%, #142836 100%);
  box-shadow:
    0 0 0 1px rgba(150, 190, 205, 0.22),
    0 34px 60px rgba(0, 0, 0, 0.6),
    0 0 70px -18px rgba(88, 217, 231, 0.42);
}

/* Reflejo diagonal en el bisel: la pista mas barata de que hay vidrio. */
.phone-glare {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  background: linear-gradient(142deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 32%);
  pointer-events: none;
}

.phone-pill {
  position: absolute;
  top: 19px;
  left: 50%;
  width: 56px;
  height: 7px;
  border-radius: 99px;
  background: #05101a;
  transform: translateX(-50%);
  z-index: 2;
}

/* Pantalla CLARA (rediseno 2026-11-05, lamina 06). El resto de la pagina
   es oscura a proposito (CLAUDE.md §5), pero esa regla habla de SECCIONES.
   Una app real tiene fondo claro, y el contraste contra la seccion oscura
   es justo lo que hace que el telefono lea como un dispositivo encendido.
   Los tokens de texto oscuro viven aqui porque no existen en :root. */
.phone-screen {
  --app-ink: #0e2430;
  --app-dim: #6b8794;
  --app-teal: #1aa09b;
  --app-rule: #e3eaed;
  position: relative;
  padding: 30px 14px 14px;
  border-radius: 29px;
  background: #f7fafb;
  overflow: hidden;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--app-ink);
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.phone-icons { display: flex; align-items: center; gap: 4px; }

/* Iconos dibujados, no emoji: el emoji cambia de forma en cada sistema. */
.phone-icons i { display: block; background: rgba(14, 36, 48, 0.8); }
.phone-icons .sig { width: 11px; height: 8px; clip-path: polygon(0 100%,25% 100%,25% 60%,0 60%,0 100%,37% 100%,37% 38%,62% 38%,62% 100%,75% 100%,75% 16%,100% 16%,100% 100%); }
.phone-icons .wifi { width: 10px; height: 8px; border-radius: 10px 10px 0 0; clip-path: polygon(0 55%,50% 0,100% 55%,100% 72%,50% 24%,0 72%); }
.phone-icons .batt { width: 15px; height: 8px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(230,244,248,.6); background: linear-gradient(90deg, rgba(230,244,248,.85) 62%, transparent 62%); background-clip: content-box; padding: 1.5px; }

.app-bar {
  margin-top: 14px;
  text-align: center;
}

.app-bar strong {
  display: block;
  color: var(--app-teal);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.app-bar b {
  display: block;
  margin-top: 3px;
  color: var(--app-ink);
  font-size: 17px;
  font-weight: 600;
}

/* Selector de periodo: lo que termina de hacerlo leer como una app. */
.app-range {
  display: flex;
  gap: 3px;
  margin-top: 12px;
  padding: 3px;
  border-radius: 99px;
  background: #e8eef0;
}

.app-range span {
  flex: 1;
  padding: 5px 0;
  border-radius: 99px;
  color: var(--app-dim);
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.app-range .is-on {
  background: var(--white);
  color: var(--app-ink);
  box-shadow: 0 1px 3px rgba(14, 36, 48, 0.16);
}

/* La dona. El arco es un circulo con dasharray: 84.6% del perimetro,
   el mismo 15.4% de reduccion que las barras de abajo. */
.app-donut {
  position: relative;
  width: 148px;
  margin: 14px auto 0;
}

.app-donut svg { display: block; width: 100%; transform: rotate(-90deg); }

.app-donut circle {
  fill: none;
  stroke-width: 11;
  stroke-linecap: round;
}

.donut-track { stroke: #e3eaed; }

.donut-value {
  stroke: var(--app-teal);
  /* r=52 → perimetro 326.73. 84.6% = 276.4 */
  stroke-dasharray: 276.4 326.73;
}

.donut-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.donut-label b {
  color: var(--app-ink);
  font-size: 38px;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
}

.donut-label small {
  margin-top: 3px;
  color: var(--app-dim);
  font-size: 10px;
}

.app-delta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 10px 0 0;
  color: var(--app-teal);
  font-size: 10px;
  font-weight: 600;
}

/* Triangulo dibujado, no emoji: el emoji cambia de forma en cada sistema. */
.app-delta i {
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top: 5px solid currentColor;
  border-bottom: 0;
}

.app-compare-kicker {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--app-rule);
  color: var(--app-dim);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ⚠️ La rejilla vive en el CONTENEDOR y las filas son `display: contents`.
   Esto NO es un capricho: las dos barras tienen que medir exactamente lo
   mismo o la comparacion visual miente.
   - Con `grid-template-columns: 38px ...` en cada fila, "Después" medía
     justo 38px (cero holgura) y se cortaba en cuanto cambiaba la fuente.
   - Con `auto` en cada fila, cada una calculaba su propio ancho y las barras
     salian de 146px y 133px — el 84.6% se dibujaba sobre una pista mas corta
     que el 100%, o sea la barra "Después" se veia mas larga de lo que toca.
   Con una sola rejilla, la columna de etiqueta la fija la palabra mas larga
   y las dos pistas quedan identicas. Medido a 320px, en ES y EN. */
.app-compare {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 7px;
  margin-top: 9px;
}

.app-compare div { display: contents; }

.app-compare small { color: var(--app-dim); font-size: 9px; }

.app-compare .track {
  height: 7px;
  border-radius: 99px;
  background: #eef2f4;
}

.app-compare .track b {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: 99px;
  background: #c3d2d8;
}

.app-compare .track .is-after { background: var(--app-teal); }

.app-compare strong {
  color: var(--app-ink);
  font-size: 10px;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
}

.app-saved {
  margin: 11px 0 0;
  padding: 10px 0;
  border-radius: 9px;
  background: #e4f4ec;
  text-align: center;
}

.app-saved b {
  display: block;
  color: var(--green-600);
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}

.app-saved small {
  display: block;
  margin-top: 3px;
  color: #3f7a60;
  font-size: 9px;
}

/* El descargo de "ilustracion conceptual". Lo exige CLAUDE.md §17 mientras
   no existan capturas oficiales de la app.
   ⚠️ Quedo SIN ESTILO el 2026-10-21: la regla base de .concept-label vivia
   junto a .system-diagram y se borro con el diagrama, asi que el descargo
   heredaba 16px en --ink — mas grande y mas brillante que la explicacion de
   14px que tiene encima. Un descargo no debe gritar mas que el texto.
   13px, no 11px: STATUS.md ya documenta que a 11px no se lee en un telefono,
   y un descargo ilegible no es un descargo. */
.monitor-visual .concept-label {
  position: static;
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .app-features li { font-size: 14px; }
}

.regional-section {
  padding: 115px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
}

.regional-copy {
  max-width: 800px;
}

.regional-copy > p:last-child {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
}

/* La ruta es horizontal en TODOS los anchos. Antes colapsaba a vertical bajo
   680px y dejaba una linea de 2px flotando en el margen izquierdo con la mitad
   derecha de la pantalla vacia. Las columnas de los nodos son flexibles con un
   minimo de 90px, asi que a 360px los dos caben con holgura:
   2x90 + 60 + 2x10 = 260px dentro de los 312px utiles. */
/* Los pasos del trabajo. Numerados, no con cotejo como la lista del Monitor:
   aquello es un inventario de funciones, esto es una secuencia. El formato
   01/02 es el mismo que usan los indices de seccion. */
.company-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 44px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: company-step;
}

.company-steps li {
  position: relative;
  padding: 11px 0 11px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-size: 15px;
  line-height: 1.4;
  counter-increment: company-step;
}

.company-steps li::before {
  content: counter(company-step, decimal-leading-zero);
  position: absolute;
  top: 13px;
  left: 0;
  color: var(--cyan-300);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: lining-nums tabular-nums;
}

@media (max-width: 760px) {
  .company-steps { grid-template-columns: 1fr; }
}

.regional-route {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(60px, 1.7fr) minmax(90px, 1fr);
  align-items: start;
  gap: clamp(10px, 1.8vw, 32px);
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.route-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
}

/* 14px de alto: su centro queda a 7px del borde superior del nodo, que es la
   misma altura a la que se ancla la linea. Si cambia uno, cambia el otro. */
.route-dot {
  width: 14px;
  height: 14px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--cyan-500);
  box-shadow: 0 0 0 2px var(--cyan-500), 0 0 0 9px rgba(0, 169, 207, 0.1);
}

.route-dot-mid {
  background: var(--green-500);
  box-shadow: 0 0 0 2px var(--green-500), 0 0 0 9px rgba(18, 168, 102, 0.1);
}

.route-node strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
}

.route-node small {
  margin-top: 6px;
  color: var(--muted);
  font-size: clamp(12px, 1vw, 13.5px);
  line-height: 1.45;
  text-wrap: balance;
}

/* margin-top 6px + 2px de alto => el centro de la linea cae en 7px, alineado
   con el centro del punto del nodo. */
.route-link {
  position: relative;
  height: 2px;
  margin-top: 6px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(88, 217, 231, 0.3), rgba(18, 168, 102, 0.3));
}

/* Tres pulsos escalonados por tramo. Entran y salen con fundido y escala en
   lugar de aparecer y desaparecer de golpe en los extremos: es lo que hacia
   ver barata la animacion anterior de un solo punto naranja. */
.route-link i {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--cyan-300);
  box-shadow: 0 0 11px 1px rgba(88, 217, 231, 0.85);
  opacity: 0;
  animation: route-flow 3.4s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

.route-link i:nth-child(2) { animation-delay: 1.13s; }
.route-link i:nth-child(3) { animation-delay: 2.27s; }

@keyframes route-flow {
  0%   { left: 0;    opacity: 0; transform: scale(0.4); }
  14%  {             opacity: 1; transform: scale(1); }
  86%  {             opacity: 1; transform: scale(1); }
  100% { left: 100%; opacity: 0; transform: scale(0.4); }
}

/* Sin movimiento los pulsos quedarian congelados en un punto del tramo y se
   leerian como suciedad. La linea sola ya comunica la ruta. */
@media (prefers-reduced-motion: reduce) {
  .route-link i { display: none; }
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 68px 0 0;
}

.results-grid article {
  min-height: 330px;
  padding: 28px 0;
  border-top: 4px solid var(--green-500);
  border-bottom: 1px solid var(--line);
}

.result-type {
  display: block;
  min-height: 52px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.results-grid strong {
  display: block;
  margin-top: 34px;
  color: var(--cyan-300);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  font-weight: 400;
  letter-spacing: -0.06em;
}

.results-grid p {
  max-width: 240px;
  margin: 4px 0 32px;
  font-size: 17px;
}

.results-grid small,
.section-footnote {
  color: var(--muted);
  font-size: 11px;
}

.section-footnote {
  margin: 28px 0 0;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 68px;
  border-top: 1px solid rgba(88, 217, 231, 0.18);
  border-left: 1px solid rgba(88, 217, 231, 0.18);
}

.industries-grid article {
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid rgba(88, 217, 231, 0.18);
  border-bottom: 1px solid rgba(88, 217, 231, 0.18);
  transition: background 180ms ease, transform 180ms ease;
}

.industries-grid article:hover {
  background: rgba(0, 169, 207, 0.09);
  transform: translateY(-3px);
}

.industries-grid h3 {
  margin-top: 58px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.industries-grid p {
  color: #91adb8;
}

.assembly-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 70px;
  align-items: center;
  margin: 72px 0 0;
}

.assembly-image {
  max-height: 680px;
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--shadow);
}

.assembly-image img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: center 48%;
  transform: scale(var(--assembly-scale, 1.03)) translateY(var(--assembly-y, 0));
  transition: transform 120ms linear;
}

.assembly-copy h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.assembly-copy ul {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.assembly-copy li {
  position: relative;
  padding: 17px 0 17px 28px;
  border-bottom: 1px solid var(--line);
}

.assembly-copy li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 25px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
}

.installation-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 72px;
}

.installation-gallery figure {
  margin: 0;
}

.installation-gallery img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.installation-gallery figcaption {
  padding: 13px 0;
  color: var(--muted);
  font-size: 12px;
}

/* Una sola columna desde el 2026-10-13: la lista de cuatro pasos se elimino
   (Diego) y la seccion pasa a ser la entrada corta al formulario. Con dos
   columnas el texto quedaba encajonado a la izquierda y media seccion vacia. */
.process-section {
  display: grid;
  grid-template-columns: 1fr;
  /* Separado en columna y fila: el indice 05 ocupa su propia fila y con un gap
     unico heredaba los 140px de separacion entre columnas. */
  column-gap: clamp(60px, 9vw, 140px);
  row-gap: 0;
  padding: 115px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
}

/* .process-section es una rejilla de dos columnas: sin esto el indice entraria
   como primera celda, empujaria el resto a otra fila y se estiraria a lo alto
   de la columna. Ocupa su propia fila completa, como en las demas secciones. */
.process-section .section-index {
  grid-column: 1 / -1;
}

.process-intro > p:not(.eyebrow) {
  margin: 25px 0 30px;
  color: var(--muted);
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li > span {
  color: var(--orange-500);
  font-size: 12px;
  font-weight: 800;
}

.process-list p {
  margin: 7px 0 0;
  color: var(--muted);
}

.faq-list {
  margin: 68px 0 0;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 25px 56px 25px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 18px;
  color: var(--green-600);
  font-family: Inter, sans-serif;
  font-size: 30px;
  font-weight: 300;
  transition: transform 180ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 780px;
  margin: -6px 0 25px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(52px, 8vw, 110px);
  padding: 115px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 169, 207, 0.16), transparent 28%),
    var(--navy-900);
}

.contact-copy > p:not(.eyebrow) {
  color: #9db9c3;
}

.direct-contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 36px;
}

.direct-contact a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(88, 217, 231, 0.22);
  background: rgba(255, 255, 255, 0.02);
}

.direct-contact small,
.direct-contact strong {
  display: block;
}

.direct-contact small {
  color: #789ba8;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.direct-contact strong {
  margin-top: 5px;
  color: var(--cyan-300);
  font-size: 16px;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: var(--shadow);
}

/* Trampa anti-spam. Se saca de la pantalla en vez de usar display:none porque
   muchos bots ignoran los campos ocultos con display:none, pero sí llenan éste. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  color: #a9c4ce;
  font-size: 12px;
  font-weight: 750;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #2b6072;
  border-radius: 2px;
  background: var(--navy-950);
  color: var(--ink);
  padding: 11px 12px;
  outline: none;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(18, 168, 102, 0.12);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: #b94732;
}

.form-submit,
.form-status {
  grid-column: 1 / -1;
}

.form-submit {
  margin-top: 4px;
}

/* Desde que WhatsApp salio de la pagina (2026-10-12) este parrafo es la UNICA
   senal que recibe quien envia el formulario. Antes se abria una pestana de
   WhatsApp y eso confirmaba solo. Por eso sube de 12px a 14px. */
.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

/* #a53a2a daba 2.67:1 sobre el fondo del formulario (#061c2e) — por debajo del
   4.5:1 que pide WCAG AA. El aviso de "no se pudo enviar" era casi invisible,
   justo el mensaje que no se puede perder. Este da 7.8:1. */
.form-status.is-error {
  color: #ff8f7a;
}

.form-status.is-success {
  color: var(--green-500);
}

.form-status.is-pending {
  color: var(--cyan-300);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px 60px;
  align-items: center;
  padding: 56px max(24px, calc((100vw - var(--max)) / 2));
  color: #8ba7b2;
  background: var(--navy-950);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  width: auto;
  height: 52px;
  object-fit: contain;
}

.footer-brand div {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand span,
.footer-contact,
.footer-legal,
.footer-copy {
  font-size: 12px;
}

.footer-contact {
  display: grid;
  justify-items: end;
  gap: 5px;
}

.footer-contact a {
  color: var(--cyan-300);
}

.footer-legal {
  max-width: 900px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(88, 217, 231, 0.12);
}

.footer-copy {
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(88, 217, 231, 0.12);
}

.mobile-action-bar {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slow-spin {
  to { transform: rotate(360deg); }
}

@keyframes mist-drift-one {
  0% { transform: translate3d(-5%, 8px, 0) scaleX(0.92); opacity: 0.2; }
  55% { opacity: 0.4; }
  100% { transform: translate3d(7%, -14px, 0) scaleX(1.08); opacity: 0.28; }
}

@keyframes mist-drift-two {
  0% { transform: translate3d(0, -5px, 0) scale(0.92); opacity: 0.16; }
  100% { transform: translate3d(24%, 16px, 0) scale(1.12); opacity: 0.34; }
}


@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: auto auto 1fr;
  }

  .primary-nav {
    position: fixed;
    inset: 118px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 34px 24px;
    background: var(--paper-2);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .primary-nav a {
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
  }

  .menu-toggle {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 24px;
    height: 2px;
    background: var(--cyan-300);
  }

  .nav-actions {
    justify-self: end;
  }
}

@media (max-width: 900px) {
  .utility-bar {
    justify-content: center;
  }

  .utility-links {
    display: none;
  }

  .hero-grid,
  .assembly-feature,
  .process-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    position: relative;
    display: grid;
    min-height: auto;
    padding: 68px 0 30px;
  }

  .hero-copy {
    position: relative;
    z-index: 8;
    max-width: 720px;
  }

  .hero-visual {
    position: relative;
    z-index: 1;
    inset: auto;
    min-height: 680px;
    overflow: visible;
  }

  .hero-product {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(92vw, 550px);
    height: 680px;
    transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) scale(1.02);
  }

  .hero-visual::before {
    inset: -32% -24% -16%;
    opacity: 0.68;
    -webkit-mask-image: radial-gradient(ellipse 80% 72% at 50% 57%, #000 40%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 72% at 50% 57%, #000 40%, transparent 100%);
  }

  .hero-visual::after {
    inset: -24% -12% -8%;
    z-index: 2;
    background:
      radial-gradient(ellipse at 50% 48%, transparent 38%, rgba(3, 17, 29, 0.22) 76%, transparent 100%),
      radial-gradient(ellipse at 50% 82%, rgba(0, 184, 222, 0.2), transparent 58%);
  }

  .hero-orbit {
    display: block;
  }

  .hero-glow {
    left: auto;
    bottom: auto;
    transform: none;
  }

  .monitor-section {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip article:nth-child(3) {
    border-left: 1px solid rgba(88, 217, 231, 0.15);
  }

  .problem-grid,
  .results-grid,
  .industries-grid {
    grid-template-columns: 1fr 1fr;
  }

  .problem-grid article:nth-child(2) {
    border-right: 0;
  }

  .problem-grid article:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
  }

  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solution-grid article:nth-child(2) {
    border-right: 0;
  }

  .solution-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(88, 217, 231, 0.18);
  }

  /* La ruta ya NO colapsa a vertical aqui. Ver el bloque .regional-route.
     Solo se aprieta para que los tres nodos quepan a 360px. */
  .regional-route {
    margin-top: 48px;
    gap: 10px;
  }

  .route-dot {
    width: 12px;
    height: 12px;
    margin-bottom: 13px;
  }

  .route-link {
    margin-top: 5px;
  }

  .installation-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .installation-gallery figure:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .cs-tab { min-width: 116px; padding: 13px 14px 12px; }
  .cs-tab-label { font-size: 12px; }
  .cs-cases { grid-template-columns: 1fr; }

  /* En moviles el PDF dentro de un iframe se lee mal o no carga:
     la ventana da mas altura y el enlace de respaldo queda a la vista. */
  .case-doc-frame { height: min(60vh, 560px); }

  .doc-cover { height: 126px; }

  body {
    padding-bottom: 64px;
  }

  .nav-shell {
    width: min(calc(100% - 28px), var(--max));
    min-height: 76px;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
  }

  .brand-mark {
    height: 34px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    font-size: 8px;
  }

  .nav-actions .button {
    display: none;
  }

  .primary-nav {
    inset: 110px 0 64px;
  }

  /* 48px, no 32px: estas secciones se centran por ancho y las demas por padding
     de 24px. Con 32px el margen caia a 16px y en movil el texto de estas
     secciones arrancaba 8px a la izquierda del resto. Mismo canal para todas. */
  .hero-grid,
  .trust-strip,
  .editorial-section,
  .proof-section,
  .installation-section,
  .faq-section {
    width: min(calc(100% - 48px), var(--max));
  }

  .hero-grid {
    min-height: auto;
    gap: 10px;
    padding: 52px 0 24px;
  }

  /* ⚠️ Tamaños bajados el 2026-11-06 a peticion de Diego, con un screenshot
     de un telefono delante. Antes: h1 clamp(44px, 14vw, 62px) = 54.6px en un
     telefono de 390px, o sea el titular de 87 caracteres ocupaba 428px en
     OCHO lineas. Consecuencia medida: el boton de consulta caia en y=974
     —fuera de pantalla— y las cifras clave a 1.32 pantallas de scroll. El
     visitante veia un muro de texto y nada mas.
     Con 9vw el titular baja a ~4 lineas y el producto y las cifras suben.
     `line-height` pasa de 0.98 a 1.06: 0.98 funciona en un titular de dos
     lineas en escritorio, pero apretado en cuatro lineas en un movil se lee
     mal. Si alguien vuelve a subir estos valores, re-mida donde cae el boton. */
  h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(27px, 7.6vw, 38px);
    line-height: 1.1;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual {
    min-height: 600px;
  }

  .hero-product {
    width: min(105vw, 470px);
    height: 600px;
  }

  .orbit-one {
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    width: 400px;
    height: 400px;
  }

  .hero-glow {
    width: 300px;
    height: 300px;
  }

  .product-caption {
    right: 4px;
    bottom: 24px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip article,
  .trust-strip article:nth-child(3) {
    min-height: 108px;
    padding: 20px 16px;
    border-right: 1px solid rgba(88, 217, 231, 0.15);
    border-left: 1px solid rgba(88, 217, 231, 0.15);
    border-bottom: 1px solid rgba(88, 217, 231, 0.15);
  }

  /* En dos columnas la cifra no cabe a tamaño completo: "10–30%" se partía en
     dos líneas. Baja de tamaño y se prohíbe el salto. */
  .trust-strip strong {
    font-size: 27px;
    white-space: nowrap;
  }

  .editorial-section,
  .proof-section,
  .installation-section,
  .faq-section,
  .mechanism-section,
  .industries-section,
  .regional-section,
  .process-section,
  .contact-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .section-index {
    margin-bottom: 24px;
  }

  .mechanism-section .section-index,
  .industries-section .section-index {
    position: static;
  }

  .section-heading,
  .problem-grid,
  .results-grid,
  .section-footnote,
  .assembly-feature,
  .faq-list {
    margin-left: 0;
  }

  .problem-grid,
  .results-grid,
  .industries-grid,
  .solution-grid,
  .installation-gallery {
    grid-template-columns: 1fr;
  }

  .problem-grid article,
  .problem-grid article + article,
  .problem-grid article:last-child {
    min-height: auto;
    padding: 28px 0;
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  .problem-grid {
    border-bottom: 0;
  }

  .problem-grid h3,
  .solution-grid h3,
  .industries-grid h3 {
    margin-top: 28px;
  }

  .system-diagram {
    padding: 62px 14px 46px;
  }

  .diagram-stage {
    height: 236px;
    --axis: 54%;
  }

  .cut-pipe {
    height: 104px;
  }

  .cut-wall { height: 11px; }
  .cut-water { top: 11px; bottom: 11px; }
  .cut-end { width: 10px; }

  .air .big {
    width: 40px;
    height: 23px;
    margin: -11.5px 0 0 -20px;
  }

  .air .fine {
    box-shadow:
      7px -5px 0 -0.8px rgba(192, 240, 252, 0.9),
      -6px 5px 0 -1px rgba(192, 240, 252, 0.85),
      12px 6px 0 -1.6px rgba(192, 240, 252, 0.8),
      -11px -4px 0 -1.4px rgba(192, 240, 252, 0.8),
      3px 9px 0 -1.8px rgba(192, 240, 252, 0.75),
      -2px -9px 0 -2px rgba(192, 240, 252, 0.7);
  }

  .diagram-label {
    max-width: 92px;
    font-size: 10px;
  }

  /* A 360px las dos piezas se solapaban (medido: 19px de invasion).
     Se encogen y la valvula se corre al 65%; el aire empieza a expandirse
     en el 63%, asi que la diferencia de 2% no se nota. */
  /* A 360px medidor y valvula se solapaban (medido: 8px de invasion).
     Ojo: la foto va rotada 90 grados, asi que su ancho visual es la
     ALTURA del archivo, no el `width` que se le pone. */
  .meter-body { width: 68px; }
  .meter-dome { width: 56px; height: 56px; border-width: 4px; }
  .meter-hand { top: 6px; height: 19px; transform-origin: 50% 22px; }
  .meter-digits { margin-top: 6px; padding: 2px 4px; font-size: 9px; }
  .valve-photo { width: 86px; }

  .meter-digits {
    font-size: 9px;
    padding: 1px 3px;
  }

  .node-name {
    margin-top: 58px;
    font-size: 10px;
  }

  .demand-node {
    margin-top: 48px;
  }

  .demand-stub { height: 14px; }
  .demand-node small { font-size: 8px; margin-top: 5px; }

  .solution-grid article,
  .solution-grid article:nth-child(-n + 2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(88, 217, 231, 0.18);
  }

  .spec-strip {
    grid-template-columns: 1fr 1fr;
    margin-top: 40px;
  }

  .spec-strip li {
    padding: 18px 16px;
  }

  .spec-strip li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .spec-strip li:nth-child(odd) {
    border-left: 0;
  }

  .mechanism-reading {
    grid-template-columns: 1fr;
  }

  .mechanism-reading > div + div {
    border-top: 1px solid rgba(88, 217, 231, 0.18);
    border-left: 0;
  }

  .results-grid {
    gap: 12px;
  }

  .results-grid article {
    min-height: auto;
  }

  .industries-grid article {
    min-height: auto;
  }

  .assembly-feature {
    gap: 40px;
  }

  .assembly-image,
  .assembly-image img {
    height: 520px;
  }

  .installation-gallery figure:last-child {
    grid-column: auto;
  }

  .installation-gallery img {
    height: 290px;
  }

  .direct-contact,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .monitor-section {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .monitor-points {
    grid-template-columns: 1fr;
  }

  .monitor-points article,
  .monitor-points article:nth-child(even) {
    padding: 22px 0;
    border-right: 0;
  }

  .monitor-visual {
    min-height: 0;
  }

  .form-submit,
  .form-status {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }

  .footer-contact {
    justify-items: start;
  }

  .footer-copy {
    padding-top: 0;
    border-top: 0;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 120;
    right: 0;
    bottom: 0;
    left: 0;
    /* Una sola columna desde el 2026-10-12: la barra tenia WhatsApp + Consulta
       y WhatsApp salio de la pagina. Con `1fr 1.25fr` el unico boton que queda
       ocupaba media pantalla y el resto se veia como un hueco negro. */
    display: grid;
    grid-template-columns: 1fr;
    min-height: 64px;
    border-top: 1px solid rgba(88, 217, 231, 0.2);
    background: rgba(3, 17, 29, 0.97);
    backdrop-filter: blur(15px);
  }

  .mobile-action-bar a {
    display: grid;
    place-items: center;
    color: var(--white);
    font-size: 14px;
    font-weight: 750;
  }

  .mobile-action-bar a {
    background: var(--green-600);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  [data-headline] .hw > i {
    opacity: 1;
    transform: none;
  }

  .header-wave-back,
  .header-wave-front {
    animation: none;
  }

  /* Sin movimiento el diagrama queda estático: las burbujas se reparten a lo
     largo del tramo y conservan el contraste expandido/compacto, que es lo
     que explica el mecanismo. Sin esto quedarían fuera de pantalla. */
  .water-streak,
  .meter-hand,
  .air,
  .air .fine,
  .air .big,
  .demand-drop {
    animation: none !important;
  }

  /* La gota de demanda queda fija y visible: sigue indicando que hay consumo
     aguas abajo, que es la causa de la caida de presion. */
  .demand-drop {
    transform: translateY(6px);
    opacity: 0.85;
  }

  /* Sin movimiento, el aire se reparte a lo largo del tramo y conserva el
     contraste fino/bolsa, que es lo que explica el mecanismo. El cruce cae
     donde corresponda en cada estado: antes del medidor (22%) sin valvula,
     despues de la valvula (52%) con ella. Sin esto quedaria todo apilado
     fuera de pantalla. */
  .air { transform: none; }
  .air:nth-child(1) { left: 5%; }
  .air:nth-child(2) { left: 13%; }
  .air:nth-child(3) { left: 21%; }
  .air:nth-child(4) { left: 29%; }
  .air:nth-child(5) { left: 37%; }
  .air:nth-child(6) { left: 45%; }
  .air:nth-child(7) { left: 53%; }
  .air:nth-child(8) { left: 61%; }
  .air:nth-child(9) { left: 69%; }
  .air:nth-child(10) { left: 77%; }
  .air:nth-child(11) { left: 85%; }
  .air:nth-child(12) { left: 93%; }

  .air .fine { opacity: 0; }
  .air .big { opacity: 1; transform: scale(1); }

  .mechanism-demo[data-mechanism="without"] .air:nth-child(-n + 2) .fine { opacity: 1; }
  .mechanism-demo[data-mechanism="without"] .air:nth-child(-n + 2) .big { opacity: 0; }
  .mechanism-demo[data-mechanism="with"] .air:nth-child(-n + 7) .fine { opacity: 1; }
  .mechanism-demo[data-mechanism="with"] .air:nth-child(-n + 7) .big { opacity: 0; }
}
