/* A1-H26 | Uniform header/footer, baseline Home approved. Preview only. */
/* The common theme markup remains unchanged. New rules affect only site chrome. */
html body.a1-global-chrome:not(.home) header.site-header,
html body.a1-global-chrome:not(.home) :is(.home-v2,.a1-light-wrap,.a1-light-wrap.a1lp,.ai-page,.a1-formacion-v04)>header.site-header{
 position:fixed!important;inset:0 0 auto!important;width:100%!important;
 height:84px!important;min-height:84px!important;z-index:9999!important;
 background:#0b1013!important;color:#fff!important;
 border-bottom:1px solid #ffffff21!important;box-shadow:none!important;
}
html body.a1-global-chrome:not(.home) header.site-header .header-inner{
 width:min(1280px,calc(100% - 80px))!important;max-width:1280px!important;
 height:83px!important;min-height:83px!important;
 margin-inline:auto!important;gap:18px!important;
 display:flex!important;align-items:center!important;
}
html body.a1-global-chrome:not(.home) header.site-header .brand{
 min-width:0!important;width:142px!important;height:41px!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 padding:9px 10px!important;border:1px solid #27363d!important;border-radius:6px!important;
 background:#0e1418!important;color:#fff!important;
}
html body.a1-global-chrome:not(.home) header.site-header .brand img{
 width:120px!important;max-width:120px!important;height:auto!important;
 max-height:34px!important;filter:none!important;object-fit:contain!important;
}
html body.a1-global-chrome:not(.home) header.site-header .a1-primary-nav>a,
html body.a1-global-chrome:not(.home) header.site-header .nav>a,
html body.a1-global-chrome:not(.home) header.site-header .a1-services-menu>summary{
 color:#eaf0f1!important;font-size:14px!important;font-weight:600!important;
}
html body.a1-global-chrome:not(.home) header.site-header .a1-services-menu>summary{font-weight:750!important}
html body.a1-global-chrome:not(.home) header.site-header .a1-primary-nav>a:is(:hover,:focus-visible),
html body.a1-global-chrome:not(.home) header.site-header .nav>a:is(:hover,:focus-visible){color:#ff8b50!important}
html body.a1-global-chrome:not(.home) header.site-header .header-actions .btn-primary{
 background:#b83a00!important;border-color:#b83a00!important;color:#fff!important;
 font-size:15px!important;min-height:48px!important;height:48px!important;
 padding:0 20px!important;
}
html body.a1-global-chrome:not(.home) header.site-header .menu-btn{
 color:#fff!important;background:#212b30!important;border:1px solid #46575d!important;
}
html body.a1-global-chrome:not(.home) header.site-header nav#a1-mobile-nav{
 background:#fff!important;color:#182c34!important;
 border:1px solid #cfdee3!important;box-shadow:0 17px 28px #1235461c!important;
}
html body.a1-global-chrome:not(.home) header.site-header nav#a1-mobile-nav>a,
html body.a1-global-chrome:not(.home) header.site-header nav#a1-mobile-nav a,
html body.a1-global-chrome:not(.home) header.site-header nav#a1-mobile-nav summary{
 color:#182c34!important;
}
html body.a1-global-chrome:not(.home) footer.footer,
html body.a1-global-chrome:not(.home) :is(.home-v2,.a1-light-wrap,.a1-light-wrap.a1lp,.ai-page,.a1-formacion-v04)>footer.footer{
 background:#090e11!important;color:#d7e1e5!important;
 border-top:1px solid #2e3b40!important;
 padding:52px 0 24px!important;
}
html body.a1-global-chrome:not(.home) footer.footer>.container{
 width:min(1280px,calc(100% - 80px))!important;max-width:1280px!important;
 margin-inline:auto!important;
}
html body.a1-global-chrome:not(.home) footer.footer .footer-grid{
 display:grid!important;grid-template-columns:1.3fr repeat(3,minmax(0,1fr))!important;
 gap:28px!important;padding:0!important;
}
html body.a1-global-chrome:not(.home) footer.footer .footer-grid>div:first-child{
 display:block!important;min-width:0!important;
}
html body.a1-global-chrome:not(.home) footer.footer .brand{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 width:142px!important;height:41px!important;
 padding:9px 10px!important;margin:5px 0 0!important;
 border:1px solid #27363d!important;border-radius:6px!important;
 background:#0e1418!important;
}
html body.a1-global-chrome:not(.home) footer.footer .brand img{
 width:120px!important;max-width:120px!important;height:auto!important;
 max-height:34px!important;filter:none!important;object-fit:contain!important;
}
html body.a1-global-chrome:not(.home) footer.footer :is(a,p),
html body.a1-global-chrome:not(.home) footer.footer :is(a,p,.legal,span){
 color:#bbc9cf!important;font-size:14px!important;line-height:1.5!important;
}
html body.a1-global-chrome:not(.home) footer.footer strong{
 color:#fff!important;font-size:15px!important;
}
html body.a1-global-chrome:not(.home) footer.footer .footer-grid>div:first-child p{
 margin:14px 0 0!important;max-width:230px!important;
}
html body.a1-global-chrome:not(.home) footer.footer a:not(.brand){
 display:flex!important;align-items:center!important;min-height:44px!important;
 margin-top:5px!important;
}
html body.a1-global-chrome:not(.home) footer.footer .legal{
 color:#afbfc7!important;border-color:#29373e!important;
 margin:10px 0 0!important;padding:8px 0 0!important;
 font-size:14px!important;line-height:1.6!important;
 flex-wrap:wrap!important;gap:12px!important;
}
html body.a1-global-chrome:not(.home) footer.footer .legal a{color:#c8d9df!important;font-size:inherit!important;}
html body.a1-global-chrome:not(.home) footer.footer a:is(:hover,:focus-visible){color:#ff8b50!important}
@media(max-width:1050px){
 html body.a1-global-chrome:not(.home) header.site-header .header-inner,
 html body.a1-global-chrome:not(.home) footer.footer>.container{
  width:calc(100% - 40px)!important;max-width:none!important;
 }
}
@media(max-width:760px){
 html body.a1-global-chrome:not(.home) header.site-header,
 html body.a1-global-chrome:not(.home) :is(.home-v2,.a1-light-wrap,.a1-light-wrap.a1lp,.ai-page,.a1-formacion-v04)>header.site-header{
  height:72px!important;min-height:72px!important;box-shadow:0 4px 15px #0003!important;
 }
 html body.a1-global-chrome:not(.home) header.site-header .header-inner{
  width:calc(100% - 32px)!important;max-width:none!important;
  min-height:72px!important;height:72px!important;gap:12px!important;
 }
 html body.a1-global-chrome:not(.home) header.site-header .brand{height:48px!important;}
 html body.a1-global-chrome:not(.home) header.site-header .menu-btn{
  flex:0 0 45px!important;width:45px!important;height:45px!important;
  min-height:45px!important;display:flex!important;align-items:center!important;
  justify-content:center!important;padding:0!important;margin-left:auto!important;
 }
 html body.a1-global-chrome:not(.home) header.site-header nav#a1-mobile-nav{
  top:calc(100% - 1px)!important;max-height:calc(100dvh - 86px)!important;
  overflow-y:auto!important;
 }
 html body.a1-global-chrome:not(.home) footer.footer{padding:42px 0 24px!important;}
 html body.a1-global-chrome:not(.home) footer.footer>.container{
  width:calc(100% - 36px)!important;max-width:none!important;
 }
 html body.a1-global-chrome:not(.home) footer.footer .footer-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;
 }
 html body.a1-global-chrome:not(.home) footer.footer .footer-grid>div:first-child{
  grid-column:1/-1!important;
 }
 html body.a1-global-chrome:not(.home) footer.footer .legal{font-size:13px!important;}
}

/* Home: preserve existing approved chrome artwork, only make desktop header sticky. */
html body.home .home-v2>header.site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:9999!important;}

/* The approved Home footer hides the last three service links on desktop. */
@media(min-width:761px){
 html body.a1-global-chrome:not(.home) footer.footer .footer-grid>div:nth-child(2)>a:nth-of-type(n+4){display:none!important;}
 html body.a1-global-chrome:not(.home) footer.footer{padding-bottom:28px!important;}
}

@media(max-width:760px){
 html body.a1-global-chrome:not(.home) header.site-header .menu-btn{flex:0 0 48px!important;width:48px!important;max-width:48px!important;min-width:48px!important;height:45px!important;min-height:45px!important;}
 html body.a1-global-chrome:not(.home) :is(.a1-light-wrap,.a1-light-wrap.a1lp,.ai-page,.a1-formacion-v04,.home-v2)>footer.footer{padding:42px 0 24px!important;}
 html body.a1-global-chrome:not(.home) footer.footer .footer-grid>div:first-child p{margin-top:12px!important;}
}
/* Match the actual Home footer box geometry, not just its palette. */
html body.a1-global-chrome:not(.home) footer.footer .legal{line-height:1.4!important}
@media(max-width:760px){
 html body.a1-global-chrome:not(.home) footer.footer .footer-grid{gap:25px!important;}
 html body.a1-global-chrome:not(.home) footer.footer .brand{
  height:48px!important;min-height:48px!important;
 }
 html body.a1-global-chrome:not(.home) footer.footer .legal{
  font-size:13px!important;line-height:1.5!important;gap:10px!important;
 }
}
/* Tablet Home has a 76px header. Match that exact approved breakpoint. */
@media(min-width:761px) and (max-width:1050px){
 html body.a1-global-chrome:not(.home) header.site-header,
 html body.a1-global-chrome:not(.home) :is(.home-v2,.a1-light-wrap,.a1-light-wrap.a1lp,.ai-page,.a1-formacion-v04)>header.site-header{
  height:76px!important;min-height:76px!important;
 }
 html body.a1-global-chrome:not(.home) header.site-header .header-inner{
  height:75px!important;min-height:75px!important;
 }
}
/* Keep the desktop/tablet legal footer height consistent with Home. */
@media(min-width:761px){
 html body.a1-global-chrome:not(.home) footer.footer .legal{min-height:62px!important;}
}
/* Exact tablet menu trigger and desktop footer legal-link spacing from Home. */
@media(min-width:761px) and (max-width:1050px){
 html body.a1-global-chrome:not(.home) header.site-header .menu-btn{
  min-width:48px!important;max-width:48px!important;
  width:48px!important;min-height:48px!important;height:48px!important;
  flex:0 0 48px!important;padding:0!important;margin-left:auto!important;
 }
}
@media(min-width:761px){
 html body.a1-global-chrome:not(.home) footer.footer{padding-bottom:24px!important;}
 html body.a1-global-chrome:not(.home) footer.footer .legal a{margin-top:9px!important;}
}
/* Match the Home's legal-link vertical alignment, including narrow mobile. */
@media(max-width:760px){
 html body.a1-global-chrome:not(.home) footer.footer .legal a{
  margin-top:4px!important;
 }
}
/* Copyright/legal labels match Home's 13px mobile text; prevents an extra line at 320px. */
@media(max-width:760px){
 html body.a1-global-chrome:not(.home) footer.footer .legal>span{
  font-size:13px!important;line-height:1.5!important;
 }
}
/* Small-screen wrapping: preserve Home-equivalent footer in 375–480px viewports. */
@media(min-width:361px) and (max-width:760px){
 html body.a1-global-chrome:not(.home) footer.footer .legal>span{
  font-size:14px!important;line-height:1.5!important;
 }
}
