/* ========================================================
   RESET Y BASE
   ======================================================== */
/* Elimina los márgenes y paddings por defecto que vienen en todos los navegadores,
   así empezamos desde cero sin que los navegadores nos muevan los elementos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Hace que el padding y border se incluyan dentro del ancho total */
}

/* Estilos generales para el cuerpo de la página */
body {
    font-family: 'Segoe UI', Arial, sans-serif; /* Fuente principal, si no carga usa Arial */
    max-width: 1920px; /* Ancho máximo para pantallas muy grandes */
    margin: auto; /* Centra el contenido horizontalmente */
    overflow-x: hidden; /* Evita que aparezca scroll horizontal */
    background: #ffffff; /* Fondo blanco por defecto */
}

/* ========================================================
   HEADER (Barra de navegación superior)
   ======================================================== */
/* El header es el contenedor principal de toda la barra de navegación.
   Está fijo arriba (sticky) para que siempre se vea al hacer scroll */
.header {
    position: sticky; /* Se queda pegado arriba al hacer scroll */
    top: 0; /* Arriba del todo */
    width: 100%; /* Ocupa todo el ancho */
    height: 120px; /* Altura fija para que no se mueva */
    background: #fff; /* Fondo blanco */
    display: flex; /* Usa flexbox para alinear sus hijos */
    justify-content: space-between; /* El logo a la izquierda y el menú a la derecha */
    align-items: center; /* Centra verticalmente todo */
    padding: 0 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08); /* Sombra suave abajo */
    z-index: 1000; /* Se asegura que esté por encima de todo */
}

/* Contenedor interno del header que limita el ancho máximo */
.header .container {
    width: 100%;
    max-width: 1450px; /* No se estira más allá de 1450px */
    height: 120px; /* Misma altura que el header */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    padding: 15px 5px; /* CORREGIDO: antes tenía "15 5px" sin la unidad px */
}

.logo img {
    width: 150px; /* Tamaño del logo */
    height: auto; /* Mantiene la proporción de la imagen */
    display: block; /* Evita espacios extra debajo de la imagen */
    transition: transform .3s; /* Animación suave al pasar el mouse */
}

.logo img:hover {
    transform: scale(1.05); /* El logo crece un 5% al pasar el mouse */
}

/* ===== NAVEGACIÓN ===== */
.navbar {
    flex: 1; /* Ocupa el espacio disponible entre el logo y los botones */
    display: flex;
    justify-content: center; /* Centra los enlaces del menú */
    margin: 0 25px;
}

.navbar ul {
    display: flex;
    gap: 22px; /* Espacio entre cada enlace del menú */
    list-style: none; /* Quita los puntitos de las listas */
}

.navbar ul li {
    list-style: none;
}

/* Estilo de cada enlace del menú */
.navbar ul li a {
    text-decoration: none; /* Quita el subrayado */
    color: #333; /* Color gris oscuro */
    font-size: 20px;
    font-weight: 600; /* Semi-negrita */
    transition: .3s; /* Animación suave al cambiar color */
}

/* Cuando el mouse pasa por encima o el enlace está activo (la página actual) */
.navbar ul li a:hover,
.navbar ul li a.active {
    color: #005BFF; /* Cambia a azul institucional */
}

/* ===== DROPDOWN (Menú desplegable) ===== */
.dropdown {
    position: relative; /* Necesario para posicionar el menú desplegable abajo */
}

.dropdown>a {
    display: flex;
    align-items: center;
    gap: 6px; /* Espacio entre el texto y la flechita */
}

/* El menú que se despliega al hacer hover sobre "Soluciones" */
.dropdown-menu {
    position: absolute; /* Se posiciona relativo al .dropdown */
    top: 100%; /* Justo debajo del enlace */
    left: 0;
    width: 200px;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 10px 25px rgba(0, 0, 0, .12); /* Sombra para que flote */
    opacity: 0; /* Invisible por defecto */
    visibility: hidden; /* También oculto (dos formas de ocultarlo) */
    transform: translateY(10px); /* Un poco más abajo para el efecto de aparición */
    transition: .3s; /* Animación suave */
    z-index: 999; /* Encima de casi todo */
}

/* Al pasar el mouse sobre el .dropdown, el menú se muestra */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Vuelve a su posición original */
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    transition: .3s;
}

.dropdown-menu li a:hover {
    background: #ffffff;
    color: #005BFF;
}

/* ===== BOTONES DEL HEADER (WhatsApp) ===== */
.header-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0; /* Evita que se encoja si falta espacio */
}

.header-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #2671FD; /* Azul del botón */
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px; /* Forma de píldora */
    font-size: 18px;
    font-weight: 600;
    transition: .3s;
    white-space: nowrap; /* Evita que el texto se divida en varias líneas */
    gap: 10px;
}

.header-buttons a i {
    font-size: 20px; /* Tamaño del ícono de WhatsApp */
}

.header-buttons a:hover {
    background: #1557d1; /* Azul más oscuro al pasar el mouse */
    transform: translateY(-2px); /* Sube un poco al hacer hover */
    box-shadow: 0 8px 18px rgba(38, 113, 253, .30); /* Sombra azul */
}

/* ===== MENÚ HAMBURGUESA (para móvil) ===== */
.menu-toggle {
    display: none; /* Oculto por defecto (solo se ve en móvil) */
    background: none;
    border: none;
    color: #0B1F4D;
    font-size: 26px;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}

.cerrar-menu {
    display: none; /* El botón para cerrar el menú en móvil */
}

/* Cuando se activa el menú, el body no hace scroll */
body.sin-scroll {
    overflow: hidden;
}

/* Fondo oscuro que aparece detrás del menú en móvil */
.overlay-menu {
    display: none; /* Oculto por defecto */
    position: fixed;
    inset: 0; /* Ocupa toda la pantalla (top, right, bottom, left = 0) */
    background: rgba(5, 14, 37, 0.75); /* Fondo oscuro semi-transparente */
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
}

.overlay-menu.activo {
    opacity: 1;
    visibility: visible;
}

/* ========================================================
   HERO (Sección principal de la página de inicio)
   ======================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 90vh; /* Ocupa el 90% de la altura de la pantalla */
    background-image: url("../IMG/fondo.jpg");
    background-size: cover; /* La imagen cubre todo el espacio */
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Video de fondo */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* El video cubre todo sin deformarse */
    z-index: 1;
    opacity: 0.39; /* Transparente para que se vea la imagen de fondo también */
}

/* Capa oscura sobre el video para que el texto sea legible */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 26, 61, .55); /* Azul oscuro semi-transparente */
    z-index: 1; /* Encima del video pero debajo del texto */
}

/* Contenedor del contenido del hero */
.hero-content {
    position: relative;
    z-index: 2; /* Encima del overlay y del video */
    width: 90%;
    max-width: 1000px;
    text-align: center;
    color: #fff;
}

/* Etiqueta pequeña de "SPTECH" en el hero */
.hero-tag {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .4);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 25px;
}

/* Título principal del hero - CORREGIDO: antes tenía 10px, ahora usa el estilo específico */
.hero h1 {
    font-size: 10px; /* ESTO ESTÁ MAL - Deberías eliminar esta línea, ya que el .hero .contenido h1 lo sobreescribe */
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #fff;
}

/* Párrafo del hero */
.hero p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 45px;
    color: #fff;
}

/* ----- ESTILOS ESPECÍFICOS DEL CONTENIDO DEL HERO ----- */
/* Estos son los estilos que realmente se aplican al texto del hero */
.hero .contenido h1 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #ffffff;
}

.hero .contenido p {
    font-size: 25px;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #ffffff !important; /* !important para asegurar que se aplique */
}

.hero .contenido .btn-principal {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: #0D5CFF;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: bold;
    transition: .3s;
}

.hero .contenido .btn-principal:hover {
    background: #0047d6;
    transform: translateY(-2px);
}

/* ========================================================
   HERO2 (Segunda versión del hero para otras páginas)
   ======================================================== */
.hero2 {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero2-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay2 {
    position: absolute;
    inset: 0;
    background-color: rgba(11, 19, 36, 0.75);
    z-index: 1;
}

.contenido2 {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
}

.contenido2 h1 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #ffffff;
}

/* Texto gris dentro del h1 de hero2 */
.contenido2 h1 .sp {
    color: #94a3b8;
}

/* Texto azul dentro del h1 de hero2 */
.contenido2 h1 .tech {
    color: #013ff8;
}

.contenido2 p {
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #f3f4f6;
}

/* ========================================================
   BOTONES
   ======================================================== */
.btn-principal {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: #0D5CFF;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 22px;
    font-weight: bold;
    transition: .3s;
}

.btn-principal:hover {
    background: #0047d6;
    transform: translateY(-2px);
    /* background-color: #1d4ed8; */ /* ESTO ESTÁ DUPLICADO - elimina esta línea */
}

/* Botón "Sobre Nosotros" - más grande y con sombra */
.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 55px;
    background: #005BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 60px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .4px;
    transition: .3s ease;
    box-shadow: 0 10px 30px rgba(0, 91, 255, .25);
}

.about-btn:hover {
    background: #0048ca;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 91, 255, .35);
}

/* Botón "Volver" - estilo outline (transparente con borde) */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: transparent;
    color: #005BFF;
    border: 2px solid #005BFF;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background-color: #005BFF;
    color: #ffffff;
    transform: translateX(-3px); /* Se mueve un poco a la izquierda al hacer hover */
}

/* ========================================================
   CARDS WRAPPER (Tarjetas de paquetes/servicios)
   ======================================================== */
.cards-wrapper {
    display: flex;
    flex-wrap: wrap; /* Si no caben, bajan a la siguiente línea */
    justify-content: space-between; /* Espacio entre tarjetas */
    align-items: stretch; /* Todas las tarjetas tienen la misma altura */
    gap: 20px;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Cada tarjeta personalizada */
.custom-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #ffffff;
    flex: 1 1 calc(50% - 10px); /* Ocupa la mitad del espacio menos el gap */
    max-width: calc(50% - 10px); /* No más de la mitad */
    min-width: 280px;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
    gap: 20px;
    box-sizing: border-box;
}

.custom-card:hover {
    transform: translateY(-8px); /* La tarjeta sube al pasar el mouse */
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.12);
    border-color: #0056b3; /* Borde azul al hacer hover */
}

/* Contenedor de la imagen dentro de la tarjeta */
.card-image-container {
    position: relative;
    flex: 0 0 42%; /* Ocupa el 42% del ancho de la tarjeta */
    height: 220px;
    border-radius: 14px;
    overflow: hidden; /* Si la imagen sobresale, se corta */
}

.card-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* La imagen cubre todo sin deformarse */
    transition: transform 0.5s ease;
}

.custom-card:hover .card-main-img {
    transform: scale(1.06); /* Zoom sutil al hacer hover */
}

/* Icono flotante en la esquina inferior de la imagen */
.card-icon {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 42px;
    height: 42px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.card-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.custom-card:hover .card-icon {
    background-color: #0056b3;
    transform: scale(1.1) rotate(5deg); /* Crece y rota un poco */
}

.custom-card:hover .card-icon img {
    filter: brightness(0) invert(1); /* La imagen se vuelve blanca */
}

/* Contenido de texto de la tarjeta */
.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #001f3f;
    line-height: 1.2;
    margin: 0 0 10px 0;
}

.card-description {
    font-size: 0.88rem;
    color: #555555;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

/* Lista de características con checkmarks */
.card-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.card-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #222222;
    transition: transform 0.2s ease;
}

.custom-card:hover .card-list li {
    transform: translateX(4px); /* Se mueven a la derecha al hacer hover */
}

.card-list li::before {
    content: "✔"; /* Checkmark de color azul */
    position: absolute;
    left: 0;
    color: #0056b3;
    font-size: 0.75rem;
    font-weight: bold;
}

/* ========================================================
   SECTION TITLE (Títulos de sección)
   ======================================================== */
.section-title-container {
    text-align: center;
    max-width: 700px;
    margin: 30px auto 40px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #001f3f;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

/* Línea decorativa azul debajo del título */
.title-underline {
    width: 60px;
    height: 4px;
    background-color: #0056b3;
    margin: 0 auto 15px auto;
    border-radius: 2px;
}

.section-description {
    font-size: 1rem;
    color: #555555;
    line-height: 1.5;
    margin: 0;
}

/* ========================================================
   PAQUETES SPTECH (Tarjetas de paquetes)
   ======================================================== */
.pkg-section-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Cada tarjeta de paquete - estilo vertical (imagen arriba, texto abajo) */
.pkg-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    flex: 1 1 calc(25% - 18px); /* 4 tarjetas por fila */
    max-width: calc(25% - 18px);
    min-width: 260px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.pkg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.12);
    border-color: #0056b3;
}

/* Imagen superior del paquete */
.pkg-image-container {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.pkg-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pkg-card:hover .pkg-main-img {
    transform: scale(1.06);
}

/* Icono flotante en la esquina superior izquierda */
.pkg-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.pkg-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.pkg-card:hover .pkg-icon {
    background-color: #0056b3;
    transform: scale(1.1) rotate(5deg);
}

.pkg-card:hover .pkg-icon img {
    filter: brightness(0) invert(1);
}

/* Banda azul con el título del paquete */
.pkg-header-banner {
    background: linear-gradient(135deg, #003d82 0%, #0056b3 100%);
    color: #ffffff;
    padding: 16px;
    text-align: center;
    min-height: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pkg-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.pkg-subtitle {
    font-size: 1.2rem;
    color: #e2ecf8;
    margin: 0;
    line-height: 1.3;
}

/* Cuerpo de la tarjeta (lista de características y botón) */
.pkg-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.pkg-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pkg-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #333333;
    transition: transform 0.2s ease;
}

.pkg-card:hover .pkg-list li {
    transform: translateX(3px);
}

.pkg-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0056b3;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Botón "Solicitar Asesoría" */
.pkg-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background-color: #ffffff;
    color: #0056b3;
    border: 2px solid #0056b3;
    text-align: center;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.pkg-btn span {
    flex: 1;
    text-align: center;
}

/* Flecha redonda dentro del botón */
.pkg-btn-arrow {
    background-color: #0056b3;
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.pkg-btn:hover {
    background-color: #0056b3;
    color: #ffffff;
}

.pkg-btn:hover .pkg-btn-arrow {
    background-color: #ffffff;
    color: #0056b3;
    transform: translateX(3px);
}

/* ========================================================
   PKG FEATURES BAR (Barra de características de paquetes)
   ======================================================== */
.pkg-features-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 20px 0;
    margin: 40px auto 20px auto;
    max-width: 1200px;
    box-shadow: none;
    box-sizing: border-box;
    gap: 20px;
}

/* Cada ítem de la barra de características */
.pkg-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    padding: 10px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.pkg-feature-item:hover {
    transform: translateY(-5px);
    background-color: #f8fbff;
}

.pkg-feature-icon {
    font-size: 2rem;
    color: #0056b3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.pkg-feature-item:hover .pkg-feature-icon {
    transform: scale(1.15);
}

.pkg-feature-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.pkg-feature-text {
    display: flex;
    flex-direction: column;
}

.pkg-feature-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #001f3f;
    text-transform: uppercase;
    margin: 0 0 2px 0;
    letter-spacing: 0.3px;
}

.pkg-feature-desc {
    font-size: 0.78rem;
    color: #555555;
    margin: 0;
    line-height: 1.3;
}

/* Línea divisoria vertical entre características */
.pkg-feature-divider {
    width: 1px;
    height: 45px;
    background-color: #d0dbe5;
}

/* ========================================================
   ABOUT SECTION (Sección "Somos SPTECH")
   ======================================================== */
.about-section-container {
    width: 100%;
    padding: 80px 30px;
    box-sizing: border-box;
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Contenedor flex para alinear texto e imagen */
.about-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.about-text-column {
    flex: 1 1 50%;
    max-width: 600px;
    animation: fadeInFromLeft 1s ease forwards; /* Animación de entrada desde la izquierda */
}

.about-main-title {
    font-size: 3rem;
    font-weight: 800;
    color: #001f3f;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-subtitle {
    font-size: 1.3rem;
    color: #333333;
    line-height: 1.6;
    margin: 0 0 25px 0;
    font-weight: 600;
}

.about-description {
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* Columna de la imagen */
.about-image-column {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-main-img {
    max-width: 90%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}

/* Animación de entrada desde la izquierda */
@keyframes fadeInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================================
   MISIÓN Y VISIÓN (Sección combinada)
   ======================================================== */
.mv-combined-section {
    width: 100%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    border: 2px solid #e1e8ed;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mv-combined-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Columna izquierda: Misión y Visión */
.mv-text-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mv-item {
    display: flex;
    flex-direction: column;
}

.mv-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #002D62;
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}

/* Línea decorativa debajo del título */
.mv-underline {
    width: 40px;
    height: 3px;
    background-color: #0056b3;
    margin: 0 0 12px 0;
    border-radius: 2px;
}

.mv-description {
    font-size: 0.92rem;
    color: #444444;
    line-height: 1.6;
    margin: 0;
}

/* Columna derecha: Imagen */
.mv-image-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mv-side-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

/* ========================================================
   VALORES (Sección de valores de la empresa)
   ======================================================== */
.values-section-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
    border: 2px solid #e1e8ed;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.values-main-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #002D62;
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Grid de 2 columnas para los valores */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Cada tarjeta de valor */
.value-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 14px;
    background-color: #ffffff;
    border: 1px solid #eef2f6;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 45, 98, 0.08);
    border-color: #0056b3;
}

/* Caja del icono */
.value-icon-box {
    width: 75px;
    height: 75px;
    min-width: 75px;
    border: 2px solid #e1e8ed;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafbfc;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon-box {
    border-color: #0056b3;
    background-color: #f0f6fc;
}

.value-icon-box img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.value-content {
    display: flex;
    flex-direction: column;
}

.value-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #002D62;
    margin: 0 0 6px 0;
    letter-spacing: 0.3px;
}

.value-desc {
    font-size: 0.85rem;
    color: #555555;
    margin: 0;
    line-height: 1.4;
}

/* ========================================================
   SOLUCIONES (Sección de soluciones)
   ======================================================== */
.solutions-box-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Encabezado con líneas azules a los lados */
.solutions-header-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    text-align: center;
}

.solutions-line-blue {
    flex: 1 1 130px;
    max-width: 180px;
    height: 3px;
    background-color: #0056b3;
    border-radius: 999px;
}

.solutions-title-text {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: #001f3f;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* Fila de tarjetas de soluciones */
.solutions-flex-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.solution-card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 calc(20% - 14px); /* 5 tarjetas por fila */
    min-width: 200px;
    padding: 24px 18px;
    border-radius: 20px;
    background-color: #ffffff;
    border: 1px solid #e6edf7;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.solution-icon-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 86, 179, 0.1);
    margin-bottom: 18px;
}

.solution-icon-wrap img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.solution-card-title {
    margin: 0 0 12px 0;
    font-size: 1rem;
    font-weight: 800;
    color: #001f3f;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.solution-card-desc {
    margin: 0;
    color: #4f5d73;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Divisor vertical entre tarjetas */
.solutions-vertical-divider {
    width: 1px;
    background-color: #d9e4ef;
    margin: 0;
    align-self: stretch;
    min-height: 100px;
}

/* ========================================================
   SOLUCIONES GRID (Versión grid de soluciones)
   ======================================================== */
.soluciones-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.soluciones-titulo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.soluciones-titulo h2 {
    font-size: 22px;
    font-weight: 700;
    color: #14213d;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
}

/* Líneas decorativas a los lados del título */
.linea {
    flex: 1;
    height: 2px;
    max-width: 250px;
    background: linear-gradient(to right, transparent, #1e3a8a);
}

.linea.derecha {
    background: linear-gradient(to left, transparent, #1e3a8a);
}

.soluciones-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columnas */
    gap: 0;
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
}

.solucion-card {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid #e5e7eb;
    min-width: 0;
    overflow-wrap: break-word;
}

.solucion-card:last-child {
    border-right: none;
}

.solucion-icono {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solucion-icono img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.solucion-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #14213d;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.solucion-card p {
    font-size: 13.5px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* ========================================================
   INDICADORES (Sección de estadísticas - 100% recomendación, etc.)
   ======================================================== */
.indicadores {
    display: flex;
    justify-content: center;
    margin-top: 35px;
    gap: 15px;
    width: 100%;
    padding: 70px 20px;
    background: #f8f9fc;
}

.indicadores-container {
    width: 100%;
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 columnas iguales */
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .08);
}

/* Cada indicador (100% recomendación, satisfacción, mejora continua) */
.indicador {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 40px;
    min-width: 0;
}

.indicador:not(:last-child) {
    border-right: 1px solid #e8e8e8; /* Línea divisoria entre indicadores */
}

.icono {
    width: 90px;
    height: 90px;
    min-width: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    box-shadow: 0 8px 20px rgba(13, 110, 253, .15);
}

.icono i {
    font-size: 42px;
    color: #0D6EFD;
}

/* ----- ESTILOS DEL CONTENIDO DE INDICADORES ----- */
/* Nota: El selector .contenido se usa también en el hero, por eso usamos
   .indicador .contenido para ser más específicos */

.indicador .contenido {
    flex: 1;
    min-width: 0;
}

.indicador .contenido h2 {
    font-size: clamp(42px, 4vw, 58px); /* Tamaño responsivo */
    color: #0A2A73;
    font-weight: 800;
    margin-bottom: 8px;
}

.indicador .contenido h3 {
    font-size: clamp(17px, 1.5vw, 20px);
    color: #0A2A73;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.indicador .contenido p {
    font-size: clamp(15px, 1.2vw, 17px);
    color: #555;
    line-height: 1.7;
}

/* ----- ESTILOS DEL CONTENIDO DEL HERO (para que no se mezcle con los indicadores) ----- */
.hero .contenido {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
    flex: none;
    min-width: auto;
    display: block;
}

/* ========================================================
   EXPERIENCIAS DE CLIENTES (Sección de testimonios)
   ======================================================== */
.clientes {
    width: 100%;
    padding: 90px 20px;
    background: #fff;
}

/* Título de la sección con líneas a los lados */
.titulo-clientes {
    max-width: 1400px;
    margin: 0 auto 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.titulo-clientes span {
    width: 90px;
    height: 4px;
    background: #1E5EFF;
    border-radius: 10px;
}

.titulo-clientes h2 {
    font-size: 38px;
    font-weight: 800;
    color: #082A63;
    text-align: center;
}

/* ----- PROBLEMA CON EL GRID DE CLIENTES ----- */
/* Actualmente usa flex, pero en los media queries cambia a grid.
   Esto causa desorden. Se recomienda usar SOLO grid desde el principio. */
.clientes-grid {
    max-width: 1450px;
    margin: 0 auto;
    display: flex; /* CAMBIAR A GRID */
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

/* Tarjeta individual de cliente */
.card-cliente {
    width: 260px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    transition: .35s;
    display: flex;
    flex-direction: column;
}

.card-cliente:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .15);
}

/* Banda azul superior con la categoría */
.card-header {
    height: 42px;
    background: #1E5EFF;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-header h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.card-imagen {
    width: 100%;
    height: 170px;
    overflow: hidden;
}

.card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Logo circular que sobresale de la imagen */
.card-logo {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    margin: -45px auto 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
}

.card-logo img {
    width: 70%;
}

/* ¡ATENCIÓN! .card-logo está duplicado (líneas 598-606 y 608-616).
   Elimina la segunda definición (608-616) porque es exactamente igual. */

.card-body {
    padding: 0 20px;
    flex: 1;
}

.card-body h3 {
    text-align: center;
    font-size: 31px;
    color: #163A7A;
    margin-bottom: 20px;
}

.card-body p {
    color: #444;
    font-size: 17px;
    line-height: 1.8;
}

.card-body p i {
    color: #1E5EFF;
    margin-right: 6px;
}

.card-footer {
    margin-top: auto;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.estrellas {
    display: flex;
    gap: 4px;
}

.estrellas i {
    color: #1E5EFF;
    font-size: 18px;
}

.nota {
    background: #EEF3FF;
    color: #1E5EFF;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 20px;
}

/* ----- RESPONSIVE DE CLIENTES ----- */
/* PROBLEMA: Aquí usas grid, pero en desktop usas flex.
   Esto causa que las tarjetas se vean desordenadas. */
@media (max-width: 1300px) {
    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .clientes-grid {
        grid-template-columns: 1fr;
    }

    .titulo-clientes {
        flex-direction: column;
        gap: 15px;
    }

    .titulo-clientes span {
        width: 70px;
    }

    .titulo-clientes h2 {
        font-size: 26px;
    }
}

/* ========================================================
   CONTACTO (Página de contacto)
   ======================================================== */
.contacto {
    width: 100%;
    background: #f4f7fb;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Banner de contacto con imagen de fondo */
.contacto-banner {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contacto-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.contacto-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 26, 61, .65);
    z-index: 2;
}

.contacto-banner-contenido {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

.contacto-banner h1 {
    font-size: 52px;
    margin-bottom: 20px;
    font-weight: 700;
}

.contacto-banner p {
    max-width: 750px;
    margin: auto;
    font-size: 20px;
    line-height: 1.8;
    color: #e8e8e8;
}

/* Formulario de contacto */
.contacto-formulario {
    padding: 80px 0;
    background: #d9e4f3;
}

.formulario-card {
    background: #f6f5ff;
    max-width: 900px;
    margin: auto;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, .08);
}

.formulario-card h2 {
    text-align: center;
    color: #081A3D;
    font-size: 36px;
    margin-bottom: 40px;
}

/* Grupo de campo de formulario */
.grupo {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.grupo label {
    margin-bottom: 10px;
    font-weight: 600;
    color: #081A3D;
    font-size: 16px;
}

.grupo input,
.grupo textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1px solid #d8d8d8;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: .3s;
    font-family: Arial, Helvetica, sans-serif;
}

.grupo textarea {
    resize: vertical;
    min-height: 180px;
}

.grupo input:focus,
.grupo textarea:focus {
    border-color: #4b86dd;
    box-shadow: 0 0 10px rgba(13, 110, 253, .20);
}

/* Dos columnas en el formulario (nombre y correo) */
.grupo-doble {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Botón de enviar */
.btn-enviar {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 12px;
    background: #1557d1;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.btn-enviar:hover {
    background: #081A3D;
    transform: translateY(-3px);
}

.btn-enviar i {
    font-size: 18px;
}

input::placeholder,
textarea::placeholder {
    color: #9b9b9b;
}

/* ========================================================
   FOOTER (Pie de página)
   ======================================================== */
.footer {
    background: #081A3D;
    color: #fff;
    padding: 65px 0 25px;
}

.footer-container {
    width: 92%;
    max-width: 1350px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 columnas */
    gap: 35px;
    align-items: flex-start;
}

.footer-col {
    min-height: 260px;
    min-width: 0;
    padding: 0 20px;
    overflow-wrap: break-word;
    word-break: normal;
}

.footer-col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, .12);
}

/* Columna del logo */
.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transform: translateY(-20px);
}

.footer-logo {
    width: 170px;
    margin-bottom: -10px;
}

.footer-info p {
    max-width: 260px;
    color: #d7d7d7;
    line-height: 1.8;
    font-size: 17px;
    margin-top: -30px;
}

.footer-col h3 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 28px;
}

.footer-col p {
    font-size: 17px;
    line-height: 2;
    color: #ededed;
}

.footer-col i {
    width: 25px;
    color: #0D6EFD;
    margin-right: 10px;
}

/* Horarios de atención */
.horarios h4 {
    color: #1F7CFF;
    font-size: 22px;
    margin-bottom: 18px;
}

.horario-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 4px 20px;
    min-width: 0;
}

.horario-item span {
    white-space: nowrap;
}

.horario-item:last-child {
    border-bottom: none;
}

.horario-item span:first-child {
    font-weight: 600;
    color: #fff;
}

.horario-item span:last-child {
    color: #d7d7d7;
}

.monitoreo {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

/* Mapa de ubicación */
.footer iframe {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 150px;
    max-height: 260px;
    border: none;
    border-radius: 15px;
    margin-bottom: 25px;
}

.ubicacion h4 {
    margin-bottom: 18px;
    font-size: 20px;
    font-weight: 600;
}

/* Redes sociales */
.redes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
}

.redes a {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0D6EFD;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    overflow: hidden;
    transition: .3s ease;
}

.redes a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #fff;
    line-height: 1;
}

.redes a:hover {
    background: #fff;
}

.redes a:hover i {
    color: #0D6EFD;
}

/* Copyright */
.footer-bottom {
    width: 92%;
    max-width: 1350px;
    margin: 45px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    text-align: center;
}

.footer-bottom p {
    color: #cfcfcf;
    font-size: 15px;
}

/* ========================================================
   BANNER SLIDER (Slider de banners)
   ======================================================== */
.banner-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    width: 100%;
    animation: slider 15s infinite; /* Animación automática */
}

.slider-track img {
    min-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

/* Animación que mueve las imágenes horizontalmente */
@keyframes slider {
    0%,
    30% {
        transform: translateX(0%); /* Muestra la primera imagen */
    }
    33%,
    63% {
        transform: translateX(-100%); /* Muestra la segunda imagen */
    }
    66%,
    96% {
        transform: translateX(-200%); /* Muestra la tercera imagen */
    }
    100% {
        transform: translateX(0%); /* Vuelve a la primera */
    }
}

/* ========================================================
   PRODUCTOS (Sección de productos destacados)
   ======================================================== */
.productos {
    width: 100%;
    padding: 90px 0;
    background: #f7f9fc;
}

.titulo-seccion {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 60px;
    text-align: center;
}

.titulo-seccion h2 {
    font-size: 42px;
    color: #0B1F4D;
    margin-bottom: 18px;
}

.titulo-seccion p {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
}

/* Carrusel de productos */
.carrusel {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.contenedor-carrusel {
    overflow: hidden;
    width: 100%;
}

.slider {
    display: flex;
    transition: .6s ease; /* Transición suave entre slides */
}

.card {
    min-width: 100%;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

.card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.info {
    padding: 40px;
}

.info h3 {
    font-size: 34px;
    color: #0B1F4D;
    margin-bottom: 20px;
}

.info p {
    font-size: 20px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 35px;
}

.info a {
    display: inline-block;
    padding: 15px 35px;
    background: #005BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-size: 18px;
    font-weight: bold;
    transition: .3s;
}

.info a:hover {
    background: #0048ca;
    transform: translateY(-3px);
}

/* Flechas del carrusel */
.flecha {
    width: 65px;
    height: 65px;
    border: none;
    border-radius: 50%;
    background: #005BFF;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    transition: .3s;
    flex-shrink: 0;
}

.flecha:hover {
    background: #003fae;
    transform: scale(1.08);
}

/* Indicadores/puntos del carrusel */
.punto {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #b5b5b5;
    transition: .3s;
}

.punto.activo {
    background: #005BFF;
    transform: scale(1.4);
}

/* ========================================================
   RESPONSIVE - MEDIA QUERIES
   ======================================================== */

/* --- 1300px a 993px (Laptop pequeño) --- */
@media screen and (max-width: 1300px) and (min-width: 993px) {
    .header .container {
        padding: 0 16px;
    }
    .logo img {
        width: 130px; /* Logo más pequeño */
    }
    .navbar {
        margin: 0 15px;
    }
    .navbar ul {
        gap: 16px; /* Menos espacio entre enlaces */
    }
    .navbar ul li a {
        font-size: 17px; /* Texto más pequeño */
    }
    .header-buttons a {
        padding: 12px 22px;
        font-size: 16px;
    }
    .hero h1 {
        font-size: 56px;
    }
    .hero p {
        font-size: 20px;
    }
    .contenido h1 {
        font-size: 42px;
    }
    .titulo-seccion h2 {
        font-size: 36px;
    }
    .card img {
        height: 380px;
    }
    .footer-container {
        gap: 22px;
    }
    .footer-col {
        padding: 0 12px;
    }
    .footer-col h3 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    .clientes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* --- 1200px (Soluciones) --- */
@media (max-width: 1200px) {
    .solution-card-item {
        flex: 1 1 calc(33.333% - 16px); /* De 5 a 3 columnas */
    }
}

/* --- 1100px (Paquetes) --- */
@media (max-width: 1100px) {
    .pkg-card {
        flex: 1 1 calc(50% - 15px); /* De 4 a 2 columnas */
        max-width: calc(50% - 15px);
    }
}

/* --- 992px (Tablet) --- */
@media screen and (max-width: 992px) {
    /* HEADER RESPONSIVE */
    .header {
        height: auto;
        padding: 15px 0;
    }
    .header .container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0 15px;
        height: auto;
    }
    .menu-toggle {
        display: block; /* Aparece el menú hamburguesa */
        order: 3;
    }
    .header-buttons {
        order: 2;
        width: auto;
        justify-content: flex-end;
    }

    /* MENÚ OFF-CANVAS */
    .navbar {
        position: fixed;
        top: 0;
        right: 0;
        width: min(78%, 320px);
        height: 100vh;
        margin: 0;
        background: #fff;
        box-shadow: -8px 0 30px rgba(0, 0, 0, .18);
        transform: translateX(100%); /* Oculto fuera de la pantalla */
        transition: transform .35s ease;
        z-index: 1500;
        display: block;
        overflow-y: auto;
        padding: 90px 30px 40px;
    }
    .navbar.activo {
        transform: translateX(0); /* Se muestra al activarse */
    }
    .cerrar-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 26px;
        color: #0B1F4D;
        cursor: pointer;
    }
    .overlay-menu {
        display: block;
    }
    .navbar ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .navbar ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .navbar ul li a {
        display: block;
        padding: 16px 4px;
        font-size: 17px;
    }

    /* HERO */
    .hero {
        height: 75vh;
        padding: 0 20px;
    }
    .hero h1 {
        font-size: 38px;
    }
    .hero p {
        font-size: 18px;
        margin-bottom: 30px;
    }
    .btn-principal {
        font-size: 18px;
        padding: 14px 30px;
    }

    /* PRODUCTOS */
    .productos {
        padding: 70px 0;
    }
    .titulo-seccion h2 {
        font-size: 30px;
    }
    .titulo-seccion p {
        font-size: 17px;
    }
    .carrusel {
        gap: 15px;
    }
    .card img {
        height: 260px;
    }
    .info {
        padding: 20px;
    }
    .info h3 {
        font-size: 24px;
    }
    .info p {
        font-size: 16px;
    }
    .info a {
        padding: 12px 25px;
        font-size: 16px;
    }
    .flecha {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    /* FOOTER */
    .footer {
        padding: 50px 0 25px;
    }
    .footer-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 35px 25px;
    }
    .footer-col {
        min-height: auto;
    }
    .footer-col:not(:last-child) {
        border-right: none;
    }
    .footer-info {
        grid-column: 1 / -1; /* Ocupa toda la fila */
        transform: none;
    }
    .footer-logo {
        margin-top: 0;
    }
    .footer-info p {
        margin-top: 0;
        max-width: none;
    }
    .footer-col h3 {
        font-size: 26px;
        margin-bottom: 20px;
    }
    .ubicacion {
        grid-column: 1 / -1;
    }

    /* INDICADORES */
    .indicadores {
        padding: 50px 20px;
    }
    .indicadores-container {
        grid-template-columns: 1fr; /* Una sola columna */
        border-radius: 20px;
    }
    .indicador {
        border-right: none !important;
        border-bottom: 1px solid #ececec;
        padding: 35px;
    }
    .indicador:last-child {
        border-bottom: none;
    }
    .icono {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }
    .icono i {
        font-size: 36px;
    }

    /* CARDS WRAPPER */
    .cards-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .custom-card {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: unset;
    }

    /* SOLUCIONES */
    .solutions-flex-row {
        justify-content: center;
    }
    .solution-card-item {
        flex: 1 1 45%;
    }
    .solutions-vertical-divider {
        display: none;
    }

    /* MISIÓN Y VISIÓN */
    .mv-combined-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .mv-combined-section {
        padding: 25px;
        margin: 20px 10px;
    }

    /* SOLUCIONES GRID */
    .soluciones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    .solucion-card {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 25px;
        min-width: 0;
    }
    .solucion-card:nth-child(odd) {
        border-right: 1px solid #e5e7eb;
    }
    .solucion-card:last-child {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: none;
        max-width: 260px;
        justify-self: center;
    }

    /* ABOUT */
    .about-content-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .about-text-column {
        max-width: 100%;
    }
    .about-main-title {
        font-size: 2.5rem;
    }
    .about-image-column {
        order: -1; /* La imagen va arriba */
    }

    /* PKG FEATURES */
    .pkg-features-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .pkg-feature-divider {
        display: none;
    }

    /* VALORES */
    .values-grid {
        grid-template-columns: 1fr;
    }
    .values-section-container {
        padding: 20px;
        margin: 20px 10px;
    }

    /* CONTACTO */
    .contacto-banner {
        height: 340px;
        padding: 70px 20px;
    }
    .contacto-banner h1 {
        font-size: 40px;
    }
    .contacto-banner p {
        font-size: 18px;
    }
    .formulario-card {
        padding: 35px;
    }
    .grupo-doble {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* CLIENTES */
    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- 900px (Tarjetas y soluciones) --- */
@media (max-width: 900px) {
    .cards-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .custom-card {
        flex: 1 1 100%;
        max-width: 100%;
        min-width: unset;
    }
    .solutions-flex-row {
        justify-content: center;
    }
    .solution-card-item {
        flex: 1 1 45%;
    }
    .solutions-vertical-divider {
        display: none;
    }
    .mv-combined-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .mv-combined-section {
        padding: 25px;
        margin: 20px 10px;
    }
    .soluciones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    .solucion-card {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 25px;
        min-width: 0;
    }
    .solucion-card:nth-child(odd) {
        border-right: 1px solid #e5e7eb;
    }
    .solucion-card:last-child {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: none;
        max-width: 260px;
        justify-self: center;
    }
}

/* --- 768px (Valores y contacto) --- */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    .values-section-container {
        padding: 20px;
        margin: 20px 10px;
    }
    .contacto-banner {
        height: 340px;
        padding: 70px 20px;
    }
    .contacto-banner h1 {
        font-size: 40px;
    }
    .contacto-banner p {
        font-size: 18px;
    }
    .formulario-card {
        padding: 35px;
    }
    .grupo-doble {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* --- 700px (Soluciones) --- */
@media (max-width: 700px) {
    .solution-card-item {
        flex: 1 1 100%; /* Una columna */
    }
    .solutions-header-box {
        flex-direction: column;
    }
}

/* --- 600px (Móvil) --- */
@media (max-width: 600px) {
    .custom-card {
        flex-direction: column; /* Imagen arriba, texto abajo */
    }
    .card-image-container {
        width: 100%;
        height: 200px;
    }
    .main-section-title {
        font-size: 1.8rem;
    }
    .section-description {
        font-size: 0.92rem;
    }
    .pkg-card {
        flex: 1 1 100%;
        max-width: 100%; /* Una columna */
    }
    .about-section-container {
        padding: 50px 20px;
    }
    .about-main-title {
        font-size: 2rem;
    }
    .about-subtitle,
    .about-description {
        font-size: 0.95rem;
    }
    .clientes-grid {
        grid-template-columns: 1fr;
    }
    .titulo-clientes {
        flex-direction: column;
        gap: 15px;
    }
    .titulo-clientes span {
        width: 70px;
    }
    .titulo-clientes h2 {
        font-size: 26px;
    }
}

/* --- 576px (Indicadores móvil) --- */
@media (max-width: 576px) {
    .indicadores {
        padding: 35px 15px;
    }
    .indicadores-container {
        border-radius: 18px;
    }
    .indicador {
        flex-direction: column; /* Icono arriba, texto abajo */
        text-align: center;
        gap: 20px;
        padding: 30px 22px;
    }
    .icono {
        width: 70px;
        height: 70px;
        min-width: 70px;
    }
    .icono i {
        font-size: 30px;
    }
    .indicador .contenido {
        text-align: center;
    }
    .indicador .contenido h2 {
        font-size: 38px;
    }
    .indicador .contenido h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .indicador .contenido p {
        font-size: 15px;
        line-height: 1.6;
    }
}

/* --- 500px (Soluciones grid) --- */
@media (max-width: 500px) {
    .soluciones-grid {
        grid-template-columns: 1fr; /* Una columna */
    }
    .solucion-card {
        border-right: none !important;
        max-width: 100% !important;
    }
    .soluciones-titulo h2 {
        font-size: 15px;
    }
    .soluciones-titulo {
        gap: 10px;
    }
    .linea {
        display: none;
    }
}

/* --- 480px (Móvil pequeño) --- */
@media screen and (max-width: 480px) {
    .logo img {
        width: 110px;
    }
    .navbar ul {
        gap: 12px;
    }
    .navbar ul li a {
        font-size: 14px;
    }
    .header-buttons a {
        width: 100%;
        max-width: 220px;
        font-size: 15px;
        padding: 12px;
    }
    .hero {
        height: 70vh;
    }
    .hero .contenido h1 {
        font-size: 30px;
        line-height: 1.2;
    }
    .hero .contenido p {
        font-size: 16px;
    }
    .btn-principal {
        width: 100%;
        max-width: 250px;
        text-align: center;
        font-size: 16px;
        padding: 14px;
    }
    .titulo-seccion h2 {
        font-size: 26px;
    }
    .titulo-seccion p {
        font-size: 15px;
    }
    .carrusel {
        gap: 10px;
    }
    .card {
        border-radius: 18px;
    }
    .card img {
        height: 220px;
    }
    .info {
        padding: 18px;
    }
    .info h3 {
        font-size: 22px;
    }
    .info p {
        font-size: 15px;
        line-height: 1.6;
    }
    .info a {
        width: 100%;
        text-align: center;
    }
    .flecha {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    .indicadores {
        gap: 10px;
    }
    .punto {
        width: 12px;
        height: 12px;
    }
    .footer-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
        text-align: left;
    }
    .footer-info {
        grid-column: auto;
        align-items: flex-start;
    }
    .ubicacion {
        grid-column: auto;
    }
    .footer iframe {
        min-height: 130px;
        max-height: 190px;
    }
    .footer-col h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .footer-col p {
        font-size: 15px;
    }
    .contacto-banner {
        height: 280px;
        padding: 60px 15px;
    }
    .contacto-banner h1 {
        font-size: 32px;
    }
    .contacto-banner p {
        font-size: 16px;
        line-height: 1.6;
    }
    .formulario-card {
        padding: 25px;
        border-radius: 15px;
    }
    .formulario-card h2 {
        font-size: 28px;
    }
    .grupo label {
        font-size: 15px;
    }
    .grupo input,
    .grupo textarea {
        font-size: 15px;
        padding: 14px 16px;
    }
    .btn-enviar {
        font-size: 16px;
        padding: 16px;
    }
}

/* --- 360px (Móvil muy pequeño) --- */
@media screen and (max-width: 360px) {
    .header .container {
        padding: 0 12px;
    }
    .logo img {
        width: 95px;
    }
    .header-buttons a {
        max-width: 170px;
        font-size: 13px;
        padding: 10px;
    }
    .menu-toggle {
        font-size: 22px;
    }
    .hero .contenido h1 {
        font-size: 26px;
    }
    .hero .contenido p {
        font-size: 14px;
    }
}

/* ========================================================
   PANTALLAS GRANDES (1400px+)
   ======================================================== */
@media screen and (min-width: 1400px) {
    .header .container {
        max-width: 1600px;
        padding: 0 30px;
    }
    .logo img {
        width: 165px;
    }
    .navbar ul {
        gap: 30px;
    }
    .navbar ul li a {
        font-size: 21px;
    }
    .header-buttons a {
        font-size: 19px;
        padding: 16px 34px;
    }
    .footer-container {
        max-width: 1600px;
        gap: 45px;
    }
    .footer-bottom {
        max-width: 1600px;
    }
    .footer-col h3 {
        font-size: 36px;
    }
    .footer-col p,
    .footer-info p {
        font-size: 18px;
    }
    .footer-logo {
        width: 185px;
    }
    .footer iframe {
        max-height: 300px;
    }
    .indicadores {
        padding: 60px 20px;
    }
    .indicador {
        padding: 30px;
        gap: 18px;
    }
    .icono {
        width: 75px;
        height: 75px;
        min-width: 75px;
    }
    .icono i {
        font-size: 34px;
    }
}

/* Pantallas muy grandes (1700px+) */
@media screen and (min-width: 1700px) {
    .header .container {
        max-width: 1750px;
    }
    .navbar ul {
        gap: 38px;
    }
    .navbar ul li a {
        font-size: 22px;
    }
    .logo img {
        width: 175px;
    }
    .footer-container {
        max-width: 1750px;
        gap: 55px;
    }
    .footer-bottom {
        max-width: 1750px;
    }
    .footer iframe {
        max-height: 320px;
    }
}