/* === Sección Características Nexserver (Tarifación) === */
.caracteristicas {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 3.5rem 0 2.5rem 0;
  box-sizing: border-box;
}
.contenedor-caracteristicas {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 4px 18px 0 rgba(0, 40, 80, 0.08), 0 1.5px 6px 0 rgba(0,0,0,0.04);
}
.contenedor-caracteristicas {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem;
}
.caracteristicas-titulo, .contenedor-caracteristicas h2 {
  color: #034381;
  font-size: var(--tamano-titulo-mediano);
  font-family: var(--fuente-titulos);
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  padding-top: 0.5rem;
}
/* Centrado del botón CTA en beneficios */
.beneficio-box-azul .boton-beneficio {
  display: block;
  margin: 2rem auto 0 auto;
  text-align: center;
  max-width: 350px;
}
/* === Tarjetas de Beneficios Nexserver === */
.beneficio-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2rem 0 2.5rem 0;
}

.beneficio-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(0, 40, 80, 0.08), 0 1.5px 6px 0 rgba(0,0,0,0.04);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid #e3eaf2;
}
.beneficio-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 28px 0 rgba(0, 40, 80, 0.13), 0 2px 8px 0 rgba(0,0,0,0.06);
  border-color: #b3d4fc;
}
.beneficio-card-icono {
  font-size: 2.6rem;
  color: #1a6ed8;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #eaf3fc;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(26,110,216,0.08);
}
.beneficio-card-titulo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  color: #1a3458;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}
.beneficio-card-texto {
  font-size: 1rem;
  color: #3a4a5d;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .beneficio-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .beneficio-card {
    padding: 1.2rem 0.8rem 1.2rem 0.8rem;
  }
}
/* Barra de navegación principal */
.navegacion {
    background: rgb(95 163 255 / 60%);
    box-shadow: 0 6px 10px 0 rgb(126 126 126);
    border-bottom: none;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    overflow: visible;
    backdrop-filter: blur(8px); /* Suaviza el fondo para efecto glass */
    transition: all 0.3s ease; /* Transición suave para el cambio de tamaño */
}

.navegacion::after {
    display: none;
}

.navegacion .contenedor {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 160px;
    transition: height 0.3s ease; /* Transición suave para el cambio de altura */
}

.logo {
    font-size: 3rem;
    background-color: #cbcbcb;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: font-size 0.3s ease, gap 0.3s ease; /* Transición suave para el texto */
}

.logo-imagen {
    height: 8rem;
    width: auto;
    display: block;
    object-fit: contain;
    margin-right: 0.3rem;
    transition: height 0.3s ease; /* Transición suave para la imagen */
}

/* Clase para navegación reducida (solo en laptops) */
.navegacion.reducida .contenedor {
    height: 80px; /* Mitad del alto original */
}

.navegacion.reducida .logo {
    font-size: 1.5rem; /* Mitad del tamaño de fuente */
    gap: 0.2rem;
}

.navegacion.reducida .logo-imagen {
    height: 4rem; /* Mitad del alto de la imagen */
}

@media (max-width: 768px) {
    .logo-imagen {
        height: 5.5rem;
    }
    .logo {
        font-size: 2.2rem;
    }

    .navegacion {
        box-shadow: 0 0px 0px 0 rgb(126 126 126);
    }

    .navegacion .contenedor {
        height: 120px;
    }

    .pantalla-completa {
        padding-top: 150px;
    }
    
    /* En móviles, deshabilitar la funcionalidad de navegación reducida */
    .navegacion.reducida .contenedor {
        height: 120px; /* Mantener el alto original de móvil */
    }
    
    .navegacion.reducida .logo {
        font-size: 2.2rem; /* Mantener el tamaño original de móvil */
        gap: 0.4rem;
    }
    
    .navegacion.reducida .logo-imagen {
        height: 5.5rem; /* Mantener el alto original de móvil */
    }

    .menu-secciones-sticky {
        top: 120px !important;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--fuente-principal);
    background: linear-gradient(135deg, #05243f, #013a6b, #090c0e);
    overflow-x: hidden;
}

/* Eliminar body::before y agregar padding-top al main para evitar que el contenido quede oculto bajo la barra de navegación */

body::before {
    display: none !important;
}

/* Sección divisiones principales */
.divisiones {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin: 3rem auto 0 auto;
    max-width: 1200px;
    padding: 2rem 1rem;
    box-sizing: border-box;
}

.tarjeta-division {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: 0 4px 24px rgba(27, 45, 77, 0.10);
    padding: 2.5rem 2rem 2rem 2rem;
    flex: 1 1 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tarjeta-division:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(27, 45, 77, 0.18);
}

.icono-division {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 1.2rem;
}

.tarjeta-division h2 {
    font-size: 1.4rem;
    color: #1b2d4d;
    margin-bottom: 0.7rem;
    font-weight: 700;
}

.tarjeta-division p {
    color: #444;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.boton-division {
    display: inline-block;
    background: linear-gradient(90deg, #013a6b 60%, #1b2d4d 100%);
    color: #fff;
    padding: 0.7rem 2.2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(27, 45, 77, 0.10);
    transition: background 0.2s, box-shadow 0.2s;
    border: none;
    outline: none;
}

.boton-division:hover, .boton-division:focus {
    background: linear-gradient(90deg, #1b2d4d 60%, #013a6b 100%);
    box-shadow: 0 4px 16px rgba(27, 45, 77, 0.18);
}

@media (max-width: 900px) {
    .divisiones {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .tarjeta-division {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Eliminar estilos de hero y contenido-hero y agregar pantalla-completa */

/* Elimina: .hero, .contenido-hero, .contenido-hero h1 y sus media queries */

.pantalla-completa {
    min-height: 100vh;
    padding-top: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    box-sizing: border-box;
}

/* Menú sticky de secciones */
.menu-secciones-sticky {
    position: sticky;
    top: 160px;
    z-index: 110;
    background: #bababa;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border-bottom: 1px solid #e0e0e0;
    margin-top: 0;
    transition: top 0.3s ease; /* Transición suave para el cambio de posición */
}

/* Eliminar cualquier margen entre barra y menú sticky */
.navegacion + .menu-secciones-sticky {
    margin-top: 0;
}

.menu-secciones-sticky ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5rem 0;
    list-style: none;
    gap: 2rem;
}
.menu-secciones-sticky li {
    margin: 0;
}
.menu-secciones-sticky a {
    color: #003f7d;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}
.menu-secciones-sticky a:hover,
.menu-secciones-sticky a:focus {
    background: #003f7d;
    color: #bababa;
}

/* Layout principal Nexserver */
.contenido-nexserver {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 140px 1rem 0 1rem;
    display: flex;
    flex-direction: column;
    /*gap: 3rem;*/
}

/* Intro principal */


.intro-nexserver .intro-flex {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 2rem;
    padding: 3rem 0;
}
.intro-nexserver .intro-imagen {
    flex: 1 1 600px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 700px;
}
.intro-nexserver .intro-imagen img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.intro-nexserver .intro-textos {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}

/* Optimización para pantallas grandes */
@media (min-width: 1200px) {
    .intro-nexserver .intro-flex {
        gap: 4rem;
        max-width: 1600px;
        margin: 0 auto;
        padding: 4rem 0;
        align-items: flex-start;
    }
    .intro-nexserver .intro-imagen {
        flex: 1 1 800px;
        max-width: 900px;
    }
    .intro-nexserver .intro-textos {
        flex: 1 1 350px;
        max-width: 450px;
    }
}
.intro-nexserver h5 {
    color:  #959595;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
}
.intro-nexserver h1 {
    color: #3d85cc;
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
    line-height: 1.1;
}
.intro-carousel {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.2rem;
}
.intro-texto p {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    line-height: 1.6;
}
.intro-carousel .carousel-item {
    display: none;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.5;
}
.intro-carousel .carousel-item.activo {
    display: block;
}

/* Beneficios */
.beneficios-nexserver {
    background: #fff;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 0 8rem 0;
    box-sizing: border-box;
}

.beneficios-titulo {
    color: #034381; /* Un color oscuro que contraste bien con el celeste */
    font-family: var(--fuente-secundaria); /* Usar una de las fuentes del proyecto */
    font-size: 2.2rem; /* Tamaño de fuente adecuado */
    font-weight: 600;
    text-align: center;
    margin-bottom: 2.5rem; /* Espacio debajo del título */
    padding-top: 2rem; /* Espacio arriba del título, dentro del fondo celeste */
}

.beneficios-nexserver ul {
    columns: 2;
    column-gap: 2rem;
    list-style: disc inside;
    margin: 0 0 1.5rem 0;
    padding: 0;
    color: #003f7d;
    font-size: 1.1rem;
}
@media (max-width: 700px) {
    .beneficios-nexserver,
    .soluciones-nexserver,
    .contratacion-nexserver.split-layout,
    .casos-exito-nexserver,
    .contactos2-nexserver {
        width: 100% !important;
        left: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        right: auto !important;
        box-sizing: border-box;
    }
    .beneficios-nexserver ul {
        columns: 1;
    }

    .intro-nexserver h1 {
        font-size: 2.5rem;
    }   
}
.beneficios-nexserver .boton-beneficio {
    display: inline-block;
    background: #003f7d;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.beneficios-nexserver .boton-beneficio:hover {
    background: #0056b3;
}

/* Demo acceso */
.demo-nexserver {
    margin-bottom: 190px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    padding: 2rem 1.5rem;
    flex-direction: row-reverse;
}
.demo-nexserver .demo-contenido {
    flex: 2 1 320px;
}
.demo-nexserver .demo-imagen {
    flex: 1 1 220px;
    display: flex;
    justify-content: center;
}
.demo-nexserver .demo-imagen img {
    max-width: 250px;
    width: 100%;
    height: auto;
}

/* === Tarjetas de Características Tarifación === */

.caracteristicas-portal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin: 3.5rem 0 2.5rem 0;
  z-index: 2;
}
.caracteristica-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(0, 40, 80, 0.08), 0 1.5px 6px 0 rgba(0,0,0,0.04);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid #e3eaf2;
  position: relative;
}
.caracteristica-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 28px 0 rgba(0, 40, 80, 0.13), 0 2px 8px 0 rgba(0,0,0,0.06);
  border-color: #b3d4fc;
}
.caracteristica-icono {
  font-size: 2.3rem;
  color: #1a6ed8;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #eaf3fc;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(26,110,216,0.08);
}
.caracteristica-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.12rem;
  color: #1a3458;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}
.caracteristica-item p {
  font-size: 1rem;
  color: #3a4a5d;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .caracteristicas-portal {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 2.2rem;
  }
  .caracteristica-item {
    padding: 1.2rem 0.8rem 1.2rem 0.8rem;
  }
}


/* === Tarjetas de Características Inventarios === */
.caracteristicas-portal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin: 2rem 0 2.5rem 0;
}
.caracteristica-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 18px 0 rgba(0, 40, 80, 0.08), 0 1.5px 6px 0 rgba(0,0,0,0.04);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1.5px solid #e3eaf2;
}
.caracteristica-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 28px 0 rgba(0, 40, 80, 0.13), 0 2px 8px 0 rgba(0,0,0,0.06);
  border-color: #b3d4fc;
}
.caracteristica-icono {
  font-size: 2.3rem;
  color: #1a6ed8;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #eaf3fc;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(26,110,216,0.08);
}
.caracteristica-item h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.08rem;
  color: #1a3458;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}
.caracteristica-item p {
  font-size: 0.98rem;
  color: #3a4a5d;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .caracteristicas-portal {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .caracteristica-item {
    padding: 1.2rem 0.8rem 1.2rem 0.8rem;
  }
}


/* =====================
   Intro Facturas
   ===================== */
.intro-facturas {
    background: linear-gradient(135deg, #05243f 60%, #013a6b 100%);
    padding: 3.5rem 1.5rem 2.5rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(27, 45, 77, 0.10);
    max-width: 1100px;
    margin: 2.5rem auto 2rem auto;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
.intro-facturas h1, .intro-facturas h2 {
    color: #3d85cc;
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    line-height: 1.1;
}
.intro-facturas p {
    color: #e3eaf2;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    font-weight: 400;
}
@media (max-width: 700px) {
    .intro-facturas {
        padding: 2rem 0.5rem 1.2rem 0.5rem;
        border-radius: 0.5rem;
        max-width: 99vw;
    }
    .intro-facturas h1, .intro-facturas h2 {
        font-size: 1.5rem;
    }
    .intro-facturas p {
        font-size: 1rem;
    }
}

.demo-nexserver h2 {
    color: #003f7d;
    margin-bottom: 0.5rem;
}
.demo-nexserver .boton-demo {
    display: inline-block;
    background: #003f7d;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: background 0.2s;
}
.demo-nexserver .boton-demo:hover {
    background: #0056b3;
}

/* Empresas logos */
.empresas-nexserver {
    text-align: center;
    padding-top: 5rem;
}
.empresas-nexserver h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
}
.empresas-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1100px;
    margin: 2rem auto 2rem auto;
    width: 95vw;
}
.empresas-carousel {
    overflow: hidden;
    width: 100%;
    max-width: 950px;
}
.empresas-logos {
    display: flex;
    flex-direction: row;
    gap: 3.5rem;
    transition: transform 0.5s cubic-bezier(.4,1.3,.5,1);
    will-change: transform;
    align-items: center;
}
.empresas-logos img {
    max-height: 80px;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(0.2) brightness(0.95);
    transition: filter 0.2s, transform 0.2s;
    background: #fff;
    border-radius: 0.4rem;
    padding: 0.3rem 0.7rem;
}
.empresas-logos img:hover {
    filter: none;
    transform: scale(1.08);
}
.empresas-carousel-btn {
    background: #fff;
    border: none;
    color: #034381;
    font-size: 2.2rem;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    cursor: pointer;
    position: relative;
    z-index: 2;
    margin: 0 0.5rem;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}
.empresas-carousel-btn:hover {
    background: #009bb3;
    color: #fff;
}
@media (max-width: 900px) {
    .empresas-carousel-wrapper {
        max-width: 99vw;
    }
    .empresas-carousel {
        max-width: 99vw;
    }
    .empresas-logos {
        gap: 1.2rem;
    }
    .empresas-logos img {
        max-height: 54px;
        max-width: 100px;
        padding: 0.2rem 0.3rem;
    }
}

/* Soluciones */
.soluciones-nexserver {
    /*background: #fff;*/
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    position: relative;
    box-sizing: border-box;
    padding: 1.5rem 0 2.5rem 0;
}
.soluciones-nexserver h1 {
    color: #003f7d;
    margin-bottom: 2rem;
    font-size: 2rem;
}
.soluciones-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.solucion-item {
    background: #fff;
    border-radius: 0.7rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.10);
    padding: 1.5rem 1rem;
    flex: 1 1 220px;
    max-width: 260px;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    transition: box-shadow 0.2s;
}
.solucion-item:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.22), 0 4px 16px rgba(0,0,0,0.13);
}
.solucion-item h4 {
    color: #003f7d;
    margin: 0 0 0.3rem 0;
    font-size: 1.1rem;
}
.solucion-item p {
    color: #333;
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
}
.solucion-item a {
    color: #003f7d;
    text-decoration: underline;
    font-weight: 600;
    font-size: 1rem;
    margin-top: auto;
    transition: color 0.2s;
}
.solucion-item a:hover {
    color: #0056b3;
}

/* Responsividad general */
@media (max-width: 900px) {
    .intro-nexserver .intro-flex,
    .demo-nexserver {
        flex-direction: column;
        align-items: stretch;
    }
    .intro-nexserver .intro-flex {
        padding: 2rem 0;
    }
    .intro-nexserver .intro-imagen {
        flex: 1 1 450px;
        max-width: 550px;
        margin: 0 auto;
    }
    .intro-nexserver .intro-imagen img {
        max-width: 100%;
        height: auto;
    }
    .intro-nexserver .intro-textos {
        max-width: 500px;
        margin: 0 auto;
    }
    .soluciones-lista {
        flex-direction: column;
        align-items: center;
    }
    .contenido-nexserver {
        padding: 220px 0.3rem 0 0.3rem;
        gap: 2rem;
    }
    .beneficios-nexserver {
        padding: 0 0 2rem 0;
    }
}
@media (max-width: 600px) {
    .contenido-nexserver {
        padding: 220px 0.3rem 0 0.3rem;
        gap: 2rem;
    }
    .beneficios-nexserver,
    .soluciones-nexserver,
    .demo-nexserver {
        /*padding: 1rem 0.3rem;*/
        margin-top: -50px;
    }
    .empresas-logos {
        gap: 0.7rem;
    }
    .solucion-item {
        max-width: 100%;
        min-width: 0;
    }
}

/* Fondo celeste detrás del box de beneficios */
.beneficio-fondo-celeste {
    background: #009bb3;
    border-radius: 0.5rem;
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 2rem auto 0 auto;
    min-height: 350px;
    z-index: 1;
    left: 0;
}

/* Box azul oscuro sobre el fondo celeste */
.beneficio-box-azul {
    background: #034381;
    border-radius: 0.5rem;
    box-shadow: 0 8px 8px rgba(0,0,0,0.8);
    color: #fff;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    position: relative;
    top: 20px;
    left: 0;
    z-index: 2;
    width: 100%;
    min-width: 0;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Lista de beneficios con iconos */
.beneficio-lista {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    width: 100%;
}
.beneficio-lista li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 1rem;
    margin-bottom: 0.7rem;
    line-height: 1.5;
    color: #fff;
}

/* Icono check reutilizable */
.icono-check {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    background: none;
}
.icono-check::before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%2300e6c3" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.285 6.709l-11.285 11.292-5.285-5.292 1.414-1.414 3.871 3.879 9.871-9.879z"/></svg>');
    background-size: 22px 22px;
    background-repeat: no-repeat;
}

/* Botón minimalista tipo box */
.boton-box {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    padding: 0.7rem 2.2rem;
    border-radius: 0.2rem;
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    box-shadow: none;
}
.boton-box:hover, .boton-box:focus {
    background: #fff;
    color: #034381;
    border-color: #fff;
}

@media (max-width: 900px) {
    .beneficio-fondo-celeste {
        width: 98%;
        min-height: 320px;
    }
    .beneficio-box-azul {
        left: 0;
        top: 20px;
        width: 98%;
        padding: 1.5rem 1rem 1rem 1rem;
    }
}
@media (max-width: 700px) {
    .beneficio-fondo-celeste {
        width: 100%;
        left: 0;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0.2rem;
    }
    .beneficio-box-azul {
        width: 95%;
        left: 0;
        margin: 0 auto 2rem auto;
        padding: 1.2rem 0.5rem 1rem 0.5rem;
        border-radius: 0.2rem;
        top: 10px;
        min-width: 0;
        max-width: 100%;
    }
    .boton-box {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0.7rem 0;
        box-sizing: border-box;
        overflow-x: auto;
    }
}

/* Menú hamburguesa (mobile) */
.menu-hamburguesa {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    z-index: 120;
    margin: 0 0 0 1rem;
}
.menu-hamburguesa span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 3px 0;
    background: #003f7d;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 700px) {
    .menu-secciones-sticky {
        position: sticky;
        top: 0;
        z-index: 120;
    }
    .menu-secciones-sticky ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #bababa;
        box-shadow: 0 8px 24px rgba(0,0,0,0.10);
        flex-direction: column;
        margin: 0;
        padding: 0;
        gap: 0rem;
    }
    .menu-secciones-sticky ul.menu-abierto, 
    .menu-secciones-sticky .menu-abierto {
        display: flex !important;
    }
    .menu-secciones-sticky li {
        width: 100%;
        text-align: left;
        margin: 0;
    }
    .menu-secciones-sticky a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-radius: 0;
    }
    .menu-hamburguesa {
        display: flex;
    }
}

/* Animación hamburguesa abierta */
.menu-hamburguesa.abierto span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-hamburguesa.abierto span:nth-child(2) {
    opacity: 0;
}
.menu-hamburguesa.abierto span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Fondo celeste y título de la sección soluciones */
.soluciones-fondo-celeste {
    background: #009bb3;
    border-radius: 0.5rem;
    position: relative;
    width: 90%;
    max-width: 900px;
    margin: 2rem auto 0 auto;
    min-height: 260px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2.5rem 1rem 4.5rem 1rem;
}
.soluciones-titulo {
    color: #fff;
    font-family: var(--fuente-titulos);
    font-size: 2.7rem;
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    margin: 0 0 1.5rem 0;
}
.soluciones-imagen-personas {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    margin-top: -1.5rem;
}
.soluciones-imagen-personas img {
    max-width: 520px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.18));
}

/* Tarjetas superpuestas */
.soluciones-lista.superpuesta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    position: relative;
    top: -120px;
    z-index: 3;
    width: 96%;
    margin: 0 auto 2rem auto;
}

@media (max-width: 900px) {
    .soluciones-fondo-celeste {
        width: 98%;
        min-height: 200px;
        padding: 1.5rem 0.5rem 3.5rem 0.5rem;
    }
    .soluciones-imagen-personas img {
        max-width: 340px;
    }
    .soluciones-lista.superpuesta {
        gap: 1rem;
        top: -60px;
        width: 99%;
    }
}
@media (max-width: 600px) {
    .soluciones-fondo-celeste {
        width: 98%;
        min-height: 0;
        border-radius: 0.2rem;
        padding: 1rem 0.2rem 2.5rem 0.2rem;
    }
    .soluciones-titulo {
        font-size: 1.3rem;
        margin-bottom: 0.7rem;
    }
    .soluciones-imagen-personas img {
        max-width: 380px;
        position: relative;
        top: 40px;
    }
    .soluciones-lista.superpuesta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        top: -20px;
        width: 100%;
    }
}

/* =====================
   Modalidad de contratación y alcances
   ===================== */
.contratacion-nexserver {
    background: #f7fafc;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    position: relative;
    padding: 4rem 0 3rem 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding-bottom: 7rem;
}

.contratacion-item {
    background: transparent;
    border-radius: 0.7rem;
    box-shadow: none;
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    text-align: left;
    color: #fff;
    flex: 1 1 220px;
    max-width: 260px;
    min-width: 180px;
    transition: box-shadow 0.2s;
}
.contratacion-item:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.icono-contratacion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #b2e6f2;
    color: #034381;
    border-radius: 50%;
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
    margin-right: 0.7rem;
}
.icono-contratacion i {
    display: block;
    font-size: 1.6rem;
    line-height: 1;
}
.contratacion-imagen {
    margin-top: 2.5rem;
    text-align: center;
}
.contratacion-imagen img {
    max-width: 340px;
    width: 90%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}

@media (max-width: 900px) {
    .contratacion-beneficios {
        gap: 1rem;
    }
    .contratacion-nexserver {
        padding: 2.5rem 0 1.5rem 0;
    }
}
@media (max-width: 700px) {
    .contratacion-beneficios {
        flex-direction: column;
        align-items: center;
    }
    .contratacion-item {
        max-width: 99vw;
        min-width: 0;
    }
}

/* =====================
   ¿Por qué nosotros?
   ===================== */
.porque-nexserver {
    background: #f8fafc;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    position: relative;
    padding: 4rem 0 3rem 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.porque-header {
    text-align: center;
    margin-bottom: 2rem;
}
.porque-header h2 {
    color: #034381;
    font-size: 2.2rem;
    font-family: var(--fuente-secundaria);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.porque-contenido {
    max-width: 900px;
    width: 95%;
    margin: 0 auto;
    text-align: center;
}
.porque-texto {
    background: #e3e3e3;
    border-radius: 0.7rem;
    padding: 2.5rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
    border-left: 4px solid #009bb3;
}
.porque-texto p {
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.porque-texto p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

@media (max-width: 900px) {
    .porque-texto {
        padding: 2rem;
    }
}

@media (max-width: 700px) {
    .porque-nexserver {
        padding: 3rem 0 2rem 0;
    }
    
    .porque-texto {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .porque-texto p {
        font-size: 1.1rem;
    }
}

/* =====================
   Ejecutivo de cuenta dedicado (nuevo estilo tipo split)
   ===================== */
.ejecutivo-nexserver {
    background: #009bb3;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    position: relative;
    padding: 4rem 0 3rem 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 7rem;
}
.ejecutivo-split {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    width: 100%;
    max-width: 1100px;
    position: relative;
    min-height: 420px;
}
.ejecutivo-imagen {
    flex: 1 1 50%;
    min-width: 320px;
    display: flex;
    align-items: flex-end;
    position: relative;
    z-index: 1;
    background: #e6f3ff;
    border-radius: 1rem 0 0 1rem;
    overflow: hidden;
}
.ejecutivo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
    border-radius: 1rem 0 0 1rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.ejecutivo-bloque-derecha {
    flex: 1 1 50%;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    background: transparent;
    padding: 0 0 0 0;
}
.ejecutivo-bloque-azul {
    background: #034381;
    color: #fff;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    border-radius: 0 1rem 0 0;
    min-height: 160px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.ejecutivo-subtitulo {
    font-size: 1rem;
    letter-spacing: 1.5px;
    color: #b2e6f2;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
    font-weight: 500;
}
.ejecutivo-bloque-azul h2 {
    font-size: 2.3rem;
    font-family: var(--fuente-titulos);
    font-weight: 400;
    margin: 0;
    line-height: 1.1;
}
.ejecutivo-tarjeta {
    background: #fff;
    border-radius: 0 0 1rem 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.13);
    padding: 2.2rem 2.5rem 2.2rem 2.5rem;
    position: absolute; 
    top: 230px;
    left: 15px;
    min-width: 320px;
    max-width: 95%;
    z-index: 2;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.ejecutivo-tarjeta-titulo {
    font-weight: 600;
    color: #222;
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
}
.ejecutivo-lista-beneficios {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ejecutivo-lista-beneficios li {
    color: #222;
    font-size: 1.08rem;
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.icono-check-rojo {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    background: url('data:image/svg+xml;utf8,<svg fill="%23e74c3c" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20.285 6.709l-11.285 11.291-5.285-5.291 1.414-1.414 3.871 3.877 9.871-9.877z"/></svg>') no-repeat center center/contain;
    margin-right: 0.3em;
}

@media (max-width: 1100px) {
    .ejecutivo-split {
        flex-direction: column;
        min-height: unset;
    }
    .ejecutivo-imagen, .ejecutivo-bloque-derecha {
        min-width: 0;
        border-radius: 1rem 1rem 0 0;
    }
    .ejecutivo-imagen img {
        border-radius: 1rem 1rem 0 0;
        min-height: 220px;
    }
    .ejecutivo-bloque-azul {
        border-radius: 0 0 0 0;
    }
    .ejecutivo-tarjeta {
        position: static;
        margin: 0 auto;
        left: 0;
        top: 0;
        min-width: 0;
        width: 95%;
        max-width: 600px;
        top: 0;
        margin-top: 2rem;
    }
}
@media (max-width: 700px) {
    .ejecutivo-nexserver {
        padding: 2rem 0 1.5rem 0;
    }
    .ejecutivo-bloque-azul {
        padding: 1.5rem 1rem 1.2rem 1rem;
    }
    .ejecutivo-tarjeta {
        width: 98%;
        max-width: 100vw;
        min-width: 0;
        box-sizing: border-box;
        padding: 1.2rem 1rem 1.2rem 1rem;
    }
    .ejecutivo-bloque-azul h2 {
        font-size: 1.4rem;
    }
    .ejecutivo-subtitulo {
        font-size: 0.9rem;
    }
}

/* =====================
   Casos de éxito
   ===================== */
.casos-exito-nexserver {
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    position: relative;
    padding: 4rem 0 3rem 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.casos-exito-nexserver h2 {
    color: #ffffff;
    font-size: 2.2rem;
    font-family: var(--fuente-secundaria);
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.casos-exito-desc {
    color: #009bb3;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
}
.casos-exito-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
}
.caso-exito-item {
    background: #f7fafc;
    border-radius: 0.7rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    padding: 2rem 1.5rem;
    flex: 1 1 320px;
    min-width: 220px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    transition: box-shadow 0.2s;
}
.caso-exito-item.activo {
    border: 2px solid #009bb3;
    box-shadow: 0 8px 32px rgba(0,155,179,0.10);
}
.caso-exito-item h6 {
    color: #034381;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .casos-exito-carousel {
        gap: 1rem;
    }
}
@media (max-width: 700px) {
    .casos-exito-carousel {
        flex-direction: column;
        align-items: center;
    }
    .caso-exito-item {
        max-width: 99vw;
        min-width: 0;
    }
}


/* Split layout para Modalidad de contratación */
.contratacion-nexserver.split-layout {
    display: flex;
    flex-direction: row;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    min-height: 520px;
    background: transparent;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}
.contratacion-bloque-azul {
    background: #034381;
    color: #fff;
    flex: 0 0 60%;
    padding: 3.5rem 2.5rem 3.5rem 4vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
    min-width: 320px;
}
.contratacion-header h5 {
    color: #b2e6f2;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contratacion-beneficios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
    width: 100%;
    max-width: 700px;
}
.contratacion-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.contratacion-item p {
    font-size: 0.98rem;
    color: #e0f7fa;
    margin: 0;
}

.contratacion-bloque-celeste {
    flex: 0 0 40%;
    background: #009bb3;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 220px;
    overflow: visible;
}
.contratacion-imagen-superpuesta {
    position: absolute;
    top: 2.5rem;
    left: -70px;
    z-index: 3;
    /*box-shadow: 0 8px 32px rgba(0,0,0,0.13);*/
    border-radius: 0.5rem;
    /*background: #fff;*/
    padding: 0.5rem;
}
.contratacion-imagen-superpuesta img {
    max-width: 320px;
    width: 32vw;
    border-radius: 0.5rem;
    display: block;
}

@media (max-width: 1100px) {
    .contratacion-bloque-azul {
        padding: 2.2rem 1.2rem 2.2rem 2vw;
    }
    .contratacion-imagen-superpuesta {
        left: -30px;
    }
}
@media (max-width: 900px) {
    .contratacion-nexserver.split-layout {
        flex-direction: column;
        min-height: unset;
    }
    .contratacion-bloque-azul, .contratacion-bloque-celeste {
        flex: unset;
        min-width: 0;
        width: 100%;
        padding: 2rem 0.5rem;
    }
    .contratacion-imagen-superpuesta {
        position: static;
        margin: 1.5rem auto 0 auto;
        left: 0;
        top: 0;
        display: flex;
        justify-content: center;
        background: #fff;
    }
    .contratacion-imagen-superpuesta img {
        width: 90vw;
        max-width: 320px;
    }
    .contratacion-beneficios {
        grid-template-columns: 1fr;
        gap: 1.2rem 0;
    }
}

/* Ajuste layout imagen arriba a la derecha y padding izquierdo en la tarjeta */
.contratacion-nexserver.ajustada .contratacion-bloque-azul {
    background: #034381;
    color: #fff;
    padding-left: 6vw;
    padding-right: 2vw;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    border-radius: 0.7rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    position: relative;
    max-width: 950px;
    margin: 3rem auto 2rem auto;
}
.contratacion-header-imagen {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    gap: 2.5rem;
}
.contratacion-header {
    flex: 1 1 60%;
    min-width: 220px;
}
.contratacion-header h2 {
    color: #fff;
    font-size: 2.5rem;
    font-family: var(--fuente-titulos);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.contratacion-imagen-superpuesta.arriba-derecha {
    position: relative;
    top: 0;
    right: 0;
    margin-left: 2.5rem;
    margin-top: -1.5rem;
    z-index: 3;
    /*box-shadow: 0 8px 32px rgba(0,0,0,0.13);*/
    border-radius: 0.5rem;
    /*background: #fff;*/
    padding: 0.5rem;
    max-width: 270px;
    min-width: 180px;
    display: flex;
    align-items: flex-start;
}
.contratacion-imagen-superpuesta.arriba-derecha img {
    max-width: 300px;
    position: relative;
    top: -150px;
    right: 70px;
    border-radius: 0.5rem;
    display: block;
}
.lista-padding {
    padding-left: 2.5rem;
    padding-right: 0.5rem;
    margin-top: 2.5rem;
    top: -160px;
    position: relative;
}
@media (max-width: 1100px) {
    .contratacion-nexserver.ajustada .contratacion-bloque-azul {
        padding-left: 2vw;
        padding-right: 1vw;
    }
    .lista-padding {
        padding-left: 1rem;
        top: -20px;
        position: relative;
    }
    .contratacion-header h2, .contratacion-header h5 {
        text-align: center;
    }
}
@media (max-width: 900px) {
    .contratacion-header-imagen {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
    .contratacion-imagen-superpuesta.arriba-derecha {
        /*margin-left: 0;
        margin-top: 0.5rem;*/
        max-width: 99vw;
        min-width: 0;
        align-self: flex-start;
    }
    .contratacion-imagen-superpuesta.arriba-derecha img {
        width: 90vw;
        max-width: 250px;
        top: 0px;
        right: 0px;
    }
    .lista-padding {
        padding-left: 0.5rem;
    }
    .contratacion-nexserver.ajustada .contratacion-bloque-azul {
        padding: 1.2rem 0.5rem;
        margin: 1.5rem 0 1.5rem 0;
    }
}

@media (max-width: 700px) {

    .intro-nexserver {
        top: -100px;
        position: relative;
    }
    .intro-nexserver .intro-flex {
        padding: 1.5rem 0;

    }
    .intro-nexserver .intro-imagen {
        flex: 1 1 20px;
        max-width: 380px;
        margin: 0 auto 1rem auto;
    }
    .intro-imagen img {
        width: 100%;
        max-width: 380px;
        height: auto;
        display: block;
        margin: 0 auto 1rem auto;
        border-radius: 6px;
    }
    .intro-nexserver .intro-textos {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* =====================
   Slider Casos de Éxito
   ===================== */
.casos-exito-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    gap: 0.5rem;
}
.casos-exito-carousel {
    overflow: hidden;
    width: 100%;
    max-width: 520px;
    min-height: 260px;
    position: relative;
    display: flex;
    transition: height 0.3s;
}
.caso-exito-item {
    min-width: 90%;
    max-width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.4s, transform 0.5s cubic-bezier(.77,0,.18,1);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}
.caso-exito-item.activo {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    z-index: 2;
    pointer-events: auto;
}
.caso-exito-item.saliendo-izq {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}
.caso-exito-item.saliendo-der {
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
}
.casos-exito-btn {
    background: #034381;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    transition: background 0.2s, color 0.2s, transform 0.2s;
    margin: 0 0.5rem;
    z-index: 10;
}
.casos-exito-btn:hover, .casos-exito-btn:focus {
    background: #009bb3;
    color: #fff;
    transform: scale(1.08);
}
@media (max-width: 700px) {
    .casos-exito-slider {
        flex-direction: column;
        gap: 1rem;
    }
    .casos-exito-carousel {
        max-width: 99vw;
        min-width: 0;
    }
    .casos-exito-btn {
        width: 2rem;
        height: 2rem;
        font-size: 1.2rem;
        margin: 0 0.2rem;
    }
}

/* =====================
   Contactos2: estilo cuadrícula con franja azul e imagen
   ===================== */
.contactos2-nexserver {
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    background: #fff;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    min-height: 520px;
    padding: 4rem 0 4rem 0;
    box-sizing: border-box;
    overflow-x: hidden;
}
.contactos2-contenido {
    position: relative;
    z-index: 2;
    flex: 1 1 600px;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-width: 320px;
}
.contactos2-titulo {
    font-family: var(--fuente-titulos);
    font-size: 2.7rem;
    color: #222;
    font-weight: 400;
    margin-bottom: 2.5rem;
    margin-left: 0.5rem;
    letter-spacing: 1px;
}
.contactos2-franja-azul {
    position: absolute;
    top: 60%;
    left: 0;
    width: 100vw;
    height: 220px;
    background: #034381;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 0.5rem;
}
.contactos2-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 520px;
    margin-left: 0.5rem;
}
.contactos2-card {
    background: #fff;
    border-radius: 0.3rem;
    box-shadow: 0 6px 24px rgba(0,0,0,0.5);
    padding: 2.2rem 1.2rem 1.7rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 160px;
    min-height: 170px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.contactos2-card:hover {
    box-shadow: 0 12px 32px rgba(0, 155, 179, 0.13);
    transform: translateY(-4px) scale(1.03);
}
.contactos2-icono {
    color: #034381;
    font-size: 2.7rem;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contactos2-card-titulo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}
.contactos2-card-texto {
    font-size: 1.05rem;
    color: #222;
    font-weight: 400;
    line-height: 1.5;
}
.contactos2-card-texto a {
    color: #009bb3;
    text-decoration: underline;
    word-break: break-all;
}
.contactos2-imagen {
    flex: 0 0 520px;
    max-width: 600px;
    min-width: 340px;
    margin-left: -80px;
    margin-top: 1.5rem;
    position: relative;
    z-index: 3;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-radius: 0.7rem;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 420px;
}
.contactos2-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0.7rem;
}
@media (max-width: 1100px) {
    .contactos2-nexserver {
        flex-direction: column;
        align-items: center;
        min-height: unset;
        padding: 2.5rem 0 2.5rem 0;
    }
    .contactos2-contenido {
        max-width: 99vw;
        align-items: center;
    }
    .contactos2-titulo {
        text-align: center;
        margin-left: 0;
    }
    .contactos2-franja-azul {
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100vw;
    }
    .contactos2-grid {
        margin-left: 0;
    }
    .contactos2-imagen {
        margin: 2.5rem auto 0 auto;
        max-width: 420px;
        min-width: 0;
        height: 320px;
    }
}
@media (max-width: 700px) {
    .contactos2-nexserver {
        padding: 1.2rem 0 1.2rem 0;
    }
    .contactos2-titulo {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    .contactos2-franja-azul {
        height: 900px;
    }
    .contactos2-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 1.1rem;
        max-width: 99vw;
    }
    .contactos2-card {
        min-width: 0;
        min-height: 120px;
        padding: 1.2rem 0.7rem 1rem 0.7rem;
    }
    .contactos2-imagen {
        margin: 1.2rem auto 0 auto;
        max-width: 99vw;
        height: 180px;
    }
}

/* Kebab Menu (tres puntos) */
.menu-kebab {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1010;
}

.kebab-button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7); /* Color más sutil */
    font-size: 1.6rem; /* Tamaño un poco más pequeño */
    cursor: pointer;
    padding: 0.7rem; /* Aumentar padding para mejor circularidad */
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kebab-button:hover,
.kebab-button:focus {
    background-color: rgba(255, 255, 255, 0.2); /* Fondo sutil al pasar el ratón */
    color: #fff; /* Vuelve a blanco en hover/focus */
    outline: none;
}

.kebab-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 0.4rem;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    min-width: 180px;
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    z-index: 1000;
}

.kebab-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.kebab-dropdown li a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.kebab-dropdown li a:hover,
.kebab-dropdown li a:focus {
    background-color: #f0f0f0;
    color: #034381; /* Color de texto Nexserver */
}

@media (max-width: 700px) {
    .menu-kebab {
        right: 1rem; /* Mover un poco más a la derecha en mobile */
    }
}

html {
  scroll-behavior: smooth;
}

/* ===== UTILIDAD: BOTÓN VOLVER ARRIBA ===== */
.boton-volver-arriba {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 50%;
  background: var(--color-primario, #005fa3);
  color: var(--color-blanco, #fff);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
  z-index: 1000;
}
.boton-volver-arriba:focus {
  outline: 2px solid var(--color-secundario, #ffb300);
}
.boton-volver-arriba.visible {
  opacity: 1;
  pointer-events: auto;
}
.boton-volver-arriba:hover {
  background: var(--color-primario-hover, #003f6b);
}
@media (max-width: 600px) {
  .boton-volver-arriba {
    right: 1rem;
    bottom: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }
}

