/* Shared navigation remains reachable on the home, catalog, categories and fiches. */
:root{--site-header-height:112px}
html{scroll-padding-top:calc(var(--site-header-height) + 16px)}
.site-header{z-index:60}
.header.site-header{position:fixed}
.catalog-header.site-header,.detail-header.site-header{position:sticky;top:0;background:var(--white)}
.site-header.is-scrolled,.menu-open .site-header{background:var(--white);box-shadow:0 1px 0 #10211d18}
.site-header .menu-toggle{display:flex;flex:0 0 44px;width:44px;height:44px;padding:0}
.site-header .menu-toggle span{flex-shrink:0}
.menu{z-index:50;padding-top:calc(var(--site-header-height) + 24px);padding-bottom:max(32px,env(safe-area-inset-bottom));overscroll-behavior:contain}
.menu nav{margin:20px 0}
.menu nav a{font-size:clamp(28px,4.4vw,64px);padding:clamp(12px,2vh,20px) 0}
.menu-open .site-header>nav{visibility:hidden}
.detail-nav{top:var(--site-header-height)}
.investment-sidebar{top:calc(var(--site-header-height) + 80px)}
.site-header .brand{min-width:0}
@media(max-width:1100px){.site-header>nav{display:none}.site-header{gap:20px}}
@media(max-width:800px){.detail-header .back-link{display:none}}
@media(max-width:640px){
 :root{--site-header-height:72px}
 .catalog-header.site-header,.detail-header.site-header{height:72px;gap:14px}
 .site-header .header-cta,.detail-header .button{display:none}
 .catalog-header .brand,.detail-header .brand{width:208px}
 .menu nav a{gap:18px}
}
@media(max-width:380px){.catalog-header .brand,.detail-header .brand{width:170px}}
/* Perspectivas is a direct header link at every width, outside collapsed navigation. */
.header-editorial-link{display:inline-flex;align-items:center;min-height:44px;flex:0 0 auto;font:600 12px Manrope,Arial,sans-serif;color:var(--green);text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px;white-space:nowrap}
.site-header .menu-toggle::after{content:'Menú';font:8px 'IBM Plex Mono',monospace;line-height:1;color:var(--ink);letter-spacing:.02em}
.site-header .menu-toggle[aria-expanded=true]::after{content:'Cerrar'}
.menu-open .header-editorial-link{visibility:hidden}
@media(max-width:640px){.site-header{gap:12px}.site-header .brand,.catalog-header .brand{width:clamp(134px,40vw,190px);max-width:calc(100% - 138px)}.header-editorial-link{font-size:11px}}
@media(max-width:380px){.site-header{gap:8px}.site-header .brand,.catalog-header .brand{width:130px;max-width:calc(100% - 128px)}.header-editorial-link{font-size:10px}}
