/* FACTORYRACING V11.34 — Glass Header al estilo de las referencias aportadas.
   EN EL TOP: vidrio oscuro + letras blancas.
   AL HACER SCROLL: vidrio blanco + letras e iconos negros.
   En ambos estados se desenfoca el vídeo/fondo tras toda la barra. */

html body .fr134-fullbar{
  --fr134-ink:#fff;
  --fr134-cta-bg:#fff;
  --fr134-cta-ink:#121820;
  background:rgba(14,19,32,.48)!important;
  background-color:rgba(14,19,32,.48)!important;
  background-image:none!important;
  color:var(--fr134-ink)!important;
  border:1px solid rgba(255,255,255,.23)!important;
  border-radius:999px!important;
  box-shadow:0 7px 26px rgba(5,11,18,.17)!important;
  -webkit-backdrop-filter:blur(25px) saturate(1.17)!important;
  backdrop-filter:blur(25px) saturate(1.17)!important;
  isolation:isolate!important;
  transition:background-color .32s ease,border-color .32s ease,box-shadow .32s ease,color .27s ease!important;
}
/* Con !important para anular estilos sticky/scrolled del tema antiguo. */
html body .fr134-fullbar.fr134-top,
html body .fr134-fullbar.fr134-top:is(.scrolled,.is-scrolled,.sticky,.active,.header-scrolled){
  --fr134-ink:#fff;
  --fr134-cta-bg:#fff;
  --fr134-cta-ink:#121820;
  background:rgba(14,19,32,.48)!important;
  background-color:rgba(14,19,32,.48)!important;
  background-image:none!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.24)!important;
  box-shadow:0 7px 26px rgba(5,11,18,.18)!important;
}
html body .fr134-fullbar.fr134-scrolled,
html body .fr134-fullbar.fr134-scrolled:is(.scrolled,.is-scrolled,.sticky,.active,.header-scrolled){
  --fr134-ink:#141923;
  --fr134-cta-bg:#11141b;
  --fr134-cta-ink:#fff;
  background:rgba(255,255,255,.80)!important;
  background-color:rgba(255,255,255,.80)!important;
  background-image:none!important;
  color:#141923!important;
  border-color:rgba(255,255,255,.75)!important;
  box-shadow:0 8px 30px rgba(12,20,33,.11)!important;
}
/* Solo los compartimentos de LA BARRA: ningún segundo fondo gris ni filtro. */
html body .fr134-fullbar .fr134-structural{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
html body .fr134-fullbar::before,
html body .fr134-fullbar::after,
html body .fr134-fullbar .fr134-structural::before,
html body .fr134-fullbar .fr134-structural::after{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
/* Solo enlaces principales y controles de cabecera, nunca megamenús. */
html body .fr134-fullbar .fr134-navlink,
html body .fr134-fullbar .fr134-navlink:link,
html body .fr134-fullbar .fr134-navlink:visited,
html body .fr134-fullbar .fr134-navlink *,
html body .fr134-fullbar .fr134-tool,
html body .fr134-fullbar .fr134-tool *{
  color:var(--fr134-ink)!important;
  text-shadow:none!important;
  transition:color .3s ease!important;
}
html body .fr134-fullbar .fr134-navlink:is(:hover,:focus-visible,[aria-expanded="true"]){
  text-decoration:none!important;
  opacity:.78;
}
html body .fr134-fullbar .fr134-navlink svg,
html body .fr134-fullbar .fr134-tool svg{
  color:var(--fr134-ink)!important;
  stroke:currentColor!important;
}
html body .fr134-fullbar .fr134-navlink svg [stroke]:not([stroke="none"]),
html body .fr134-fullbar .fr134-tool svg [stroke]:not([stroke="none"]){stroke:currentColor!important;}
/* El logotipo corporativo azul/rojo tiene fondo TRANSPARENTE en ambos estados. */
html body .fr134-fullbar .fr134-logo,
html body .fr134-fullbar .fr129-public-logo-anchor,
html body .fr134-fullbar .fr129-public-logo-anchor picture,
html body .fr134-fullbar .fr129-public-logo-anchor img{
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
  filter:none!important;
}
/* Botón invertido según fondo, como BYD. */
html body .fr134-fullbar .fr134-cta,
html body .fr134-fullbar .fr134-cta:link,
html body .fr134-fullbar .fr134-cta:visited{
  color:var(--fr134-cta-ink)!important;
  background:var(--fr134-cta-bg)!important;
  background-color:var(--fr134-cta-bg)!important;
  border-color:var(--fr134-cta-bg)!important;
  box-shadow:none!important;
  transition:background .3s ease,color .3s ease!important;
}
html body .fr134-fullbar .fr134-cta *,
html body .fr134-fullbar .fr134-cta svg{color:var(--fr134-cta-ink)!important;}
html body .fr134-fullbar .fr134-cta:hover{opacity:.85!important;}
@media(prefers-reduced-motion:reduce){
  html body .fr134-fullbar,
  html body .fr134-fullbar .fr134-navlink,
  html body .fr134-fullbar .fr134-tool,
  html body .fr134-fullbar .fr134-cta{transition:none!important;}
}

/* Cuando la página muestra un hero/ficha con vídeo, el menú conserva la misma
   composición y colores que en la portada. */
html body .fr134-fullbar.fr134-scrolled{
  background:rgba(255,255,255,.87)!important;
  background-color:rgba(255,255,255,.87)!important;
  -webkit-backdrop-filter:blur(26px) saturate(1.12)!important;
  backdrop-filter:blur(26px) saturate(1.12)!important;
}
html body .fr134-fullbar.fr134-top{
  background:rgba(14,19,32,.42)!important;
  background-color:rgba(14,19,32,.42)!important;
  -webkit-backdrop-filter:blur(26px) saturate(1.12)!important;
  backdrop-filter:blur(26px) saturate(1.12)!important;
}
html body .fr134-fullbar.fr134-top .fr134-navlink,
html body .fr134-fullbar.fr134-top .fr134-tool{color:#fff!important}
html body .fr134-fullbar.fr134-scrolled .fr134-navlink,
html body .fr134-fullbar.fr134-scrolled .fr134-tool{color:#141923!important}
