/* NEXTCRM 2026-12-02: navegación flotante sin panel de fondo.
   Se mantiene el video de Inicio. Igual posición del menú en todas las diapositivas.
   Los colores de los vínculos cambian según contraste (oscuro / claro). */
body > header.topbar,
body[data-active-slide] > header.topbar,
body.pricing-view > header.topbar,
body[data-active-slide].pricing-view > header.topbar {
  position:fixed!important;inset:0 0 auto 0!important;z-index:1100!important;
  width:100%!important;box-sizing:border-box!important;
  background:transparent!important;background-color:transparent!important;
  border:0!important;border-bottom:0!important;
  box-shadow:none!important;backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;filter:none!important;
}
/* Hero y portada sobre fondo oscuro: menú blanco. */
body[data-active-slide="0"] > .topbar,
body[data-active-slide="1"] > .topbar,
body[data-active-slide="2"] > .topbar,
body[data-active-slide="6"] > .topbar{
 color:#fff!important;
}
body[data-active-slide="0"] > .topbar :is(.brand,.topnav>button,.topnav>a,.top-actions>a,.top-actions>button),
body[data-active-slide="1"] > .topbar :is(.brand,.topnav>button,.topnav>a,.top-actions>a,.top-actions>button),
body[data-active-slide="2"] > .topbar :is(.brand,.topnav>button,.topnav>a,.top-actions>a,.top-actions>button),
body[data-active-slide="6"] > .topbar :is(.brand,.topnav>button,.topnav>a,.top-actions>a,.top-actions>button){
 color:#fff!important;text-shadow:0 1px 5px rgba(0,0,0,.65)!important;
}
/* Planes, Funciones, Nosotros, Seguridad, Agenda y Demo: texto oscuro sobre fondos claros. */
body[data-active-slide="3"] > .topbar,
body[data-active-slide="4"] > .topbar,
body[data-active-slide="5"] > .topbar,
body[data-active-slide="7"] > .topbar,
body[data-active-slide="8"] > .topbar,
body[data-active-slide="9"] > .topbar {color:#261d43!important}
body[data-active-slide="3"] > .topbar :is(.brand,.topnav>button,.topnav>a,.top-actions>a,.top-actions>button),
body[data-active-slide="4"] > .topbar :is(.brand,.topnav>button,.topnav>a,.top-actions>a,.top-actions>button),
body[data-active-slide="5"] > .topbar :is(.brand,.topnav>button,.topnav>a,.top-actions>a,.top-actions>button),
body[data-active-slide="7"] > .topbar :is(.brand,.topnav>button,.topnav>a,.top-actions>a,.top-actions>button),
body[data-active-slide="8"] > .topbar :is(.brand,.topnav>button,.topnav>a,.top-actions>a,.top-actions>button),
body[data-active-slide="9"] > .topbar :is(.brand,.topnav>button,.topnav>a,.top-actions>a,.top-actions>button){
 color:#261d43!important;text-shadow:0 1px 5px rgba(255,255,255,.75)!important;
}
/* Fondo únicamente de botones individuales y menú móvil desplegado, no de la barra. */
body > .topbar :is(.brand,.topnav,.top-actions,.nx-mobile-menu-button){
 background-color:transparent!important;
}
body > .topbar .topnav>button.is-current{
 text-shadow:none!important;
}
@media (max-width:1379px){
 body > .topbar .nx-mobile-menu-button{
  background:rgba(24,18,45,.08)!important;
  box-shadow:none!important;
  border:1px solid currentColor!important;
 }
 body > .topbar .topnav.nx-nav-open{
  background:#fff!important;color:#261d43!important;
  border:1px solid #ded5f2!important;border-radius:14px!important;
  box-shadow:0 14px 35px rgba(20,10,50,.18)!important;
 }
 body > .topbar .topnav.nx-nav-open :is(button,a){
  color:#261d43!important;text-shadow:none!important;
 }
}
@media (prefers-reduced-motion:reduce){
 body > .topbar{transition:none!important}
}

/* La pestaña amarilla activa conserva letras oscuras sobre cualquier video. */
body[data-active-slide="2"] > .topbar .topnav > button.is-current,
body[data-active-slide="3"] > .topbar .topnav > button.is-current,
body[data-active-slide="4"] > .topbar .topnav > button.is-current {
  color:#261b35!important;text-shadow:none!important;
}
