/* FACTORYRACING V11.86 — vidrio óptico de navegación + footer editorial.
   Se carga al final para no interferir con los estados del menú BYD. */

/* Lente sobre el hero: el fondo se magnifica visualmente por saturación/contraste
   y una refracción aparente en los bordes. Los enlaces y el logotipo no se filtran. */
body .topbar.byd-header:not(.scrolled):not(.mega-open):not(.mobile-open):not(.fr-quick-open){
  background:linear-gradient(105deg,rgba(232,242,245,.16) 0%,rgba(21,28,34,.11) 35%,rgba(230,239,244,.10) 72%,rgba(16,25,29,.17) 100%)!important;
  -webkit-backdrop-filter:blur(7px) saturate(170%) contrast(112%) brightness(1.10)!important;
  backdrop-filter:blur(7px) saturate(170%) contrast(112%) brightness(1.10)!important;
  border:1px solid rgba(255,255,255,.54)!important;
  box-shadow:0 13px 30px rgba(8,13,20,.16),inset 0 1px 0 rgba(255,255,255,.62),inset 0 -1px 0 rgba(255,255,255,.10)!important;
}
/* La lente óptica acentúa la luz en el borde, sin distorsionar el menú interno. */
body .topbar.byd-header:not(.scrolled):not(.mega-open):not(.mobile-open):not(.fr-quick-open)::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.23),transparent 29%,transparent 76%,rgba(255,255,255,.08)),
             linear-gradient(90deg,rgba(255,255,255,.075),transparent 23%,transparent 73%,rgba(255,255,255,.07));
  z-index:0;
}
body .topbar.byd-header:not(.scrolled):not(.mega-open):not(.mobile-open):not(.fr-quick-open) > .wordmark,
body .topbar.byd-header:not(.scrolled):not(.mega-open):not(.mobile-open):not(.fr-quick-open) > .byd-primary-nav,
body .topbar.byd-header:not(.scrolled):not(.mega-open):not(.mobile-open):not(.fr-quick-open) > .byd-header-actions{position:relative;z-index:2;}
/* Los desplegables y los controles del buscador conservan su propia capa. */
body .topbar.byd-header .byd-mega{z-index:1201!important;}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
 body .topbar.byd-header:not(.scrolled):not(.mega-open):not(.mobile-open){background:rgba(29,39,44,.78)!important;}
}
@media(prefers-reduced-transparency:reduce){
 body .topbar.byd-header:not(.scrolled):not(.mega-open):not(.mobile-open){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(24,34,39,.94)!important;}
}


/* FACTORYRACING V11.87 · Nuevo pie editorial, limpio y sin fondo publicitario.
   El efecto óptico del menú V11.86 permanece inalterado arriba. */
body > footer.fr87-footer{
  display:block!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;border:0!important;
  background:#11171c!important;color:#f9fafb!important;
  font-family:Montserrat,'Open Sans',Arial,sans-serif;
  overflow:hidden!important;box-sizing:border-box;
}
footer.fr87-footer,footer.fr87-footer *{box-sizing:border-box}
footer.fr87-footer a{text-decoration:none;transition:color .18s ease,background-color .18s ease,transform .18s ease,border-color .18s ease}
footer.fr87-footer a:focus-visible{outline:3px solid #eb3149;outline-offset:5px}
.fr87-wrap{width:min(1376px,calc(100% - clamp(48px,8vw,160px)));margin-inline:auto}

/* Bloque blanco, más cercano al lenguaje de las webs premium de automoción. */
.fr87-invitation{background:#f5f6f4;color:#14191d;isolation:isolate;border-top:1px solid #e5e7e5}
.fr87-invitation__grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.75fr);align-items:end;gap:clamp(48px,7vw,150px);padding-block:clamp(76px,9vw,136px) clamp(86px,9vw,137px)}
.fr87-eyebrow{display:flex;gap:14px;align-items:center;margin:0 0 clamp(25px,4vw,45px)!important;font-size:11px;font-weight:650;letter-spacing:.22em;color:#5c6369;line-height:1.5}
.fr87-eyebrow__dash{width:29px;height:2px;background:#d52038;flex:none}
.fr87-invitation h2{margin:0!important;padding:0!important;color:#11171b!important;font-size:clamp(45px,5.7vw,92px)!important;line-height:1.055!important;letter-spacing:-.068em;font-weight:700!important;text-transform:uppercase;text-wrap:balance}
.fr87-invitation h2 span{font-weight:450;letter-spacing:-.067em}
.fr87-invitation__aside{max-width:400px;justify-self:end;padding-bottom:4px}
.fr87-invitation__aside>p{margin:0 0 31px!important;font-size:clamp(15px,1.2vw,18px);font-weight:400;line-height:1.75;color:#5c6368}
footer.fr87-footer a.fr87-invitation__button{display:inline-flex!important;align-items:center;justify-content:space-between;gap:24px;min-height:59px;width:min(100%,390px);padding:9px 11px 9px 24px!important;background:#151b20!important;color:#fff!important;border:1px solid #151b20!important;border-radius:100px!important;font-size:11px;font-weight:650;letter-spacing:.075em;line-height:1.35}
.fr87-invitation__button svg{width:40px;height:40px;flex:none;padding:8px;border-radius:50%;background:#fff;color:#13191d;transition:transform .2s ease}
footer.fr87-footer a.fr87-invitation__button:hover{background:#2b333b!important;border-color:#2b333b!important}
footer.fr87-footer a.fr87-invitation__button:hover svg{transform:translateX(3px)}

/* Sólido y tipográfico: información primero, sin decoraciones superfluas. */
.fr87-main{background:#10151a;color:#fff;padding:clamp(70px,8vw,110px) 0 0}
.fr87-signature{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:38px;border-bottom:1px solid rgba(255,255,255,.18)}
footer.fr87-footer a.fr87-signature__brand{display:inline-block!important;margin:0!important;padding:0!important;background:transparent!important;color:#fff!important;font-family:Montserrat,'Open Sans',Arial,sans-serif;font-size:clamp(35px,6.15vw,96px);line-height:.92;font-weight:760;letter-spacing:-.085em;white-space:nowrap}
.fr87-signature__brand span{color:#ed2941}
.fr87-signature>p{color:#89939b;margin:0 0 6px!important;font-size:10px;font-weight:550;line-height:1.55;letter-spacing:.15em;text-align:right;max-width:280px}
.fr87-signature>p span{margin:0 8px;color:#da263b}
.fr87-sections{display:grid;grid-template-columns: minmax(0,.8fr) minmax(0,1.05fr) minmax(0,1.2fr);column-gap:clamp(40px,7vw,136px);row-gap:42px;padding:clamp(44px,5.1vw,75px) 0 clamp(65px,7vw,100px)}
.fr87-linkgroup{min-width:0;display:flex;align-items:flex-start;flex-direction:column;gap:16px}
.fr87-linkgroup h3{margin:0 0 18px!important;color:#e2e5e8!important;font-size:12px;font-weight:700;line-height:1.4;letter-spacing:.17em}
footer.fr87-footer .fr87-linkgroup a:not(.fr87-contact__directions){display:inline-block!important;padding:0 0 2px!important;margin:0!important;background:none!important;border:0!important;border-bottom:1px solid transparent!important;color:#abb4bc!important;font-size:14px;font-weight:400;line-height:1.55;overflow-wrap:anywhere}
footer.fr87-footer .fr87-linkgroup a:hover,footer.fr87-footer .fr87-linkgroup a:focus-visible{color:#fff!important;border-color:#d6273e!important}
.fr87-contact{gap:15px}
.fr87-contact p{margin:0!important;color:#aeb7c0;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.fr87-contact__address{max-width:310px}
.fr87-contact__hours{margin-top:10px}
.fr87-contact__hours>span{display:block;margin-bottom:7px;font-size:10px;line-height:1.2;letter-spacing:.15em;font-weight:700;color:#dfe3e7}
.fr87-contact__hours p{color:#909ba5}
footer.fr87-footer .fr87-contact a.fr87-contact__directions{display:inline-flex!important;align-items:center;gap:9px;margin-top:11px!important;padding:2px 0 7px!important;border-bottom:1px solid #ed2941!important;background:none!important;color:#fff!important;font-size:13px;font-weight:550;line-height:1.5}
.fr87-contact__directions span{font-size:18px;line-height:1;transform:translateY(-2px)}
.fr87-bottomline{display:flex;gap:18px;justify-content:space-between;align-items:center;padding:26px 0 30px;border-top:1px solid rgba(255,255,255,.15);font-size:10px;letter-spacing:.055em;font-weight:450;color:#87919a;line-height:1.7}
.fr87-bottomline__links{display:flex;flex-wrap:wrap;align-items:center;gap:clamp(16px,2.5vw,38px)}
footer.fr87-footer .fr87-bottomline a{margin:0!important;padding:0!important;border:0!important;color:#b2bbc2!important;background:none!important;font-size:10px;letter-spacing:.055em;font-weight:550;white-space:nowrap}
footer.fr87-footer .fr87-bottomline a:hover{color:#fff!important}
footer.fr87-footer .fr87-bottomline .fr87-admin{color:#74808a!important}
@media(max-width:1100px){
 .fr87-invitation__grid{grid-template-columns:minmax(0,1.2fr) minmax(260px,.85fr);gap:40px}
 .fr87-signature{align-items:flex-start;flex-direction:column;gap:20px}
 .fr87-signature>p{text-align:left;margin:0!important}
}
@media(max-width:760px){
 .fr87-wrap{width:calc(100% - 48px)}
 .fr87-invitation__grid{grid-template-columns:1fr;gap:32px;padding-block:70px 78px}
 .fr87-eyebrow{margin-bottom:26px!important}
 .fr87-invitation h2{font-size:clamp(42px,9.25vw,68px)!important;letter-spacing:-.063em}
 .fr87-invitation__aside{max-width:490px;justify-self:start;padding-bottom:0}
 .fr87-invitation__aside>p{margin-bottom:25px!important;font-size:15px}
 .fr87-main{padding-top:63px}
 footer.fr87-footer a.fr87-signature__brand{font-size:clamp(37px,8.3vw,60px)}
 .fr87-signature{padding-bottom:29px}
 .fr87-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:46px 25px;padding:49px 0 61px}
 .fr87-contact{grid-column:1/-1}
 .fr87-bottomline{align-items:flex-start;flex-direction:column;gap:15px;padding-bottom:32px}
}
@media(max-width:400px){
 .fr87-wrap{width:calc(100% - 36px)}
 .fr87-invitation__grid{padding-block:57px 68px}
 .fr87-invitation h2{font-size:clamp(37px,10vw,44px)!important}
 .fr87-signature__brand{letter-spacing:-.095em!important}
 .fr87-signature>p{font-size:9px}
 .fr87-sections{gap:41px 14px}
 .fr87-linkgroup h3{font-size:11px}
 footer.fr87-footer .fr87-linkgroup a:not(.fr87-contact__directions){font-size:13px}
 .fr87-bottomline__links{gap:10px 19px}
}
@media(prefers-reduced-motion:reduce){footer.fr87-footer a,.fr87-invitation__button svg{transition:none!important}}
