
/* ========== MENÚ HAMBURGUESA FUNCIONAL Y MODERNO ========== */
/* ========== MENÚ RESPONSIVE ========== */
/* Botón hamburguesa (siempre oculto excepto en móvil) */
.menu-toggle {
  display: none; /* Oculta el botón por defecto en todos los dispositivos */
  visibility: hidden;
}

.navbar .nav-links {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

/* Submenús en desktop */
.submenu {
  position: relative;
}

.submenu .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  min-width: 200px;
  z-index: 100;
  padding: 0.5rem 0;
  border-radius: 0 0 4px 4px;
}

.submenu:hover .dropdown {
  display: block;
}

/* ESTILOS SOLO PARA MÓVILES (max-width: 768px) */
@media screen and (max-width: 768px) {
  /* Botón hamburguesa - SOLO visible en móviles */
   .navbar .nav-links {
    max-height: 80vh; /* Limita la altura */
    overflow-y: auto; /* Añade scroll si es necesario */
  }
  
  .submenu .dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .submenu .dropdown.active {
    max-height: 500px; /* Altura suficiente para el contenido */
  }
  .menu-toggle {
    display: block !important;
    visibility: visible !important;
    font-size: 2rem;
    background: none;
    border: none;
    color: #FFD700;
    cursor: pointer;
    margin-right: 1rem;
    transition: transform 0.3s ease;
  }
  
  .menu-toggle.active {
    transform: rotate(90deg);
  }
  
  /* Menú principal en móviles */
  .navbar .nav-links {
    display: flex;
    flex-direction: column;
    background-color: #1A5D7A; /* Azul más claro */
    border-left: 3px solid #FFD700; /* Acento dorado */
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    padding: 2rem 1rem;
    z-index: 1000;
    transition: right 0.3s ease;
    margin-top: 0;
  }

  .navbar .nav-links.active {
    display: flex;
    right: 0;
  }

  .navbar .nav-links li {
    margin: 0.5rem 0;
    width: 100%;
  }
  .nav-links li a {
    color: #FFF !important; /* Texto blanco legible */
  }

  /* Submenús en móvil */
  .submenu .dropdown {
    position: static;
    display: block; /* Mostrar siempre los submenús */
   /* background-color: #444; /*#444*/
     background-color: #236B8A; /* Variación sutil */
    border-left: 2px solid rgba(255, 215, 0, 0.3);
    padding-left: 1rem;
    margin-top: 0.5rem;
  }

  .submenu:hover .dropdown {
    display: block; /* Mantener visible */
  }

  .dropdown.active {
    display: block;
  }

  .submenu > a::after {
    content: " ▼";
    font-size: 0.8em;
    color: #FFD700; /* Flecha dorada */
  }
}
/*CARRUSEL DE IMAGENES PARA MOVIL SWIPER*/
/* ===== CARRUSEL PRINCIPAL - VERSIÓN MEJORADA ===== */
/* ===== SOLUCIÓN FINAL - CARRUSEL MÓVIL ===== */
@media screen and (max-width: 768px) {
  /* Reset completo para el swiper (se mantiene igual) */
  .principal-swiper,
  .principal-swiper .swiper-wrapper,
  .principal-swiper .swiper-slide {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: hidden !important;
  }

  /* Ajuste de altura (MODIFICADO para centrado absoluto) */
  .swiper-slide {
    height: 80vh !important;
    min-height: 500px !important;
    position: relative !important; /* Añadido para el centrado absoluto del contenido */
  }

  /* Overlay completo (se mantiene igual) */
  .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
      to bottom,
      rgba(17, 64, 93, 0.9) 0%,
      rgba(17, 64, 93, 0.7) 100%
    ) !important;
    z-index: 1 !important;
  }

  /* === CONTENEDOR DE TEXTO - VERSIÓN CENTRADA (CAMBIO PRINCIPAL) === */
  .slide-content {
    position: absolute !important; /* Cambiado de relative a absolute */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important; /* Centrado perfecto */
    z-index: 2 !important;
    width: 90% !important; /* Cambiado de vw a % para mejor responsividad */
    max-width: 400px !important; /* Añadido límite máximo */
    padding: 25px !important;
    background: rgba(0, 43, 91, 0.95) !important;
    border-radius: 12px !important;
    box-shadow: 
      0 5px 20px rgba(0, 0, 0, 0.4),
      0 0 15px rgba(255, 255, 255, 0.1) inset !important; /* Sombra mejorada */
    text-align: center !important; /* Añadido para centrar texto */
  }

  /* Texto garantizado visible (MODIFICADO para centrado) */
  .slide-content h1,
  .slide-content p {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: normal !important;
    hyphens: auto !important;
    text-align: center !important; /* Añadido */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important; /* Sombra de texto */
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .slide-content h1 {
    font-size: calc(1.2rem + 1vw) !important;
    line-height: 1.4 !important;
  }

  .slide-content p {
    font-size: calc(0.8rem + 0.5vw) !important;
    line-height: 1.6 !important;
  }

  /* Botón asegurado (MEJORADO) */
  .btn-hero {
    width: 80% !important; /* Cambiado de min-width a width */
    margin: 20px auto 0 !important; /* Margen superior aumentado */
    display: block !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3) !important; /* Sombra añadida */
  }
}

/* ========== HEADER ========== */
body {
  margin: 0;
  font-family: 'Montserrat';
  background-color: #ffffff;
  font-weight: 500;
  color: #333;
}
/* LOGO */
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 1px; /* Reducido de 3px a 1px */
  text-decoration: none;
  display: inline-block;
  padding: 8px 10px; /* Reducido de 15px a 10px en derecha/izquierda */
  transition: all 0.3s ease;
  background: linear-gradient(90deg, rgba(17,64,93,0.3) 0%, rgba(17,64,93,0.1) 100%);
  border-radius: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  white-space: nowrap; /* Asegura que no haya saltos de línea */
  max-width: 100%; /* Limita el ancho máximo */
  box-sizing: border-box; /* Incluye padding en el ancho total */
  overflow: visible !important; /* Fuerza visibilidad completa */
}
.logo-text:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6);
}
.menu-container {
  background: linear-gradient(90deg, #164663, #0b3a57, #002B5B);
  padding: 10px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  height: 75px; /* Reduces aquí el alto total del header */
}
.menu-container.logo {
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  text-decoration: none;
}
#menu {
  display: none;
}
/* Estilo específico para listas en el modal personalizado */
.sectores, .beneficios {
  list-style-type: none;
  padding-left: 0;
}

/* Carrusel con Swiper */
.swiper {
  width: 100%;
  height: 100vh;
  margin-top: 90px;
}

.swiper-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 80px;
  color: white;
  text-align: left;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 43, 91, 0.5);
  z-index: 0;
}

.slide-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: left;
  padding-top: 100px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-content h1 {
  font-size: 3.5em;
  margin-bottom: 15px;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.slide-content p {
  font-size: 1.3em;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-hero {
  background: linear-gradient(90deg, #00BFFF, #007ACC);
  color: white;
  padding: 12px 28px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 191, 255, 0.4);
  display: inline-block;
}

.btn-hero:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #007ACC, #00BFFF);
  box-shadow: 0 8px 20px rgba(0, 191, 255, 0.6);
}
/* Control de visibilidad de textos en slides */
.swiper-slide .slide-content {
  opacity: 0;
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  pointer-events: none;
  position: relative;
  z-index: 2;
}
.swiper-slide.swiper-slide-active .slide-content {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease-out;
}

/* ==== ESTILOS DEL MENU ==== */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 20px 0 0;
  
}

.navbar ul li {
  position: relative;
  text-align: center;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  padding: 10px 12px;
  transition: color 0.3s ease;
  position: relative;
}

.navbar ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background-color: #FFD700;
  transition: width 0.3s ease;
}

.navbar ul li a:hover {
  color: #FFD700;
}

.navbar ul li a:hover::after {
  width: 100%;
}
.navbar ul li a.active {
  color: #FFD700;
  font-weight: 600;
  border-bottom: 2px solid #FFD700;
}

/* Submenú contenedor */
.navbar ul li.submenu {
  position: relative;
}

/* Botón principal que tiene submenú */
.navbar ul li.submenu > a {
  position: relative;
  padding-right: 20px;
}

/* Dropdown oculto por defecto */
.navbar ul li .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: flex;
  flex-direction: column;
  text-align: left; /* ← Esto es lo importante */
  align-items: flex-start;
}

/* Estilos de los items del dropdown */
.navbar ul li .dropdown li {
  list-style: none;
}

/* Enlaces del dropdown */
.navbar ul li .dropdown li a {
  display: block;
  text-align: left; /* ← Esto también */
  color: #002B5B;
  padding: 12px 15px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Hover sobre los items */
.navbar ul li .dropdown li a:hover {
  background-color: #00BFFF;
  color: white;
  border-radius: 8px;
}

.navbar ul li.submenu > a:hover {
  text-decoration: none; /* Evita el tachado */
  color: #FFD700; /* Cambia el color como en los demás menús */
  border-bottom: 2px solid #FFD700; /* Subraya con el mismo estilo que el resto */
}

/* Fondo para los submenús */
.navbar ul li .dropdown {
  background-color: #002B5B; /* Cambia esto por el color de fondo que prefieras */
}

/* Estilo de los enlaces dentro del submenú */
.navbar ul li .dropdown li a {
  color: white; /* Cambia el color del texto si es necesario */
  font-size: 12px; /* Ajusta el tamaño según lo necesites */
}

/* Hover de los submenús */
.navbar ul li .dropdown li a:hover {
  background-color: #00BFFF;
  color: white;
}

/* Mostrar el submenú cuando pasa el cursor */
.navbar ul li.submenu:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Flechita ▼ */
.navbar ul li.submenu > a::after {
  
  font-size: 0.6em;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
}

.navbar ul li.submenu .dropdown li a {
  color: white;
}

.navbar ul li.submenu > a::after {
  display: none;
}
/* Responsive: Opcional si deseas para móviles (mostrar diferente o adaptar) */
@media (max-width: 768px) {
  .navbar ul li.submenu .dropdown {
    position: static;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    background: #002B5B;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }
}
/* Sectores que Atendemos */
.sectores {
  padding: 100px 20px;
  background-color: #f3f8ff;
  text-align: center;
}

.sectores h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #002B5B;
}

.sectores p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
}

.grid-sectores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.sector-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.sector-card:hover {
  transform: translateY(-10px);
}

.sector-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sector-content {
  padding: 20px;
}

.sector-content h3 {
  color: #002B5B;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.sector-content p {
  color: #444;
  font-size: 1em;
  line-height: 1.5;
}
/* Ajuste para más sectores */
@media (min-width: 1024px) {
  .grid-sectores {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Beneficios */
/* Beneficios */
.beneficios {
  padding: 100px 20px;
  background-color: #ffffff;
  text-align: center;
}

.beneficios h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #002B5B;
}

.beneficios p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
}

.grid-beneficios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.card-beneficio {
  background: #f3f8ff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.card-beneficio:hover {
  transform: translateY(-8px);
}

.card-beneficio img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.card-beneficio h3 {
  color: #002B5B;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.card-beneficio p {
  color: #555;
  font-size: 0.95em;
  line-height: 1.6;
  flex-grow: 1;
  max-height: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 767px) {
  .grid-beneficios {
    grid-template-columns: 1fr;
  }
}

/* ==== SECCIÓN DETALLE DE SISTEMA ==== */
.sistema-detalle {
  padding: 100px 20px;
  background-color: #f9f9f9;
}

.contenedor-sistema {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.contenedor-sistema.reverse{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  gap: 60px;
  flex-direction: row-reverse;
}

.info-sistema {
  flex: 1 1 500px;
  text-align: left;
}

.info-sistema h2 {
  font-size: 2.5em;
  color: #002B5B;
  margin-bottom: 20px;
}

.info-sistema p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 20px;
}

.beneficios-sistema {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.beneficios-sistema li {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333;
}

.btn-info-sistema {
  display: inline-block;
  background: linear-gradient(90deg, #00BFFF, #007ACC);
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-info-sistema:hover {
  background: linear-gradient(90deg, #007ACC, #00BFFF);
  transform: scale(1.05);
}

.imagen-sistema {
  flex: 1 1 400px;
}

.imagen-sistema img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.video-sistema {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-sistema iframe {
  width: 100%;
  max-width: 900px;
  height: 350px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .contenedor-sistema {
    flex-direction: column;
    text-align: center;
  }
  
.info-sistema, .imagen-sistema {
    flex: 1 1 100%;
  }

.imagen-sistema img {
    max-width: 90%;
    margin-top: 20px;
  }
}
/* En móviles, que se apile verticalmente */
@media (max-width: 768px) {
  .contenedor-sistema.reverse {
    flex-direction: column;
  }
}
/* ==== QPOS ERP Sección ==== */
.qpos-erp {
  padding: 100px 20px;
  background: #f3f8ff;
  text-align: center;
}

.contenedor-qpos {
  max-width: 1200px;
  margin: auto;
}

.qpos-erp h2 {
  font-size: 3em;
  color: #002B5B;
  margin-bottom: 40px;
}

.fila-principal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 60px;
}

.info-erp {
  flex: 1 1 500px;
  text-align: left;
}

.info-erp h3 {
  font-size: 2em;
  color: #007ACC;
  margin-bottom: 20px;
}

.beneficios-erp {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.beneficios-erp li {
  margin-bottom: 12px;
  font-size: 1.1em;
  color: #444;
}

.btn-solicitar-demo {
  background: linear-gradient(90deg, #00BFFF, #007ACC);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-solicitar-demo:hover {
  transform: scale(1.05);
  background: linear-gradient(90deg, #007ACC, #00BFFF);
}

.video-erp {
  flex: 1 1 500px;
}

.video-erp iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
/* Sección App Móvil */
.app-movil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.imagen-app {
  width: 100%;  /* Aumentas el ancho aquí */
  max-width: 500px;
  height: auto;  /* Mantiene el alto proporcional */
  object-fit: contain;
  max-width: 100%; /* Para que en móvil no se rompa */
}

.texto-app {
  max-width: 500px;
  text-align: left;
}

.texto-app h3 {
  font-size: 2em;
  color: #007ACC;
  margin-bottom: 15px;
}

.texto-app p {
  font-size: 1.2em;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .fila-principal, .app-movil {
    flex-direction: column;
  }
  
  .video-erp iframe {
    height: 250px;
  }
}

.app-section {
  padding: 80px 20px;
  background-color: #f9f9f9;
}

.app-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.app-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.app-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
}

.app-text {
  flex: 1;
  text-align: left;
}

.app-text h2 {
  font-size: 2.5em;
  color: #002B5B;
  margin-bottom: 20px;
}

.app-text p {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 20px;
}

.app-text ul {
  list-style: disc inside;
  color: #444;
  font-size: 1em;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .app-container {
    flex-direction: column;
    text-align: center;
  }

  .app-image img {
    max-width: 300px;
  }

  .app-text {
    text-align: center;
  }

  .app-text h2 {
    font-size: 2em;
  }

  .app-text p {
    font-size: 1em;
  }
}
/*/* ===== MENU NOTICIAS === VENTAJAS */
.ventajas {
  padding: 90px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.ventajas h2 {
  font-size: 2.8em;
  color: #002B5B;
  margin-bottom: 50px;
}

.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: start;
}

.ventaja-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.ventaja-card:hover {
  transform: translateY(-8px);
}

.ventaja-card img {
  width: 400px;
  height: 250px; /* No forzamos altura para que no se deforme */
  object-fit: contain; /* Que se vea toda la imagen sin cortarla */
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.ventaja-card img:hover {
  transform: scale(1.05);
}

.ventaja-info {
  margin-top: 20px;
  width: 100%;
}

.ventaja-info h3 {
  font-size: 2em;
  color: #002B5B;
  margin-bottom: 20px;
  text-align: center;
}

.ventaja-info ul {
  list-style: none;
  padding-left: 30px; /* Un pequeño espacio hacia la izquierda */
  text-align: left; /* Alineamos el texto completamente a la izquierda */
}

.ventaja-info ul li {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .ventajas-grid {
    grid-template-columns: 1fr;
  }
}
/*/* ===== MENU NOTICIAS === CERTIFICADO DIGITAL */
.certificado-digital {
  background-color: #f4f9ff;
  padding: 100px 20px;
  text-align: center;
}

.certificado-digital h2 {
  font-size: 2.5em;
  color: #002B5B;
  margin-bottom: 20px;
}

.certificado-digital .intro {
  font-size: 1.1em;
  color: #444;
  max-width: 700px;
  margin: 0 auto 40px;
}

.certificado-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  text-align: left;
}

.certificado-grid .bloque {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.certificado-grid h3 {
  color: #007ACC;
  margin-bottom: 10px;
}

.certificado-grid ul {
  padding-left: 20px;
}

.certificado-grid li {
  margin-bottom: 10px;
  color: #333;
}
/* ===== MENU NOTICIAS - FACTURACION ELECTRONICA ===== */
.facturacion {
  padding: 100px 20px;
  background-color: #f3f8ff;
  text-align: center;
}

.facturacion h2 {
  font-size: 2.5em;
  color: #002B5B;
  margin-bottom: 20px;
}

.facturacion .intro {
  font-size: 1.1em;
  color: #444;
  max-width: 800px;
  margin: 0 auto 40px;
}

.grid-facturacion {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: auto;
  text-align: left;
}

.bloque-facturacion {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.bloque-facturacion h3 {
  color: #007ACC;
  margin-bottom: 10px;
}

.bloque-facturacion ul {
  padding-left: 20px;
  list-style: none;
}

.bloque-facturacion li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: #333;
}

.bloque-facturacion li::before {
  content: "✔";
  color: #007ACC;
  position: absolute;
  left: 0;
}

.destacado {
  margin-top: 40px;
  background: #002B5B;
  color: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1em;
}
/* ===== MENU NOTICIAS - SIRE ===== */
.sire {
  padding: 100px 20px;
  background-color: #ffffff;
  text-align: center;
}

.contenedor-sire {
  max-width: 1000px;
  margin: auto;
  text-align: left;
}

.sire h2 {
  text-align: center;
  color: #002B5B;
  font-size: 2.5em;
  margin-bottom: 10px;
}

.intro-sire {
  font-size: 1.1em;
  text-align: center;
  color: #444;
  margin-bottom: 40px;
}

.bloque-info {
  background-color: #f9f9f9;
  border-left: 6px solid #007ACC;
  padding: 25px 30px;
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.bloque-info h3 {
  color: #007ACC;
  margin-bottom: 10px;
}

.bloque-info p,
.bloque-info ul {
  color: #333;
  font-size: 1em;
  line-height: 1.6;
}

.bloque-info ul {
  padding-left: 20px;
}

.bloque-info ul li {
  margin-bottom: 10px;
}

.bloque-info.alerta {
  background-color: #fff3cd;
  border-left: 6px solid #ff9900;
}

.bloque-info.alerta h3 {
  color: #cc7000;
}
/* ==== PROGRAMA PARA SOCIOS ==== */
.socios {
  padding: 100px 20px;
  background-color: #ffffff;
  text-align: center;
}

.socios h2 {
  font-size: 2.5em;
  color: #002B5B;
  margin-bottom: 10px;
}

.socios p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.beneficios-socios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.beneficio-socio-card {
  background: #f3f8ff;
  padding: 20px 15px;
  border-radius: 12px;
  font-size: 1em;
  color: #002B5B;
  font-weight: 500;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.beneficio-socio-card:hover {
  transform: translateY(-5px);
}

.tabla-comisiones {
  margin-bottom: 50px;
}

.tabla-comisiones h3 {
  font-size: 1.4em;
  color: #007ACC;
  margin-bottom: 15px;
}

.tabla-comisiones table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.tabla-comisiones th,
.tabla-comisiones td {
  border: 1px solid #ddd;
  padding: 12px 18px;
  text-align: center;
  font-size: 0.95em;
}

.tabla-comisiones th {
  background-color: #002B5B;
  color: white;
}

.tabla-comisiones tr:nth-child(even) {
  background-color: #f9f9f9;
}

.btn-socio {
  display: inline-block;
  background-color: #FFD700;
  color: #002B5B;
  padding: 14px 30px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 20px;
  transition: background 0.3s ease;
}

.btn-socio:hover {
  background-color: #e0be00;
}

.tabla-comisiones-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.tabla-comisiones {
  flex: 1 1 300px;
  max-width: 500px;
}
/*APK MOVIL*/
.apk-section {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.apk-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

.apk-container p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.apk-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.apk-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  padding: 30px 20px;
  width: 300px;
  transition: transform 0.3s ease;
}

.apk-card:hover {
  transform: translateY(-5px);
}

.apk-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.apk-card h3 {
  font-size: 1.25rem;
  color: #111;
  margin-bottom: 10px;
}

.apk-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}

.download-btn {
  background: #2f80ed;
  color: #fff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 8px;
  display: inline-block;
  font-weight: bold;
  transition: background 0.3s;
}

.download-btn:hover {
  background: #1366d6;
}

/* Responsive */
@media (max-width: 768px) {
  .apk-cards {
    flex-direction: column;
    align-items: center;
  }
}
/* ==== PLANES DE PRECIOS ==== */
.precios {
  padding: 100px 20px;
  background-color: #f7faff;
  text-align: center;
}

.precios h2 {
  font-size: 2.5em;
  color: #002B5B;
  margin-bottom: 10px;
}

.precios p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 40px;
}

.bloque-planes {
  margin-bottom: 60px;
}

.bloque-planes h3 {
  font-size: 1.8em;
  color: #007ACC;
  margin-bottom: 20px;
}

.grid-planes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.plan-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border-top: 6px solid #007ACC;
}

.plan-card h4 {
  font-size: 1.4em;
  color: #002B5B;
  margin-bottom: 10px;
}

.plan-card .precio {
  font-size: 1.8em;
  color: #00BFFF;
  font-weight: bold;
  margin-bottom: 20px;
}

.plan-card ul {
  text-align: left;
  color: #444;
  font-size: 0.95em;
  padding-left: 20px;
  margin-bottom: 25px;
}

.plan-card ul li {
  margin-bottom: 8px;
}

.plan-card .btn-plan {
  background: #00BFFF;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.plan-card .btn-plan:hover {
  background: #007ACC;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

/* Plan destacado */
.plan-card.destacado {
  border-top: 6px solid #FFD700;
  background: #fffdf5;
}
.plan-card.destacado h4 {
  color: #cc9a00;
}
.plan-card.destacado .precio {
  color: #cc9a00;
}

.no-incluido {
  color: #d30000;
  text-decoration: line-through;
  font-style: italic;
}
/* ===== FORMULARIO CONTACTO ===== */
.contacto {
  padding: 100px 20px;
  background-color: #f3f8ff;
}

.contacto-contenedor {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.contacto-info {
  flex: 1 1 400px;
}

.contacto-info h2 {
  font-size: 2.2em;
  color: #002B5B;
  margin-bottom: 15px;
}

.contacto-info p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 25px;
}

.contacto-datos {
  list-style: none;
  padding: 0;
}

.contacto-datos li {
  font-size: 1em;
  margin-bottom: 12px;
  color: #333;
}

/* Formulario */
.contacto-formulario {
  flex: 1 1 400px;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: block; /* <-- importante cambio */
}

.contacto-formulario input,
.contacto-formulario select,
.contacto-formulario textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 16px; /* espaciado uniforme */
  box-sizing: border-box;
}

.contacto-formulario input:focus,
.contacto-formulario select:focus,
.contacto-formulario textarea:focus {
  border-color: #007ACC;
  outline: none;
}

.contacto-formulario button {
  display: block;
  width: 100%;
  background-color: #00BFFF;
  color: white;
  border: none;
  padding: 14px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.contacto-formulario button:hover {
  background-color: #007ACC;
}

/* Responsive */
@media (max-width: 768px) {
  .contacto-contenedor {
    flex-direction: column;
  }
}
/* BANNER RESALTADO */
.banner-resaltado {
  background-image: url('images/banner.jpg'); /* Cambia por tu imagen */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Efecto Parallax */
  padding: 100px 20px;
  position: relative;
  color: white;
  text-align: center;
  z-index: 1;
  animation: backgroundMove 30s infinite linear;
}

.banner-resaltado::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.banner-overlay {
  background: rgba(0, 43, 91, 0.7); /* Oscurece ligeramente para resaltar texto */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-contenido h2 {
  color: #FFD700;
  font-size: 2.5rem;
  margin-bottom: 10px;
  animation: slideIn 1s ease-out forwards;
}

.banner-contenido p {
  color: #ffffff;
  font-size: 1.1rem;
  animation: fadeInUp 2s ease;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backgroundMove {
  0% { background-position: center 0px; }
  100% { background-position: center 200px; }
}

@keyframes slideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .banner-contenido h2 {
    font-size: 1.8rem;
  }

  .banner-contenido p {
    font-size: 1rem;
  }
}
/* ==== Carrusel de Clientes Infinito ==== */
/* ==== CLIENTES INFINITE CORREGIDO FINAL ==== */
.clientes-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  text-align: center;
  overflow: hidden;
}

.clientes-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 15px;
  font-weight: 700;
}

.clientes-subtitle {
  font-size: 1.2rem;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.logos-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 20px 0;
}

.logos-slide {
  display: flex;
  flex-direction: row; /* Dirección horizontal */
  animation: slide 30s linear infinite;
  gap: 40px;
  padding: 20px 0; 
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 80px;
  flex-shrink: 0; /* Evita que se encojan los items */
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.logos-slide:hover {
  animation-play-state: paused;
}

/* Estilos para el tooltip */
.logo-item {
  position: relative; /* Necesario para que el tooltip funcione */
}

.logo-item::after {
  content: attr(data-tooltip); /* Toma el texto de data-tooltip */
  position: absolute;
  bottom: -30px; /* Posición debajo del logo */
  left: 50%;
  transform: translateX(-50%);
  background-color: #2c3e50; /* Color de fondo del tooltip */
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Evita interferencias con el hover */
  z-index: 10;
}

.logo-item:hover::after {
  opacity: 1; /* Muestra el tooltip al hacer hover */
}

@keyframes slide {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

/* Para dispositivos móviles */
@media (max-width: 768px) {
  .logo-item::after { display: none; }
  .clientes-title {
      font-size: 1.8rem;
  }
  
  .clientes-subtitle {
      font-size: 1rem;
      padding: 0 20px;
  }
  
  .logo-item {
      width: 120px;
      height: 60px;
  }
}
/* ===== FOOTER ===== */
.footer {
  background-color: #002B5B;
  color: #fff;
  padding: 60px 20px 30px 20px;
  font-size: 0.8em;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  border-top: 1px solid #FFD700; /* Línea arriba si quieres también */
  border-bottom: 1px solid #FFD700; /* Línea abajo */
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer-logo img {
  width: 150px;
  margin-bottom: 10px;
}

.footer-logo p {
  margin-top: 5px;
  font-size: 0.9em;
  color: #ccc;
}

.footer-contacto h4,
.footer-links h4 {
  color: #FFD700;
  margin-bottom: 15px;
}

.footer-contacto p,
.footer-links a {
  color: #ccc;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #FFD700;
}

.footer-bottom {
  background-color: #fff;
  text-align: center;
  padding: 15px 20px;
  color: #000;
  font-size: 0.9em;
  margin-top: 20px;
}

/* Línea vertical entre columnas */
.footer-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background-color: #FFD700;
  opacity: 0.5;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  color: #ccc;
  font-size: 22px;
  margin: 0 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  color: #FFD700;
  transform: scale(1.3);
}

/* Responsive - Móvil */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    flex: 1;
  min-width: 250px;
  padding: 0 20px;
  position: relative;
  transition: all 0.3s ease;
  }

  /* Efecto al pasar el mouse */
.footer-col:hover {
  background-color: rgba(255, 215, 0, 0.05); /* Un leve dorado claro */
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  border-radius: 12px;
}
}
/* === WhatsApp Flotante Estilo Pro === */
.whatsapp-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  width: 260px;
  z-index: 9999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: fadeInUp 0.3s ease;
}

.whatsapp-popup.open {
  display: flex;
}

.whatsapp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background-color: #075e54;
  color: #fff;
}

.popup-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
}

.popup-text strong {
  font-size: 1em;
}

.popup-text p {
  font-size: 0.85em;
  margin: 2px 0 0;
}

.btn-wsp-popup {
  background-color: #25d366;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95em;
  transition: background 0.3s ease;
}

.btn-wsp-popup:hover {
  background-color: #1ebd57;
}

.whatsapp-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: #25d366;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-toggle:hover {
  transform: scale(1.1);
}

.whatsapp-toggle img {
  width: 30px;
  height: 30px;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Botón flotante o fijo MODO DARK*/
.modo-toggle {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #002B5B;
  color: white;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.modo-toggle:hover {
  background: #FFD700;
  color: #002B5B;
}

.typewriter {
  border-right: 2px solid #fff;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  animation: blink-caret 0.75s step-end infinite;
  font-weight: bold;
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: white; }
}
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #002B5B;
    position: absolute;
    top: 70px;
    right: 10px;
    width: 200px;
    border-radius: 8px;
    padding: 1rem;
    z-index: 999;
  }

  nav ul.active {
    display: flex;
  }
}

/* Swiper navigation (opcional si se agrega) */
.swiper-button-next,
.swiper-button-prev {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  padding: 10px;
  transition: background 0.3s ease, color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #FFD700;
  color: #002B5B;
}

.swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #FFD700;
  opacity: 1;
  transform: scale(1.4);
}
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
  }

  .hero-section img {
    width: 100%;
    height: auto;
  }

  .navbar ul {
    flex-direction: column;
  }

  .navbar li {
    margin: 10px 0;
  }
}

/* Responsive - Móvil */
@media (max-width: 768px) {
  .swiper {
    height: auto; /* En lugar de 100vh, se adapta al contenido */
  }

  .navbar {
    position: absolute;
    top: 80px;
    left: 0;
    background-color: #002B5B;
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra el grupo de links */
  }


  #menu:checked ~ .navbar {
    height: 300px;
  }
  .swiper-slide {
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
  }
  .slide-content {
    padding-top: 0;
    max-width: 90%;
  }
  .slide-content h1 {
    font-size: 2em;
    line-height: 1.3;
  }
  .slide-content p {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .tarjetas-sistemas {
    flex-direction: column;
    align-items: center;
  }
  .slide-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
  }
  .swiper-slide .slide-content {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
  }
/* Opcional: animación suave de entrada para los textos */
  .swiper-slide.swiper-slide-active .slide-content {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.6s ease-in-out;
    animation: fadeInUp 0.6s ease-out;
}
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 10px;
    margin: 0 10px; /* Separación entre los elementos */
    height: 100px; /* Altura controlada para no hacer el carrusel muy grande */
    text-align: center;
}
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Oscurece la imagen para mejorar el contraste */
    z-index: 1;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
   }
  }  
}
/*MOVILES HEEADER*/
@media screen and (max-width: 768px) {
  .swiper-slide {
    padding: 0 20px;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    background-position: center;
    background-size: cover;
  }

  .slide-content {
    max-width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* sombra centrada y visible */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .slide-content h1 {
    font-size: 1.8em;
    color: #fff;
    white-space: normal;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .slide-content p {
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #f0f0f0;
  }

  .btn-hero {
    font-size: 0.95rem;
    padding: 10px 24px;
  }

  /* Ocultar flechas en móvil */
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}
/*.................................................................................*/
/* CORRECCIÓN PARA EL ESPACIO DERECHO EN MÓVILES */
@media (max-width: 768px) {
  body, html {
    width: 100% !important;
    overflow-x: hidden !important; /* Evita desbordamiento horizontal */
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .menu-container, 
  .header,
  .navbar,
  .swiper,
  .slide-content {
    max-width: 100vw !important; /* Usa el ancho completo visible */
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
  
  /* Asegura que todos los contenedores principales estén ajustados */
  body > * {
    box-sizing: border-box !important;
  }
}