/* ============================================================
   Banner FEA — hero de inicio (reemplaza .hero en index.html)
   Aislado para no tocar components.css. Usa los tokens de CGK.
   Rutas de imagen relativas a este archivo (assets/css/).

   El video se reproduce siempre (decisión del sitio). El <img>
   interno del <video> solo aparece si el navegador no soporta video.
   ============================================================ */

.fea-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;          /* 16:9 horizontal normal (no ultrawide) */
  max-height: 88vh;
  min-height: 460px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background: var(--bg);
}

.fea-banner__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;      /* se ve la máquina completa (arriba y abajo) a cualquier ancho; barras negras se funden con el fondo */
  object-position: center;
  display: block;
  z-index: 0;
}

/* Degradados: legibilidad del nav (arriba) y del texto (abajo) */
.fea-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(11,13,15,0.78) 0%,
      rgba(11,13,15,0.18) 24%,
      rgba(11,13,15,0.00) 46%,
      rgba(11,13,15,0.55) 74%,
      rgba(11,13,15,0.94) 100%),
    radial-gradient(130% 82% at 16% 110%, rgba(11,13,15,0.72), transparent 60%);
}

.fea-banner__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(30px, 5vw, 68px);
}

.fea-banner__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-tech);
  text-transform: uppercase;
  color: var(--cat-yellow);
  margin: 0 0 var(--space-4);
}

.fea-banner__title {
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-hi);
  max-width: 20ch;
  margin: 0 0 var(--space-4);
}
.fea-banner__title em {
  font-style: normal;
  color: var(--cat-yellow);
  background: linear-gradient(180deg, var(--cat-yellow-hi), var(--cat-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fea-banner__sub {
  font-size: var(--text-lg);
  line-height: var(--leading-normal);
  color: var(--text-md);
  max-width: 58ch;
  margin: 0;
}

.fea-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(22px, 3vw, 34px);
}

/* Filo de acento inferior (amarillo → molten) */
.fea-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, var(--cat-yellow), var(--molten) 55%, transparent);
}

/* Móvil: el video 16:9 NO se recorta; el texto baja debajo sobre fondo sólido.
   padding-top = alto del nav fijo, para que el logo CGK no tape la simulación. */
@media (max-width: 680px) {
  .fea-banner {
    display: block;
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    padding-top: 80px;
  }
  .fea-banner__video {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .fea-banner__overlay { display: none; }
  .fea-banner__inner { padding: var(--space-6) 0 var(--space-7); }
  .fea-banner__title { font-size: var(--text-2xl); max-width: none; }
  .fea-banner__sub { font-size: var(--text-base); }
  .fea-banner::after { display: none; }
}
