/* V3.24.39 - menu independiente de modulos, alimentado por el catalogo. */
body.sx-theme .site-header .sm3239-nav .sm3239-modulos .sm32439-all{
 font-weight:800;color:#ff9b42!important;border-bottom:1px solid #3b3f48;
 border-radius:0;margin-bottom:4px;padding:9px 10px 11px;
}
body.sx-theme .site-header .sm3239-nav .sm3239-modulos .sm32439-all:is(:hover,:focus-visible){color:#fff!important}
body.sx-theme .site-header .sm3239-nav .sm3239-modulos .sm32439-family+.sm32439-family{
 margin-top:10px;border-top:1px solid #3b3f48;padding-top:8px;
}
body.sx-theme .site-header .sm3239-nav .sm3239-modulos .sm32439-family>.sm3239-group-label{margin:0;padding:7px 10px 4px}
@media(min-width:891px){
 body.sx-theme .site-header .sm3239-nav>.sm3239-modulos.sm3239-wide{position:static}
 body.sx-theme .site-header .sm3239-nav>.sm3239-modulos.sm3239-wide>.sm3239-dropdown{
  left:50%;right:auto;top:100%;transform:translateX(-50%);
  width:min(900px,calc(100vw - 48px));grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px 18px;align-items:start;padding:12px 16px;
  max-height:calc(100vh - 115px);max-height:calc(100dvh - 115px);
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-modulos.sm3239-wide>.sm3239-dropdown>.sm32439-all{grid-column:1/-1}
 body.sx-theme .site-header .sm3239-nav .sm3239-modulos .sm32439-column{min-width:0;padding-inline:0}
 body.sx-theme .site-header .sm3239-nav .sm3239-modulos .sm32439-column+.sm32439-column{border-left:1px solid #3b3f48;padding-left:14px}
 body.sx-theme .site-header .sm3239-nav .sm3239-modulos .sm32439-family>a{padding:6px 10px;line-height:1.35}
}
@media(min-width:891px) and (max-width:1100px){
 body.sx-theme .site-header .header-inner{gap:12px}
 body.sx-theme .site-header .header-inner>.brand img{width:clamp(125px,14vw,156px)}
 body.sx-theme .site-header .nav-main{gap:0}
 body.sx-theme .site-header .nav-main>a,
 body.sx-theme .site-header .nav-main>.nav-dropdown>a{padding-inline:6px;font-size:12px}
 body.sx-theme .site-header .header-actions .btn.sm3239-demo{padding-inline:10px;font-size:12px}
}
@media(max-width:890px){
 body.sx-theme .site-header .sm3239-nav .sm3239-modulos .sm32439-column+.sm32439-column{
  margin-top:10px;border-top:1px solid #3b3f48;padding-top:8px;
 }
 body.sx-theme .site-header .sm3239-nav .sm3239-modulos .sm32439-family>a{padding:10px 12px}
}

/* V3.24.48: tipografía común solo del primer nivel, incluidos los acordeones móviles. */
body.sx-theme .site-header .sm3239-nav{
 --sm-nav-font:Manrope,Arial,sans-serif;
 --sm-nav-size:clamp(12px,1.03vw,14px);
 --sm-nav-weight:750;
 --sm-nav-line:1.25;
 --sm-nav-spacing:.005em;
}
body.sx-theme .site-header .sm3239-nav>:is(a,.nav-dropdown)>a,
body.sx-theme .site-header .sm3239-nav>a,
body.sx-theme .site-header .sm3239-nav>.nav-dropdown>.sm-nav-accordion{
 font-family:var(--sm-nav-font);font-size:var(--sm-nav-size);
 font-weight:var(--sm-nav-weight);line-height:var(--sm-nav-line);
 letter-spacing:var(--sm-nav-spacing);
}
@media(min-width:891px) and (max-width:1100px){
 body.sx-theme .site-header .sm3239-nav{--sm-nav-size:12px}
}
@media(max-width:890px){
 body.sx-theme .site-header .sm3239-nav{--sm-nav-size:16px;--sm-nav-line:1.4}
 body.sx-theme .site-header .sm3239-nav>a,
 body.sx-theme .site-header .sm3239-nav>.nav-dropdown>.sm-nav-accordion{
  min-height:52.4px;padding:15px 18px!important;align-items:center;
 }
}
@media(max-width:890px){body.sx-theme .site-header .sm3239-nav>.nav-dropdown>.sm-nav-accordion::after{line-height:1}}


/* V3.24.115: desplegables centrados bajo su enlace, con ajuste a la pantalla. */
@media (min-width: 891px) {
  body.sx-theme .site-header .nav-main.sm3239-nav > .nav-dropdown {
    position: relative;
  }
  body.sx-theme .site-header .nav-main.sm3239-nav > .nav-dropdown > .sm3239-dropdown {
    top: 100%;
    left: calc(50% + var(--sm-menu-offset, 0px));
    right: auto;
    transform: translateX(-50%);
    max-width: calc(100vw - 32px);
  }
  body.sx-theme .site-header .nav-main.sm3239-nav > .nav-dropdown.sm3239-recursos > .sm3239-dropdown {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* V3.24.149: Plataforma en dos columnas, con Software y Hardware a la izquierda y Módulos a la derecha. */
  body.sx-theme .site-header .nav-main.sm3239-nav > .sm3239-plataforma > .sm324148-platform-dropdown {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 0;
    width: min(650px, calc(100vw - 32px));
    padding: 16px 0;
  }
  body.sx-theme .site-header .sm324148-platform-left {
    display: block;
    min-width: 0;
  }
  body.sx-theme .site-header .sm324148-platform-left > .sm3239-column {
    min-width: 0;
    padding: 0 16px 12px;
  }
  body.sx-theme .site-header .sm324148-platform-left > .sm3239-column + .sm3239-column {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #3b3f48;
  }
  body.sx-theme .site-header .sm324148-platform-dropdown > .sm32439-modules-column {
    min-width: 0;
    border-left: 1px solid #3b3f48;
    padding: 0 16px;
  }
  body.sx-theme .site-header .sm324148-platform-dropdown .sm3239-group-label {
    margin: 0 0 8px;
    padding: 8px 10px 4px;
  }
  body.sx-theme .site-header .sm324148-platform-dropdown .sm32439-all {
    color: #d9dce3 !important;
    font-weight: 600;
    border: 0;
    margin: 0;
    padding: 7px 10px;
  }
  body.sx-theme .site-header .sm324148-platform-dropdown .sm32439-all:hover {
    color: #fff !important;
  }
  body.sx-theme .site-header .sm324148-platform-dropdown .sm32439-modules-column > a:not(.sm32439-all) {
    padding: 7px 10px;
    line-height: 1.35;
    white-space: nowrap;
  }
}
@media(max-width:890px) {
  body.sx-theme .site-header .sm324148-platform-dropdown {
    display: block;
    width: 100%;
  }
  body.sx-theme .site-header .sm324148-platform-left {
    display: block;
  }
  body.sx-theme .site-header .sm324148-platform-left > .sm3239-column {
    padding: 8px 12px;
  }
  body.sx-theme .site-header .sm324148-platform-left > .sm3239-column + .sm3239-column {
    margin-top: 8px;
    border-top: 1px solid #3b3f48;
    padding-top: 12px;
  }
  body.sx-theme .site-header .sm324148-platform-dropdown > .sm32439-modules-column {
    margin-top: 12px;
    border-top: 1px solid #3b3f48;
    padding: 8px 12px 0;
  }
}

/* V3.24.153: Recursos compacto con separación clara entre contenidos y herramientas. */
body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown .sm324153-tools-separator{
 height:1px;background:#3b3f48;margin:10px 10px 8px;
}
@media(min-width:891px){
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown{
  display:block;width:300px;min-width:280px;padding:12px 10px;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown>.sm3239-column{padding:0}
}
@media(max-width:890px){
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown .sm324153-tools-separator{margin:8px 12px}
}

/* V3.24.161: Plataforma ajustada al ancho real de sus enlaces, sin hueco sobrante a la derecha. */
@media(min-width:891px){
 body.sx-theme .site-header .nav-main.sm3239-nav>.sm3239-plataforma>.sm324148-platform-dropdown{
  width:min(470px,calc(100vw - 32px))!important;
  min-width:0!important;
  box-sizing:border-box!important;
  grid-template-columns:minmax(0,0.48fr) minmax(0,0.52fr)!important;
  padding:10px 0!important;
 }
 body.sx-theme .site-header .sm324148-platform-dropdown>.sm32439-modules-column{
  padding-right:10px!important;
 }
}

/* V3.24.157: ajuste fino de anchuras y separadores de los desplegables. */
@media(min-width:891px){
 body.sx-theme .site-header .nav-main.sm3239-nav>.sm3239-plataforma>.sm324148-platform-dropdown{
  grid-template-columns:minmax(0,0.42fr) minmax(0,0.58fr)!important;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos.sm3239-wide>.sm3239-dropdown{
  width:300px!important;min-width:0!important;box-sizing:border-box!important;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown .sm3239-group-label:not(:first-child){
  margin-top:0!important;border-top:0!important;padding-top:3px!important;
 }
}
@media(max-width:890px){
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown .sm3239-group-label:not(:first-child){
  margin-top:0!important;border-top:0!important;padding-top:3px!important;
 }
}

/* V3.24.177: ancho ajustado al contenido real de Plataforma y Recursos. */
@media(min-width:891px){
 body.sx-theme .site-header .nav-main.sm3239-nav>.sm3239-plataforma>.sm324148-platform-dropdown{
  width:min(440px,calc(100vw - 32px))!important;
  min-width:0!important;
  grid-template-columns:minmax(0,0.46fr) minmax(0,0.54fr)!important;
  padding:10px 0!important;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos.sm3239-wide>.sm3239-dropdown{
  width:min(275px,calc(100vw - 32px))!important;
  min-width:0!important;max-width:calc(100vw - 32px);
  box-sizing:border-box!important;
  padding:8px 8px!important;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown>.sm3239-column>a{
  padding-left:8px!important;padding-right:8px!important;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown .sm3239-group-label{
  padding-left:8px!important;padding-right:8px!important;
 }
}

/* V3.24.154: desplegables compactos, sin columnas ni márgenes vacíos. */
@media(min-width:891px){
 body.sx-theme .site-header .nav-main.sm3239-nav>.sm3239-plataforma>.sm324148-platform-dropdown{
  width:min(550px,calc(100vw - 32px))!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  padding:10px 0!important;
 }
 body.sx-theme .site-header .sm324148-platform-left>.sm3239-column{
  padding:0 12px 8px!important;
 }
 body.sx-theme .site-header .sm324148-platform-left>.sm3239-column+.sm3239-column{
  margin-top:5px!important;padding-top:7px!important;
 }
 body.sx-theme .site-header .sm324148-platform-dropdown>.sm32439-modules-column{
  padding:0 12px!important;
 }
 body.sx-theme .site-header .sm324148-platform-dropdown .sm3239-group-label{
  margin:0 0 5px!important;padding:5px 8px 3px!important;
 }
 body.sx-theme .site-header .sm324148-platform-dropdown .sm32439-all,
 body.sx-theme .site-header .sm324148-platform-dropdown .sm32439-modules-column>a:not(.sm32439-all){
  padding:5px 8px!important;line-height:1.25!important;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos.sm3239-wide>.sm3239-dropdown{
  width:320px!important;min-width:320px!important;max-width:calc(100vw - 32px);
  display:block!important;grid-template-columns:minmax(0,1fr)!important;
  padding:8px 10px!important;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown>.sm3239-column{
  padding:0!important;margin:0!important;min-width:0;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown>.sm3239-column>a{
  display:flex;align-items:center;min-height:34px;padding:6px 10px!important;
  margin:0!important;line-height:1.25;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown .sm3239-group-label{
  margin:0!important;padding:5px 10px 3px!important;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown .sm324153-tools-separator{
  margin:6px 10px!important;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown a[href="/blog/"],
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown a[href="/blog/"].active{
  color:#e7e9ee!important;
 }
}
@media(max-width:890px){
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown>.sm3239-column>a{
  min-height:42px;padding:9px 12px!important;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown .sm324153-tools-separator{
  margin:5px 12px!important;
 }
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown a[href="/blog/"],
 body.sx-theme .site-header .sm3239-nav>.sm3239-recursos>.sm3239-dropdown a[href="/blog/"].active{
  color:#e7e9ee!important;
 }
}

/* V3.24.178: reglas finales: prevalecen sobre todas las anchuras anteriores. */
@media(min-width:891px){
 body.sx-theme .site-header .nav-main.sm3239-nav>.sm3239-plataforma>.sm324148-platform-dropdown{
  width:420px!important;min-width:0!important;max-width:calc(100vw - 32px)!important;
  grid-template-columns:minmax(0,0.46fr) minmax(0,0.54fr)!important;
  box-sizing:border-box!important;
 }
 body.sx-theme .site-header .nav-main.sm3239-nav>.sm3239-recursos>.sm3239-dropdown{
  width:260px!important;min-width:0!important;max-width:calc(100vw - 32px)!important;
  display:block!important;grid-template-columns:minmax(0,1fr)!important;
  box-sizing:border-box!important;
 }
 body.sx-theme .site-header .nav-main.sm3239-nav>.sm3239-recursos>.sm3239-dropdown>.sm3239-column{
  min-width:0!important;padding:0!important;margin:0!important;
 }
 body.sx-theme .site-header .nav-main.sm3239-nav>.sm3239-recursos>.sm3239-dropdown>.sm3239-column>a{
  padding-left:8px!important;padding-right:8px!important;
 }
}
