/* Cabecera de TAOQ Health con el estilo de IntensiqHealth (28 nov 2026) */
#header .header_bg{background:#070c16 !important;opacity:.94 !important;border-bottom:1px solid #1e2a44 !important}
#header_main,#header_main .container{background:transparent !important;border-color:#1e2a44 !important}
.logo a.taoq-brand{display:flex !important;align-items:center;gap:11px;height:100%;text-decoration:none;color:#e8eef9}
.logo a.taoq-brand img{width:40px !important;height:40px !important;max-height:none !important;padding:0 !important}
.taoq-brand span{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;line-height:1.1}
.taoq-brand b{display:block;font-size:18px;font-weight:700;letter-spacing:.2px;color:#e8eef9}
.taoq-brand small{display:block;margin-top:3px;font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:#97a7c3}
#header .av-main-nav > li > a{color:#97a7c3 !important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:500 !important}
#header .av-main-nav > li > a:hover,#header .av-main-nav > li.current-menu-item > a{color:#e8eef9 !important}
#header .av-main-nav > li > a .avia-menu-fx{background-color:#14b8a6 !important}
#header .av-main-nav > li.av-menu-button > a .avia-menu-text{background:linear-gradient(120deg,#14b8a6,#22d3ee 50%,#3b82f6) !important;color:#04121a !important;border:0 !important;border-radius:12px !important;font-weight:600}
#header .av-hamburger-inner,#header .av-hamburger-inner::before,#header .av-hamburger-inner::after{background-color:#e8eef9 !important}

/* Aviso de rediseño bajo la cabecera (28 nov 2026) */
.taoq-aviso{background:#0c1424;border-bottom:1px solid #1e2a44;color:#e8eef9;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:14px;line-height:1.5;text-align:center;padding:10px 20px}
.taoq-aviso a{color:#22d3ee;font-weight:600;text-decoration:none;margin-left:6px;white-space:nowrap}
.taoq-aviso a:hover{text-decoration:underline}

/* Menú horizontal desde 800 px (28 nov 2026) */
@media only screen and (min-width:800px) and (max-width:989px){
  .responsive #top #header .av-main-nav > li.menu-item-top-level{display:block !important}
  .responsive #top #header .av-main-nav > li.av-burger-menu-main{display:none !important}
  .responsive #top #header .av-main-nav > li > a{padding:0 10px !important;font-size:14px}
}

/* Menú centrado en la cabecera (28 nov 2026) */
@media only screen and (min-width:800px){
  #top #header .main_menu{left:50% !important;right:auto !important;transform:translateX(-50%)}
}
@media only screen and (min-width:800px) and (max-width:989px){
  #top #header .main_menu{left:calc(50% + 70px) !important}
}
@media only screen and (min-width:800px){
  #top #header .main_menu{width:max-content !important}
  #top #header .av-main-nav{white-space:nowrap}
}

/* Opciones del menú como botones en relieve (28 nov 2026) */
@media only screen and (min-width:800px){
  #top #header .av-main-nav > li.menu-item-top-level{margin:0 5px}
  #top #header .av-main-nav > li.menu-item-top-level > a{height:auto !important;line-height:1 !important;margin-top:var(--taoq-mt,0);padding:0 !important;background:transparent !important}
  #top #header .av-main-nav > li.menu-item-top-level > a .avia-menu-text{display:inline-block;padding:10px 16px !important;border-radius:10px;background:linear-gradient(180deg,#1a2640,#0f1828);border:1px solid #2a3a5c;box-shadow:0 3px 0 #050a14,0 6px 14px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.08);color:#c9d5ea;transition:transform .12s,box-shadow .12s}
  #top #header .av-main-nav > li.menu-item-top-level > a:hover .avia-menu-text{transform:translateY(-1px);color:#e8eef9;border-color:#3b82f6}
  #top #header .av-main-nav > li.menu-item-top-level > a:active .avia-menu-text{transform:translateY(2px);box-shadow:0 1px 0 #050a14,inset 0 1px 0 rgba(255,255,255,.06)}
  #top #header .av-main-nav > li.current-menu-item > a .avia-menu-text{border-color:#14b8a6;color:#e8eef9;box-shadow:0 3px 0 #050a14,0 0 0 1px rgba(20,184,166,.35),0 6px 14px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.08)}
  #top #header .av-main-nav > li > a .avia-menu-fx{display:none !important}
  #top #header .main_menu .av-main-nav-wrap{display:flex;align-items:center;height:100%}
}
