/* --- Estilos Generales --- */
body {
  font-family: "Century Gothic", sans-serif;
  font-size: 22px;
  margin: 0;
  line-height: 1.5;
  padding-top: 150px; /* Debe ser igual a la altura del navbar */
  background-color: white;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed; /* Cambiado de relative a fixed */
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-color: #ffffff;
  padding: 0 5%;
  z-index: 10000; /* Asegura que esté por encima de todo */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra para que se note al bajar */
  box-sizing: border-box;
}

/* --- Logo --- */
.logo img {
  height: 130px; /* Controla el tamaño del logo */
  width: auto;
  display: block;
  margin-bottom: 15px; /* Espacio entre el logo y la franja de abajo */
}

/* --- Navegación --- */
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px; /* Espacio entre botones */
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px 15px;
  transition: 0.3s;
  display: flex;
  align-items: center;
}

.nav-list a:hover {
  color: #007bff;
}

/* --- Dropdown (Productos) --- */
.dropdown {
  position: relative;
}

/* Insertar flecha de FontAwesome automáticamente */
.dropbtn::after {
  content: "\f107"; /* Código de flecha hacia abajo en FontAwesome */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 8px;
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.dropdown:hover .dropbtn::after {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  border-radius: 4px;
}

.dropdown-content li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-content li:last-child {
  border-bottom: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Contenedor del botón de idioma */
.lang-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #004a99;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  z-index: 2000; /* Asegura que esté por encima de la franja y el header */
}

.lang-circle:hover {
  transform: scale(1.1);
}

#flag-icon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover; /* LLENA TODO EL CÍRCULO sin deformarse */
  object-position: center; /* Centra la bandera (para que se vean bien las franjas) */
  display: block;
  pointer-events: none;
}

/* Ocultar Google Translate pero dejar que el clic pase */
#google_translate_element {
  /* Mantenemos el código que pusimos en el HTML para evitar conflictos */
  display: block !important;
}

#google_translate_element select {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.language-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 15px;
}

/* Ocultar la barra superior de Google que aparece al traducir */
.skiptranslate > iframe {
  display: none !important;
}
body {
  top: 0 !important;
}

/* --- Menú Móvil (Hamburguesa) --- */
.menu-toggle {
  display: none; /* Se oculta en PC */
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #007bff;
  margin: 4px 0;
  transition: 0.4s;
}

/* Responsivo para celulares */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-list {
    display: none; /* Se oculta para el JS */
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-list.active {
    display: flex;
  }
}
/* Estilos de la Franja Fina */
.franja-fina {
  display: flex !important; /* Fuerza el mostrado */
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px; /* La subí un poco a 6px para que sea más fácil de detectar ahora */
  z-index: 999; /* Esto la pone por encima de TODO */
  overflow: hidden;
}

.f-color {
  flex: 1;
  height: 100%;
}

/* Colores de la franja */
.c1 {
  background-color: #dbb557;
} /* Amarillo brillante */
.c2 {
  background-color: #4a6ea6;
} /* Azul*/
.c3 {
  background-color: #ff8800;
} /* Naranja */
.c4 {
  background-color: #a6bb53;
} /* Verde suave */

/*========================================================== 
------------------- CARRUSEL INICIAL --------------------- 
===========================================================*/
/* --- Contenedor Principal Full Width --- */
.main-fluid {
  width: 100%;
  padding: 20px 0; /* Espacio arriba y abajo para que no pegue con el navbar */
}

.carousel-container {
  position: relative;
  width: 100%; /* NO ocupa de lado a lado */
  max-width: 1600px; /* Límite para pantallas muy grandes */
  height: 400px; /* Altura más baja para que se vea más "estirado" */
  margin: 0 auto; /* Centrado perfecto */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px; /* Opcional: bordes redondeados para más elegancia */
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  /* CLAVE: contain para ver la imagen completa sin cortes */
  object-fit: contain;
  object-position: center;
  display: block;
}

/* --- Navegación Limpia --- */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px;
  color: rgba(0, 74, 153, 0.5);
  font-size: 35px;
  text-decoration: none;
  transition: 0.3s;
  z-index: 10;
}

.next {
  right: 20px;
}
.prev {
  left: 20px;
}

.prev:hover,
.next:hover {
  color: #004a99;
}

/* --- Puntos de control --- */
.dots-container {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  z-index: 15;
}

.dot {
  cursor: pointer;
  height: 8px;
  width: 8px;
  margin: 0 5px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: inline-block;
}

.dot.active {
  background-color: #004a99;
  transform: scale(1.2);
}

/* --- ADAPTACIÓN PARA MÓVIL --- */
@media (max-width: 768px) {
  .carousel-container {
    /* Bajamos la altura en móvil para que la imagen no se vea minúscula */
    height: 250px;
  }

  .slide img {
    /* En móvil, a veces 'cover' funciona mejor para llenar la pantalla, 
           pero mantenemos 'contain' para que NO se corte nada como pediste */
    object-fit: contain;
  }

  /* Flechas más pequeñas para que no estorben el contenido */
  .prev,
  .next {
    font-size: 25px;
    padding: 10px;
  }

  .next {
    right: 5px;
  }
  .prev {
    left: 5px;
  }

  /* Puntos de control un poco más separados del borde */
  .dots-container {
    bottom: 10px;
  }

  .dot {
    height: 8px;
    width: 8px;
  }
}

/* Ajuste para pantallas muy pequeñas (iPhone SE, etc.) */
@media (max-width: 480px) {
  .carousel-container {
    height: 180px;
  }

  .prev,
  .next {
    display: none; /* Opcional: ocultar flechas en pantallas muy pequeñas para limpieza total */
  }
}

/* ==========================================================================
   SECCIÓN DE INNOVACIÓN 
   ========================================================================== */

/* 1. Contenedor General Centrado (El "Encajonado") */
.wrapper-principal {
  max-width: 1200px; /* Limita el ancho*/
  margin: 0 auto; /* Centra el contenido horizontalmente */
  padding: 0 20px; /* Margen de seguridad para móviles */
  box-sizing: border-box;
}

.seccion-inicio-proceso {
  padding: 60px 0;
}

.seccion-inicio-proceso h2 {
  text-align: center;
  font-size: 50px;
  color: #4a6ea6;
  margin-bottom: 10px;
  padding: 0 20px;
}

.separator-line {
  width: 60px;
  height: 4px;
  background-color: #dbb557;
  margin: 0 auto 40px auto;
}

/* 2. Estructura de Rejilla (Grid) */
.grid-layout-caracteristicas {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Dos columnas iguales en PC */
  gap: 50px;
  align-items: center;
}

/* 3. Contenedor de Imagen o Video */
.img-content-caracteristicas {
  width: 100%;
}

.video-container-suite img,
.video-container-suite video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: block;
}

/* 4. Contenido de Texto e Iconos */
.text-content-caracteristicas {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.introduccion-suite {
  font-size: 23px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 10px;
}

/* Items con Checkbox */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-item i {
  color: #4a6ea6; /* Color del icono */
  font-size: 22px;
  margin-top: 3px;
}

.feature-item p {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: #555;
}

/* ==========================================================================
   ADAPTACIÓN PARA MÓVIL (Android & Apple)
*/
@media (max-width: 850px) {
  .grid-layout-caracteristicas {
    grid-template-columns: 1fr; /* Cambia a una sola columna */
    gap: 30px;
    text-align: center;
  }

  .seccion-inicio-proceso h2 {
    font-size: 26px;
  }

  .feature-item {
    text-align: left; /* Mantiene los beneficios alineados a la izquierda para leer mejor */
  }

  .img-content-caracteristicas {
    order: -1; /* Asegura que la imagen/video aparezca arriba del texto */
  }
}

/* ==========================================================================
   SECCIÓN DE VENTAJAS
   ========================================================================== */
/* --- Sección Ventajas --- */
.features-section {
  font-family: "Century Gothic", sans-serif;
  font-size: 22px;
  line-height: 1.5;
  padding: 60px 5%;
}

.features-section h2 {
  text-align: center;
  font-size: 50px;
  color: #4a6ea6;
  margin-bottom: 10px;
  padding: 0 20px;
}

.features-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-text {
  flex: 1;
}

.features-text h2 {
  font-size: 2.5rem;
  color: #4a6ea6;
  margin-bottom: 25px;
}

.features-image {
  flex: 1;
  text-align: center;
}

.features-image img {
  width: 100%;
  max-width: 500px; /* Para que no sea gigante en tablets */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Lista de Chulos Ventajas --- */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  font-size: 1.1rem;
  text-align: justify;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: white;
  background-color: #a6bb53;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* --- ADAPTACIÓN MÓVIL VENTAJAS (Media Query) --- */
@media (max-width: 768px) {
  .features-container {
    flex-direction: column; /* Apila el texto sobre la imagen */
    text-align: center;
  }

  .check-list li {
    text-align: left; /* Mantiene el texto de la lista alineado a la izquierda para legibilidad */
  }

  .features-text h2 {
    font-size: 1.8rem;
  }

  .features-image img {
    margin-top: 20px;
  }
}

/* ==========================================================================
   SECCIÓN DE PRODUCTOS
   ========================================================================== */
/* --- Contenedor Principal de Productos ( sección productos ) --- */
.products-section {
  padding: 10px 5%;
}

.products-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* Soporte para móvil */
}

.products-header {
  text-align: center;
  font-size: 2rem;
  color: #4a6ea6;
}

/* --- Estructura de la Tarjeta Productos- Bicolor --- */
.product-card {
  background: #ffffff;
  border-radius: 20px;
  flex: 1;
  min-width: 320px;
  max-width: 480px;
  overflow: hidden; /* Importante para que los fondos no se salgan de las esquinas redondeadas */
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid #eaeaea;
  border-bottom: 8px solid #a6bb53; /* Tu borde verde al final */
}

.product-card:hover {
  transform: translateY(-10px);
}

/* Parte Superior (Blanca) */
.card-top {
  background-color: #ffffff;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #eeeeee; /* Línea fina separadora */
}

.product-logo img {
  height: 80px;
  width: auto;
}

/* Parte Inferior (Color Diferente) */
.card-bottom {
  background-color: #4a6ea6; /* Color suave para la lista (puedes usar #eef2f7) */
  padding: 30px 40px 40px 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-bottom h3 {
  color: #dbb557;
  margin-bottom: 20px;
  font-size: 1.4rem;
  text-align: center;
}

/* --- Lista con Chulos en Círculos --- */
.product-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.product-list li {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: white;
  background-color: #a6bb53;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Botón */
.btn-product {
  text-decoration: none;
  background-color: #004a99;
  color: white;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin-top: auto;
  transition: 0.3s;
}

.btn-product:hover {
  background-color: #003366;
}

/* --- Adaptación Móvil --- */
@media (max-width: 768px) {
  .products-container {
    flex-direction: column;
    align-items: center;
  }
  .product-card {
    width: 100%;
  }
}

/*=================================================================== 
--------------------- CARRUSEL CLIENTS QUE CONFIARON ---------------- 
=====================================================================*/
.wrapper-principal {
  width: 100%; /* Ocupa el 100% del ancho de la pantalla */
  max-width: 1400px; /* Permite que se ensanche hasta 1400px */
  margin: 0 auto; /* Mantiene el contenido centrado */
  padding: 0 20px; /* Espacio interno para que no toque los bordes en tablets */
}

.seccion-principal h2 {
  text-align: center;
  font-size: 50px;
  color: #4a6ea6;
  margin-bottom: 10px;
  padding: 0 25px;
}

.carousel-marquee {
  overflow: hidden;
  padding: 20px 0;
  white-space: nowrap;
  width: 100%;
  position: relative;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 25s linear infinite; /* 25s es una velocidad cómoda */
}

.logo-item {
  display: inline-block;
  /* CLAVE: Dimensiones fijas para el contenedor del logo */
  width: 180px;
  height: 100px;
  margin: 0 40px;
  vertical-align: middle;
}

.logo-item img {
  width: 100%;
  height: 100%;
  /* CLAVE: 'contain' evita que se estiren y los centra en el marco */
  object-fit: contain;
  transition: all 0.4s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1); /* Efecto de acercamiento suave */
}

/* Animación fluida */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  } /* Se desplaza la mitad exacta */
}

/*=================================================================== 
------------------------ SECCIÓN CONTACTENOS ------------------------ 
=====================================================================*/
/* --- Sección Contacto --- */
.contacto-section {
  padding: 80px 10%;
}
.contacto-section h2 {
  color: #004a99;
  font-size: 50px;
  margin-bottom: 20px;
  text-align: center;
}

.contacto-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 35px;
}

.info-item i {
  font-size: 24px;
  color: #28a745; /* Verde Qplus */
  background: #f0fdf4;
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-item h3 {
  font-size: 22px;
  margin: 0;
  color: #333;
}

/* --- Formulario --- */
.contacto-form {
  background: #f8fafd;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.input-group {
  margin-bottom: 20px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 18px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #004a99;
}

.btn-enviar {
  width: 100%;
  padding: 15px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-enviar:hover {
  background-color: #218838;
}

#mensaje-respuesta {
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 8px;
}

/* Responsivo */
@media (max-width: 900px) {
  .contacto-container {
    grid-template-columns: 1fr;
  }
  .contacto-info {
    text-align: center;
  }
  .info-item {
    justify-content: center;
    text-align: left;
  }
  .contacto-form {
    margin-top: 0;
  }
}

/* /* Iconos del contactenos Footer*/
/* Estilos para los íconos */
.icon-mail {
  color: #007bff; /* Azul */
  margin-right: 8px;
  font-size: 30px;
}

.icon-whatsapp {
  color: #25d366; /* Verde */
  margin-right: 10px;
  font-size: 30px;
}

/* Estilos para los enlaces */
.contact-link {
  text-decoration: none; /* Quitar subrayado */
  color: #000; /* Letra negra */
}

.contact-link:hover {
  text-decoration: underline; /* Agregar subrayado al pasar el mouse */
  color: #333; /* Cambiar ligeramente el tono al pasar el mouse */
}

/* Estilo para la etiqueta debajo de la imagen */
.image-label {
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
}

/*=================================================================== 
------------------------------ FOOTER ------------------------------- 
=====================================================================*/
.pie-pagina {
  width: 100%;
  background-color: #4a6ea6;
}

.grupo-1 {
  width: 100%;
  max-width: 2000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 100px;
  padding: 45px, 0px;
  text-align: center;
}

.box figure {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

figure img {
  width: 250px;
  filter: brightness(0) invert(1);
}

.box h3 {
  text-align: center;
  color: white;
  margin-bottom: 25px;
  font-size: 20px;
}

.box p {
  color: white;
  margin-bottom: 10px;
  font-size: 18px;
}
.box p a {
  color: white;
}
.box p a:hover {
  color: #e67626;
}

.red-social a {
  display: inline-block;
  text-decoration: none;
  width: 45px;
  height: 45px;
  line-height: 45px;
  color: white;
  margin-right: 10px;
  background-color: #003366;
  text-align: center;
  justify-content: center;
  transition: all 300ms ease;
  border-radius: 10px;
}

.red-social a:hover {
  color: #e67626;
}

.grupo-2 {
  background-color: #a6bb53;
  padding: 15px, 10px;
  text-align: center;
  color: white;
}

.grupo-2 small {
  font-size: 15px;
}

@media screen and (max-width: 800px) {
  .grupo-1 {
    width: 90%;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 30px;
    padding: 35px, 0px;
  }
}

/* --- Estilos para Ventanas Emergentes (Modales) --- */
.modal {
  display: none; /* Por defecto oculto */
  position: fixed;
  z-index: 20000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);

  /* Estos 3 son la clave para la alineación idéntica */
  justify-content: center;
  align-items: flex-start; /* Alinea el contenido al techo */
  padding-top: 50px; /* Espacio uniforme desde arriba para todos */
}

.modal-content {
  background-color: #ffffff;
  margin: 0 auto 50px auto; /* Eliminamos margen superior para usar el padding del padre */
  padding: 30px;
  border-radius: 15px;
  width: 85%;
  max-width: 900px;
  position: relative;
}

@keyframes slideIn {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  right: 25px;
  top: 15px;
  font-size: 30px;
  color: #888;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #d9534f;
}

.modal-body {
  max-height: 70vh; /* Altura máxima según la pantalla */
  overflow-y: auto; /* Scroll si el texto es largo */
  padding-top: 20px;
  text-align: justify; /* Texto legal justificado */
  line-height: 1.6;
  /* color: #333; */
}

.footer-link {
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

.footer-link:hover {
  color: #28a745; /* Color verde en el hover */
}

/*============================================================== 
--------- CONTENIDO DE POLITICA DE TRATAMIENTO DE DATOS -------- 
================================================================*/
/* --- Contenido Legal Elegante --- */
.legal-content {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.legal-header {
  text-align: center;
  margin-bottom: 30px;
  /* border-bottom: 2px solid #28a745; Línea verde característica */
  padding-bottom: 15px;
}

.legal-header i {
  font-size: 3rem;
  color: #004a99; /* Azul corporativo */
  margin-bottom: 10px;
}

.section-title {
  color: #004a99;
  border-left: 5px solid #28a745;
  padding-left: 15px;
  margin: 25px 0 15px;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.legal-card {
  background: #fdfdfd;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 15px;
}

.legal-card.highlight {
  background: #f0f7ff; /* Azul muy tenue */
  border-left: 5px solid #004a99;
}

.legal-card h5 {
  color: #004a99;
  margin-top: 0;
}

/* Definiciones en Cuadrícula */
.definitions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.def-item {
  background: #fff;
  padding: 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Lista de Principios */
.principles-list {
  list-style: none;
  padding: 0;
}

.principles-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.principles-list i {
  color: #28a745;
  width: 20px;
}

/* Caja de Derechos */
.rights-box {
  background: #28a745;
  color: white;
  padding: 25px;
  border-radius: 12px;
}

.rights-box h5,
.rights-box p {
  color: white;
}

.check-list-legal {
  list-style: none;
  padding: 0;
}

.check-list-legal li::before {
  content: "✓";
  margin-right: 10px;
  font-weight: bold;
}

/* Resalte de Contacto */
.contact-highlight {
  border: 2px dashed #004a99;
  padding: 20px;
  border-radius: 12px;
  margin-top: 30px;
  text-align: center;
}

.contact-details p {
  margin: 5px 0;
}

/* Adaptación Móvil */
@media (max-width: 600px) {
  .definitions-grid {
    grid-template-columns: 1fr;
  }
}

/*================================================= 
--------- CONTENIDO DE AVISO DE PRIVACIDAD -------- 
===================================================*/
.technical-box {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  border: 1px dashed #ccc;
  font-size: 0.9rem;
}

.intro-text {
  color: #666;
  margin-top: -10px;
  font-size: 1.1rem;
}

.legal-footer {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: #888;
  font-size: 0.85rem;
}

/*=================================================== 
---------------- ESTILOS GLOPEM.HTML ---------------- 
=====================================================*/
/* --- Banner Hero GLOPEM Limpio --- */
.hero-glopem-bg {
  background-image: url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?q=80&w=2070&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
}

/* El degradado solo oscurece la izquierda para leer el texto */
.hero-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 30%,
    rgba(0, 0, 0, 0) 80%
  );
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.hero-content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Ajuste específico para el logo SVG --- */
.hero-icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px; /* Espacio para el logo */
}

.logo-svg {
  width: 300px; /* Define un ancho fijo para que el SVG aparezca */
  height: auto; /* Mantiene la proporción */
  display: block;
  filter: none !important; /* Evita que cualquier filtro lo oculte */
  opacity: 1 !important; /* Asegura visibilidad total */
}

/* --- Ajuste del fondo para que no tape el logo --- */
.hero-overlay {
  /* Degradado: Negro a la izquierda (texto), transparente a la derecha (logo) */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 40%,
    rgba(0, 0, 0, 0) 90%
  );
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.hero-text h1 {
  font-size: 75px;
  color: #ffffff;
  margin: 0;
  font-weight: bold;
}

.hero-text p {
  font-size: 26px;
  color: #ffffff;
  max-width: 600px;
  margin: 15px 0;
}

.hero-badge {
  display: inline-block;
  background-color: #28a745;
  color: white;
  padding: 8px 20px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
}

/* Responsivo */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 40px 0;
  }
  .hero-text h1 {
    font-size: 45px;
  }
  .hero-icon-box img {
    max-width: 180px; /* Más pequeño en móviles */
  }
  .logo-svg {
    width: 200px; /* Más pequeño en celulares */
    margin-top: 20px;
  }
}

/* Banner de Importaciones */
.import-header-banner {
  background: linear-gradient(135deg, #004a99 0%, #003366 100%);
  padding: 60px 10%;
  color: white;
  border-radius: 0;
  overflow: hidden; /* Evita que la animación cause scroll */
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- El Buque y su Animación --- */
.banner-icon {
  perspective: 1000px; /* Da profundidad al movimiento */
}

/* Ajuste de Texto */
.banner-text h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: left;
  color: white;
}

.banner-text p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.ship-buque {
  font-size: 100px; /* Tamaño del buque */
  color: white;
  display: block;
  /* Aplicamos la animación de balanceo constante */
  animation: balanceoBuque 4s ease-in-out infinite;
  transition: filter 0.3s ease;
}

/* Efecto al pasar el mouse (opcional: resplandor) */
.import-header-banner:hover .ship-buque {
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

/* Keyframes para el movimiento de "flotado" */
@keyframes balanceoBuque {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-8px) rotate(-3deg); /* Sube y se inclina a un lado */
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(-8px) rotate(3deg); /* Sube y se inclina al otro lado */
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Estructura de Módulos */
.modules-grid-section {
  background-color: #f8fafd;
  padding: 60px 5%;
}

.modules-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.module-card-row {
  display: flex;
  background: white;
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #dbb557; /* Toque amarillo de Qplus */
}

.module-info-side {
  flex: 0 0 250px;
  background-color: #f1f4f8;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.module-info-side img {
  width: 120px;
  margin-bottom: 15px;
}

.module-info-side h3 {
  font-size: 1.1rem;
  color: #004a99;
  margin: 0;
}

.module-desc-side {
  flex: 1;
  padding: 30px 40px;
}

.clean-list {
  list-style: none;
  padding: 0;
}

.clean-list li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  color: #444;
}

.clean-list li::before {
  content: "\f00c"; /* Check de FontAwesome */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #28a745;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    text-align: center;
  }
  .banner-text h2 {
    text-align: center;
    font-size: 1.8rem;
  }
  .ship-buque {
    font-size: 80px;
  }
}

/* ================================================================
---------------- ESTILOS EQUIPO( NOSOTROS ).HTML ---------------- 
===================================================================*/
/* --- Banner Hero Equipo Actualizado --- */
.hero-equipo-bg {
  /* Nueva imagen con equipo mixto (hombres y mujeres) */
  background-image: url("https://images.unsplash.com/photo-1543269865-cbf427effbad?q=80&w=2070&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 450px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-equipo-bg .hero-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 43, 92, 0.85) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
  width: 100%;
  min-height: 450px;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

/* --- Estilo para el Nuevo Logo (Azul y Amarillo) --- */
.logo-container-modern {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-icon-modern {
  font-size: 80px;
  /* El degradado */
  background: linear-gradient(135deg, #004a99 0%, #ffcc00 100%);

  /* Estas líneas hacen la magia del degradado en el icono */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent; /* Respaldo para navegadores modernos */

  /* Muy importante para que el fondo respete la forma del icono */
  display: inline-block;
  line-height: 1;
  margin-bottom: 10px;
}

.logo-text-modern {
  color: #4a6ea6;
  font-weight: bold;
  font-size: 24px;
  letter-spacing: 2px;
}

.hero-equipo-bg .hero-text h1 {
  font-size: 75px;
  color: #ffffff;
  font-weight: 800;
}

.hero-equipo-bg .hero-text p {
  font-size: 26px;
  color: #f1f1f1;
  max-width: 600px;
}

/* Responsivo para móviles */
@media (max-width: 768px) {
  .hero-equipo-bg {
    min-height: 350px; /* Reducimos un poco la altura en móviles */
  }

  .hero-equipo-bg .hero-text h1 {
    font-size: 40px; /* Texto más ajustado a pantallas pequeñas */
  }

  .hero-equipo-bg .hero-text p {
    font-size: 20px;
  }

  /* Manejo del nuevo Logo en móviles */
  .logo-container-modern {
    padding: 15px;
    margin-top: 20px;
  }
  .logo-icon-modern {
    font-size: 50px;
  }
  .logo-text-modern {
    font-size: 14px;
  }
}

/* --- Sección de Estadísticas --- */
/* --- Estilo de Estadísticas Unificado (Stats) --- */
.section-stats-flat {
  padding: 40px 10%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
}

.stats-wrapper {
  display: flex;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  width: 100%;
  max-width: 1100px;
  overflow: hidden;
}

.shadow {
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.stat-item {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 2rem;
  gap: 1.5rem;
  position: relative;
}

/* Divisores entre items (excepto el último) */
.stat-item:not(:last-child) {
  border-right: 1px solid #e5e7eb;
}

.stat-figure {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-green {
  color: #a6bb53;
}
.text-blue {
  color: #4a6ea6;
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 1rem;
  color: #4a4f58;
  font-weight: 600;
  text-transform: uppercase;
}

.stat-value {
  font-size: 2.5rem; /* Letra grande */
  font-weight: 800;
  line-height: 1;
  margin: 0.25rem 0;
  color: #171e29;
}

.stat-desc {
  font-size: 0.875rem;
  color: #ff8800;
}

/* Ajuste para móviles: de horizontal a vertical */
@media (max-width: 768px) {
  .stats-wrapper {
    flex-direction: column;
  }
  .stat-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .stat-item {
    padding: 1.5rem;
  }
}

/* Seccion Equipo - Quienes Somos */
/* --- Sección Info: Título centrado + Flex --- */
.info-section {
  padding: 80px 10%;
  background-color: whitesmoke;
}

.info-title-container {
  text-align: center;
  margin-bottom: 50px;
}

.info-title-container h2 {
  font-size: 40px;
  color: #4a6ea6; /* Azul corporativo */
  position: relative;
  display: inline-block;
}

/* Línea decorativa debajo del título */
.info-title-container h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background-color: #a6bb53; /* Verde Qplus */
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.info-flex-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-image {
  flex: 1;
}

.img-rounded {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.info-text {
  flex: 1;
}

.info-text p {
  font-size: 22px; /* Letra grande y legible */
  line-height: 1.6;
  color: #444;
  margin-bottom: 25px;
  text-align: justify;
}

/* Responsivo para móviles */
@media (max-width: 900px) {
  .info-flex-container {
    flex-direction: column;
  }

  .info-title-container h2 {
    font-size: 32px;
  }

  .info-text p {
    font-size: 20px;
  }
}

/* Seccion Equipo - Historia */
/* --- Estilos Timeline --- */
.history-section {
  padding: 80px 10%;
  background-color: white;
}

.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.timeline li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
}

/* La línea verde central */
.timeline hr {
  grid-column: 2;
  width: 4px;
  background-color: #ff8800; /* Naranja Qplus */
  border: none;
  height: 100%;
  margin: 0 auto;
  min-height: 20px; /* Asegura que la línea sea larga */
}

.timeline-middle {
  grid-column: 2;
  z-index: 10;
  background: white; /* Mismo color del fondo de sección */
  color: #a6bb53;
  padding: 15px 0;
  display: flex;
  justify-content: center;
}

.timeline-middle svg {
  width: 30px;
  height: 30px;
}

.timeline-start {
  grid-column: 1;
  text-align: right;
  padding: 20px 50px;
}

.timeline-end {
  grid-column: 3;
  text-align: left;
  padding: 20px 50px;
}

.text-lg.font-black {
  font-size: 1.6rem;
  color: #004a99; /* Azul D&M */
  font-weight: 800;
  margin-top: 5px;
}

.font-mono.italic {
  font-size: 1.3rem;
  color: #666;
  font-weight: bold;
}

/* Responsivo para celulares */
@media (max-width: 768px) {
  .timeline li {
    grid-template-columns: auto 1fr;
  }
  .timeline-start,
  .timeline-end {
    grid-column: 2;
    text-align: left !important;
    padding: 20px 0;
  }
  .timeline-middle,
  .timeline hr {
    grid-column: 1;
  }
}

/*======================================================== 
----------------- ESTILOS CLIENTES.HTML ------------------ 
==========================================================*/
/* --- Banner Hero Clientes --- */
.hero-clientes-bg {
  /* Imagen de equipo diverso en oficina moderna */
  background-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?q=80&w=2070&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
}
/* Reutilizamos la lógica del overlay oscuro a la izquierda */
.hero-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 35%,
    rgba(0, 0, 0, 0.2) 100%
  );
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 0 10%;
}

.hero-clientes-bg .hero-text h1 {
  font-size: 75px; /* Consistente con GLOPEM */
  color: #ffffff;
  margin: 0;
  font-weight: bold;
}

.hero-clientes-bg .hero-text p {
  font-size: 26px;
  color: #f1f1f1;
  margin: 15px 0;
  max-width: 650px;
}

.hero-clientes-bg .hero-icon-box i {
  font-size: 160px;
  color: white; /* Blanco Qplus para el icono */
  opacity: 1;
}

/* Ajuste Responsivo */
@media (max-width: 768px) {
  .hero-clientes-bg .hero-text h1 {
    font-size: 45px;
  }
  .hero-clientes-bg .hero-icon-box {
    display: none;
  }
}

/* --- Sección Clientes Grid --- */
.clientes-grid-section {
  padding: 80px 10%;
  background-color: whitesmoke;
}

.clientes-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.clientes-intro h2 {
  font-size: 45px;
  color: #004a99;
  margin-bottom: 20px;
}

.clientes-intro p {
  font-size: 22px;
  text-align: justify;
  line-height: 1.6;
  color: #444;
}

/* Línea Fina */
.separator-line {
  border: 0;
  height: 1px;
  background: #e0e0e0;
  margin: 40px auto 60px auto;
  width: 100%;
}

/* ==========================================================================
   SECCIÓN CLIENTES - CARDS COMPACTAS Y CENTRADO ABSOLUTO
   ========================================================================== */
/* --- Contenedor de la cuadrícula (3 columnas por fila) --- */
.clientes-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Cambio a 3 columnas */
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* --- La Tarjeta (Tamaño Compacto y Proporcional) --- */
.card-cliente {
  position: relative;
  height: 250px; /* Altura optimizada para 3 columnas */
  background-color: #ffffff;
  border: 3px solid #a6bb53;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease-in-out;
}

/* --- Capa Frontal: El Marco del Logo --- */
.card-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;

  /* Centrado absoluto */
  display: flex;
  align-items: center;
  justify-content: center;

  /* MARGEN UNIFORME: Este padding crea el espacio igualitario en los 4 bordes */
  padding: 40px;

  box-sizing: border-box;
  z-index: 2;
  transition: all 0.5s ease;
}

.card-logo {
  /* El logo crecerá hasta encontrar el padding de la card-front */
  width: 100%;
  height: 100%;

  /* Mantiene la proporción y evita que se corte o estire */
  object-fit: contain;
  display: block;
  filter: grayscale(20%); /* Opcional: un toque sutil de sobriedad */
  transition: filter 0.3s;
}

/* --- Centrado de Texto y Botón (Cara Trasera) --- */
.card-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4a6ea6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 25px;
  z-index: 1;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
  box-sizing: border-box;
}

/* --- Estilos de Texto y Botón --- */
.card-title-cliente {
  color: #dbb557;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.card-back p {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 15px;
}

.btn-cliente {
  background-color: #dbb557;
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

/* --- EFECTOS HOVER --- */
.card-cliente:hover {
  border-color: #dbb557;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-cliente:hover .card-front {
  opacity: 0;
  transform: scale(0.8);
}

.card-cliente:hover .card-back {
  opacity: 1;
  z-index: 3;
  transform: translateY(0);
}

/* --- Ajuste Responsivo --- */
@media (max-width: 992px) {
  .clientes-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
  }
}

@media (max-width: 600px) {
  .clientes-container {
    grid-template-columns: 1fr; /* 1 columna en celulares */
  }
}
