/* ==============================================================================
   ==============================================================================
   SOFCOM - HOJA DE ESTILOS PRINCIPAL
   ==============================================================================
   
   ÍNDICE DE CONTENIDOS:
   -------------------
   1. Estilos globales y preload
   2. Navbar y navegación
   3. Hero Section
   4. Sección Nosotros
   5. Carrusel de Clientes
   6. Footer de contacto
   7. Sección Login
   8. Video y partículas
   9. Servicios - Introducción
   10. Slider Desarrollo y Programación
   11. Modal Redes
   12. Modal Big Data
   13. Modal Cloud
   14. Modal CCTV
   15. Modal Leasing
   16. Servicios - Grid y Cards
   17. Servicios - Modales
   18. Modal Asesoría y Consultoría
   19. Desarrollo y Programación
   20. Soporte IT
   21. Formulario de Contacto
   22. Footer Moderno
   
   ==============================================================================
   ============================================================================== */

/* 1. Estilos globales y preload */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  
}

.is-hidden {
  display: none;
}

img {
  vertical-align: middle;
  border-style: none;
}





/* Preloader de inicio de la pagina*/
/* Preloader */
#preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: rgba(22, 34, 144, 1);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Contenedor del logo y del círculo de carga */
.preloader-content {
  display: flex;
  flex-direction: column; /* Colocar logo encima del círculo */
  justify-content: center;
  align-items: center; /* Asegurar que ambos estén centrados */
  text-align: center;
}

/* Logo más grande */
.preloader-logo {
  width: 380px; /* Tamaño ajustado del logo */
  margin-bottom: 30px; /* Espacio entre el logo y el círculo */
  opacity: 0;
  animation: fadeInLogo 1.5s ease-in-out forwards;
}

/* Círculo de carga */
.loader {
  border: 8px solid #f3f3f3; /* Borde blanco */
  border-top: 8px solid #0066cc; /* Borde superior azul tecnológico */
  border-radius: 50%;
  width: 200px; /* Tamaño del círculo */
  height: 200px;
  animation: spin 2s linear infinite; /* Animación del círculo */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Texto "Cargando" debajo del círculo */
.loading-text {
  color: #fff; /* Color blanco para contraste */
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-top: 20px; /* Espacio entre el texto y el círculo */
}

/* Animación de los tres puntos "..." */
.dots::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  text-align: left;
  animation: dot-blink 1.5s steps(4, end) infinite;
}

@keyframes dot-blink {
  0% {
    content: "";
  }
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75% {
    content: "...";
  }
  100% {
    content: "";
  }
}

/* Animación de aparición del logo */
@keyframes fadeInLogo {
  0% {
    opacity: 0;
    transform: scale(0.8); /* Aparece desde un tamaño menor */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* Tamaño normal al terminar */
  }
}

/* Animación del círculo */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsividad: Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
  .preloader-logo {
    width: 280px; /* Logo más pequeño en pantallas pequeñas */
  }

  .loader {
    width: 150px; /* Círculo más pequeño en pantallas pequeñas */
    height: 150px;
  }

  .loading-text {
    font-size: 1.2rem; /* Texto más pequeño en pantallas pequeñas */
  }
}

/*******************************************************************************************/

/* Navbar */

.containerNav {
  width: 95%;
  margin: auto;
}

.navbar,
.custom-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background:linear-gradient(to left, rgba(22, 34, 144, 0.85) 5%, transparent 10%);
  display: flex;
  align-items: center;
  padding: 15px 0;
  z-index: 1000;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

/* Ajuste del logo para que ocupe todo el alto del navbar */
.logo img {
  height: 100%;
  max-height: 60px;
  width: auto;
}

.custom-nav.scrolled {
  background-color: rgba(22, 34, 144, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.navbar .containerNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

/* Links del navbar */
.navbar-links,
.custom-nav .navbar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.navbar-links li {
  margin: 0;
  position: relative;
  height: 100%;
}

.navbar-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  border-right: none;
  height: auto;
  position: relative;
  border-radius: 8px;
  margin: 0 3px;
}

.navbar-links li:last-child a {
  border-right: none;
}

.navbar-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

.navbar-links li:last-child a {
  border-right: none;
}

.navbar-links a:hover {
  color: white;
}

.navbar-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 123, 255, 0.7),
    rgba(0, 123, 255, 0.9)
  );
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s ease-out;
  transition-delay: 0s; /* No retraso al inicio */
}

.navbar-links a:hover::before {
  transform: scaleX(1);
  transform-origin: left; /* El relleno termina en el lado derecho */
  transition-delay: 0s; /* No retraso cuando se activa el hover */
}

/* Forzar que el relleno se complete incluso si el cursor sale rápido */
.navbar-links a::before {
  animation-fill-mode: forwards; /* Mantiene el estado final de la animación */
}

/* Submenú - Ahora deshabilitado */
/* Los submenús fueron eliminados del navbar */
.navbar-links li .dropdown {
  display: none;
}

/* Menú hamburguesa */
.navbar-toggler {
  display: none; /* Ocultar por defecto */
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  position: fixed;
  top: 15px;
  right: 20px;
  z-index: 1050;
  padding: 10px;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 30px;
  height: 3px;
  background-color: white;
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: white;
  transition: transform 0.3s ease;
}

.navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler-icon::after {
  bottom: -8px;
}

.navbar-toggler.active .navbar-toggler-icon {
  background-color: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler.active .navbar-toggler-icon::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Submenú en responsive */
@media (max-width: 768px) {
  .navbar-toggler {
    display: inline-block;
  }

  .navbar-links {
    flex-direction: column;
    text-align: center;
    background-color: rgba(22, 34, 144, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    backdrop-filter: blur(10px);
  }

  .navbar-links.active {
    max-height: 500px;
  }

  .navbar-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .navbar-links li:last-child {
    border-bottom: none;
  }

  .navbar-links a {
    padding: 18px 20px;
    font-size: 1.1rem;
    justify-content: center;
    border-radius: 0;
    margin: 0;
  }

  .navbar-links a:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  /* Estilo para el botón de login en responsive */
  .navbar-links .btn-login-nav {
    margin: 15px 20px;
    display: inline-block;
    width: auto;
  }

  .navbar-links li .dropdown {
    position: static;
    transform: translateY(0);
    background-color: rgba(0, 0, 0, 0.2);
  }

  .navbar-toggler.active .navbar-toggler-icon {
    background-color: transparent;
  }

  .navbar-toggler.active .navbar-toggler-icon::before {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar-toggler.active .navbar-toggler-icon::after {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .navbar-links li .dropdown {
    position: static; /* Los submenús ya no son absolutos en responsive */
    width: 100%; /* No tomar todo el ancho, pero ajustado al contenedor */
    margin-top: 10px; /* Espacio entre la sección y el submenú */
    margin-bottom: 10px; /* Margen debajo del submenú */
    opacity: 1; /* Asegura que sean visibles en pantallas pequeñas */
    transform: none; /* Elimina la transformación en responsive */
    background-color: rgba(
      0,
      191,
      255,
      0.9
    ); /* Fondo azul claro para los submenús */
  }

  /* Estilo de los enlaces del submenú */
  .navbar-links li .dropdown a {
    color: white; /* Color del texto en los submenús */
    padding: 15px 20px; /* Tamaño del padding para los enlaces del submenú */
    display: block;
    text-align: left; /* Alinear el texto a la izquierda */
    background-color: transparent; /* Fondo transparente para los enlaces no seleccionados */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Línea divisoria entre los enlaces */
    transition: background-color 0.3s ease; /* Suavidad en el cambio de color */
  }

  /* Colores y estilo activo */
  .navbar-links li .dropdown a:hover,
  .navbar-links li .dropdown a.active {
    background: linear-gradient(
      90deg,
      rgba(0, 123, 255, 0.7),
      rgba(0, 123, 255, 0.9)
    ); /* Gradiente activo */
    color: white; /* Asegura que el texto sea blanco sobre el gradiente */
  }
}

/*********************************************************************************/

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Ajuste del logo */
.header_logo {
  max-width: 600px;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.7); /* Sombra difuminada */
  border-radius: 10px; /* Si quieres darle un borde más suave */
}

.skill_home {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    rgba(22, 34, 144, 0.882),
    rgba(255, 255, 255, 0)
  );
  padding: 10px 50px;
  display: inline-block;
  margin-top: 30px;
  margin-bottom: 30px;
}

/* Estilo del texto para pantallas grandes */
.skill_home li {
  font-size: 1.3rem; /* Tamaño del texto en pantallas grandes */
  list-style: none;
  color: white;
}

/* Adaptación del texto para pantallas pequeñas */
@media (max-width: 768px) {
  .skill_home li {
    font-size: 1rem; /* Tamaño reducido en pantallas pequeñas */
  }
}

/* Estilos base para los botones de la sección principal */
.btn {
  position: relative;
  padding: 14px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 15px;
  color: white;
  overflow: hidden;
  border: 2px solid transparent;
  background-color: rgba(
    255,
    255,
    255,
    0.2
  ); /* Fondo visible antes del hover */
  transition: all 0.4s ease-in-out;
}

/* Fondo del botón que se rellena con hover */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    2,
    11,
    90,
    0.6
  ); /* Cambiar este color según el botón */
  z-index: -1;
  transition: transform 0.4s ease-in-out;
  transform: translateY(-100%); /* Empieza fuera del botón */
}

.btn:hover::before {
  transform: translateY(0); /* Rellena el botón desde arriba en hover */
}

.btn:hover {
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Botón de Ingresar en el navbar */
.btn-login-nav {
  background-color: rgba(22, 34, 144, 0.8) !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 25px !important;
  padding: 8px 20px !important;
  margin-left: 10px;
  transition: all 0.3s ease !important;
}

.btn-login-nav:hover {
  background-color: rgba(0, 123, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.btn-login-nav::before {
  display: none !important;
}

/* Botones del hero con estilo mejorado */
.btn-primary-style {
  background-color: rgba(22, 34, 144, 0.9) !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 30px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  margin: 0 10px 20px;
}

.btn-primary-style:hover {
  background-color: rgba(0, 123, 255, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-primary-style::before {
  display: none !important;
}

.btn-outline-style {
  background-color: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: 30px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  margin: 0 10px;
}

.btn-outline-style:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 1) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline-style::before {
  display: none !important;
}

/* ===== SECCIÓN NOSOTROS MEJORADA ===== */
.nosotros-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  padding: 80px 0 100px;
  position: relative;
}

.nosotros-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #162290, #0066cc, #00bfff);
}

.containerNosotros {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}

.nosotros-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(22, 34, 144, 0.1);
  gap: 40px;
}

.nosotros-text {
  flex: 1;
  min-width: 300px;
}

.nosotros-text h2 {
  font-size: 2.5rem;
  color: #162290;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.nosotros-text h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #162290, #0066cc);
  border-radius: 2px;
}

.nosotros-text p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.nosotros-img {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.nosotros-img img {
  max-width: 100%;
  /*border-radius: 15px;
  ox-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);*/
  transition: transform 0.3s ease;
}

.nosotros-img img:hover {
  transform: scale(1.02);
}

.btn-conoce {
  padding: 24px 24px;
  background: linear-gradient(135deg, #162290, #0066cc);
  color: white;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(22, 34, 144, 0.3);
}

.btn-conoce:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(22, 34, 144, 0.4);
}

/* ===== CARRUSEL INFINITO DE CLIENTES ===== */
.trusted-clients-section {
  padding: 20px 0 0 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

.trusted-clients-section h2 {
  text-align: center;
  color: #162290;
  font-size: 2rem;
  position: relative;
}

.trusted-clients-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0066cc, #162290);
  margin: 15px auto 0;
  border-radius: 2px;
}

.client-logos-track {
  display: flex;
  width: 200%; /* Dos conjuntos de logos */
  animation: scroll 25s linear infinite;
}

.client-logos-track:hover {
  animation-play-state: paused;
}

.client-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 50%;
  padding: 0 20px;
}

.client-logo {
  flex: 0 0 auto;
  width: 150px;
  padding: 15px;
  margin: 0 15px;
  background: transparent;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-5px);
}

.client-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Mover la mitad porque hay dos conjuntos */
  }
}

/* ==============================================================================
   NUESTRO APORTE A LA COMUNIDAD - TIMELINE
   ============================================================================== */
.community-timeline-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Container con z-index para estar sobre las imágenes */
.community-timeline-section .container {
  position: relative;
  z-index: 2;
}

/* Capas de imágenes de fondo */
.community-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Contenedor vertical para las imágenes */
.community-bg-layer .bg-images-vertical {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

/* Imagen Calama */
.community-bg-layer .bg-image-calama {
  flex: 1;
  width: 100%;
  min-height: 250px;
  background-image: url('../img/comunidad/Calama.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
  /*filter: blur(2px);*/
}

/* Imagen Antofagasta */
.community-bg-layer .bg-image-antofagasta {
  flex: 1;
  width: 100%;
  min-height: 250px;
  background-image: url('../img/comunidad/Antofagasta.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
  /*filter: blur(2px);*/
}

/* Imagen San Pedro */
.community-bg-layer .bg-image-san-pedro {
  flex: 1;
  width: 100%;
  min-height: 250px;
  background-image: url('../img/comunidad/San_pedro2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
  /*filter: blur(1px);*/
}

/* Gradiente azul sobre las imágenes */
.community-bg-layer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(135deg, #0a1f5c 0%, #162290 50%, #1e3a8a 100%);*/
  z-index: 1;
}

/* Título mejorado */
.community-timeline-section h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  width: 100%;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  padding: 15px 30px;
  background: rgba(10, 37, 104, 0.85);
  border-radius: 10px;
}

@keyframes gradientMove {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.community-timeline-section .community-title {
  position: relative;
  padding-bottom: 20px;
}

.community-timeline-section .community-title::after {
  display: none;
}


/* Descripción mejorada */
.community-timeline-section .section-description {
  text-align: center;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 1050px;
  margin: 0 auto 50px;
  line-height: 1.8;
  padding: 25px 35px;
  background: linear-gradient(135deg, rgba(22, 34, 144, 0.5) 0%, rgba(0, 100, 180, 0.4) 100%);
  border-radius: 15px;
  border: 1px solid rgba(0, 191, 255, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.community-timeline-section .description-highlight {
  display: block;
  font-size: 2rem;
  margin-bottom: 10px;
}

.community-timeline-section .timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.community-timeline-section .timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #4fd1c5, #38b2ac);
  border-radius: 2px;
}

.community-timeline-section .timeline-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: -80px;
  position: relative;
  width: 50%;
  padding-right: 60px;
  cursor: pointer;
}

.community-timeline-section .timeline-item:hover .timeline-content {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(135deg, rgba(0, 120, 220, 0.6) 0%, rgba(15, 25, 120, 0.6) 100%);
  border: 1px solid rgba(0, 150, 255, 0.6);
  box-shadow: 0 15px 40px rgba(0, 100, 200, 0.4);
}

.community-timeline-section .timeline-item:hover .timeline-content::before {
  left: 100%;
}

.community-timeline-section .timeline-item:hover .timeline-content h3 {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(79, 209, 197, 0.8);
}

.community-timeline-section .timeline-item:hover .timeline-image-wrapper::after {
  opacity: 0;
}

.community-timeline-section .timeline-item:hover .timeline-icon {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 8px 30px rgba(79, 209, 197, 0.6);
  background: linear-gradient(135deg, #38b2ac 0%, #2c9a94 100%);
}

.community-timeline-section .timeline-item:nth-child(even) {
  align-self: flex-end;
  justify-content: flex-end;
  margin-left: 50%;
  padding-right: 0;
  padding-left: 60px;
}

.community-timeline-section .timeline-item:nth-child(odd) .timeline-icon {
  right: -30px;
  left: auto;
  transform: none;
}

.community-timeline-section .timeline-item:nth-child(even) .timeline-icon {
  left: -30px;
  right: auto;
  transform: none;
}

.community-timeline-section .timeline-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #4fd1c5 0%, #38b2ac 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(79, 209, 197, 0.4);
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-timeline-section .timeline-item:hover .timeline-icon {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 8px 30px rgba(79, 209, 197, 0.6);
  background: linear-gradient(135deg, #38b2ac 0%, #2c9a94 100%);
}

.community-timeline-section .timeline-icon i {
  font-size: 1.5rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.community-timeline-section .timeline-content {
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.3) 0%, rgba(22, 34, 144, 0.3) 100%);
  border: 1px solid rgba(0, 191, 255, 0.3);
  padding: 25px 30px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.community-timeline-section .timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79, 209, 197, 0.1), transparent);
  transition: left 0.5s ease;
}

.community-timeline-section .timeline-content h3 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  position: relative;
}

/* Imagen dentro de timeline-content */
.community-timeline-section .timeline-image-wrapper {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 2px solid rgba(79, 209, 197, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}


.community-timeline-section .timeline-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.35);
}

/* Iconos de fondo en timeline-image-wrapper */
.community-timeline-section .timeline-bg-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  gap: 10px;
  flex-wrap: wrap;
}

.community-timeline-section .timeline-image-wrapper .timeline-image {
  position: relative;
  z-index: 2;
}

.community-timeline-section .timeline-item:hover .timeline-image {
  transform: scale(1);
}

.community-timeline-section .timeline-image-wrapper::after {
  content: '👆';
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.community-timeline-section .timeline-item:hover .timeline-image-wrapper::after {
  opacity: 0;
}

.community-timeline-section .timeline-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .community-timeline-section h2 {
    font-size: 2rem;
  }
  
  .community-timeline-section .title-icon {
    font-size: 2rem;
  }
  
  .community-image-wrapper {
    height: 200px;
    margin: 20px 15px 30px;
  }
  
  .community-timeline-section .section-description {
    font-size: 1rem;
    padding: 15px 20px;
    margin: 0 auto 40px;
  }
  
  .community-timeline-section .timeline::before {
    left: 30px;
  }
  
  .community-timeline-section .timeline-item,
  .community-timeline-section .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    margin-bottom: 20px;
    padding-right: 0;
    padding-left: 70px;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
  .community-timeline-section .timeline-item:nth-child(odd) .timeline-icon,
  .community-timeline-section .timeline-item:nth-child(even) .timeline-icon {
    left: 30px;
    right: auto;
    transform: none;
  }
  
  .community-timeline-section .timeline-item:hover .timeline-icon {
    transform: scale(1.15);
  }
  
  .community-timeline-section .timeline-icon {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
  }
  
  .community-timeline-section .timeline-icon i {
    font-size: 1.2rem;
  }
}

/* Footer de contacto en servicios */
.footer-contact-consulting {
  text-align: center;
  padding: 30px;
  background: linear-gradient(
    135deg,
    rgba(22, 34, 144, 0.1),
    rgba(0, 123, 255, 0.1)
  );
  border-radius: 15px;
  margin-top: 30px;
}

.footer-contact-consulting h4 {
  color: #162290;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-btn i {
  font-size: 1.2rem;
}

.email-btn {
  background: #162290;
  color: white;
}

.email-btn:hover {
  background: #0f1a6b;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(22, 34, 144, 0.4);
}

.whatsapp-btn {
  background: #25d366;
  color: white;
}

.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.phone-btn {
  background: #0066cc;
  color: white;
}

.phone-btn:hover {
  background: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

/* Contact dev - same style */
.contact-dev {
  text-align: center;
  padding: 30px;
  background: linear-gradient(
    135deg,
    rgba(22, 34, 144, 0.1),
    rgba(0, 123, 255, 0.1)
  );
  border-radius: 15px;
  margin-top: 30px;
}

.contact-dev h4 {
  color: #162290;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Footer de soporte */
.footer-contact {
  text-align: center;
  padding: 30px;
  background: linear-gradient(
    135deg,
    rgba(22, 34, 144, 0.1),
    rgba(0, 123, 255, 0.1)
  );
  border-radius: 15px;
  margin-top: 30px;
}

.footer-contact h4 {
  color: #162290;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .client-logos-track {
    width: 300%; /* Más lento en móvil */
  }

  .client-logo {
    width: 120px;
    margin: 0 10px;
  }

  .nosotros-content {
    padding: 25px;
    flex-direction: column;
  }

  .nosotros-text h2 {
    font-size: 1.8rem;
  }
}

/* Sección de Login */
/* Sección de Login sobrepuesta */
.login-section {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(22, 34, 144, 0.95),
    rgba(0, 123, 255, 0.9)
  );
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translateX(100%);
  z-index: 9999;
}

.login-section.show {
  transform: translateX(0);
}

/* Icono de cerrar (X) */
.close-login {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.close-login:hover {
  color: #fff;
  background: rgba(255, 87, 87, 0.8);
  transform: rotate(90deg);
}

.login-container {
  position: relative;
  padding: 40px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(10px);
}

.login-container h2 {
  color: #162290;
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 700;
}

.login-container .subtitle {
  color: #666;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.input-group {
  margin-bottom: 20px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 0.9rem;
}

.input-group input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.input-group input:focus {
  border-color: #162290;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(22, 34, 144, 0.1);
}

.input-group {
  position: relative;
  margin-bottom: 24px;
}

.input-group input {
  width: 100%;
  padding: 16px 16px 16px 16px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
  font-size: 1rem;
  outline: none;
}

.input-group label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.2s ease;
  background: transparent;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group input:-webkit-autofill + label {
  top: 0;
  font-size: 0.75rem;
  color: #162290;
  background-color: #fff;
  padding: 0 6px;
  font-weight: 600;
}

.input-group input:focus {
  border-color: #162290;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(22, 34, 144, 0.1);
}

.password-group {
  position: relative;
}

.password-group input {
  padding-right: 48px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 8px;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.toggle-password:hover {
  color: #162290;
}

.toggle-password:focus {
  outline: none;
  color: #162290;
}

.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  color: #666;
  font-size: 0.9rem;
}

.options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #162290;
}

.options a {
  color: #162290;
  font-weight: 600;
  transition: color 0.3s ease;
}

.options a:hover {
  color: #0066cc;
  text-decoration: underline;
}

.btn-login {
  padding: 14px 24px;
  background: linear-gradient(135deg, #162290, #0066cc);
  color: white;
  border: none;
  border-radius: 10px;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(22, 34, 144, 0.3);
}

.btn-login:hover {
  background: linear-gradient(135deg, #0066cc, #162290);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 34, 144, 0.4);
}

.signup {
  margin-top: 25px;
  color: #666;
  font-size: 0.95rem;
}

.signup a {
  color: #162290;
  font-weight: 700;
  transition: color 0.3s ease;
}

.signup a:hover {
  color: #0066cc;
  text-decoration: underline;
}

/* Responsive login */
@media (max-width: 480px) {
  .login-container {
    padding: 30px 20px;
    margin: 20px;
  }

  .login-container h2 {
    font-size: 1.75rem;
  }

  .btn-login-nav {
    padding: 6px 16px !important;
    font-size: 0.9rem !important;
  }
}

/* Video de fondo */
#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1; /* Comienza completamente visible */
  transition: opacity 2s ease-in-out; /* Transición de opacidad */
}

#bg-video.fade-out {
  opacity: 0; /* Apagado */
}

#bg-video.fade-in {
  opacity: 1; /* Encendido */
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
  .header_logo {
    max-width: 300px; /* Ajuste del logo en pantallas pequeñas */
  }

  .btn {
    padding: 10px 15px;
    font-size: 1rem;
  }

  .hero-content {
    padding: 0 15px; /* Añadir un poco de espacio lateral en pantallas pequeñas */
  }

  .logo img {
    max-height: 40px;
  }

  #bg-video {
    min-height: 100vh;
    width: 100%;
    object-fit: cover;
  }
}

/* Sección nosotros */
/* Efecto Parallax para la sección "Nosotros" */
.nosotros-section {
  background: url("../img/nosotros_fondo.jpg") no-repeat center center fixed; /* Imagen de fondo */
  background-size: cover; /* Asegurar que la imagen ocupe toda la sección */
  background-attachment: fixed; /* Efecto parallax */
  background-position: center; /* Centrar la imagen */
  background-repeat: no-repeat; /* No repetir la imagen */
  padding: 100px 0;
}
.nosotros-section {
  position: relative;
  background-color: #f5f5f5;
  padding-bottom: 0;
  overflow: hidden; /* Asegurar que el contenido no se salga */
}

.nosotros-section .containerNosotros {
  width: 95%;
  margin: auto;
}

/* Ajustes del contenedor de la sección "Nosotros" */
.nosotros-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco translúcido */
  padding: 20px;
  border-radius: 15px; /* Bordes redondeados */
}

/* Animaciones de entrada */
.nosotros-content {
  transform: translateY(0);
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease;
}

/* Fondo blanco para el contenedor de texto y botones */
.nosotros-content {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 15px;
}

/* Ajustar el color del texto */
.nosotros-text p {
  color: #333;
}

.nosotros-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #162290;
}

.nosotros-text,
.nosotros-img {
  /* Visible por defecto para evitar problemas */
  opacity: 1;
  transform: translateX(0);
  transition: all 0.8s ease;
}

.nosotros-img {
  transform: translateX(0);
}

/* Cuando la sección es visible en pantalla - animación opcional */
.nosotros-section.show .nosotros-text,
.nosotros-section.show .nosotros-img {
  opacity: 1;
  transform: translateX(0);
}

/* Posicionar el logo al lado del texto */
.nosotros-img {
  flex: 1;
  text-align: center; /* Centrar en pantallas grandes */
}

.nosotros-img img {
  width: 100%; /* Tamaño ajustado del logo */
  /*border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.5); /* Fondo blanco translúcido */
  /*padding: 15px;*/
  /*box-shadow: 0 0 30px rgba(0, 123, 255, 0.4); /* Sombra difuminada en las orillas */
}

/* Ajustar el texto para que ocupe el 60% en pantallas grandes */
.nosotros-text {
  flex: 1;
  padding-right: 20px;
  max-width: 60%;
}

.nosotros-text p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-align: justify;
  color: #555; /* Color gris para mejor contraste */
}

/* Fondo sólido para el botón */
.btn-conoce {
  padding: 14px 32px;
  background: linear-gradient(135deg, #162290, #0066cc);
  color: white;
  border-radius: 30px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin: 25px auto 0;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(22, 34, 144, 0.3);
}

.btn-conoce:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(22, 34, 144, 0.4);
}

.nosotros-section.show .nosotros-content {
  opacity: 1;
  transform: translateY(0);
}

/*MODAL NOSOTROS*/
/* Modal */
.modalNosotros {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.modalNosotros:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.modalNosotros.hidden {
  opacity: 0;
  visibility: hidden;
}

.modalNosotros::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.modalNosotros-content {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  max-width: 550px;
  width: 90%;
  margin: 0 auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: all 0.3s ease;
  text-align: center;
}

.modalNosotros:not(.hidden) .modalNosotros-content {
  transform: scale(1);
}

.modalNosotros-content h3 {
  color: #162290;
  font-size: 1.8rem;
  margin-top: 20px;
  margin-bottom: 15px;
}

.modalNosotros-content h3:first-child {
  margin-top: 0;
}

.modalNosotros-content p,
.modalNosotros-content ul {
  color: #333;
  line-height: 1.6;
  font-size: 1rem;
  text-align: left;
}

.modalNosotros-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modalNosotros-content li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid #eee;
}

.modalNosotros-content li:last-child {
  border-bottom: none;
}

.modalNosotros-content li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #162290;
}

@media (max-width: 768px) {
  .modalNosotros-content {
    padding: 15px;
    max-width: 90%;
  }

  .modalNosotros-content h3 {
    font-size: 1.2rem; /* Ajustar tamaño de texto */
  }

  .modalNosotros-content p,
  .modalNosotros-content ul {
    font-size: 0.9rem; /* Reducir el tamaño del texto */
  }
}

@media (max-width: 480px) {
  .modalNosotros-content {
    padding: 10px;
    border-radius: 5px; /* Bordes más pequeños */
  }

  .modalNosotros-content h3 {
    font-size: 1rem;
  }

  .modalNosotros-content p,
  .modalNosotros-content ul {
    font-size: 0.8rem;
  }

  .closeNosotros {
    font-size: 18px;
  }
}
.wave {
  position: relative;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  background-color: transparent;
  margin-bottom: -17px; /* Para asegurar que no haya cortes visibles */
  overflow: hidden;
}

/* Ajustes en pantallas pequeñas (responsive) */
@media (max-width: 768px) {
  .nosotros-content {
    flex-direction: column; /* Colocar el logo debajo del texto en pantallas pequeñas */
    text-align: center;
  }

  .nosotros-text {
    max-width: 100%; /* Que el texto ocupe todo el ancho */
    padding-right: 0;
  }

  .nosotros-img {
    margin-top: 20px; /* Espaciado entre el texto y el logo */
  }

  /* Reducir el espacio entre el texto y el botón */
  .btn-conoce {
    margin-top: 10px;
  }

  .nosotros-content {
    flex-direction: column;
    text-align: center;
  }

  .nosotros-text,
  .nosotros-img {
    width: 100%;
    text-align: center;
  }

  .nosotros-text p {
    font-size: 1rem;
  }

  .btn-conoce {
    margin-top: 20px;
  }
}

/*SERVICIOS*/
/* Sección "Por qué Innovar" */
.why-innovate-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #ffffffef 20%, #0a74da 80%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
  color: #333;
  text-align: left;
}

.why-content {
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto 50px;
  flex-wrap: wrap;
}

.why-text {
  flex: 1;
}
.why-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: #0a74da;
}
.why-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .why-content {
    flex-direction: column;
    text-align: center;
  }

  .why-text h2 {
    font-size: 1.8rem;
  }

  .why-text p {
    font-size: 1rem;
  }
}

/* Contenedor específico para el gráfico */
.why-graph {
  background: #ffffff;
  padding: 50px 20px;
  text-align: center;
  margin-bottom: 50px;
  min-height: 500px;
  border-bottom: 4px solid #0a75da;
  display: block;
  visibility: visible;
}

.why-graph h2 {
  color: #162290;
  font-size: 2.2rem;
  margin-bottom: 35px;
  font-weight: 700;
}

.why-graph-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  height: 380px;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

/* Canvas dentro del contenedor */
#techUsageChart {
  width: 100% !important;
  height: 320px !important;
  max-height: 350px;
  display: block !important;
}

.graph-source {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
}

/* Fallback para cuando no carga Chart.js */
.chart-fallback {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 250px;
  padding: 20px;
  background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  margin-bottom: 15px;
}

.chart-fallback .chart-bar {
  width: 18%;
  background: linear-gradient(180deg, #162290 0%, #0a75da 100%);
  border-radius: 8px 8px 0 0;
  position: relative;
  min-height: 30px;
  transition: transform 0.3s ease;
}

.chart-fallback .chart-bar:hover {
  transform: scaleY(1.05);
}

.chart-fallback .chart-bar span {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.85rem;
  color: #162290;
  font-weight: 600;
  white-space: nowrap;
}

/* Contenedor de introducción */
.services-intro {
  position: relative;
  background: linear-gradient(135deg, #0d4ca8 0%, #0a75da 50%, #2563eb 100%);
  padding: 60px 20px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  color: #ffffff;
  transition: background 0.5s ease-in-out;
  padding-bottom: 60px;
  min-height: auto;
  overflow: hidden;
}

.services-intro #particles-services {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.services-intro #particles-services canvas {
  display: block;
}

/* Contenido de la introducción */
/* Contenido de introducción */
.intro-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 50px;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 20;
}

/* Texto en la introducción */
.intro-text {
  text-align: left;
  flex: 1;
  /* Animación de entrada - por defecto visible para evitar problemas */
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.8s ease, transform 0.8s ease, background 0.3s ease;
}
/* Animación opcional cuando entra en viewport */
.intro-text.animate-in {
  opacity: 0;
  transform: translateX(-50px);
}
.intro-text.animate-in.visible {
  opacity: 1;
  transform: translateX(0);
}
.intro-text h3 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}
.intro-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #f8f9fa;
}

/* Productos destacados con iconos */
.products-showcase {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: 20px;
  padding: 25px;
  margin: 25px 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.products-showcase h4 {
  color: #f8f9fa;
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.products-showcase h4 i {
  font-size: 1.4rem;
}

.products-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.products-list li {
  color: #e2e8f0;
  font-size: 1.05rem;
  padding: 12px 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  border-left: 3px solid #1b3082;
}

.products-list li:hover {
  background: rgba(79, 209, 197, 0.15);
  transform: translateX(5px);
}

.products-list li i {
  color: #4fd1c5;
  font-size: 1.2rem;
  width: 25px;
  text-align: center;
}

.services-callout {
  color: #e2e8f0 !important;
  font-size: 1.3rem !important;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px !important;
}

.services-callout i {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* Imagen */
.intro-image {
  flex: 1;
  /* Por defecto visible para evitar problemas */
  transform: translateX(0);
  opacity: 1;
  transition: opacity 0.8s ease, transform 0.8s ease, scale 0.3s ease;
}
/* Animación opcional cuando entra en viewport */
.intro-image.animate-in {
  transform: translateX(50px);
  opacity: 0;
}
.intro-image.animate-in.visible {
  transform: translateX(0);
  opacity: 1;
}

.intro-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: #e0e0e0;
  min-height: 250px;
  object-fit: cover;
}
.intro-image:hover {
  transform: scale(1.1);
  filter: brightness(1);
}
/* Responsive */
@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
    text-align: center;
  }

  .intro-text h3 {
    font-size: 1.8rem;
  }

  .intro-text p {
    font-size: 1rem;
  }

  .products-list {
    grid-template-columns: 1fr;
  }

  .products-showcase {
    padding: 20px;
  }

  .intro-image img {
    margin-top: 20px;
  }

  .why-graph {
    padding: 30px 15px;
    min-height: auto;
  }
  
  .why-graph h2 {
    font-size: 1.5rem;
  }
  
  .why-graph-container {
    padding: 15px;
    height: auto;
  }
}

/* Estilos para el slideshow dinámico - NUEVO DISEÑO */
.introDev-slider {
  width: 100%;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.slider-container:active {
  cursor: grabbing;
}

.slider-container .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition:
    opacity 0.6s ease-in-out,
    transform 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(1.05);
}

.slider-container .slide.active {
  opacity: 1;
  transform: scale(1);
}

.slider-container .slide img {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: contain;
  padding: 20px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(
    to top,
    rgba(15, 52, 96, 0.95) 0%,
    rgba(15, 52, 96, 0.7) 60%,
    transparent 100%
  );
  color: white;
}

.slide-content h4 {
  font-size: 1.6rem;
  margin: 0 0 8px 0;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.95;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 10;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.15);
  border-color: white;
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dots .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
  background: #4fd1c5;
  transform: scale(1.3);
  border-color: white;
  box-shadow: 0 0 15px rgba(79, 209, 197, 0.6);
}

/* Caja de descripción moderna - NUEVO DISEÑO */
.introDev-description-box {
  background: linear-gradient(145deg, #ffffff 0%, #f0f4f8 100%);
  padding: 40px;
  border-radius: 25px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(79, 209, 197, 0.2);
  position: relative;
  overflow: hidden;
}

.introDev-description-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0f3460, #4fd1c5, #0f3460);
}

.introDev-title {
  font-size: 2.4rem;
  color: #0f3460;
  margin-bottom: 25px;
  font-weight: 800;
  position: relative;
  padding-bottom: 20px;
  letter-spacing: -0.5px;
}

.introDev-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #4fd1c5, #0f3460);
  border-radius: 3px;
}

.introDev-description-box .introDev-description {
  font-size: 1.15rem;
  line-height: 1.9;
  color: #2d3748;
  margin-bottom: 30px;
}

.introDev-description-box .introDev-details h3 {
  font-size: 1.4rem;
  color: #0f3460;
  margin-bottom: 20px;
  font-weight: 700;
}

.introDev-description-box .introDev-details ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.introDev-description-box .introDev-details li {
  font-size: 1rem;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 0;
  padding: 15px 15px 15px 45px;
  position: relative;
  background: rgba(15, 52, 96, 0.03);
  border-radius: 12px;
  border-left: 3px solid #4fd1c5;
}

.introDev-description-box .introDev-details li::before {
  content: "\f121";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #4fd1c5;
  font-size: 1.1rem;
}

.introDev-description-box .introDev-details li strong {
  color: #0f3460;
}

/* Responsive para el slider y descripción */
@media (max-width: 768px) {
  .slider-container {
    height: 320px;
  }

  .slider-container .slide img {
    max-height: 300px;
  }

  .slide-content h4 {
    font-size: 1.3rem;
  }

  .slide-content p {
    font-size: 0.95rem;
  }

  .slider-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .introDev-description-box {
    padding: 25px;
  }

  .introDev-title {
    font-size: 1.8rem;
  }

  .introDev-description-box .introDev-description {
    font-size: 1rem;
  }

  .introDev-description-box .introDev-details ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .slider-container {
    height: 260px;
  }

  .slider-container .slide img {
    max-height: 240px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }

  .slider-dots .dot {
    width: 11px;
    height: 11px;
  }
}

/* Estilos para la sección introductoria de DEV */
.introDev-section {
  padding: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== MODAL REDES ===== */
.redes-header {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 50%, #56ab2f 100%);
  border-radius: 0;
  margin: -20px -20px 30px -20px;
  width: calc(100% + 40px);
  color: white;
  position: relative;
  overflow: hidden;
}

.redes-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMtOS45NDEgMC0xOCA4LjA1OS0xOCAxOHM4LjA1OSAxOCAxOCAxOCAxOC04LjA1OSAxOC0xOC04LjA1OS0xOC0xOHptMCAzMmMtNy43MzIgMC0xNC02LjI2OC0xNC0xNHM2LjI2OC0xNCAxNC0xNCAxNCA2LjI2OCAxNCAxNC02LjI2OCAxNC0xNHoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjEiLz48L2c+PC9zdmc+");
  opacity: 0.15;
}

.redes-header .header-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.redes-header .header-icon i {
  font-size: 3rem;
}

.redes-header h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.redes-header p {
  font-size: 1.25rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.network-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.net-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.net-node:hover {
  transform: scale(1.1);
}

.net-node.center {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
}

.net-node i {
  font-size: 1.8rem;
  color: #11998e;
}

.net-node.center i {
  color: white;
}

.net-node span {
  font-weight: 600;
  font-size: 0.9rem;
  color: #2d3748;
}

.net-node.center span {
  color: white;
}

.redes-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 30px;
  margin-bottom: 30px;
}

.service-tile {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  height: 100%;
}

.service-tile:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(17, 153, 142, 0.25);
  border-color: #11998e;
}

.service-tile i {
  font-size: 2.5rem;
  color: #11998e;
  margin-bottom: 18px;
}

.service-tile h3 {
  color: #2d3748;
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.service-tile p {
  color: #718096;
  font-size: 0.95rem;
}

.redes-contact {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  border-radius: 20px;
  margin: 20px;
}

.redes-contact h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.redes-contact .action-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.redes-contact .btn-primary,
.redes-contact .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.redes-contact .btn-primary {
  background: white;
  color: #11998e;
}

.redes-contact .btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

.redes-contact .btn-primary:hover,
.redes-contact .btn-secondary:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .network-visual {
    gap: 10px;
  }

  .net-node {
    padding: 10px;
  }

  .net-node i {
    font-size: 1.4rem;
  }

  .redes-services {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== MODAL BIG DATA ===== */
.bigdata-header {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border-radius: 0;
  margin: -20px -20px 30px -20px;
  width: calc(100% + 40px);
  color: white;
  position: relative;
  overflow: hidden;
}

.bigdata-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMtOS45NDEgMC0xOCA4LjA1OS0xOCAxOHM4LjA1OSAxOCAxOCAxOCAxOC04LjA1OSAxOC0xOC04LjA1OS0xOC0xOHptMCAzMmMtNy43MzIgMC0xNC02LjI2OC0xNC0xNHM2LjI2OC0xNCAxNC0xNCAxNCA2LjI2OCAxNCAxNC02LjI2OCAxNC0xNHoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjEiLz48L2c+PC9zdmc+");
  opacity: 0.15;
}

.bigdata-header h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.bigdata-header p {
  font-size: 1.25rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.bigdata-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 20px;
  margin-bottom: 30px;
}

.bigdata-stats .stat-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 15px;
  padding: 25px 15px;
  text-align: center;
  color: white;
}

.bigdata-stats .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
}

.bigdata-stats .stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.bigdata-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 30px;
}

.analytics-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border-left: 5px solid #667eea;
  height: 100%;
}

.analytics-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.analytics-card .card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.analytics-card .card-icon i {
  font-size: 2rem;
  color: white;
}

.analytics-card h3 {
  color: #2d3748;
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.analytics-card p {
  color: #718096;
  font-size: 1rem;
  line-height: 1.6;
}

.bigdata-process {
  padding: 30px 20px;
  margin: 20px;
  background: #f8f9fa;
  border-radius: 20px;
}

.bigdata-process h3 {
  text-align: center;
  color: #2d3748;
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::after {
  content: "→";
  position: absolute;
  right: -15px;
  top: 30px;
  color: #667eea;
  font-size: 1.5rem;
}

.process-step:last-child::after {
  display: none;
}

.process-step .step-num {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
}

.process-step h4 {
  color: #2d3748;
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-step p {
  color: #718096;
  font-size: 0.85rem;
}

.bigdata-contact {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 30px;
}

.bigdata-contact .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.bigdata-contact .cta-btn:hover {
  transform: translateY(-2px);
}

.bigdata-contact .cta-btn.outline {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

@media (max-width: 768px) {
  .bigdata-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .process-step::after {
    display: none;
  }

  .bigdata-contact {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== MODAL CLOUD ===== */
.cloud-header {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 50%, #667eea 100%);
  border-radius: 0;
  margin: -20px -20px 30px -20px;
  width: calc(100% + 40px);
  color: white;
  position: relative;
  overflow: hidden;
}

.cloud-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMtOS45NDEgMC0xOCA4LjA1OS0xOCAxOHM4LjA1OSAxOCAxOCAxOCAxOC04LjA1OSAxOC0xOC04LjA1OS0xOC0xOHptMCAzMmMtNy43MzIgMC0xNC02LjI2OC0xNC0xNHM2LjI2OC0xNCAxNC0xNCAxNCA2LjI2OCAxNCAxNC02LjI2OCAxNC0xNHoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjEiLz48L2c+PC9zdmc+");
  opacity: 0.2;
}

.cloud-header .cloud-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.cloud-header .cloud-icon i {
  font-size: 3rem;
}

.cloud-header h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.cloud-header p {
  font-size: 1.25rem;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.cloud-providers {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.provider-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.provider-card:hover {
  transform: translateY(-5px);
}

.provider-card i {
  font-size: 3rem;
}

.provider-card.aws i {
  color: #ff9900;
}
.provider-card.azure i {
  color: #0078d4;
}
.provider-card.gcp i {
  color: #4285f4;
}

.provider-card span {
  font-weight: 600;
  color: #2d3748;
}

.cloud-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 30px;
}

.cloud-feature-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  overflow: hidden;
  height: 100%;
}

.cloud-feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 210, 255, 0.25);
}

.cloud-feature-card .feature-float-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cloud-feature-card .feature-float-icon i {
  font-size: 2rem;
  color: white;
}

.cloud-feature-card h3 {
  color: #00d2ff;
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.cloud-feature-card h4 {
  color: #2d3748;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.cloud-feature-card p {
  color: #718096;
  font-size: 1rem;
  line-height: 1.6;
}

.cloud-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 25px;
  margin: 20px;
  background: #f8f9fa;
  border-radius: 15px;
}

.cloud-benefits .benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: white;
  border-radius: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.cloud-benefits .benefit-item i {
  color: #3a7bd5;
}

.cloud-benefits .benefit-item span {
  font-weight: 500;
  color: #2d3748;
}

.cloud-contact {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 30px;
}

.cloud-contact .action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.cloud-contact .action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 210, 255, 0.4);
}

.cloud-contact .action-btn.secondary {
  background: white;
  color: #3a7bd5;
  border: 2px solid #3a7bd5;
}

@media (max-width: 768px) {
  .cloud-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .cloud-benefits {
    flex-direction: column;
    align-items: center;
  }

  .cloud-contact {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== MODAL CCTV ===== */
.cctv-header {
  text-align: center;
  padding: 60px 30px;
  background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  border-radius: 0;
  margin: -20px -20px 30px -20px;
  width: calc(100% + 40px);
  color: white;
  position: relative;
  overflow: hidden;
}

.cctv-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMtOS45NDEgMC0xOCA4LjA1OS0xOCAxOHM4LjA1OSAxOCAxOCAxOCAxOC04LjA1OSAxOC0xOC04LjA1OS0xOC0xOHptMCAzMmMtNy43MzIgMC0xNC02LjI2OC0xNC0xNHM2LjI2OC0xNCAxNC0xNCAxNCA2LjI2OCAxNCAxNC02LjI2OCAxNC0xNHoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjEiLz48L2c+PC9zdmc+");
  opacity: 0.15;
}

.cctv-header i {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #e94560;
  position: relative;
  z-index: 1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.cctv-header h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.cctv-header p {
  font-size: 1.25rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.camera-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 30px;
  margin-bottom: 30px;
}

.camera-preview {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  border-bottom: 5px solid #e94560;
  height: 100%;
}

.camera-preview:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(233, 69, 96, 0.3);
}

.camera-preview .cam-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.camera-preview .cam-icon i {
  font-size: 2rem;
  color: white;
}

.camera-preview h3 {
  color: #2d3748;
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.camera-preview p {
  color: #718096;
  font-size: 1rem;
  margin-bottom: 15px;
}

.camera-preview .cam-res {
  display: inline-block;
  background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
}

.cctv-features {
  padding: 20px;
  margin-bottom: 20px;
}

.cctv-features .feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.cctv-features .feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.cctv-features .feature-item i {
  font-size: 1.5rem;
  color: #e94560;
  min-width: 30px;
}

.cctv-features .feature-item h4 {
  color: #2d3748;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.cctv-features .feature-item p {
  color: #718096;
  font-size: 0.8rem;
  margin: 0;
}

.cctv-solutions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
}

.solution-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-3px);
}

.solution-card i {
  font-size: 2.5rem;
  color: #1a1a2e;
  margin-bottom: 15px;
}

.solution-card h3 {
  color: #2d3748;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.solution-card p {
  color: #718096;
  font-size: 0.9rem;
}

.cctv-contact {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 30px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  margin: 20px;
}

.cctv-contact .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: #e94560;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.cctv-contact .contact-link:hover {
  transform: scale(1.05);
}

.cctv-contact .contact-link.whatsapp {
  background: #25d366;
}

@media (max-width: 768px) {
  .camera-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cctv-features .feature-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cctv-solutions {
    grid-template-columns: 1fr;
  }

  .cctv-contact {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .cctv-features .feature-row {
    grid-template-columns: 1fr;
  }
}

/* ===== MODAL LEASING ===== */
.leasing-header {
  text-align: center;
  padding: 50px 30px;
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #3182ce 100%);
  border-radius: 0;
  margin: -20px -20px 30px -20px;
  width: calc(100% + 40px);
  position: relative;
  overflow: hidden;
}

.leasing-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMtOS45NDEgMC0xOCA4LjA1OS0xOCAxOHM4LjA1OSAxOCAxOCAxOCAxOC04LjA1OSAxOC0xOC04LjA1OS0xOC0xOHptMCAzMmMtNy43MzIgMC0xNC02LjI2OC0xNC0xNHM2LjI2OC0xNCAxNC0xNCAxNCA2LjI2OCAxNCAxNC02LjI2OCAxNC0xNHoiIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iLjEiLz48L2c+PC9zdmc+");
  opacity: 0.3;
}

.leasing-header h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.leasing-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.leasing-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 30px;
}

.leasing-product-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.leasing-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(44, 82, 130, 0.25);
  border-color: #2c5282;
}

.leasing-product-card .product-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leasing-product-card .product-icon i {
  font-size: 2.2rem;
  color: white;
}

.leasing-product-card h3 {
  color: #2d3748;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.leasing-product-card p {
  color: #718096;
  font-size: 1rem;
  margin-bottom: 15px;
  flex-grow: 1;
}

.leasing-product-card .product-tag {
  display: inline-block;
  background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
  color: #4a5568;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
}

.leasing-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px 20px;
  margin: 20px 0;
}

.leasing-option {
  background: linear-gradient(135deg, #fff 0%, #f7fafc 100%);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.leasing-option i {
  font-size: 2rem;
  color: #2c5282;
  margin-bottom: 15px;
}

.leasing-option h3 {
  color: #2d3748;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.leasing-option p {
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.5;
}

.leasing-contact {
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
  border-radius: 15px;
  margin: 20px;
}

.leasing-contact h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.leasing-contact .contact-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.leasing-contact .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: white;
  color: #2c5282;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.leasing-contact .contact-btn:hover {
  transform: scale(1.05);
}

.leasing-contact .contact-btn.whatsapp {
  background: #25d366;
  color: white;
}

@media (max-width: 768px) {
  .leasing-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leasing-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .leasing-products-grid {
    grid-template-columns: 1fr;
  }

  .leasing-header h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .cloud-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .cloud-benefits {
    flex-direction: column;
    align-items: center;
  }

  .cloud-contact {
    flex-direction: column;
    align-items: center;
  }

  .cloud-header h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .cloud-features {
    grid-template-columns: 1fr;
  }
}

/* ===== SLIDESHOW DINÁMICO ===== */

/* Ajuste del margen superior para que las secciones estén más separadas */
.services-section {
  padding: 40px 0 0; /* Añadir más espacio arriba y abajo */
  background-color: #ffffff; /* Fondo blanco para la sección */
  text-align: center;
  position: relative; /* Para mantener la posición de la animación */
}

/* Título de la sección "Servicios" */
.services-section h2 {
  font-size: 2.5rem;
  color: #162290;
  margin-bottom: 40px; /* Espacio debajo del título */
  animation: fadeInDown 1s ease; /* Animación de entrada */
}

/* Animación para el título */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-section p.services-intro {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 50px;
}

/* Diseño en tarjetas (cards) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
}

/* Estilo base de las cards */
.service-card {
  position: relative;
  background: #162290; /* fallback for old browsers */
  background: -webkit-linear-gradient(
    to right,
    #2948ff,
    #162290
  ); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(
    to right,
    #2948ff,
    #162290
  ); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.9); /* Sombra inicial */
  transition: all 0.5s ease; /* Suavizar todas las transiciones */
  height: 300px;
  width: 400px; /* Ancho fijo para pantallas grandes */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: float 2.5s infinite ease-in-out; /* Animación flotante */
  will-change: transform; /* Indica al navegador que optimice las transformaciones */
}

.service-card a {
  text-decoration: none;
}

/* Ajuste para agrandar la tarjeta suavemente en hover */
.service-card:hover {
  /*transform: scale(1.15); /* Agrandar la card */
  z-index: 2;
  transition: all 0.4s ease-in-out; /* Transición más suave */
  animation-play-state: paused; /* Pausar la animación flotante cuando está en hover */
}

/* Animación de flotación */
@keyframes float {
  0%,
  100% {
    transform: translateY(0); /* Posición inicial */
  }
  50% {
    transform: translateY(-11px); /* Subir la card */
  }
}

/* Imagen dentro de la card */
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 100%; /* Inicialmente oculto */
  transition:
    transform 0.5s ease-in-out,
    left 0.5s ease-in-out,
    scale 0.5s ease-in-out; /* Suavizar el efecto de entrada y zoom */
}

/* Mostrar la imagen en hover */
.service-card:hover img {
  left: 0; /* Mostrar la imagen cuando está en hover */
  transform: scale(1.1); /* Agrandar imagen suavemente */
}

/* Contenido de la card (título e icono) */
.service-card-content {
  padding: 30px;
  text-align: center;
  z-index: 2;
  position: relative;
  opacity: 1;
  transition: all 0.8s ease-in-out;
}

/* Título e icono inicialmente visibles */
.service-card .service-card-content {
  opacity: 1;
  transition: all 0.8s ease;
}

/* Subir el título e icono al hover hasta la parte superior */
.service-card:hover .service-card-content {
  opacity: 1;
  background-color: rgba(22, 34, 144, 0.7); /* Fondo para la barra de título */
  padding-top: 10px;
  padding-bottom: 0px;
  box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.9);
}

/* Título del servicio */
.service-card h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 10px;
}

/* Icono del servicio */
.service-card i {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 15px;
}

/* Mostrar las cards con la animación al hacer scroll */
.service-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Ajustes para pantallas pequeñas (responsive) */
@media (max-width: 768px) {
  .service-card {
    animation: float 2.5s infinite ease-in-out; /* Mantener la animación de flotación en responsive */
    transform: translateY(0);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
    height: 250px; /* Ajuste de tamaño en responsive */
    width: 100%;
  }

  /* Detener la animación de flotación al hacer hover en responsive */
  .service-card:hover {
    animation-play-state: paused; /* Pausar la animación de flotación */
    transform: scale(1.05); /* Agrandar la card en hover en responsive */
  }

  .service-card img {
    left: 100%; /* Imagen oculta por defecto */
  }

  .service-card:hover img {
    left: 0; /* Mostrar imagen al hacer hover */
    transform: scale(1.1); /* Agrandar la imagen en hover */
  }

  /* Mostrar solo el título y el icono en responsive, y la imagen en hover */
  .service-card-content {
    opacity: 1; /* Mostrar el contenido inicialmente */
    transform: translateX(0); /* Mantener el texto en su lugar */
  }

  /* Ocultar el texto y mostrar la imagen en hover en responsive */
  .service-card:hover .service-card-content {
    opacity: 0; /* Ocultar el contenido al hacer hover */
    transform: translateX(-100%); /* Mover el texto */
  }
}

/* Ajustes responsivos de cards para pantallas más pequeñas */
@media (max-width: 768px) {
  /* Cards con animación en pantallas móviles */
  .services-grid {
    grid-template-columns: 1fr; /* Una sola columna en móviles */
    gap: 20px; /* Espaciado entre cards */
  }

  .services-section h2 {
    font-size: 2rem; /* Reducir tamaño del título en pantallas pequeñas */
    margin-bottom: 20px; /* Reducir espacio debajo del título */
  }

  /* Iconos más pequeños para móviles */
  .service-icon {
    font-size: 2.5rem;
    color: #162290;
    margin-bottom: 20px;
  }

  /* Animación para que las cards suban al cargarse */
  @keyframes floatUp {
    0% {
      opacity: 0;
      transform: translateY(30px); /* Inicia más abajo */
    }
    100% {
      opacity: 1;
      transform: translateY(0); /* Sube hasta la posición normal */
    }
  }
}

/*SERVICIOS MODALES*/

/* Estilo del botón de cierre para todos los fullscreen */
/* Botón de cierre */
.close-fullscreen {
  position: fixed;
  top: 20px;
  right: 0;
  font-size: 1.05rem;
  color: #fff;
  background-color: rgb(237, 132, 132); /* Color rojo más vibrante */
  padding: 10px 20px;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: right 0.4s ease-in-out;
  text-transform: uppercase;
  border: none;
  z-index: 9999999;
}

.close-fullscreen:hover {
  right: 0px;
}

.close-fullscreen::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background-color: rgb(255, 16, 3); /* Tono rojo más claro en hover */
  z-index: -1;
  transition: width 0.4s ease-in-out;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.close-fullscreen:hover::before {
  width: 100%;
}

/* estilo de todas las pantallas modales y fullscreen de todos los servicios */
.fullscreen-modal {
  display: none;
  position: fixed;
  z-index: 9999998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(255, 255, 255);
  overflow-y: auto;
  opacity: 0;
  transform: scale(0.9);
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  transition: opacity 0.2s ease; /* Asegúrate que sea un tiempo corto */
}

.fullscreen-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  overflow-y: auto;
  background: linear-gradient(135deg, #0a1f5c 0%, #162290 50%, #1e3a8a 100%);
  border-radius: 5px;
}


.fullscreen-contentConsulting{
  overflow: auto;
  border-radius: 5px;
}

/*Muestra el fullscreen estructura para todos los servicios*/
.fullscreen-modal.show {
  display: block;
  transform: scale(1);
  opacity: 1;
}

/*ESTILO DE TITULOS DE MODALES*/
.service-modal-header {
  margin-bottom: 10px;
  background-color: rgba(22, 34, 144, 0.9);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.476);
  transition: all 0.5s;
  padding: 20px 0;
  width: 100%; /* Abarca el ancho completo */
  text-align: center;
  position: sticky;
  z-index: 100;
}

.service-modal-header h2 {
  font-size: 2.5rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
  color: #ffffff;
  padding: 15px 30px;
  display: inline-block;
  position: relative;
  transition:
    background-color 0.6s ease,
    color 0.6s ease;
  animation: fadeInSlide 0.7s ease forwards;
  opacity: 0;
  border-radius: 5px;
  overflow: hidden;
}

/* Efecto de línea resaltada bajo el título */
.service-modal-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background-color: #00aaff;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.service-modal-header h2:hover::after {
  width: 400px;
  background-color: #ffffff;
}

/* Animación de entrada */
@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*MODAL DE SERVICIOS DE ASESORIA Y CONSULTORIA*/
/* Sección de comparación entre Asesoría y Consultoría */
.service-comparison h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #162290;
}

/* Diseño de la caja de comparación */
.service-comparison {
  margin: 20px;
  background-color: rgba(22, 34, 144, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.5);
  text-align: center;
  margin-bottom: 30px;
}

.comparison-title {
  font-size: 1.8rem;
  color: #162290;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.question-icon {
  width: 100px;
  height: 100px;
  margin-right: 10px;
}

.comparison-content {
  display: flex;
  justify-content: space-around;
  gap: 30px;
}

.comparison-box {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 45%;
  position: relative;
  box-shadow: none;
  transition: none;
}

.comparison-box h4 {
  font-size: 1.6rem;
  color: #162290;
  margin-bottom: 10px;
  display: inline-flex; /* Para que el título y el ícono estén en línea */
  align-items: center; /* Alinea verticalmente el ícono */
  gap: 8px; /* Espacio entre el texto y el ícono */
}

.comparison-box img.check-icon {
  width: 30px;
  margin-right: 10px;
}

.comparison-box p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  text-align: left;
}

@media (max-width: 768px) {
  .comparison-content {
    flex-direction: column;
    align-items: center;
  }

  .comparison-box {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Sección de servicios */
.service-requirement {
  margin-top: 20px;
  padding: 20px;
  text-align: center;
}

.service-requirement h3 {
  font-size: 1.8rem;
  color: #162290;
  margin-bottom: 10px;
}

.service-requirement p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Subservicios */
.subservice-area {
  background-image: url("../img/servicios/asesoria_consultoria/Consultoria.webp"); /* Imagen de fondo */
  background-size: cover;
  background-position: center;
  padding-top: 40px;
  width: 100%;
}

.subservice-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-attachment: fixed;
  background-size: cover;
  /*background-image: url("../img/servicios/asesoria_consultoria/Consultoria.jpg");*/
  z-index: -1;
}

/*Contenedor de subservicios de asesoria y consultoria*/
.service-modal-body {
  display: flex;
  align-items: center;
  justify-content: space-around;
  /*margin-bottom: 100px;*/
  animation: fadeInUp 0.6s ease;
}

.service-modal-left,
.service-modal-right {
  width: 45%;
  background-color: rgba(0, 0, 0, 0.6); /* Fondo semitransparente */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/*.service-modal-left img {
  width: 80%;
  transition: transform 0.5s ease-in-out;
}

.service-modal-left img:hover {
  transform: scale(1.1);
}*/

@media (max-width: 768px) {
  .service-modal-left img {
    width: 100%;
  }
}

/* Mejora del estilo de los contenedores left y right (sin fondo azul oscuro) */
.service-modal-left,
.service-modal-right {
  width: 45%;
  background-color: rgba(22, 21, 21, 0.504); /* Fondo blanco semitransparente */
  padding: 20px;
  border-radius: 10px;
  color: #162290; /* Color del texto azul oscuro */
}

/* Estilo de los títulos y textos en los contenedores */
.service-modal-left h3,
.service-modal-right h3 {
  color: #ffffff; /* blanco para el título */
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-modal-left p,
.service-modal-right p {
  color: #555; /* Texto en gris oscuro */
  padding: 10px;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: justify;
}

.service-modal-right ul {
  list-style: none;
  padding: 0;
}

.service-modal-left ul {
  list-style: none;
  padding: 0;
}

.service-modal-right ul li {
  font-size: 1.1rem;
  color: #fff;
  background-color: rgba(22, 34, 144, 0.8);
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.service-modal-left ul li {
  font-size: 1.1rem;
  color: #fff;
  background-color: rgba(22, 34, 144, 0.8);
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.service-modal-right ul li:hover {
  background: rgb(14, 31, 182);
  color: #ffffff;
}
.service-modal-left ul li:hover {
  background: rgb(14, 31, 182);
  color: #ffffff;
}

/* Animaciones */
@keyframes slideIn {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .service-modal-body {
    flex-direction: column;
    text-align: center;
  }

  .service-modal-left img {
    width: 80%;
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .service-modal-body {
    flex-direction: column;
    text-align: center;
  }

  .service-modal-left,
  .service-modal-right {
    width: 100%;
  }

  .cta-button {
    width: 100%;
    margin-top: 20px;
  }
}
/*componentes contenedor service-modal-right*/
.subservices-list {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
  width: 100%;
}

/* Ajuste de las listas de subservicios */
.subservices-list li {
  display: flex;
  justify-content: space-between; /* Esto coloca los elementos en los extremos */
  align-items: center; /* Centra verticalmente */
  font-size: 1.2rem;
  padding: 15px 10px;
  width: 100%;
  background-color: rgba(0, 123, 255, 0.9); /* Fondo azul */
  border-radius: 10px;
  margin-bottom: 15px;
}

.subservices-list li span {
  flex-grow: 1; /* El texto toma el máximo espacio disponible */
  text-align: left; /* Alinea el texto a la izquierda */
}
.subservices-list li .toggle-icon {
  font-size: 1.5rem;
  margin-right: 10px;
  text-align: right; /* Alinea el signo + o - a la derecha */
  flex-shrink: 0; /* Evita que el símbolo cambie de tamaño */
}

/* Listas activas */
.subservices-list li.active {
  background-color: rgba(
    0,
    123,
    255,
    0.5
  ); /* Color de fondo cuando está activa */
  color: #fff; /* Texto blanco cuando está activa */
  backdrop-filter: blur(10px);
  transform: scale(1.1); /* Efecto de agrandar el ícono */
}

/* Hover para las listas */
.subservices-list li:hover {
  background-color: rgba(0, 123, 255, 0.931); /* Color de hover */

  color: #fff;
}

.subservices-list li.active:hover {
  background-color: rgba(
    0,
    123,
    255,
    0.5
  ); /* Mantén el color del estado activo */
  padding-right: 20px;
  cursor: default; /* Opcional: indicar que no es clickeable */
}

/* Ajustes adicionales en responsive */
@media (max-width: 768px) {
  .subservices-list li {
    font-size: 1rem;
    padding: 12px 8px;
  }

  .subservices-list li .toggle-icon {
    font-size: 1.3rem; /* Reducimos un poco el tamaño del icono en responsive */
    margin-right: 8px;
  }
}

.subservices-content {
  display: block;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.5s ease,
    opacity 0.5s ease;
  padding: 10px;
  font-size: 1rem;
  color: #555;
  margin-bottom: 20px;
  /*border: 1px solid rgba(0, 123, 255, 0.5);*/
  border-radius: 5px;
  background-color: #ffffff;
}

.subservices-content {
  position: absolute;
  z-index: 10;
  width: 90%; /* Ajusta según el diseño */
  margin-top: 10px;
  left: 5%; /* Centrado relativo al padre */
}

/* FOOTER estructura para todos los footer de todos los servicios en fullscreen*/
.footer-contact-consulting {
  width: 100%;
  background-color: rgba(22, 21, 21, 0.504);
  text-align: center;
  padding: 30px;
  border-radius: 15px;
  margin-top: 30px;
}

.footer-contact-consulting h4 {
  font-size: 1.5rem;
  color: #fafafa;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-contact-consulting a {
  color: #666;
  margin: 0 10px;
  font-size: 1rem;
  display: inline-block;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.footer-contact-consulting a:hover {
  transform: translateY(-3px);
}

/* Iconos con PNG personalizado */
.footer-contact-consulting img {
  width: 60px;
  height: 60px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  margin: 0 10px;
}

.footer-contact-consulting img:hover {
  transform: scale(1.15);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .footer-contact-consulting img {
    width: 45px;
    height: 45px;
  }

  .footer-contact-consulting a {
    margin: 0 8px;
  }
}

/* Contenedor de la transición de página */
.page-transition {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* Fondo oscuro */
  z-index: 9999;
  opacity: 0;
  transform: scale(1.1); /* Efecto de entrada */
  transition:
    opacity 0.5s ease,
    transform 0.5s ease; /* Transición suave */
}

.page-transition.visible {
  display: block; /* Hacer visible */
  opacity: 1;
  transform: scale(1); /* Escala normal */
}

/* Contenedor del contenido dinámico */
.custom-section-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff00;
  padding: 0;
  border-radius: 10px;
  max-width: 100%;
  max-height: 90%;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Botón de cierre */
.close-transition {
  position: fixed;
  top: 10%;
  right: 20px;
  background: #ff4b4b;
  color: #fff;
  border: none;
  border-radius: 10%;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1100;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.close-transition:hover {
  background: #f81616;
}

/* Tarjetas de servicio */
.custom-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: stretch; /* Asegura que todas las tarjetas tengan la misma altura */
  gap: 20px;
  padding: 20px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.custom-service-card {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.4s ease,
    border-radius 0.4s ease;
  z-index: 1;
  border: 1px solid rgba(79, 209, 197, 0.15);
}

.custom-service-card img {
  width: 100%;
  height: 65%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.custom-service-card:hover,
.custom-service-card.selected {
  display: block;
}

/* Detalles en estado active */
.custom-service-card.selected .custom-card-details {
  transform: translateY(0%);
  background: linear-gradient(
    to top,
    rgba(15, 52, 96, 0.95),
    rgba(15, 52, 96, 0.85)
  );
}

.custom-card-details {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(15, 52, 96, 0.9),
    rgba(15, 52, 96, 0.7)
  );
  color: white;
  text-align: center;
  padding: 20px 15px;
  transform: translateY(32%);
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background 0.4s ease;
  height: 38%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.custom-service-card:hover .custom-card-details {
  transform: translateY(0);
  background: linear-gradient(
    to top,
    rgba(79, 209, 197, 0.95),
    rgba(15, 52, 96, 0.9)
  );
}

.custom-service-card.selected {
  transform: scale(1.08);
  z-index: 20;
  box-shadow: 0 15px 40px rgba(15, 52, 96, 0.25);
  border-color: #4fd1c5;
}

.custom-card-details h3 {
  font-size: 1.15rem;
  margin: 0 0 6px 0;
  color: #fff;
  font-weight: 700;
}

.custom-card-details p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* Hover con animación suave */
.custom-service-card:hover {
  transform: scale(1.08) translateY(-8px);
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(15, 52, 96, 0.2);
  z-index: 10;
}

.custom-service-card:hover img {
  transform: scale(1.1);
}

/* Estilo base para los custom-section */
.custom-service-section {
  display: none; /* Ocultamos inicialmente */
  position: absolute; /* Posicionamos relativo a la tarjeta */
  top: 50%; /* Aparece justo debajo de la tarjeta */
  left: 0;
  width: 100%; /* Ancho igual al de la tarjeta */
  padding: 20px;
  background: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  z-index: 10;
  opacity: 0;
  transform: translateY(10px); /* Animación de entrada */
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.custom-service-section.visible-section {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Animación de cierre */
.custom-service-section.closing-section {
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

/* Ajustes de texto e imagen */
.custom-service-section h2 {
  text-align: left;
  font-size: 1.8rem;
  color: #162290;
  margin-bottom: 10px;
}

.custom-service-section img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

.custom-service-section p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Ajustes responsivos */
@media (max-width: 1024px) {
  .custom-card-container {
    grid-template-columns: repeat(
      auto-fit,
      minmax(200px, 1fr)
    ); /* Ajuste para tablets */
    gap: 15px; /* Reduce espacio en pantallas más pequeñas */
  }

  .custom-service-card {
    max-width: 220px; /* Reduce el tamaño de las tarjetas */
    height: 160px;
  }
}

@media (max-width: 768px) {
  .custom-card-container {
    grid-template-columns: 1fr; /* Todas las tarjetas en una columna */
    gap: 10px;
  }

  .custom-service-card {
    max-width: 90%;
    height: auto; /* Ajusta la altura automáticamente */
  }

  .custom-card-details {
    padding: 15px;
  }
  .close-transition {
    top: 10%;
  }
}

/*SECCION DESAROLLO Y PROGRAMACION*/
.service-modal-header p {
  font-size: 1.2rem;
  color: #fffbfbe7;
}

/* Estilo de cada sección de servicio */
.service-section {
  width: 100%;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #e0e0e0; /* Fondo unificado para todas las secciones */
  align-items: stretch; /* Asegura que todos los items tengan la misma altura */
}

/* Contenido dentro de cada sección */
.service-content {
  display: inline-flex;
  width: 95vw; /* Ajusta el ancho total, dejando un pequeño margen */
  height: auto;
  max-width: 1400px; /* Limita el ancho en pantallas grandes */
  margin: 0 auto; /* Centra el contenedor */
  padding: 40px 50px; /* Aumenta el padding interno para separar el contenido */
  box-sizing: border-box;
  align-items: center;
  justify-content: center; /* Mantiene espacio entre texto e imagen */
  gap: 10px; /* Espacio entre texto e imagen */
  background: linear-gradient(
    to right,
    rgba(224, 224, 224, 1) 0%,
    rgba(255, 255, 255, 0.9) 10%,
    rgba(255, 255, 255, 0.9) 90%,
    rgba(224, 224, 224, 1) 100%
  );
  border-radius: 15px;

  transition: all 0.3s ease; /* Transición para el efecto de expansión */
}
/* Texto alineado a la izquierda */
.service-text {
  flex: 1;
  text-align: left;
}

/* Imagen centrada */
.service-image {
  flex: 1;
  display: block;
  justify-content: center;
}

/* Ajuste de imagen para tamaño */
.service-image img {
  width: 40vw; /* Ajusta el tamaño de la imagen */
  height: auto;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.service-image video {
  width: 50vw; /* Ajusta el tamaño del video al igual que la imagen */
  height: auto;
  object-fit: cover; /* Ajusta cómo se escala el contenido del video */
  transition:
    transform 0.3s ease,
    opacity 0.3s ease; /* Agrega transiciones si quieres efectos */
}

@media (max-width: 768px) {
  .service-image video {
    width: 85vw; /* Ajusta el tamaño del video en dispositivos móviles */
  }
}

.service-descriptionDev {
  transition: opacity 0.3s ease;
}
/*
.hidden {
  opacity: 0;
  transform: scale(0.95);
}*/
/********BOTONES DE CONTACTO SERVICIO DEV***********/
.contact-dev {
  justify-content: center;
  display: inline-flex;
  width: 100%;
  align-items: center;
  text-align: center;
  background-color: rgba(255, 255, 255, 0);
  padding: 0;
  color: #2a3eb1;
}

.contact-dev h4 {
  font-size: 1rem;
  color: #555;
  display: inline-block;
  margin: 0 auto;
}

.contact-dev a {
  margin: 0 15px;
  font-size: 1.5rem;
  display: inline-block;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.contact-dev a:hover {
  transform: scale(1.3); /* Efecto de agrandar el ícono */
  color: #00aaff; /* Color al hacer hover */
}

/* Iconos con PNG personalizado */
.contact-dev img {
  width: 60px;
  height: 60px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  filter: drop-shadow(0 4px 6px black);
}
#contact-white img {
  width: 60px;
  height: 60px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(246, 246, 246, 0));
}

.contact-dev img:hover {
  transform: scale(1); /* Agrandar imagen PNG al hacer hover */
  filter: brightness(1); /* Aumentar el brillo del ícono */
}

@media (max-width: 768px) {
  /* Aumentar el tamaño de los iconos para pantallas más pequeñas */
  .contact-dev img {
    width: 50px;
    height: 50px;
  }

  .contact-dev a {
    margin: 0 15px; /* Ajustar espacio entre iconos */
  }
}

/* Efecto en hover para el contenedor */
/**.service-content:hover {
  transform: scale(1.03); /* Efecto de expansión leve */
/**box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2); /* Sombra en hover */
/*}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
  .service-content {
    flex-direction: column;
    height: 90%;
    padding: 20px;
    gap: 20px;
    min-height: auto;
  }

  .service-text,
  .service-image {
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .service-content:hover .service-text,
  .service-content:hover .service-image {
    transform: none;
  }
  .service-image img {
    width: 50vw;
  }
}

.animated-title-container {
  display: inline-block;
  padding: 0px 15px;
  background-color: #f0f0f0; /* Fondo de la caja */
  border-radius: 5px; /* Bordes redondeados */
  position: relative;
  margin: 5px 0 0;
  box-shadow:
    inset 3px 3px 6px rgba(0, 0, 0, 0.2),
    inset -3px -3px 6px rgba(255, 255, 255, 0.7); /* Sombras internas para el relieve */
  transition: background-color 0.3s ease; /* Suavidad en el cambio de fondo */
}

.service-descriptionDev {
  background-color: #f8f9fa00; /* Fondo claro para resaltar el texto */
  color: #555;
  font-size: 1.1rem; /* Tamaño de fuente ligeramente mayor */
  line-height: 1.6; /* Altura de línea para mejorar la legibilidad */
  margin: 10px 0 15px; /* Espaciado entre el título y el párrafo */
  transition:
    background-color 0.3s ease,
    color 0.3s ease; /* Transición suave */
}
.fade-in {
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-list .list-item.active {
  background-color: #ff4b4b; /* Cambiar el color de fondo del elemento activo */
  color: #fff; /* Cambiar el color del texto */
}
/* Añade esta clase al CSS */
.animate-title {
  animation: typing-title 2s steps(30, end) 1 forwards;
}
/* Animación de títulos */
.animated-title {
  font-size: 1.8rem;
  color: #162290;
  display: inline-block;
  position: relative; /* Necesario para posicionar el cursor */
  white-space: normal; /* Permitir salto de línea */
  overflow: visible; /* Asegura que no se corte */
  padding-right: 10px;
  max-width: 100%; /* Limita el ancho al contenedor */
  box-sizing: border-box;
}

/* Elimina el desbordamiento del contenedor*/
.service-text h2.animated-title {
  word-wrap: break-word; /* Ajusta el texto para que se ajuste al contenedor */
}

.animated-title::after {
  content: "|";
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 85%;
  background-color: #162290;
  animation: blink 0.75s step-end infinite;
}

@keyframes typing-title {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Listas sin animación de escritura */
.animated-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.animated-list li {
  position: relative;
  padding: 10px 20px;
  cursor: pointer;
  background-color: #1a3f8b; /* Fondo azul en estado normal */
  color: #fff; /* Letra blanca en estado normal */
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  border-radius: 5px; /* Bordes redondeados */
  margin-bottom: 10px; /* Espacio entre elementos */
}

.animated-list .list-item {
  background-color: #2a3eb1; /* Azul similar al background del título */
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
  cursor: pointer;
}

/* Efecto hover: fondo rosado, relieve, sombra y desplazamiento a la derecha */
/* Estado de hover y estado activo (modal abierto) */
.animated-list .list-item:hover,
.animated-list .list-item.active {
  background-color: #e91e63; /* Color rosado */
  color: white;
  transform: translateX(10px) scale(1.2); /* Desplazamiento y agrandamiento */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Sombra para dar relieve */
}

/* Estilos iniciales para la descripción */
.list-description {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 80%;
  max-width: 500px;
  background-color: rgba(
    22,
    34,
    144,
    0.95
  ); /* Fondo azul oscuro semitransparente */
  color: #fff;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  z-index: 100;
  pointer-events: none; /* Evita interacciones cuando está oculto */
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
  .list-description {
    width: 90%;
    padding: 15px 20px;
  }

  .list-description h4 {
    font-size: 1.3rem;
  }

  .list-description p {
    font-size: 1rem;
  }
}

/* Modal básico */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 30px 20px;
  width: 80%;
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  text-align: center;
  transform: perspective(800px) rotateY(-90deg) scale(0.5); /* Ajuste inicial para animación */
  transition: transform 0.5s ease; /* Ajuste de duración para la animación de rotación */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.modal-content.open {
  transform: perspective(800px) rotateY(0deg) scale(1); /* Estado final de la animación */
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ff4c4c;
}

#modal-body img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  margin: 10px auto;
}

#modal-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

#modal-description {
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: inset 0px 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  max-width: 90%;
  margin: 0 auto;
  text-align: justify;
}

/************SERVICIO SOPORTE*****/
/* Estilo de la cuadrícula de servicios */

.features-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0;
}

.feature-item {
  position: relative;
  width: 200px;
  text-align: center;
  padding: 15px;
  background: #f4f4f4;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
  z-index: 1; /* Nivel base */
}

/* Estilo para feature-item en hover y cuando está activo */
.feature-item:hover,
.feature-item.active {
  transform: scale(1.2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  background-color: #0056b3; /* Fondo azul en hover y activo */
  color: white; /* Cambia el color del texto a blanco */
  z-index: 10; /* Eleva el ítem por encima de los demás */
}

/* Cambia el color del icono dentro de feature-item en hover y activo */
/* Cambia el color del icono, título y párrafo a blanco en hover y activo */
.feature-item:hover i,
.feature-item.active i,
.feature-item:hover h4,
.feature-item.active h4,
.feature-item:hover p,
.feature-item.active p {
  color: white; /* Cambia el color de los textos y el icono a blanco */
}

/* Configuración original del icono fuera de hover y activo */
.feature-item i {
  font-size: 2.5rem;
  color: #0056b3;
  margin-bottom: 8px;
}

.feature-item h4 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

/* Contenedor Expandible */
.feature-preview-expand {
  background: linear-gradient(
    to right,
    rgba(224, 224, 224, 1) 0%,
    rgba(255, 255, 255, 0.9) 10%,
    rgba(255, 255, 255, 0.9) 90%,
    rgba(224, 224, 224, 1) 100%
  );
  padding: 40px;
  width: 100%;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 0; /* Altura inicial para animación */
  opacity: 0; /* Opacidad inicial para animación */
  transition:
    max-height 0.5s ease,
    opacity 0.5s ease;
  position: relative; /* Necesario para el posicionamiento del pseudo-elemento */
}

.feature-preview-expand.show {
  max-height: 800px; /* Altura máxima para mostrar contenido */
  opacity: 1;
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.4);
}

/* Flecha visible de manera fija */
.feature-preview-expand.show::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #0056b3 transparent;
  z-index: 1;
}

.feature-preview-expand.show::before {
  left: var(--arrow-position);
}

.preview-content {
  display: flex;
  gap: 30px;
}

.preview-media img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.preview-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 600px;
}

.preview-details h4 {
  font-size: 2rem;
  color: #0056b3;
  margin-bottom: 10px;
}

.preview-details p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.visit-button {
  padding: 12px 25px;
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  align-self: flex-start;
}

.visit-button:hover {
  background-color: #003d7a;
}

.close-preview {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #3c1d1d;
  cursor: pointer;
  display: block; /* Asegura que el botón sea visible */
}

.close-preview:hover {
  color: #ff4c4c;
}

/* Responsive para pantallas pequeñas */
/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    width: 90%;
  }

  /* Ajuste del preview en responsive para que aparezca debajo del feature-item */
  /* Estilos para el modal en responsive */
  .feature-preview-expand {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* Asegura que esté siempre por encima */
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: #e0f0ff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
    visibility: hidden; /* Inicialmente oculto */
  }

  .feature-preview-expand.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
  }

  /* Aseguramos que la página principal no se desplace cuando el modal esté abierto */
  body.modal-open {
    overflow: hidden;
  }
}

/* Estilo de la lista de beneficios */
.service-benefits {
  margin: 20px;
  text-align: left;
}

.service-benefits h3 {
  font-size: 1.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 25px;
}

.service-benefits ul {
  list-style: none;
  padding: 0;
}

.service-benefits li {
  font-size: 1rem;
  color: #333;
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.service-benefits li i {
  color: #28a745;
  margin-right: 8px;
  font-size: 1.2rem;
}

/* Stats de Soporte */
.support-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 25px;
  margin: 20px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
  border-radius: 12px;
  flex-wrap: wrap;
}

.support-stats .stat-item {
  text-align: center;
  color: white;
  min-width: 100px;
}

.support-stats .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #4fd1c5;
}

.support-stats .stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 20px;
}

.benefit-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-card i {
  font-size: 2.5rem;
  color: #2c5282;
  margin-bottom: 15px;
}

.benefit-card h4 {
  font-size: 1.1rem;
  color: #2d3748;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.5;
}

/* Feature item highlight */
.feature-item.highlight {
  background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
  border-left: 4px solid #2c5282;
}

/* Support CTA */
.support-cta {
  flex-wrap: wrap;
}

.support-cta .contact-button,
.support-cta .more-info-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px 25px;
  font-size: 1rem;
}

.support-cta .contact-button {
  background: linear-gradient(135deg, #2c5282 0%, #1a365d 100%);
}

/* ==============================================================================
   ESTILOS PARA FULLSCREEN DE SERVICIOS - DISEÑO SIMPLIFICADO
   ============================================================================== */

/* Layout principal: Imagen mitad + Contenido mitad */
.service-split-layout {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Mitad de la imagen */
.service-image-half {
  flex: 0 0 50%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  
}

/* Fondo blanco para modales excepto consulting */
#fullscreenServicioDev .service-image-half,
#fullscreenServicioHelp .service-image-half,
#fullscreenServicioLeasing .service-image-half,
#fullscreenServicioRed .service-image-half,
#fullscreenServicioCctv .service-image-half {
  background: #ffffff;

  padding: 0;
}

/* Imagen al 100% para modales excepto consulting */
#fullscreenServicioDev .service-image-half img,
#fullscreenServicioHelp .service-image-half img,
#fullscreenServicioLeasing .service-image-half img,
#fullscreenServicioRed .service-image-half img,
#fullscreenServicioCctv .service-image-half img {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
}

.service-image-half img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  /*transition: transform 0.3s ease;*/
}

/*.service-image-half img:hover {
  transform: scale(1.03);
}*/

/* Mitad del contenido */
.service-content-half {
  flex: 0 0 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.05);
}

/* Wrapper del contenido */
.content-wrapper {
  flex: 1;
}

.content-wrapper h3 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 3px solid #4fd1c5;
  text-align: center;
}

.content-wrapper p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
}

.content-wrapper h4 {
  font-size: 1.4rem;
  color: #4fd1c5;
  margin-top: 30px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.content-wrapper h4 i {
  font-size: 1.5rem;
}

/* Lista simple de servicios */
.services-list-simple {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.services-list-simple li {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  margin-bottom: 12px;
  border-radius: 10px;
  border-left: 4px solid #4fd1c5;
  transition: all 0.3s ease;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 500;
}

.services-list-simple li:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(10px);
  box-shadow: 0 5px 15px rgba(79, 209, 197, 0.3);
}

.services-list-simple li i {
  font-size: 1.5rem;
  color: #4fd1c5;
  min-width: 30px;
  text-align: center;
}

/* Tech stack simplificado */
.tech-stack-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.tech-stack-simple span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #4fd1c5;
  transition: all 0.3s ease;
}

.tech-stack-simple span:hover {
  background: #4fd1c5;
  color: #0a1f5c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(79, 209, 197, 0.5);
}

/* Footer de contacto simplificado */
.footer-contact-simple {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid rgba(79, 209, 197, 0.3);
  text-align: center;
}

.footer-contact-simple h4 {
  font-size: 1.5rem;
  color: #4fd1c5;
  margin-bottom: 20px;
}

.footer-contact-simple .contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-contact-simple .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.footer-contact-simple .email-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #4fd1c5;
}

.footer-contact-simple .whatsapp-btn {
  background: #25d366;
  color: #fff;
}

.footer-contact-simple .phone-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #4fd1c5;
}

.footer-contact-simple .contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-contact-simple .email-btn:hover {
  background: #4fd1c5;
  color: #0a1f5c;
}

.footer-contact-simple .whatsapp-btn:hover {
  background: #1fb855;
}

.footer-contact-simple .phone-btn:hover {
  background: #4fd1c5;
  color: #0a1f5c;
}

/* Tech stack simplificado */
.tech-stack-simple {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.tech-stack-simple span {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #4fd1c5;
  transition: all 0.3s ease;
}

.tech-stack-simple span:hover {
  background: #4fd1c5;
  color: #0a1f5c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(79, 209, 197, 0.5);
}

/* Footer de contacto simplificado */
.footer-contact-simple {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid rgba(79, 209, 197, 0.3);
  text-align: center;
}

.footer-contact-simple h4 {
  font-size: 1.5rem;
  color: #4fd1c5;
  margin-bottom: 20px;
}

.footer-contact-simple .contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-contact-simple .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.footer-contact-simple .email-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #4fd1c5;
}

.footer-contact-simple .whatsapp-btn {
  background: #25d366;
  color: #fff;
}

.footer-contact-simple .phone-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: #4fd1c5;
}

.footer-contact-simple .contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-contact-simple .email-btn:hover {
  background: #4fd1c5;
  color: #0a1f5c;
}

.footer-contact-simple .whatsapp-btn:hover {
  background: #1fb855;
}

.footer-contact-simple .phone-btn:hover {
  background: #4fd1c5;
  color: #0a1f5c;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .service-split-layout {
    flex-direction: column;
    height: auto;
  }

  .service-image-half,
  .service-content-half {
    flex: 1;
    max-width: 100%;
  }

  .service-image-half {
    padding: 30px;
  }

  .service-content-half {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .content-wrapper h3 {
    font-size: 1.8rem;
  }

  .content-wrapper h4 {
    font-size: 1.2rem;
  }

  .content-wrapper p {
    font-size: 1rem;
  }

  .services-list-simple li {
    font-size: 1rem;
    padding: 12px 15px;
  }

  .tech-stack-simple span {
    font-size: 0.9rem;
    padding: 8px 15px;
  }

  .footer-contact-simple .contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-contact-simple .contact-btn {
    width: 100%;
    justify-content: center;
  }

  .service-image-half {
    padding: 20px;
  }

  .service-content-half {
    padding: 20px;
  }
}

.support-cta .contact-button:hover {
  background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
}

.support-cta .more-info-button {
  background: linear-gradient(135deg, #38a169 0%, #276749 100%);
}

.support-cta .more-info-button:hover {
  background: linear-gradient(135deg, #276749 0%, #38a169 100%);
}

/* Responsive */
@media (max-width: 768px) {
  .support-stats {
    gap: 20px;
    padding: 20px 15px;
  }

  .support-stats .stat-item {
    min-width: 80px;
  }

  .support-stats .stat-number {
    font-size: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

/* Botones de llamada a la acción */
.service-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.contact-button,
.more-info-button {
  background-color: #0056b3;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-button:hover,
.more-info-button:hover {
  background-color: #003d7a;
}

/*FORMULARIO DE CONTACTO*/

/* Estilos para la sección de llamada a la acción */
.call-to-action-section {
  padding: 60px 0;
  background-color: #ffffff00;
}

.action-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.action-card {
  flex: 1 1 300px; /* Tamaño flexible con un mínimo de 300px */
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.action-card:hover {
  transform: translateY(-10px); /* Efecto de elevación */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.action-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.action-card:hover .action-icon {
  transform: scale(1.1); /* Efecto de escala en el ícono */
}

.action-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.action-card p {
  font-size: 1rem;
  color: #555;
}

/* Responsive design */
@media (max-width: 768px) {
  .action-card {
    flex: 1 1 100%; /* Ocupar el 100% del ancho en móviles */
  }
}
/* Estilos para la sección de contacto - DISEÑO MEJORADO */
.contact-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-image: url('../img/Contacto/back_form.jpg');
  background-size: cover;
  background-position: center;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  z-index: 1;
}


.contact-container {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Contenido del formulario */
.contact-content {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(22, 34, 144, 0.1);
  text-align: center;
}

.contact-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #162290;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.contact-content h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #162290, #0066cc);
  margin: 15px auto 0;
  border-radius: 2px;
}

.contact-motivation {
  font-size: 1.15rem;
  color: #666;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Estilos para el formulario */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

/* Estilos para el formulario con floating labels */
.form-group {
  position: relative;
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  display: block;
  padding: 18px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #162290;
  box-shadow: 0 0 0 4px rgba(22, 34, 144, 0.1);
  outline: none;
  background: #fff;
}

.form-group label {
  position: absolute;
  top: 18px;
  left: 20px;
  font-size: 1rem;
  color: #999;
  pointer-events: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 0 5px;
}

/* Efecto cuando el campo tiene foco o contenido */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  left: 15px;
  font-size: 0.8rem;
  color: #162290;
  background: #fff;
  font-weight: 600;
}

/* Placeholder hiding trick */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: transparent;
}

/* Estilos específicos para el textarea */
.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* Estilos para el botón de enviar */
.submit-button {
  background: linear-gradient(135deg, #162290, #0066cc);
  color: #fff;
  padding: 16px 40px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 30px auto 0;
  box-shadow: 0 4px 15px rgba(22, 34, 144, 0.3);
  width: auto;
  min-width: 200px;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(22, 34, 144, 0.4);
  background: linear-gradient(135deg, #0066cc, #162290);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-content {
    padding: 30px 20px;
  }

  .contact-content h2 {
    font-size: 1.8rem;
  }

  .contact-motivation {
    font-size: 1rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 15px;
  }
}

.submit-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px); /* Efecto de elevación */
}

.submit-button:active {
  transform: translateY(0); /* Restablecer al hacer clic */
}

/* FOOTER MODERNO Y PROFESIONAL */
.footer-modern {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0d1321 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  /*margin-top: 80px;*/
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23e4e8ec' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,128C672,107,768,85,864,90.7C960,96,1056,128,1152,138.7C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E")
    no-repeat top;
  background-size: cover;
  transform: scaleY(-1) translateY(1px);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 30px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

/* Columna About */
.footer-about {
  padding-right: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-logo {
  margin-top: 40px;
  }
}

.logo-icon {
  font-size: 2rem;
  color: #4f8cff;
  text-shadow: 0 0 20px rgba(79, 140, 255, 0.5);
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  background: linear-gradient(135deg, #4f8cff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: #a0aec0;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.footer-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(79, 140, 255, 0.15);
  border: 1px solid rgba(79, 140, 255, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #4f8cff;
  font-weight: 500;
}

/* Encabezados de columnas */
.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.heading-icon {
  color: #4f8cff;
  font-size: 0.8rem;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.link-arrow {
  color: #4f8cff;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #4f8cff;
  padding-left: 8px;
}

.footer-links a:hover .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Columna de contacto */
.footer-column.footer-contact {
  text-align: center;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(22, 34, 144, 0.15);
}

.contact-item {
  margin-bottom: 15px;
}

.contact-label {
  display: block;
  color: #4f8cff;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.contact-item a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: #00d4ff;
}

/* Iconos de contacto */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.icon-btn {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-btn img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.icon-btn:hover {
  transform: translateY(-5px);
  border-color: transparent;
}

.icon-btn.email:hover {
  background: linear-gradient(135deg, #ea4335, #d54338);
  box-shadow: 0 10px 30px rgba(234, 67, 53, 0.4);
}

.icon-btn.whatsapp:hover {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.icon-btn.phone:hover {
  background: linear-gradient(135deg, #4f8cff, #162290);
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.4);
}

.icon-btn:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright {
  color: #718096;
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-legal a {
  color: #718096;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #4f8cff;
}

.footer-legal .separator {
  color: #4a5568;
}

/* Responsive Footer */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-about {
    grid-column: span 1;
    text-align: center;
    padding-right: 0;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-badges {
    justify-content: center;
  }

  .footer-heading {
    justify-content: center;
  }

  .footer-links a {
    justify-content: center;
  }

  .contact-info {
    text-align: center;
  }

  .contact-icons {
    justify-content: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-container {
    padding: 40px 20px 20px;
  }
}

@media (max-width: 480px) {
  .contact-icons {
    gap: 8px;
  }

  .icon-btn {
    width: 45px;
    height: 45px;
  }

  .icon-btn img {
    width: 24px;
    height: 24px;
  }
}

/* FOOTER estructura para todos los footer de todos los servicios en fullscreen*/
.footer-contact {
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 30px;
  border-radius: 15px;
  margin-top: 30px;
}

.footer-contact h4 {
  font-size: 1.3rem;
  color: #162290;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-contact a {
  color: #666;
  margin: 0 10px;
  font-size: 1rem;
  display: inline-block;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.footer-contact a:hover {
  transform: translateY(-3px);
}

/* Estilos para los botones de contacto heredados */
.footer-contact .contact-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-contact .contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-contact .contact-btn i {
  font-size: 1rem;
}

.footer-contact .email-btn {
  background: #162290;
  color: white;
}

.footer-contact .email-btn:hover {
  background: #0f1a6b;
  box-shadow: 0 4px 15px rgba(22, 34, 144, 0.4);
}

.footer-contact .whatsapp-btn {
  background: #25d366;
  color: white;
}

.footer-contact .whatsapp-btn:hover {
  background: #128c7e;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.footer-contact .phone-btn {
  background: #0066cc;
  color: white;
}

.footer-contact .phone-btn:hover {
  background: #0052a3;
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

/* Iconos con PNG personalizado - mantener para compatibilidad */
.footer-contact img {
  width: 60px;
  height: 60px;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  margin: 0 10px;
}

.footer-contact img:hover {
  transform: scale(1.15);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  /* Aumentar el tamaño de los iconos para pantallas más pequeñas */
  .footer-contact img {
    width: 45px;
    height: 45px;
  }

  .footer-contact a {
    margin: 0 8px;
  }
}

/* Modal de Productos */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-sizing: border-box;
  overflow-y: auto;
}

.product-modal.active {
  opacity: 1;
  visibility: visible;
}

.product-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.product-modal-content {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  max-width: 550px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  margin: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: all 0.3s ease;
  text-align: center;
}

.product-modal.active .product-modal-content {
  transform: scale(1);
}

.product-modal-content::-webkit-scrollbar {
  width: 8px;
}

.product-modal-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.product-modal-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.product-modal-content::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}

.product-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  color: #666;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.product-modal-close:hover {
  color: #162290;
}

.product-modal-icon {
  display: block;
  font-size: 3rem;
  color: #162290;
  margin-bottom: 15px;
}

.product-modal-title {
  color: #162290;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.product-modal-description {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-modal-features {
  margin-bottom: 25px;
  text-align: left;
}

.product-modal-features h4 {
  color: #162290;
  font-size: 1rem;
  margin-bottom: 12px;
}

.product-modal-features ul {
  list-style: none;
  padding: 0;
}

.product-modal-features li {
  color: #555;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-modal-features li i {
  color: #28a745;
}

.product-modal-btn {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(135deg, #162290, #0066cc);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.product-modal-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(22, 34, 144, 0.4);
}

/* Inversores */
.investors-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a1628 0%, #162344 50%, #1a3a5c 100%);
  color: #fff;
}

.investors-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.investors-header {
  text-align: center;
  margin-bottom: 40px;
}

.investors-header h2 {
  font-size: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.investors-header p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
}

.investors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.investor-card {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  border: 1px solid rgba(0,191,255,0.2);
  transition: all 0.3s ease;
}

.investor-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
}

.investor-card i {
  font-size: 2.2rem;
  color: #00bfff;
  margin-bottom: 15px;
}

.investor-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.investor-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}

.investors-benefits {
  background: rgba(22,34,144,0.35);
  border-radius: 16px;
  padding: 25px 35px;
  text-align: center;
  border: 1px solid rgba(0,191,255,0.3);
}

.investors-benefits h3 {
  color: #00bfff;
  margin-bottom: 15px;
}

.investors-benefits ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.investors-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.investors-benefits li i {
  color: #28a745;
}

/* Gráfico de barras animado */
.investors-chart {
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 35px;
  border: 1px solid rgba(0,191,255,0.2);
}

.chart-container h3 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.3rem;
  color: #00bfff;
}

.chart-bars {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 20px;
  height: 200px;
  padding: 0 20px;
}

.chart-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 60px;
  height: var(--height);
  background: linear-gradient(to top, #00bfff, #162290);
  border-radius: 8px 8px 0 0;
  animation: grow-bar 1s ease-out forwards;
  animation-delay: var(--delay);
  position: relative;
  min-height: 40px;
}

@keyframes grow-bar {
  from { height: 0; }
}

.chart-bar.highlight {
  background: linear-gradient(to top, #28a745, #00bfff);
}

.bar-value {
  font-weight: bold;
  font-size: 0.9rem;
  position: absolute;
  top: -25px;
  color: #fff;
}

.bar-year {
  position: absolute;
  bottom: -25px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.chart-note {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-top: 20px;
  font-style: italic;
}

/* Benefits highlight */
.benefits-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.2);
  padding: 15px;
  border-radius: 12px;
  text-align: left;
}

.benefit-item i {
  font-size: 1.8rem;
  color: #28a745;
}

.benefit-item strong {
  display: block;
  font-size: 1rem;
}

.benefit-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.investors-btn {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(135deg, #00bfff, #162290);
  color: #fff;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 768px) {
  .investors-header h2 {
    font-size: 1.7rem;
    flex-direction: column;
  }
  .investors-grid {
    grid-template-columns: 1fr;
  }
  .chart-bars {
    height: 150px;
    gap: 10px;
  }
  .chart-bar {
    width: 45px;
  }
  .bar-value {
    font-size: 0.75rem;
  }
  .bar-year {
    font-size: 0.7rem;
  }
  .benefits-highlight {
    grid-template-columns: 1fr;
  }
}
  .bar-year {
    font-size: 0.7rem;
  }
  .benefits-highlight {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================================
   WHATSAPP FLOTANTE Y CHAT
   ============================================================================== */
.whatsapp-chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.whatsapp-float {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #20ba5e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  animation: floatUp 0.6s ease-out;
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-float:hover {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 15px 45px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
  transform: scale(1.05) translateY(-3px);
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background: rgba(37, 211, 102, 0.95);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
}

/* Chat Popup */
.whatsapp-chat {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  max-width: calc(100vw - 20px);
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}

.whatsapp-chat.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chat-header {
  background: linear-gradient(135deg, #25d366 0%, #20ba5e 100%);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header-info img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  padding: 2px;
}

.chat-header-info div {
  display: flex;
  flex-direction: column;
}

.chat-header-info strong {
  color: white;
  font-size: 14px;
}

.chat-header-info span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
}

.chat-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.chat-body {
  padding: 15px;
  background: #f5f7f6;
  max-height: 300px;
  overflow-y: auto;
}

.chat-message.bot {
  background: white;
  padding: 12px 15px;
  border-radius: 15px 15px 15px 0;
  margin-bottom: 15px;
  font-size: 14px;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: white;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-option:hover {
  background: #25d366;
  color: white;
  transform: translateX(5px);
}

.chat-option i {
  font-size: 16px;
  color: #25d366;
}

.chat-option:hover i {
  color: white;
}

.chat-footer {
  padding: 10px 15px;
  background: #fff;
  border-top: 1px solid #eee;
}

.chat-footer span {
  font-size: 11px;
  color: #888;
}

/* Responsive */
@media (max-width: 480px) {
  .whatsapp-chat-container {
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 26px;
  }
  
  .whatsapp-chat {
    width: calc(100vw - 30px);
    right: -5px;
  }
}

/* ==============================================================================
   CHATBOT HÍBRIDO SOFCOM
   ============================================================================== */
.chatbot-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

/* Botón Flotante del Chatbot */
.chatbot-float {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #162290 0%, #2d4a9e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 10px 35px rgba(22, 34, 144, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  animation: floatUp 0.6s ease-out;
}

.chatbot-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 45px rgba(22, 34, 144, 0.6);
}

.chatbot-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #e74c3c;
  color: white;
  font-size: 11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Ventana del Chatbot */
.chatbot-window {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 380px;
  max-width: calc(100vw - 20px);
  height: 500px;
  max-height: calc(100vh - 100px);
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s ease;
}

.chatbot-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Header del Chatbot */
.chatbot-header {
  background: linear-gradient(135deg, #162290 0%, #2d4a9e 100%);
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.chatbot-header-info div {
  display: flex;
  flex-direction: column;
}

.chatbot-header-info strong {
  font-size: 14px;
}

.chatbot-header-info span {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot.online {
  background: #2ecc71;
  animation: pulse 2s infinite;
}

.status-dot.away {
  background: #f39c12;
}

.status-dot.offline {
  background: #95a5a6;
}

.chatbot-header-actions {
  display: flex;
  gap: 8px;
}

.chatbot-btn-minimize,
.chatbot-btn-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-btn-minimize:hover,
.chatbot-btn-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Body del Chat */
.chatbot-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background: #f8f9fa;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chatbot-message {
  max-width: 85%;
  padding: 12px 15px;
  border-radius: 15px;
  font-size: 14px;
  line-height: 1.5;
  animation: messageIn 0.3s ease;
}

@keyframes messageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chatbot-message.bot {
  background: white;
  color: #333;
  border-bottom-left-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  align-self: flex-start;
}

.chatbot-message.user {
  background: #162290;
  color: white;
  border-bottom-right-radius: 3px;
  align-self: flex-end;
}

.chatbot-message .message-time {
  font-size: 10px;
  opacity: 0.7;
  margin-top: 5px;
  text-align: right;
}

/* Opciones del Chatbot */
.chatbot-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.chatbot-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
  color: #333;
  text-align: left;
}

.chatbot-option:hover {
  background: #f0f4ff;
  border-color: #162290;
  transform: translateX(5px);
}

.chatbot-option i {
  color: #162290;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Input Area */
.chatbot-input-area {
  padding: 12px;
  background: white;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
  align-items: center;
}

.chatbot-input-area input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s;
}

.chatbot-input-area input:focus {
  border-color: #162290;
}

.chatbot-send {
  width: 40px;
  height: 40px;
  background: #162290;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-send:hover {
  background: #2d4a9e;
  transform: scale(1.1);
}

/* Formulario de Transferencia */
.chatbot-transfer-form {
  padding: 15px;
  background: white;
  border-top: 1px solid #eee;
}

.transfer-form-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #162290;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.transfer-form-header i {
  font-size: 20px;
}

.transfer-form-body p {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
}

.transfer-form-body input,
.transfer-form-body textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 10px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}

.transfer-form-body input:focus,
.transfer-form-body textarea:focus {
  border-color: #162290;
}

.chatbot-btn-transfer {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #162290 0%, #2d4a9e 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 5px;
}

.chatbot-btn-transfer:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(22, 34, 144, 0.3);
}

.chatbot-btn-cancel {
  width: 100%;
  padding: 10px;
  background: #f5f5f5;
  color: #666;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 8px;
}

.chatbot-btn-cancel:hover {
  background: #eee;
}

/* Typing indicator */
.chatbot-typing {
  display: flex;
  gap: 5px;
  padding: 12px 15px;
  background: white;
  border-radius: 15px 15px 15px 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  width: fit-content;
}

.chatbot-typing span {
  width: 8px;
  height: 8px;
  background: #aaa;
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.chatbot-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chatbot-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

/* Quick Replies */
.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chatbot-quick-reply {
  padding: 8px 14px;
  background: #f0f4ff;
  color: #162290;
  border: 1px solid #162290;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.chatbot-quick-reply:hover {
  background: #162290;
  color: white;
}

/* Responsive */
@media (max-width: 480px) {
  .chatbot-container {
    bottom: 15px;
    left: 15px;
  }
  
  .chatbot-float {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }
  
  .chatbot-window {
    width: calc(100vw - 30px);
    height: 450px;
    max-height: calc(100vh - 80px);
  }
}
