/* ==========================================================================
   NORMALIZACIÓN BRICKS — VA PRIMERO EN LA CASCADA, SIEMPRE.
   Bricks impone en frontend-layer.min.css: .brxe-section/.brxe-container/.brxe-block
   como flex-column con anchos y márgenes propios, .brx-body como flex, y #brx-content
   con flex:1. El sistema del prototipo no declara `display` en esas clases, así que sin
   este bloque las secciones salen flex y toda la página se desplaza.
   DOS REGLAS INNEGOCIABLES (incidente 27-ago-2026, parity-check.md):
     1. Este bloque va ANTES del sistema; si va al final, gana él y mata el padding.
     2. Especificidad de UNA clase, nunca dos: `.brxe-button.bricks-button` pisaría
        a `.btn--ghost` y le quitaría el borde al botón fantasma.
     3. `display: revert`, NUNCA `display: block`: Bricks marca como .brxe-div elementos
        cuya etiqueta real es <li> o <span>; forzarles block les quita el bullet y los
        saca de línea. `revert` devuelve a cada etiqueta su valor de agente de usuario.
   ========================================================================== */
.brxe-section { display: revert; width: auto; max-width: none; margin-left: 0; margin-right: 0; align-items: initial; flex-direction: initial; }
.brxe-container { display: revert; width: auto; align-items: initial; flex-direction: initial; }
.brxe-block { display: revert; width: auto; max-width: none; align-items: initial; flex-direction: initial; }
.brxe-div { display: revert; width: auto; max-width: none; }
.brxe-button { width: auto; }
/* NO neutralizar max-width en .brxe-text-basic/.brxe-heading: hacerlo deja crecer al
   texto por encima de su caja y descuadra los hijos de un flex column (tapa de
   Sostenibilidad, medido 15-sep-2026). El único caso real —una etiqueta absoluta dentro
   de un contenedor de ancho 0— se declara en el sistema (.medida__label). */
.brx-body { display: revert; margin: 0; width: auto; }
#brx-content { flex: initial; position: static; width: auto; }
/* Bricks clampa los contenedores con max-width:100%; el prototipo no lo hace y hay cajas
   que se salen a propósito (imagen del portal con inset:-8% → 116% del padre). El
   max-width se neutraliza SOLO en las cajas estructurales, nunca en <img>. */

/* El navegador da al h1 anidado un tamaño menor; Bricks lo fija en 2.4em y el sistema
   espera el valor de agente de usuario. Se normaliza a 2em (Otras Líneas, 14-sep-2026). */
h1 { font-size: 2em; }
/* Bricks carga un normalize que el prototipo NO tiene. Se revierte a los valores del
   agente de usuario, que es lo que ve el prototipo:
     · button { font: inherit } → el botón sin clase debe conservar su tipografía de UA
       (13.33px), no heredar los 17px del cuerpo;
     · sub/sup { position: relative; top: -.5em; font-size: 75%; line-height: 0 }. */
button { font: revert; }
sub, sup { font-size: revert; line-height: revert; position: revert; vertical-align: revert; }
sup { top: revert; }
sub { bottom: revert; }

/* ==========================================================================
   BCP International Corporation — Prototipo Home v0.2
   design.md v0.95 · oscuro cinematográfico · monumental controlado
   ========================================================================== */

:root {
  --oro: #D9A514;
  --oro-luminoso: #FFD22A;
  --oro-oscuro: #76540C;
  --negro: #111111;
  --negro-abismo: #0A0A0A;
  --blanco: #FFFFFF;
  --blanco-calido: #F7F5F0;
  --gris-texto: #4A4A4A;
  --borde-calido: #D8D4CC;
  --borde-oscuro: rgba(255, 255, 255, 0.1);
  --degradado-oro: linear-gradient(90deg, #FFD22A 0%, #D9A514 45%, #76540C 100%);

  --font-display: 'Montserrat', 'Arial', sans-serif;
  --font-body: 'Inter', 'Helvetica', sans-serif;

  --container: 1280px;
  --pad-section: 140px;
  --radius-btn: 4px;
  --header-h: 144px; /* topbar 38 + piso principal 104 + filete */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  background: var(--negro);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--blanco); }
h3 { font-size: 22px; font-weight: 700; line-height: 1.3; }
h4 { font-size: 18px; font-weight: 700; line-height: 1.4; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; position: relative; }

.section { padding: var(--pad-section) 0; position: relative; }
.section--dark { background: var(--negro); }
.section--light { background: var(--blanco-calido); color: var(--gris-texto); }
.section--light h2, .section--light h3, .section--light h4 { color: var(--negro); }

/* ==========================================================================
   Tipografía monumental
   ========================================================================== */
.display {
  font-size: clamp(56px, 8vw, 116px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.h-monumental {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.005em;
}
.gold { color: var(--oro); font-style: normal; }
.gold-dark { color: var(--oro-oscuro); font-style: normal; }

/* máscara de línea para reveals */
.line-mask { display: block; overflow: hidden; }
.line-mask .line { display: block; transform: translateY(110%); }

.lead { font-size: 20px; line-height: 1.6; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oro-oscuro);
  margin-bottom: 28px;
}
.eyebrow--on-dark { color: var(--oro); }

/* Números fantasma de sección */
.ghost-num {
  position: absolute;
  top: 64px;
  right: 3vw;
  font-family: var(--font-display);
  font-size: clamp(120px, 16vw, 240px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 17, 17, 0.1);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.ghost-num--dark { -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09); }

/* Labels verticales */
.vlabel {
  position: absolute;
  left: 28px;
  top: 50%;
  transform: rotate(180deg) translateY(50%);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(17, 17, 17, 0.35);
  pointer-events: none;
}
.vlabel--dark { color: rgba(255, 255, 255, 0.28); }

/* ==========================================================================
   Grading dorado — "hora dorada industrial" (design.md §10)
   ========================================================================== */
.img-grade {
  filter: sepia(0.22) saturate(1.1) contrast(1.1) brightness(0.97); /* 0.88 → 0.97: claridad pedida por el cliente (14-oct-2026) */
}
.frame {
  position: relative;
  overflow: hidden;
  background: var(--negro-abismo);
}
.frame::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Veladura dorada arriba + franja corta solo detrás del pie de foto: la imagen respira
     (antes, degradado a negro .55 sobre toda la figura; ajuste del cliente, 14-oct-2026) */
  background:
    linear-gradient(200deg, rgba(255, 210, 42, 0.08) 0%, rgba(17, 17, 17, 0) 45%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.62) 0%, rgba(17, 17, 17, 0) 28%);
  pointer-events: none;
}
.frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.frame__tag {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 34px;
}
.frame__tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--oro);
}

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  height: 56px;
  padding: 0 36px;
  border-radius: var(--radius-btn);
  transition: filter 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
  will-change: transform;
}
.btn--primary { background: var(--oro); color: var(--negro); }
.btn--primary:hover { filter: brightness(1.1); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.35); color: var(--blanco); }
.btn--ghost:hover { border-color: var(--oro); color: var(--oro); }
.btn--sm { height: 44px; padding: 0 24px; font-size: 12px; }
.btn--xl { height: 64px; padding: 0 48px; }
/* CTA de texto largo ("Solicitar ficha técnica actualizada a la fecha", pedido del cliente,
   14-oct-2026): si la columna no le alcanza, parte en dos líneas en vez de desbordar; donde
   cabe en una, conserva la altura del botón. */
.btn--largo { white-space: normal; height: auto; min-height: 56px; padding-top: 14px; padding-bottom: 14px; line-height: 1.35; text-align: center; }
.btn--xl.btn--largo { min-height: 64px; }

.link-arrow {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--negro);
  text-decoration: none;
  width: max-content;
}
.link-arrow--gold { color: var(--oro); }
.link-arrow--light { color: var(--blanco); }
.link-arrow__line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--degradado-oro);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}
.link-arrow:hover .link-arrow__line { transform: scaleX(1); }

/* Filete de oro */
.filete { height: 3px; background: var(--degradado-oro); transform-origin: left; }
.filete--thin { height: 2px; }
.filete--hero { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1), background-color 400ms ease, backdrop-filter 400ms ease, box-shadow 400ms ease;
  /* En el top: degradado sutil negro→transparente — el hero se entremezcla con el header.
     Sin border-bottom: un borde (aun transparente) bajo el degradado genera una línea
     oscura de 1px en Chromium; la línea del estado vidrio va como box-shadow. */
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.28) 55%, rgba(10, 10, 10, 0) 100%);
}
.header.is-solid {
  /* Al scroll: vidrio esmerilado oscuro, nunca negro sólido */
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}
.header.is-hidden { transform: translateY(-100%); }
/* Con el panel móvil abierto, el header NO puede tener transform ni
   backdrop-filter: ambos crean containing block para descendientes fixed
   (Chromium) y confinan el panel a la caja del header. El panel cubre todo,
   así que apagar el vidrio es invisible. */
.header.is-menu-open {
  transform: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Utilidad flotante: idioma arriba a la derecha */
.header__utility {
  position: absolute;
  top: 16px;
  right: 40px;
  z-index: 2;
  transition: opacity 250ms ease;
}
.header.is-solid .header__utility { opacity: 0; pointer-events: none; }

/* Grilla ceremonial: nav izquierda — LOGO — nav derecha */
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 40px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  transition: padding 350ms ease;
}
.header.is-solid .header__inner { padding: 12px 40px 14px; }
.header__group { display: flex; align-items: center; gap: 24px; }
.header__group--left { justify-content: flex-end; }
.header__group--right { justify-content: flex-start; }

.header__logo { position: relative; display: block; padding-bottom: 14px; }
.header__logo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: var(--degradado-oro);
  transition: width 300ms ease;
}
.header__logo:hover::after { width: 100%; }
.header__logo img { height: 88px; width: auto; transition: height 350ms ease; }
.header.is-solid .header__logo img { height: 58px; }

.header__link {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 200ms ease;
  white-space: nowrap;
  /* Caja uniforme de DOS líneas para TODOS los ítems de texto: las primeras
     líneas alinean arriba entre sí, y la caja (idéntica en todos) queda
     centrada respecto al logo y al CTA (align-items center del grupo) */
  min-height: calc(2 * 1.2em);
}
.header__link:hover { color: var(--oro); }
/* Ítems del mapa del sitio que van a dos líneas (arquitectura 8.1 del doc.
   de investigación): salto controlado con <br>. El número queda COLGADO en su
   propia columna — la segunda línea alinea bajo el texto, no bajo el número */
.header__link--2l {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 6px;
  align-content: start;
  white-space: nowrap;
}
.header__link--2l .nav-num { margin-right: 0; }
.nav-num { color: var(--oro); font-size: 10px; vertical-align: super; margin-right: 5px; opacity: 0.8; }

/* Panel móvil (nav completa) */
.header__nav { display: none; }
.header__mobile-extra { display: none; }
.lang { display: flex; align-items: center; gap: 6px; }
.lang__opt {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  color: rgba(255, 255, 255, 0.45); padding: 4px 2px; letter-spacing: 0.05em;
}
.lang__opt.is-active { color: var(--oro); }
.lang__sep { color: rgba(255, 255, 255, 0.25); font-size: 11px; }

.header__burger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: flex-end; gap: 7px;
}
.header__burger span { display: block; height: 2px; background: var(--blanco); transition: all 300ms ease; }
.header__burger span:nth-child(1) { width: 26px; }
.header__burger span:nth-child(2) { width: 18px; }
.header__burger.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); width: 26px; }
.header__burger.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); width: 26px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: var(--negro-abismo);
}
/* Parallax por capas (v0.5): cielo 70 / cordillera 55 / titular 40 / frente 10.
   Las capas medio y frente tienen el top transparente — reposicionables libremente.
   El titular nace con su base casi tocando la cresta frontal: la cresta solo gana
   ~28% de viewport durante la salida y si el titular nace alto nunca queda emparedado. */
.hero::before {
  /* continúa el degradado del header dentro del cielo — evita el corte visible */
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 28%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.2) 55%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}
.hero__layers { position: absolute; inset: 0; }
.hero__layer {
  position: absolute;
  left: 0;
  top: -18%;
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: center bottom;
  will-change: transform;
}
.hero__layer--medio { top: 6%; height: 116%; }
.hero__layer--frente { top: 32%; height: 118%; }
.hero__title {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10vh 24px 0;
  text-align: center;
  will-change: transform;
}
/* Sobre el cielo dorado del hero, el oro desaparece (regla §3: oro solo sobre
   oscuro) — el eyebrow va en blanco con sombra sutil que lo asegura sobre nubes */
.hero__title .eyebrow {
  margin-bottom: 20px;
  color: var(--blanco);
  text-shadow: 0 1px 14px rgba(10, 10, 10, 0.5);
}
.hero__fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 24%;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.5) 55%, var(--negro-abismo) 100%);
  pointer-events: none;
  z-index: 2;
}
.hero__foot {
  position: absolute;
  left: 0; right: 0; bottom: 92px;
  z-index: 3;
}
.hero__foot-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.hero__sub { font-size: 19px; color: rgba(255, 255, 255, 0.8); max-width: 460px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__bottom { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; padding-bottom: 28px; }
.hero__bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero__scroll-line { display: block; width: 48px; height: 1px; background: var(--oro); animation: scrollpulse 2.2s ease-in-out infinite; transform-origin: left; }
@keyframes scrollpulse { 0%, 100% { transform: scaleX(0.4); opacity: 0.5; } 50% { transform: scaleX(1); opacity: 1; } }
.hero__coords {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.45);
}
.hero-fade { opacity: 0; }

/* ==========================================================================
   01 · Posicionamiento (respiro claro, asimétrico 60/40)
   ========================================================================== */
.posicionamiento__grid {
  display: grid;
  grid-template-columns: 58% 34%;
  justify-content: space-between;
  align-items: start;
  z-index: 1;
}
.posicionamiento__right { padding-top: 72px; }
.posicionamiento__right .lead { color: var(--negro); font-weight: 500; margin-bottom: 20px; }
.posicionamiento__right p:not(.lead) { color: var(--gris-texto); margin-bottom: 32px; }

/* ==========================================================================
   02 · Sección firma — EL CARBÓN
   ========================================================================== */

/* --- Entrada por portal (v0.6): un fragmento de carbón como máscara que
   inunda la pantalla con el scroll. Pin por CSS sticky (sin pin-spacer,
   convive limpio con Lenis). Desde la variante B el progreso lo maneja una línea de tiempo. --- */
/* Variante B "automática" (14-oct-2026): la piedra se abre sola al llegar (o con un clic);
   el pin baja de 320vh a 150vh — solo sostiene el bloque abierto mientras se lee. */
.preveal { position: relative; height: 150vh; }
.preveal:not(.is-open) .preveal__pin { cursor: pointer; }
.preveal__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--blanco-calido); /* el entorno claro del bloque 01 */
}
.preveal__ghost {
  position: absolute;
  top: 48px;
  right: 40px;
  z-index: 0;
}
.preveal__mask, .preveal__flood { position: absolute; inset: 0; }
.preveal__mask {
  z-index: 1;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 104' fill='%23000'><path d='M16 42 L32 18 L56 8 L82 4 L104 16 L112 40 L118 60 L104 84 L74 98 L46 92 L20 80 L8 60 Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 104' fill='%23000'><path d='M16 42 L32 18 L56 8 L82 4 L104 16 L112 40 L118 60 L104 84 L74 98 L46 92 L20 80 L8 60 Z'/></svg>");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 50% 50%;
  mask-position: 50% 50%;
  -webkit-mask-size: 440px;
  mask-size: 440px;
}
/* Duplicado sin máscara: garantiza la inundación total al final del scrub */
.preveal__flood { z-index: 2; opacity: 0; }
.preveal__img {
  position: absolute;
  inset: -8%;
  background-image: url('assets/carbon-macro-claro.webp'); /* ruta del CHILD THEME (themes/bricks-child/assets/), no la del prototipo; WebP del mismo archivo */
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.preveal__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.3) 38%, rgba(10, 10, 10, 0) 68%),
    radial-gradient(ellipse at 30% 40%, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.3) 75%),
    linear-gradient(180deg, var(--negro) 0%, rgba(10, 10, 10, 0.05) 16%, rgba(10, 10, 10, 0.2) 84%, var(--negro) 100%);
}
.preveal__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container);
  padding: 0 40px;
}

/* Desktop (≥1101px): el bloque COMPLETO se compone dentro del frame del
   portal — espaciados compactos para caber en 100vh (la sección original
   respiraba en ~1.6 pantallas; aquí el respiro lo puso el portal) */
.preveal--full .preveal__content { justify-content: center; }
.preveal--full .firma__sub { margin-top: 18px; }
.preveal--full .anotaciones { margin-top: 40px; }
.preveal--full .firma__formula { margin-top: 28px; }
.preveal--full .firma__ctas { margin-top: 24px; }
@media (min-width: 1101px) and (max-height: 860px) {
  .preveal--full .display { font-size: clamp(56px, 7.2vh, 82px); }
  .preveal--full .firma__sub { margin-top: 12px; font-size: 17px; }
  .preveal--full .anotaciones { margin-top: 28px; }
  .preveal--full .anota { padding-top: 44px; }
  .preveal--full .firma__formula { margin-top: 20px; }
  .preveal--full .firma__ctas { margin-top: 18px; }
}

/* Reduced motion: sección estática, sin pin ni máscara */
.preveal.is-static { height: auto; }
.preveal.is-static .preveal__pin { position: relative; min-height: 100vh; height: auto; }
.preveal.is-static .preveal__mask { display: none; }
.preveal.is-static .preveal__flood { opacity: 1; }
.preveal.is-static .preveal__content { position: relative; inset: auto; padding-top: 120px; padding-bottom: 120px; }
.preveal.is-static .preveal__content .line { transform: none; }
.preveal.is-static .preveal__content .reveal { opacity: 1; transform: none; }
.preveal.is-static .anota { opacity: 1; }

@media (max-width: 1100px) {
  /* En móvil/tablet el bloque sigue en dos partes: el respiro entre el
     portal y las tarjetas se aprieta (especificidad doble para ganar a la
     regla responsive de .firma) */
  .firma.firma--cont { padding-top: 48px; }
}
@media (max-width: 760px) {
  .preveal__content { padding: 0 28px; }
  .preveal__ghost { top: 28px; right: 20px; }
}

/* Continuación del bloque tras el portal: el titular vive en el portal,
   aquí siguen anotaciones, fórmula y CTAs. El margin negativo solapa la
   costura con el pin sticky — su altura fraccionaria (100vh) deja una línea
   de subpíxel en Chromium si las secciones solo se tocan */
.firma--cont { padding: 100px 0 160px; margin-top: -2px; }

.firma {
  position: relative;
  padding: 180px 0 160px;
  overflow: hidden;
  background: var(--negro-abismo);
}
.firma__bg {
  position: absolute;
  inset: -12% 0;
  background-image: url('assets/carbon-macro-claro.webp'); /* ruta del CHILD THEME (themes/bricks-child/assets/), no la del prototipo; WebP del mismo archivo */
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.firma__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.3) 38%, rgba(10, 10, 10, 0) 68%),
    radial-gradient(ellipse at 30% 40%, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.3) 75%),
    linear-gradient(180deg, var(--negro) 0%, rgba(10, 10, 10, 0.05) 16%, rgba(10, 10, 10, 0.2) 84%, var(--negro) 100%);
}
.firma__content { z-index: 2; }
.firma__sub { font-size: 19px; color: rgba(255, 255, 255, 0.75); margin-top: 36px; }
.display--firma { margin-top: 8px; }
.firma__formula {
  max-width: 520px;
  margin-top: 64px;
  padding-left: 24px;
  border-left: 2px solid var(--oro);
  color: rgba(255, 255, 255, 0.8);
}
.firma__ctas { display: flex; align-items: center; gap: 36px; margin-top: 44px; flex-wrap: wrap; }

/* Anotaciones técnicas */
.anotaciones {
  position: relative;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 340px));
  gap: 40px;
  justify-content: end;
}
.anota { position: relative; padding-top: 56px; }
.anota__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--oro);
  box-shadow: 0 0 0 6px rgba(217, 165, 20, 0.18);
}
.anota__line {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, var(--oro), rgba(217, 165, 20, 0.25));
  transform-origin: top;
}
.anota__card {
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--borde-oscuro);
  border-top: 1px solid rgba(217, 165, 20, 0.45);
  padding: 24px 26px 26px;
}
.anota__num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--oro);
  display: block;
  margin-bottom: 10px;
}
.anota__card h3 { font-size: 18px; margin-bottom: 8px; }
.anota__card p { font-size: 14px; color: rgba(255, 255, 255, 0.62); line-height: 1.6; }

/* ==========================================================================
   03 · Operaciones — imagen invasora, asimetría
   ========================================================================== */
.operaciones { padding-bottom: 200px; }
.operaciones__head { margin-bottom: 72px; max-width: 800px; }
.operaciones__grid {
  display: grid;
  grid-template-columns: 54% 38%;
  justify-content: space-between;
  align-items: start;
}
.operaciones__media--big { height: 620px; }
.operaciones__text { padding-top: 48px; }
.operaciones__text p { margin-bottom: 22px; }
.operaciones__lista { list-style: none; margin: 36px 0 40px; }
.operaciones__lista li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--borde-oscuro);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.operaciones__lista li:first-child { border-top: 1px solid var(--borde-oscuro); }
.lista__idx { font-size: 11px; letter-spacing: 0.15em; color: var(--oro); }
.operaciones__media--invade {
  grid-column: 2;
  width: 82%;
  height: 300px;
  margin-top: 56px;
  margin-bottom: -140px; /* invade la banda de cifras */
  z-index: 3;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Cifras (respiro claro)
   ========================================================================== */
.cifras { padding: 140px 0 110px; }
.cifras__grid {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 48px;
}
.cifra { max-width: 220px; }
.cifra__num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 800;
  line-height: 1;
  color: var(--negro);
  display: block;
}
.cifra__num sup { font-size: 0.45em; color: var(--oro-oscuro); }
.cifra__bar {
  display: block;
  width: 56px;
  height: 3px;
  background: var(--degradado-oro);
  margin: 18px 0 14px;
  transform: scaleX(0);
  transform-origin: left;
}
.cifra__label { font-size: 14px; color: var(--gris-texto); line-height: 1.5; display: block; }

/* ==========================================================================
   04 · Líneas de negocio — índice con preview
   ========================================================================== */
.lineas__head { margin-bottom: 72px; }
.indice { position: relative; }
.indice__row {
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr 40px;
  align-items: center;
  gap: 32px;
  padding: 34px 8px;
  border-bottom: 1px solid var(--borde-oscuro);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: padding 400ms ease;
}
.indice__row:first-child { border-top: 1px solid var(--borde-oscuro); }
/* La imagen vive DENTRO de la fila, como fondo tras un scrim — nunca tapa el
   contenido (regla v0.7; el preview flotante se retiró) */
.indice__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 35%;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 450ms ease, transform 900ms ease;
  pointer-events: none;
  /* Grading "hora dorada industrial" (design.md §10) */
  filter: sepia(0.22) saturate(1.1) contrast(1.1) brightness(0.62);
}
.indice__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.85) 45%, rgba(10, 10, 10, 0.55) 100%);
}
.indice__row:hover .indice__bg, .indice__row:focus-visible .indice__bg { opacity: 1; transform: scale(1); }
.indice__row:hover, .indice__row:focus-visible { padding: 46px 8px; }
.indice__num, .indice__title, .indice__desc, .indice__arrow { position: relative; z-index: 1; }
.indice__num { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.15em; color: var(--oro); }
.indice__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 700;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: color 250ms ease;
}
.indice__row:hover .indice__title { color: var(--oro); }
.indice__desc { font-size: 14px; color: rgba(255, 255, 255, 0.5); line-height: 1.5; transition: color 250ms ease; }
.indice__row:hover .indice__desc { color: rgba(255, 255, 255, 0.78); }
.indice__arrow { font-size: 20px; color: rgba(255, 255, 255, 0.3); transition: color 250ms ease, transform 250ms ease; }
.indice__row:hover .indice__arrow { color: var(--oro); transform: translateX(6px); }

/* ==========================================================================
   05 · Sostenibilidad
   ========================================================================== */
.sostenibilidad__grid {
  display: grid;
  grid-template-columns: 40% 52%;
  justify-content: space-between;
  align-items: center;
}
.sostenibilidad__media { height: 640px; margin-top: -40px; }
.sostenibilidad__text > p:not(.eyebrow) { margin: 28px 0 40px; max-width: 520px; }
.pilares { list-style: none; margin-bottom: 44px; counter-reset: pilar; }
.pilares li {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--borde-oscuro);
}
.pilares li:first-child { border-top: 1px solid var(--borde-oscuro); }
.pilar__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--oro);
  padding-top: 4px;
}
.pilares h4 { margin-bottom: 4px; }
.pilares p { font-size: 14px; color: rgba(255, 255, 255, 0.55); }

/* ==========================================================================
   CTA monumental
   ========================================================================== */
.cta { position: relative; background: var(--negro-abismo); padding: 160px 0; text-align: left; }
.cta .filete { position: absolute; top: 0; left: 0; right: 0; }
.display--cta { margin: 8px 0 36px; }
.cta__sub { max-width: 480px; margin-bottom: 48px; color: rgba(255, 255, 255, 0.7); }
.cta__ctas { display: flex; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--negro-abismo); position: relative; border-top: 1px solid var(--borde-oscuro); }
.footer .filete--thin { position: absolute; top: -1px; left: 0; width: 100%; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 64px;
}
.footer__logo { height: 46px; width: auto; margin-bottom: 22px; }
.footer__brand p { font-size: 14px; color: rgba(255, 255, 255, 0.45); line-height: 1.7; }
.footer__col h4 {
  color: var(--oro);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.footer__col a, .footer__col p {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 12px;
  line-height: 1.7;
  transition: color 150ms ease;
}
.footer__col a:hover { color: var(--oro); }
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 30px;
  border-top: 1px solid var(--borde-oscuro);
}
.footer__legal p { font-size: 13px; color: rgba(255, 255, 255, 0.5); } /* .35 → .5: 3,1:1 → AA (design-review 14-oct-2026) */
.footer__legal a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }
.footer__legal a:hover { color: var(--oro); }
/* Línea legal estándar Sainet: una sola línea centrada; en Bricks el corazón
   irá con fas fa-heart (Font Awesome del stack) */
.footer__legal { justify-content: center; text-align: center; }
.footer__heart { color: var(--oro); }

/* ==========================================================================
   Estados iniciales de animación (GSAP toma el control)
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); }
.anota { opacity: 0; }
.no-js .reveal, .no-js .line-mask .line, .no-js .hero-fade, .no-js .anota { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --pad-section: 96px; }
  .container { padding: 0 28px; }
  .header__inner { padding: 0 28px; }

  /* Hero tablet: display 56-72px (design.md §4) y titular más arriba para que
     el pie (sub + CTAs) nunca lo roce en viewports bajos */
  .display { font-size: clamp(48px, 6.5vw, 72px); }
  .hero__title { padding-top: 6vh; }
  .hero__foot { bottom: 84px; }
  .hero__foot-inner { gap: 20px 48px; }
  .hero__sub { font-size: 16px; max-width: 360px; }
  .hero__ctas .btn { padding: 0 24px; }

  .btn--xl { height: 60px; padding: 0 32px; }

  /* Footer tablet: 2×2 — de 4 columnas directo a 1 columna quedaba asfixiado */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 56px 40px; }
  .footer__col a, .footer__col p { overflow-wrap: anywhere; }

  .posicionamiento__grid,
  .operaciones__grid,
  .sostenibilidad__grid { grid-template-columns: 1fr; gap: 48px; }
  .posicionamiento__right { padding-top: 0; }
  .operaciones__media--big { height: 440px; }
  .operaciones__media--invade { grid-column: 1; width: 70%; margin-left: auto; margin-bottom: -120px; }
  .sostenibilidad__media { height: 420px; margin-top: 0; order: 2; }

  .anotaciones { grid-template-columns: 1fr 1fr; justify-content: start; }
  .cifras__grid { grid-template-columns: 1fr 1fr; gap: 56px 32px; justify-content: start; }

  .indice__row { grid-template-columns: 60px 1fr 32px; }
  .indice__desc { display: none; }
  .indice__bg { display: none; }
  .indice__row:hover { padding: 34px 8px; }

  .vlabel { display: none; }
}

/* El mapa 8.1 completo (7 ítems + CTA) necesita aire: por debajo de 1240px
   el header colapsa a hamburguesa — antes que el resto del layout (1100) */
@media (max-width: 1240px) {
  .header__group, .header__utility { display: none; }
  .header__inner { display: flex; justify-content: center; padding: 14px 28px 16px; position: relative; }
  .header__logo img { height: 56px; }
  .header__logo { padding-bottom: 10px; position: relative; z-index: 95; /* visible sobre el panel móvil */ }
  .header__burger { display: flex; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); z-index: 95; }
  .header__nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--negro-abismo);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 40px;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 90;
  }
  .header__nav.is-open { transform: translateX(0); }
  /* 7 ítems del mapa 8.1: en teléfonos bajos el panel centrado se desbordaría */
  @media (max-height: 740px) {
    .header__nav { justify-content: flex-start; padding-top: 110px; gap: 20px; overflow-y: auto; }
    .header__nav > a { font-size: 22px; }
  }
  .header__nav > a {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 700; text-transform: uppercase;
    color: var(--blanco); text-decoration: none;
  }
  .header__nav > a:hover { color: var(--oro); }
  .header__mobile-extra { display: block; margin-top: 20px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --pad-section: 72px; }
  .container { padding: 0 20px; }
  .header__inner { padding: 12px 20px 14px; }
  .header__logo img { height: 48px; }

  /* Panel móvil en teléfonos: filas-índice elegantes (el lenguaje del bloque
     04) en lugar del display monumental de tablet — tipografía contenida,
     números en columna alineada, separadores hairline y CTA a todo el ancho */
  .header__nav {
    justify-content: flex-start;
    gap: 0;
    padding: 104px 28px 36px;
    overflow-y: auto;
  }
  .header__nav > a {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.3;
    width: 100%;
    padding: 17px 0;
    border-bottom: 1px solid var(--borde-oscuro);
    /* Número colgado en su columna: las líneas envueltas alinean bajo el texto */
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: baseline;
  }
  .header__nav > a:first-of-type { border-top: 1px solid var(--borde-oscuro); }
  .header__nav > a .nav-num { margin-right: 0; }
  .header__mobile-extra { margin-top: 32px; width: 100%; }
  .header__mobile-extra .btn { display: flex; justify-content: center; width: 100%; }

  .display { font-size: clamp(38px, 11vw, 48px); }
  .h-monumental { font-size: 30px; }
  .lead { font-size: 18px; }

  .hero { min-height: 100svh; }
  .hero__title { padding: 6vh 16px 0; }
  .hero__foot { bottom: 84px; }
  .hero__foot-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__sub { font-size: 15px; max-width: 340px; }
  .hero__coords { display: none; }
  .btn { width: 100%; }
  .header__mobile-extra .btn { width: auto; }

  .firma { padding: 110px 0 96px; }
  .anotaciones { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }
  .anota { padding-top: 40px; }
  .anota__line { height: 30px; }
  .firma__formula { margin-top: 44px; }

  .operaciones { padding-bottom: 140px; }
  .operaciones__media--big { height: 300px; }
  .operaciones__media--invade { width: 85%; height: 200px; margin-bottom: -100px; }

  .cifras { padding: 120px 0 80px; }
  .cifras__grid { grid-template-columns: 1fr 1fr; gap: 44px 20px; }
  .cifra__num { font-size: 48px; }

  .indice__row { grid-template-columns: 48px 1fr 24px; gap: 16px; padding: 24px 4px; }
  .indice__row:hover { padding: 24px 4px; }
  .indice__title { font-size: 18px; }

  .sostenibilidad__media { height: 300px; }
  .cta { padding: 110px 0; }
  .btn--xl { height: 56px; padding: 0 32px; }

  .footer__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
  .footer__legal { flex-direction: column; gap: 8px; }

  .ghost-num { font-size: 96px; top: 32px; }
}

/* ==========================================================================
   PANEL DE SOLICITUD — "cotiza" (15-sep-2026)
   Los CTA del CUERPO abren el formulario en un panel lateral en vez de sacar al
   visitante de la página que está leyendo. El header y el pie siguen navegando a
   /contacto/, que es la página real. Sin JS, los CTA navegan igual (el panel nace
   con [hidden] y solo el script lo abre).
   Vive en styles.css y no en internas.css porque el Home NO carga la capa de internas.
   ========================================================================== */
.cotiza { position: fixed; inset: 0; z-index: 200; }
.cotiza[hidden] { display: none; }
.cotiza__velo {
  position: absolute; inset: 0; background: rgba(6, 6, 6, 0.74);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity 420ms ease;
}
.cotiza.is-open .cotiza__velo { opacity: 1; }

.cotiza__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(560px, 100%);
  display: flex; flex-direction: column;
  background: var(--negro-abismo); color: var(--blanco);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -40px 0 90px rgba(0, 0, 0, 0.55);
  transform: translateX(100%);
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.cotiza.is-open .cotiza__panel { transform: none; }
.cotiza__panel::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--degradado-oro);
}

.cotiza__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 40px 40px 0; flex: 0 0 auto;
}
.cotiza__tit {
  font-family: var(--font-display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase; margin: 10px 0 0;
}
.cotiza__lead {
  flex: 0 0 auto; margin: 16px 0 0; padding: 0 40px;
  font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); max-width: 44ch;
}
.cotiza__x {
  flex: 0 0 auto; position: relative; width: 44px; height: 44px; margin: -6px -8px 0 0;
  background: none; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%;
  cursor: pointer; transition: border-color 250ms ease, background-color 250ms ease;
}
.cotiza__x:hover, .cotiza__x:focus-visible { border-color: var(--oro); background: rgba(217, 165, 20, 0.12); outline: none; }
.cotiza__x span {
  position: absolute; left: 13px; top: 21px; width: 18px; height: 1.5px;
  background: var(--blanco); transition: background-color 250ms ease;
}
.cotiza__x span:first-child { transform: rotate(45deg); }
.cotiza__x span:last-child { transform: rotate(-45deg); }
.cotiza__x:hover span { background: var(--oro); }

.cotiza__body { flex: 1 1 auto; overflow-y: auto; padding: 28px 40px 40px; overscroll-behavior: contain; }
.cotiza__body::-webkit-scrollbar { width: 6px; }
.cotiza__body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 3px; }

@media (max-width: 640px) {
  /* Móvil: hoja inferior, que es el patrón nativo — no un panel lateral estrecho. */
  .cotiza__panel {
    top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 92vh;
    border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px 14px 0 0;
    transform: translateY(100%);
    box-shadow: 0 -30px 70px rgba(0, 0, 0, 0.6);
  }
  .cotiza__panel::before { border-radius: 14px 14px 0 0; }
  .cotiza__head { padding: 28px 24px 0; }
  .cotiza__lead { padding: 0 24px; margin-top: 12px; }
  .cotiza__body { padding: 20px 24px 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .cotiza__velo, .cotiza__panel { transition: none; }
}
