/* Header layout stays available before the motion scripts load. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.fm-header-brand{display:flex;flex-direction:column;min-width:0;max-width:270px}
.fm-header-details{display:flex;flex-direction:column;line-height:1.1;max-height:80px;overflow:hidden;transition:opacity .3s,max-height .45s}
.fm-header.is-scrolled .fm-header-details{opacity:0;max-height:0}

@media(max-width:760px){
  .fm-header>.fm-header-inner{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:12px!important;row-gap:6px!important;padding:10px max(14px,env(safe-area-inset-right)) 10px max(14px,env(safe-area-inset-left))!important}
  .fm-header-brand{display:contents}
  .fm-header .fm-brand{grid-column:1;grid-row:1;justify-self:start;min-width:0;max-width:100%;padding:0!important}
  .fm-header .fm-brand img{width:76px!important;max-width:100%;height:auto}
  .fm-header .fm-header-actions{grid-column:2;grid-row:1;justify-self:end;display:flex;flex-wrap:nowrap;align-items:center;gap:6px!important;min-width:0}
  .fm-header-actions [role="group"]{flex:none}
  .fm-header-actions .fm-lang{min-width:32px;min-height:44px;padding:10px 2px;font-size:12px;letter-spacing:.04em}
  .fm-header .fm-header-actions>.fm-header-cta{flex:none;justify-content:center;min-height:44px;padding:10px 12px!important;font-size:11px!important;letter-spacing:.07em!important;white-space:nowrap}
  .fm-header-details{grid-column:1/-1;grid-row:2;max-width:100%;min-width:0;max-height:none;opacity:1;gap:2px}
  .fm-header-details span{font-size:11px!important;line-height:1.4;letter-spacing:0!important;overflow-wrap:break-word}
  .fm-header.is-scrolled>.fm-header-inner{padding-top:8px!important;padding-bottom:8px!important;row-gap:0!important}
  .fm-header.is-scrolled .fm-brand img{width:52px!important}
  .fm-header.is-scrolled .fm-header-details{display:none}
  #inicio{padding-top:40px!important}
}
@media(max-width:360px){
  .fm-header>.fm-header-inner{column-gap:8px!important;padding-left:max(12px,env(safe-area-inset-left))!important;padding-right:max(12px,env(safe-area-inset-right))!important}
  .fm-header .fm-brand img{width:64px!important}
  .fm-header .fm-header-actions{gap:4px!important}
  .fm-header .fm-header-actions>.fm-header-cta{padding-left:10px!important;padding-right:10px!important;font-size:10px!important}
  .fm-header-actions [role="group"]{gap:0!important}
}
