/* Hausum Brand Manual - context fixes. Loaded LAST (footer) so it wins over template inline styles.
   Complements brand-fixes-auto.css (generated from the WCAG contrast audit). */
/* Bandas de sección con texto blanco: degradado de marca navy -> azul secundario (AA en todo el recorrido) */
html body .checklist-band,
html body .franja,
html body .final{background:linear-gradient(135deg,#003E73 0%,#1E6E9B 100%) !important}
/* Botón invertido (navy) sobre banda final */
html body .final .cta.inv{color:#FFFFFF !important}
/* Legal: botón fantasma sobre banda final */
html body.page-template-page-legal section.final a.cta:not(.inv),
html body.page-template-page-legal section.final a.cta:not(.inv) > span{color:#FFFFFF !important}
/* Blog: título navy sobre cabecera navy (fallo previo a la migración) */
html body .page-title{color:#FFFFFF !important}
/* Páginas locales: acentos de titulares en secciones azules */
html body div.hm-sec.bg-azul h2.hm-h2 > span{color:#62B3E6 !important}
/* Cabecera: Poppins es ~12% más ancha que Aptos -> compensar para que el menú no salte de línea */
html body .nav-links ul,html body .nav-links{gap:26px !important}
html body .nav-links a,html body .nav-links ul li a{font-size:14.5px !important;font-weight:600 !important;white-space:nowrap !important}
html body .nav-cta{white-space:nowrap !important}
/* Hover de botones sobre #00AAFF: mantener texto navy (blanco = 2,6:1) */
html body .nav-cta:hover,html body .nav-cta:focus{color:#002C51 !important}
@media (min-width:901px) and (max-width:1240px){
  html body .nav-links ul,html body .nav-links{gap:18px !important}
  html body .nav-links a,html body .nav-links ul li a{font-size:13.5px !important}
}
/* Páginas locales (contenido con estilos inline, posiblemente en BD): acentos sobre secciones claras */
html body.page-template-default .hm-sec:not(.bg-azul) [style*="color:var(--azul)"],
html body.page-template-default .hm-sec:not(.bg-azul) [style*="#EF9F27" i],
html body.page-template-default .hm-sec:not(.bg-azul) [style*="#62B3E6" i],
html body.page-template-default .hm-sec:not(.bg-azul) .hm-stars,
html body.page-template-default .hm-sec:not(.bg-azul) .hm-video-box-tag,
html body.page-template-default .hm-faq-a a{color:#1E6E9B !important}
html body.page-template-default .hm-sec.bg-azul [style*="#EF9F27" i]{color:#62B3E6 !important}
/* Pestañas activas sobre #00AAFF */
html body .hm-tab-btn.active{color:#002C51 !important}
/* WPCadastre (interfaz clara "glassmorphic"): el acento es a la vez texto sobre tarjeta clara y fondo con texto blanco.
   #1E6E9B es el único color de marca AA en ambos usos (5,6:1). */
html:root{--wp-cadastre-accent:#1E6E9B !important;--wp-cadastre-accent-hover:#003E73 !important}
