/* Aldea Digital - Cabecera Dinámica v2.0. Compatible con Aldea Paleta Global PRO. */
#aldea-header.ah-dynamic{--ah-bg:var(--ap-bg,#0a1522);--ah-panel:var(--ap-section,#0e2131);--ah-card:var(--ap-card,#14283a);--ah-text:var(--ap-title,#f2f8fc);--ah-muted:var(--ap-muted,#acbfd1);--ah-border:var(--ap-border,#2b4254);--ah-accent:var(--ap-accent,#63e7d1);--ah-btn-text:var(--ap-button-text,#092827);--ah-radius:var(--ap-button-radius,11px);font:500 14px/1.45 var(--ap-font-family,Inter,system-ui,-apple-system,"Segoe UI",sans-serif);background:var(--ah-bg)!important;color:var(--ah-text)!important;border-bottom:1px solid var(--ah-border);width:100%;position:relative;z-index:90;isolation:isolate;-webkit-font-smoothing:antialiased}
#aldea-header *,#aldea-header *:before,#aldea-header *:after{box-sizing:border-box}
#aldea-header .ah-wrap{max-width:1360px;margin:0 auto;padding:0 28px}
#aldea-header .ah-row{display:flex;align-items:center;justify-content:space-between;min-height:79px;gap:21px}
#aldea-header a{text-decoration:none!important;box-shadow:none!important}
#aldea-header a:focus-visible,#aldea-header summary:focus-visible{outline:2px solid var(--ah-accent);outline-offset:3px}
#aldea-header .ah-brand{display:flex;align-items:center;gap:11px;flex:0 0 auto;min-width:200px;color:var(--ah-text)!important}
#aldea-header .ah-fenix{display:block;object-fit:contain;flex:none;width:54px;height:54px;border:0;filter:drop-shadow(0 3px 9px rgba(255,113,42,.11))}
#aldea-header .ah-brand-words{display:flex;flex-direction:column;gap:4px;min-width:0}
#aldea-header .ah-brand-words strong{font-size:19px;line-height:1;letter-spacing:-.045em;white-space:nowrap;font-weight:850;color:var(--ah-text)!important;-webkit-text-fill-color:var(--ah-text)!important}
#aldea-header .ah-brand-words strong span{color:var(--ah-accent)!important;-webkit-text-fill-color:var(--ah-accent)!important}
#aldea-header .ah-brand-words small{font-size:8px;font-weight:750;letter-spacing:.12em;color:var(--ah-muted)!important;white-space:nowrap}
#aldea-header .ah-nav{flex:1;min-width:0}
#aldea-header .ah-menu{list-style:none!important;padding:0!important;margin:0!important;display:flex;align-items:center;justify-content:center;gap:2px}
#aldea-header .ah-menu li{list-style:none!important;margin:0!important;padding:0!important;position:relative}
#aldea-header .ah-menu a{display:block;padding:12px 9px;border-radius:9px;font-size:12.5px;font-weight:750;white-space:nowrap;color:var(--ah-muted)!important;line-height:1.25}
#aldea-header .ah-menu li:hover>a,#aldea-header .ah-menu li.current-menu-item>a,#aldea-header .ah-menu li.current_page_item>a,#aldea-header .ah-menu li.current-menu-ancestor>a,#aldea-header .ah-menu li:focus-within>a{color:var(--ah-accent)!important;background:var(--ah-card)}
#aldea-header .ah-menu .sub-menu{position:absolute;z-index:120;left:0;top:100%;min-width:200px;max-width:280px;padding:7px!important;margin:0!important;list-style:none!important;display:none;border:1px solid var(--ah-border);border-radius:12px;box-shadow:0 15px 30px rgba(0,0,0,.33);background:var(--ah-bg)}
#aldea-header .ah-menu .sub-menu li{width:100%}
#aldea-header .ah-menu .sub-menu a{white-space:normal;padding:11px;border-radius:8px}
#aldea-header .ah-menu .sub-menu .sub-menu{top:0;left:100%}
#aldea-header .ah-menu li:hover>.sub-menu,#aldea-header .ah-menu li:focus-within>.sub-menu{display:block}
#aldea-header .ah-languages{display:flex;align-items:center;gap:7px;padding:6px 9px;background:var(--ah-card);border:1px solid var(--ah-border);border-radius:var(--ah-radius);min-height:44px;flex:none}
#aldea-header .ah-lang{display:inline-flex;align-items:center;justify-content:center;min-height:26px;min-width:26px;white-space:nowrap}
#aldea-header .ah-lang a{display:inline-flex!important;align-items:center;justify-content:center;color:var(--ah-text)!important}
#aldea-header .ah-lang img{display:inline-block!important;width:24px!important;max-width:24px!important;height:auto!important;max-height:24px!important;border:0!important;vertical-align:middle}
#aldea-header .ah-lang a:hover{opacity:.78}
#aldea-header .ah-cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:var(--ah-radius);padding:11px 14px;white-space:nowrap;font-size:12.5px;font-weight:850;background:var(--ah-accent)!important;color:var(--ah-btn-text)!important;flex:none}
#aldea-header .ah-cta:hover{transform:translateY(-1px);filter:brightness(1.04)}
#aldea-header .ah-mobile{display:none}
#aldea-header .ah-mobile>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px;min-width:44px;height:44px;border:1px solid var(--ah-border);background:var(--ah-card);border-radius:var(--ah-radius);padding:9px;color:var(--ah-accent)!important;font-weight:750}
#aldea-header .ah-mobile>summary::-webkit-details-marker{display:none}
#aldea-header .ah-mobile>summary svg{display:block;flex:none}
#aldea-header .ah-mobile-panel{position:absolute;z-index:110;top:100%;left:0;right:0;max-height:min(75vh,700px);overflow:auto;background:var(--ah-bg);border-top:1px solid var(--ah-border);border-bottom:1px solid var(--ah-border);box-shadow:0 19px 29px rgba(0,0,0,.38);padding:13px 18px 20px}
#aldea-header .ah-menu-mobile{display:block;max-width:700px;margin:0 auto!important}
#aldea-header .ah-menu-mobile>li{margin:5px 0!important}
#aldea-header .ah-menu-mobile a{background:var(--ah-card);border:1px solid var(--ah-border);color:var(--ah-text)!important;font-size:13.5px;padding:13px 15px;white-space:normal}
#aldea-header .ah-menu-mobile .sub-menu{display:block;position:static;max-width:100%;min-width:0;box-shadow:none;border:0;background:transparent;padding:3px 0 2px 15px!important}
#aldea-header .ah-menu-mobile .sub-menu a{font-size:12.5px;background:transparent;padding:10px 14px}
#aldea-header .ah-mobile-cta{width:100%;max-width:700px;margin:13px auto 0;display:flex}
body.ap-glow #aldea-header .ah-cta{box-shadow:0 0 18px var(--ap-neon-color,rgba(30,210,180,.2))!important}
body.ap-glass #aldea-header .ah-languages,body.ap-glass #aldea-header .ah-menu-mobile a{backdrop-filter:blur(10px)}
@media(max-width:1290px){#aldea-header .ah-nav,#aldea-header .ah-row>.ah-cta{display:none}#aldea-header .ah-mobile{display:block}#aldea-header .ah-languages{margin-left:auto}}
@media(max-width:600px){#aldea-header .ah-wrap{padding:0 14px}#aldea-header .ah-row{min-height:68px;gap:8px}#aldea-header .ah-fenix{width:46px;height:46px}#aldea-header .ah-brand{min-width:0;gap:7px}#aldea-header .ah-brand-words strong{font-size:17px}#aldea-header .ah-brand-words small{font-size:7px;letter-spacing:.07em}#aldea-header .ah-languages{min-height:40px;padding:5px 6px;gap:5px}}
@media(max-width:395px){#aldea-header .ah-fenix{width:39px;height:39px}#aldea-header .ah-brand-words strong{font-size:15px}#aldea-header .ah-brand-words small{display:none}#aldea-header .ah-brand-words strong span{display:block}#aldea-header .ah-languages{padding:4px;gap:3px}#aldea-header .ah-mobile>summary{min-width:40px;height:40px}#aldea-header .ah-mobile>summary span{display:none}}
@media(prefers-reduced-motion:reduce){#aldea-header *{transition:none!important;animation:none!important}}
