/* ===== NHX-UI v4 Chrome: header + footer armonizados con la home (Aurora) ===== */
.nhx-header{backdrop-filter:blur(14px);background:rgba(255,255,255,.86);border-bottom:1px solid rgba(13,21,32,.08);box-shadow:0 1px 2px rgba(13,21,32,.04)}
html[data-nhx-theme="night"] .nhx-header{background:#10131e;border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 1px 2px rgba(0,0,0,.3)}
.nhx-header,.nhx-nav a,.nhx-header .nhx-button{font-family:"Inter","Manrope",system-ui,sans-serif}
.nhx-nav a{color:#0D1520;font-weight:600;font-size:14.5px;opacity:1;transition:color .18s ease}
.nhx-nav a:hover{color:#35790F}
html[data-nhx-theme="night"] .nhx-nav a{color:#EAF3E4}
html[data-nhx-theme="night"] .nhx-nav a:hover{color:#7AC943}
.nhx-button{min-height:46px;border-radius:14px;font-size:15px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.nhx-button:active{transform:scale(.97)}
.nhx-header .nhx-button--primary,
.nhx-header .nhx-button--primary .wp-block-button__link,
.nhx-header .nhx-button--primary .wp-element-button{background:#35790F;color:#fff !important;border-radius:14px;box-shadow:0 14px 34px -10px rgba(122,201,67,.45)}
.nhx-header .nhx-button--primary:hover,
.nhx-header .nhx-button--primary .wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 20px 44px -10px rgba(122,201,67,.55)}
html[data-nhx-theme="night"] .nhx-header .nhx-button--primary,
html[data-nhx-theme="night"] .nhx-header .nhx-button--primary .wp-block-button__link,
html[data-nhx-theme="night"] .nhx-header .nhx-button--primary .wp-element-button{background:#7AC943;color:#0D102E !important}
.nhx-header .nhx-button--ghost{border-radius:14px;border-color:rgba(13,21,32,.14);color:#0D1520}
html[data-nhx-theme="night"] .nhx-header .nhx-button--ghost{border-color:rgba(255,255,255,.16);color:#EAF3E4}
.nhx-header .nhx-button--ghost:hover{border-color:#7AC943;color:#35790F;background:rgba(122,201,67,.12)}
html[data-nhx-theme="night"] .nhx-header .nhx-button--ghost:hover{color:#8FE05A}
.nhx-theme-cycle{border:1px solid rgba(13,21,32,.10);border-radius:12px;background:rgba(255,255,255,.7)}
html[data-nhx-theme="night"] .nhx-theme-cycle{border-color:rgba(255,255,255,.12);background:rgba(255,255,255,.05)}
.nhx-menu-toggle{border:1px solid rgba(13,21,32,.10)!important;border-radius:12px;background:rgba(255,255,255,.7)}
html[data-nhx-theme="night"] .nhx-menu-toggle{border-color:rgba(255,255,255,.12)!important;background:rgba(255,255,255,.05)}
/* Footer */
.nhx-footer{background:transparent;border-top:1px solid rgba(13,21,32,.08);box-shadow:none}
html[data-nhx-theme="night"] .nhx-footer{background:transparent;border-top:1px solid rgba(255,255,255,.08)}
.nhx-footer,.nhx-footer p,.nhx-footer__title,.nhx-footer__tag{font-family:"Inter","Manrope",system-ui,sans-serif}
.nhx-footer__title{font-size:.85rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#0D1520}
html[data-nhx-theme="night"] .nhx-footer__title{color:#EAF3E4}
.nhx-footer a{color:#56616B;font-size:14.5px;transition:color .18s ease}
.nhx-footer a:hover{color:#35790F}
html[data-nhx-theme="night"] .nhx-footer a{color:#B9C0D8}
html[data-nhx-theme="night"] .nhx-footer a:hover{color:#8FE05A}
.nhx-footer p{color:#56616B}
html[data-nhx-theme="night"] .nhx-footer p{color:#B9C0D8}

/* ===== Capa V4.5: footer legible en Night (tokens --nhx-ink-* solo existian en Light) ===== */
html[data-nhx-theme="night"] .nhx-footer{--nhx-ink-72:#C9D0E2;--nhx-ink-85:#EDF2E8;--nhx-ink-64:#A9B2C8}
html[data-nhx-theme="night"] .nhx-social-link{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.06)}
html[data-nhx-theme="night"] .nhx-social-link:hover{background:rgba(122,201,67,.14);color:#8FE05A !important;border-color:rgba(122,201,67,.35)}
.nhx-footer .nhx-small-muted{font-size:15px;line-height:1.6}
.nhx-footer a{font-size:14.5px}
.nhx-footer .nhx-products-menu a span{font-size:.92rem}

/* ===== Capa V4.6: footer Night DEFINITIVO (literales + !important) ===== */
html[data-nhx-theme="night"] .nhx-footer{--nhx-ink-64:#D6DCEC;--nhx-ink-72:#D6DCEC;--nhx-ink-85:#F2F5FB;--nhx-text-muted:#D6DCEC;--nhx-text-soft:#C9D0E2;--nhx-text:#EAF3E4}
html[data-nhx-theme="night"] .nhx-footer a,
html[data-nhx-theme="night"] .nhx-footer .nhx-footer__link{color:#D6DCEC !important}
html[data-nhx-theme="night"] .nhx-footer a:hover,
html[data-nhx-theme="night"] .nhx-footer .nhx-footer__link:hover,
html[data-nhx-theme="night"] .nhx-footer .nhx-products-menu a:hover{color:#8FE05A !important}
html[data-nhx-theme="night"] .nhx-footer p,
html[data-nhx-theme="night"] .nhx-footer .nhx-small-muted,
html[data-nhx-theme="night"] .nhx-footer .nhx-footer__tag,
html[data-nhx-theme="night"] .nhx-footer .nhx-footer__legal p{color:#D6DCEC !important;font-size:.84rem}
html[data-nhx-theme="night"] .nhx-footer .nhx-footer__title{color:#F2F5FB !important}
html[data-nhx-theme="night"] .nhx-footer .nhx-products-menu a strong{color:#F2F5FB !important}
html[data-nhx-theme="night"] .nhx-footer .nhx-footer__link--cta{color:#8FE05A !important}
html[data-nhx-theme="night"] .nhx-social-link{color:#EDF2E8 !important;border-color:rgba(255,255,255,.24) !important;background:rgba(255,255,255,.09) !important}
html[data-nhx-theme="night"] .nhx-social-link:hover{color:#8FE05A !important;border-color:rgba(122,201,67,.45) !important;background:rgba(122,201,67,.14) !important}
html[data-nhx-theme="night"] .nhx-social-link svg{stroke:#EDF2E8}
html[data-nhx-theme="night"] .nhx-social-link:hover svg{stroke:#8FE05A}

/* ===== Capa V4.7: fix Night: subtítulos products-menu y soporte quedaban oscuro-sobre-oscuro (capa literal tardia de utilities.css rgba(11,15,20,.72)) ===== */
html[data-nhx-theme="night"] .nhx-footer .nhx-products-menu span{color:#C9D0E2 !important}
html[data-nhx-theme="night"] .nhx-footer .nhx-small-muted span{color:#C9D0E2 !important}
html[data-nhx-theme="night"] .nhx-footer .nhx-small-muted span a{color:#8FE05A !important}
