.smv-nav-shell{position:relative;margin-top:-64px;z-index:120}.smv-navigation{position:relative;width:min(var(--smv-shell),100%);margin-inline:auto;z-index:120;padding-inline:0}
.smv-level1{display:flex;align-items:flex-end;gap:8px;padding:0;border-bottom:7px solid #4c4f52;overflow:visible}
.smv-tab{position:relative;display:flex;align-items:center;justify-content:center;flex:1 1 0;min-width:0;height:64px;padding:7px 12px 6px;border:0;border-radius:0 14px 0 0;background:linear-gradient(180deg,#166abc 0%,#07559d 100%);color:#fff;font:700 15px/1.05 var(--smv-font);text-transform:uppercase;cursor:pointer;text-decoration:none;text-align:center;box-shadow:inset 0 -1px 0 rgba(255,255,255,.08);transition:background .18s ease,transform .18s ease}
.smv-tab>.smv-tab-label{display:flex;align-items:center;justify-content:center;min-height:42px;border-bottom:2px solid #fff;white-space:normal;width:100%}.smv-tab-label--single{line-height:1.08}.smv-tab-label--split{flex-direction:column;gap:1px;line-height:1.02}.smv-tab-line{display:block;width:100%;text-align:center}.smv-tab-line--first{font-weight:800}.smv-tab-line--second{font-weight:700}.smv-tab:hover,.smv-tab.is-open,.smv-tab.is-current{background:linear-gradient(180deg,#73b64d 0%,#4c9438 100%)}.smv-tab:hover{transform:translateY(-1px)}
.smv-tab .smv-tab-indicator{position:absolute;right:7px;top:7px;width:15px;height:15px;border:1.8px solid #fff;border-radius:50%;font-size:7px;line-height:1;display:grid;place-items:center}
.smv-tab--home{flex:0 0 62px;min-width:62px;max-width:62px;padding:0;border-radius:0 10px 0 0}.smv-tab--home .screen-reader-text{border:0!important}.smv-tab--home>i{font-size:21px}

.smv-level2-bar{position:absolute;left:0;right:0;top:71px;width:100%;min-height:48px;background:linear-gradient(180deg,#fff 0%,#f5f5f5 55%,#e5e5e5 100%);display:flex!important;align-items:stretch;border-bottom:1px solid #c7c7c7;box-shadow:0 6px 14px rgba(6,41,77,.10);z-index:121}.smv-level2-bar[hidden]{display:none!important}.smv-level2-bar a{flex:1 1 0;min-width:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:7px 14px;border-right:1px solid #c7c7c7;text-decoration:none;color:#111;font-size:12px;font-weight:800;line-height:1.08;text-transform:uppercase}.smv-level2-bar a:last-child{border-right:0}.smv-level2-bar a:hover{background:#fff;color:var(--smv-blue)}.smv-level2-bar.is-overflowing{flex-wrap:wrap}.smv-level2-bar.is-overflowing a{flex:1 1 220px;border-bottom:1px solid #d4d4d4}

.smv-navigation--mega .smv-mega-panel{position:absolute;left:0;right:0;top:119px;width:100%;background:#fff;border:1px solid #dce5ee;border-top:0;box-shadow:0 18px 38px rgba(6,41,77,.24);display:grid!important;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:22px;padding:20px 24px 20px;z-index:122;border-radius:0 0 7px 7px;max-height:min(540px,calc(100vh - 210px));overflow:auto;overscroll-behavior:contain}.smv-navigation--mega .smv-mega-panel[hidden]{display:none!important}.smv-mega-panel__links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}.smv-mega-column{padding:2px 20px;border-right:1px solid #dfe5eb}.smv-mega-column:last-child{border-right:0}.smv-mega-link{display:block;text-decoration:none;padding:7px 0;color:#0d4b8a;font-size:14px;font-weight:500;line-height:1.22}.smv-mega-link.is-column-first{font-weight:800;text-transform:uppercase;font-size:13px;padding-top:2px;padding-bottom:12px;position:relative}.smv-mega-link.is-column-first:after{content:'';position:absolute;left:0;bottom:5px;width:34px;height:3px;background:#75ad3d}.smv-mega-link:hover{color:var(--smv-green-dark)}
.smv-mega-feature{min-height:188px;background:#eef6fc;display:grid;grid-template-columns:47% 53%;overflow:hidden;border-radius:3px}.smv-mega-feature__image{min-height:188px;background:#c8def0;overflow:hidden;position:relative}.smv-mega-feature__image img{width:100%;height:100%;object-fit:cover}.smv-mega-feature__copy{padding:20px 18px 16px;background:#f7fbff}.smv-mega-feature h3{margin:0;color:#0c3f78;font-size:24px;line-height:1.04}.smv-mega-greenline{display:block;width:38px;height:3px;background:#7ab33e;margin:10px 0 12px}.smv-mega-feature p{margin:0;color:#2f5882;font-size:14px;line-height:1.35}.smv-mega-feature__copy>a{margin-top:16px;width:31px;height:31px;border:2px solid #0b4f91;border-radius:50%;display:grid;place-items:center;text-decoration:none;font-weight:900;color:#0b4f91;font-size:12px}
.smv-building-art:before{content:'';position:absolute;left:20%;top:17%;width:58%;height:76%;background:linear-gradient(110deg,#0d5c9b 0 45%,#1e79b8 46% 100%);clip-path:polygon(14% 0,100% 6%,93% 100%,0 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}.smv-building-art i{position:absolute;z-index:2;left:27%;width:46%;height:1px;background:rgba(255,255,255,.55)}.smv-building-art i:nth-child(1){top:36%}.smv-building-art i:nth-child(2){top:54%}.smv-building-art i:nth-child(3){top:72%}

.smv-nav-demo-page{padding-bottom:40px}.smv-demo-block{padding:28px 0}.smv-demo-block h2{color:var(--smv-blue-dark);margin:0 0 10px}.smv-demo-block p{max-width:900px}.smv-demo-a .smv-level2-bar{flex-wrap:wrap}.smv-demo-a .smv-level2-bar a{flex:1 1 210px}.smv-demo-b{background:#f8fafc}

/* Estado consistente para todos los tabs, tengan o no submenu */
.smv-tab,.smv-tab:visited,.smv-tab--link,.smv-tab--link:visited{color:#fff!important}
.smv-tab--link{background:linear-gradient(180deg,#166abc 0%,#07559d 100%)!important;opacity:1!important}
.smv-tab--link:hover,.smv-tab--link.is-current{background:linear-gradient(180deg,#73b64d 0%,#4c9438 100%)!important;color:#fff!important}
.smv-tab--link span{color:#fff!important}
/* Inicio: azul normal, verde solamente en Home o al interactuar */
.smv-tab--home{background:linear-gradient(180deg,#166abc 0%,#07559d 100%)!important;color:#fff!important}
.smv-tab--home:hover,.smv-tab--home.is-current{background:linear-gradient(180deg,#73b64d 0%,#4c9438 100%)!important;color:#fff!important}
.smv-tab--home i{color:#fff!important;display:block!important}
/* Etiquetas: preservar espacios y permitir salto de linea natural */
.smv-tab-label,.smv-tab-line{word-spacing:normal;letter-spacing:0;white-space:normal;overflow-wrap:normal;word-break:normal}

/* v0.7: lectura del nivel 1 */
.smv-level1 .smv-tab:not(.smv-tab--home){font-size:14px;line-height:1.03}
.smv-tab-label--split .smv-tab-line--first{font-size:.96em}
.smv-tab-label--split .smv-tab-line--second{font-size:.91em}
@media (min-width:1180px) and (max-width:1399px){.smv-level1 .smv-tab:not(.smv-tab--home){padding-inline:8px;font-size:13px}.smv-tab .smv-tab-indicator{right:5px;top:5px}}

/* v0.7.1: silueta Figma de tabs: esquina superior izquierda recta y superior derecha mas marcada. */
.smv-level1>.smv-tab:not(.smv-tab--home){border-radius:0 14px 0 0}
.smv-level1>.smv-tab--home{border-radius:0 10px 0 0}

/* v0.7.2: mayor separacion horizontal entre tabs del nivel 1, siguiendo la referencia Figma. */
@media (min-width:901px){.smv-level1{column-gap:8px}}

/* v0.7.4: la navegacion usa el ancho institucional completo y los desplegables flotan sobre el slider sin empujarlo. */
@media (min-width:901px){
  .smv-navigation{width:min(var(--smv-shell),100%);padding-inline:0}
  .smv-level1{width:100%}
  .smv-level2-bar,.smv-navigation--mega .smv-mega-panel{width:100%;max-width:none}
}


/* v0.7.8: submenu acordeon exclusivo de movil. En escritorio permanece oculto. */
.smv-mobile-submenu{display:none}
@media (max-width:900px){
  .smv-navigation .smv-level2-bar,
  .smv-navigation--mega .smv-mega-panel{display:none!important}
  .smv-level1{background:#f7f9fc}
  .smv-level1>.smv-tab,
  .smv-level1>.smv-tab--home{
    position:relative;
    min-height:50px;
    margin:0;
    border:0!important;
    border-radius:0!important;
    box-shadow:inset 0 -1px 0 rgba(255,255,255,.16);
  }
  .smv-level1>.smv-tab:not(.smv-tab--home){
    padding:9px 52px 9px 18px;
    justify-content:flex-start;
    text-align:left;
    font-size:13px;
  }
  .smv-level1>.smv-tab .smv-tab-label{
    width:100%;
    min-width:0;
    min-height:0;
    border-bottom:0;
    align-items:flex-start;
    justify-content:center;
    text-align:left;
    overflow:visible;
  }
  .smv-level1>.smv-tab .smv-tab-label--split{gap:0}
  .smv-level1>.smv-tab .smv-tab-line{
    width:auto;
    max-width:100%;
    text-align:left;
    white-space:normal;
    overflow:visible;
    overflow-wrap:break-word;
    word-break:normal;
  }
  .smv-level1>.smv-tab .smv-tab-line--first,
  .smv-level1>.smv-tab .smv-tab-line--second{font-size:1em;line-height:1.08}
  .smv-level1>.smv-tab--home{height:50px;padding:0 18px;justify-content:flex-start}
  .smv-level1>.smv-tab--home>i{font-size:20px}
  .smv-level1>.smv-tab[data-smv-parent] .smv-tab-indicator{display:none!important}
  .smv-level1>.smv-tab[data-smv-parent]:after{
    content:'+';
    position:absolute;
    right:17px;
    top:50%;
    width:24px;
    height:24px;
    transform:translateY(-50%);
    border:1px solid rgba(255,255,255,.82);
    border-radius:50%;
    display:grid;
    place-items:center;
    color:#fff;
    font:700 17px/1 Arial,sans-serif;
  }
  .smv-level1>.smv-tab[data-smv-parent].is-open:after{content:'−';font-size:18px}
  .smv-mobile-submenu:not([hidden]){
    display:block;
    background:#fff;
    border-left:4px solid #65a944;
    box-shadow:inset 0 -1px 0 #dfe6ee;
  }
  .smv-mobile-submenu a{
    min-height:43px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:10px 18px 10px 20px;
    border-bottom:1px solid #e3e8ee;
    color:#16447e;
    background:#fff;
    text-decoration:none;
    font-size:12.5px;
    font-weight:700;
    line-height:1.2;
    text-transform:none;
  }
  .smv-mobile-submenu a:last-child{border-bottom:0}
  .smv-mobile-submenu a i{flex:0 0 auto;color:#7a9abd;font-size:10px}
  .smv-mobile-submenu a:hover,
  .smv-mobile-submenu a:focus-visible{background:#f2f7fb;color:#2560ab}
}
@media (max-width:420px){
  .smv-level1>.smv-tab:not(.smv-tab--home){font-size:12px;padding-left:15px;padding-right:48px}
  .smv-mobile-submenu a{font-size:12px;padding-left:17px}
}


/* v0.7.9: alineación consistente del nivel 1 en móvil.
   Todas las etiquetas arrancan desde la izquierda, incluso las de una sola línea. */
@media (max-width:900px){
  .smv-level1>.smv-tab:not(.smv-tab--home){
    justify-content:flex-start!important;
    text-align:left!important;
  }
  .smv-level1>.smv-tab .smv-tab-label,
  .smv-level1>.smv-tab .smv-tab-label--single,
  .smv-level1>.smv-tab .smv-tab-label--split{
    width:100%!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    text-align:left!important;
    margin:0!important;
  }
  .smv-level1>.smv-tab .smv-tab-line{
    width:100%!important;
    text-align:left!important;
  }
}
