/* =============================================================
   OLAERC LAB 2026 · HERO V4 (MOVIMIENTO + IDENTIDAD)
   Capas aisladas a #inicio y al logo de la cabecera del LAB.
   No modifica la biblioteca, colectivos, modales, ni footer.
   ============================================================= */

/* Logo oficial original de OLAERC en su variante de color para fondo claro. */
.lab26-page .lab26-header .lab26-brand-logo {
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 auto; min-width:64px; height:68px;
  padding:0; margin:0; line-height:1;
}
.lab26-page .lab26-header .lab26-brand-logo img {
  display:block; width:70px; height:70px; max-width:none;
  object-fit:contain;
}

/* Escena central, SIN la tarjeta ni adornos pegados. */
.lab26-page #inicio.lab26-hero {
  position:relative; isolation:isolate;
  display:grid; grid-template-columns:minmax(0,1fr);
  align-items:center;
  min-height:620px;
  width:100%; max-width:none; margin:0;
  padding:74px max(40px,calc((100vw - 1180px)/2)) 84px;
  overflow:hidden;
  background:#06111e;
  color:white;
}
.lab26-page #inicio.lab26-hero::before {
  content:"";
  position:absolute; inset:-4.5%; z-index:-2; pointer-events:none;
  background-image:url('../img/rodaje-v11.webp');
  background-size:cover; background-repeat:no-repeat;
  background-position:55% 48%;
  filter:saturate(.96) contrast(1.08) brightness(.87);
  will-change:transform;
  animation:olaercHeroV4KenBurns 24s ease-in-out infinite alternate;
}
.lab26-page #inicio.lab26-hero::after {
  content:""; position:absolute; inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(4,13,26,.97) 0%,
      rgba(4,13,26,.94) 22%,
      rgba(4,13,26,.79) 43%,
      rgba(4,13,26,.40) 68%,
      rgba(4,13,26,.10) 100%),
    linear-gradient(180deg,rgba(5,13,26,.28) 0%,transparent 44%,rgba(5,13,26,.64) 100%),
    radial-gradient(ellipse at 88% 66%,rgba(137,76,214,.09),transparent 54%);
}
@keyframes olaercHeroV4KenBurns {
  0% {transform:translate3d(calc(var(--hero-v4-mx,0px) - 9px),calc(var(--hero-v4-my,0px) + 3px),0) scale(1.045);}
  50% {transform:translate3d(calc(var(--hero-v4-mx,0px) + 4px),calc(var(--hero-v4-my,0px) - 7px),0) scale(1.075);}
  100% {transform:translate3d(calc(var(--hero-v4-mx,0px) + 10px),calc(var(--hero-v4-my,0px) + 5px),0) scale(1.095);}
}
.lab26-page #inicio .lab26-hero-text {
  position:relative;z-index:2;max-width:710px;width:100%;
}
.lab26-page #inicio .lab26-hero-media {
  display:none!important;
}
/* La navegacion y los botones existentes mantienen sus enlaces originales. */
.lab26-page #inicio .lab26-hero-actions {
  position:relative;z-index:2;
}
.lab26-page #inicio .lab26-button {
  transition:transform .24s ease, box-shadow .24s ease, background .24s ease;
}
.lab26-page #inicio .lab26-button:hover {transform:translateY(-3px);}
.lab26-page #inicio .lab26-button:focus-visible {outline:3px solid #e6c2ff;outline-offset:3px;}

@media (max-width:1100px) {
  .lab26-page #inicio.lab26-hero {min-height:570px;padding-inline:38px;}
}
@media (max-width:760px) {
  .lab26-page .lab26-header .lab26-brand-logo {height:60px;min-width:56px;}
  .lab26-page .lab26-header .lab26-brand-logo img {width:61px;height:61px;}
  .lab26-page #inicio.lab26-hero {display:flex;flex-direction:column;align-items:stretch;justify-content:center;min-height:570px;padding:62px 24px 80px;}
  .lab26-page #inicio.lab26-hero::before {background-position:67% center;filter:saturate(.94) contrast(1.08) brightness(.76);}
  .lab26-page #inicio.lab26-hero::after {background:linear-gradient(180deg,rgba(4,13,27,.91) 0%,rgba(4,13,27,.82) 45%,rgba(4,13,27,.58) 74%,rgba(4,13,27,.91) 100%);}
}
@media (max-width:480px) {
  .lab26-page .lab26-header .lab26-brand-logo {height:56px;min-width:48px;}
  .lab26-page .lab26-header .lab26-brand-logo img {width:55px;height:55px;}
  .lab26-page #inicio.lab26-hero {min-height:575px;padding:47px 20px 72px;}
  .lab26-page #inicio .lab26-hero-actions {flex-wrap:wrap;}
}
@media (prefers-reduced-motion:reduce) {
  .lab26-page #inicio.lab26-hero::before {animation:none!important;will-change:auto;transform:none!important;}
  .lab26-page #inicio .lab26-button {transition:none!important;}
}
