/* Estilos generales */

body {
    font-family: 'Poppins', sans-serif;
    background: white;
    color: rgb(238, 197, 197);
    margin: 0;
    padding: 0;
    height: 100%;
   
}

/* Logo */
.logo-container {
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    animation: fadeSlideDown 1.2s ease-out;
}

.logo-container img {
    height: 80px;
    transition: transform 0.3s ease;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: top 0.9s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
}

#navbar:hover {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
}

.nav-links li {
    position: relative;
    margin-right: 10px 15px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    padding: 10px;
    position: relative;
    display: inline-block;
    transition: color 1s ease;
}

#navbar:hover .nav-links a {
    color: #333;
    text-shadow: none;
}

#navbar:hover .logo-container img {
    transform: scale(1.05);
    filter: brightness(0.9);
}

.nav-links a:hover {
    color: #333;
    transition: background-image 0.5s ease, color 0.3s ease, transform 0.9s ease;
    border-radius: 5px;
}

.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10px;
    width: calc(100% - 20px);
    height: 2px;
    background-image: linear-gradient(to right, #00ABFE, #F1AF1B);
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
  display: none;
  position: fixed;
  background-color: #fff;
  top: 145px;
  left: 0;
  width: 100vw;/* Mantenemos el ancho completo */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 9;
}

.dropdown-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 30px;
    align-items: center; /* centra horizontalmente */
    padding: 20px 40px; /* Aumentamos el padding para un diseño más ancho y estético */
    
}

.dropdown:hover .dropdown-content {
    display: flex;
    justify-content: space-around;
    padding: 20px 30px;
}

.dropdown-item {
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dropdown-item .image-wrapper {
    width: 120px;
    height: 80px;
    overflow: hidden;
    margin-bottom: 10px;
    border-radius: 4px;
  }

.dropdown-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}


.dropdown-item img:hover {
    transform: scale(1.2);
  }

.dropdown-item a {
    padding: 5px;
    color: #333;
    text-decoration: none;
}


/* Estilos para el CTA */
.cta-configurator {
  display: inline-block;
  color: white;
  padding: 10px 20px;
  text-align: center;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  margin: 10px auto;
}


.cta-configurator:hover {
  background:linear-gradient(to right, #00ABFE, #F1AF1B);
  transform: translateY(-2px); /* Efecto de elevación */
}

/* Responsive Navbar */

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 30px;
  color: #333;
  position: absolute;
  top: 20px;  /* Puedes ajustar la distancia desde el top */
  right: 20px;  /* Colocamos el botón a la derecha */
  z-index: 999;  /* Aseguramos que esté por encima de otros elementos */
}

/* Estilo de las tres rayas dentro del hamburguesa */
.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px auto;
  transition: transform 0.3s ease;
}

/* Muestra el menú solo en pantallas pequeñas */
@media (max-width: 800px) {

  .menu-toggle {
    display: block;
    width: 30px; /* Ajustamos el tamaño */
    height: 30px;
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }


  /* Animación para cambiar las barras a una X */
.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: red;
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7px);
  background-color: red;
}


  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    margin-top: 0px;
    top: 0px; 
    width: 100vw; 
    height: auto; /* ocupa toda la pantalla */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem;
  }
  .nav-links.show {
    height: auto;
    display: flex;
  }
  
  .nav-links li {
    padding-bottom: 1rem;
    width: 100%;
  }  

  .nav-links li a {
    font-size: 1.2rem; /* Tamaño de fuente más grande */
    font-weight: 500; /* Peso más ligero para un look moderno */
    
    
    transition: color 0.3s ease;
  }

  .nav-links li a:hover {
    color: #00abfe; /* Tono más claro al hacer hover */
  }

/* Ajuste para dropdown en móviles */
.dropdown {
  width: 100%;
}
.dropdown-content {
  flex-direction: column;
  position: relative; /* Cambiamos a relative para que esté dentro del menú */
  top: 0; /* No necesitamos top fijo */
  left: 0;
  width: 100%; /* Ocupa todo el ancho del menú */
  background: linear-gradient(to top, rgb(82, 173, 233), #f0f0ff);
  padding: 0.5rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  border-radius: 8px; /* Bordes redondeados */
  max-height: none;
  overflow: visible;
  transition: all 0.3s ease; /* Transición suave para abrir/cerrar */
}

.dropdown.show .dropdown-content {
  display: block; /* Mostramos al hacer clic */
}

.dropdown.show .dropdown-content {
  display: block; /* Mostramos al hacer clic */
}

.dropdown-inner {
  flex-direction: column;
  gap: 0;
}
.dropdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #000;
  border-radius: 4px;
  text-decoration: none;
  width: 100%;
  margin-bottom: 5px;
}

  .dropdown-item:focus, .dropdown-item:hover {
    background:linear-gradient(to right, #00ABFE, #F1AF1B); ;
}
 
  .dropdown-item .image-wrapper,
  .dropdown-item img {
    display: none !important;
  }
  .dropdown-item a {
    flex-grow: 1;
    text-align: center; /* Cambiamos a center para que coincida con el diseño vertical */
    white-space: normal; /* Permite saltos de línea */
    word-break: break-word;
    max-width: 100%;
    padding: 0.5rem;
  }

  .dropdown-content::before {
    display: none;
  }

}


/* Botones Flotantes de Contacto */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px; /* mejor que left + transform */
    display: flex;
    gap: 15px;
    padding: 10px 20px;
    border-radius: 30px;
    z-index: 99; /* aseguramos que esté encima de todo */
}

.socialContainer {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition-duration: 1.2s;
    border-radius: 15px 0 15px 0px;
} 

.phoneButton:hover {
    background-color: green; /* Azul para teléfono */
    transition-duration: 1.2s;
}

.whatsappButton:hover {
    background-color: #25d366; /* Verde de WhatsApp */
    transition-duration: 1.2s;
}

.emailButton:hover {
    background-color: #f90101; /* Rojo coral para email */
    transition-duration: 1.2s;
}

.socialContainer:active {
    transform: scale(0.9);
    transition-duration: 1.2s;
}

.socialSvg {
    width: 20px; /* más grande que antes */
    height: 20px;
}

.socialSvg path {
    fill: #fff
}

.socialContainer:hover .socialSvg {
    animation: slide-in-top 1.2s both;
}

@keyframes slide-in-top {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


/* Estilos del Carrusel */
.carousel-container {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Usamos min-height para evitar problemas con barras de navegación */
  overflow: hidden;
  top: 0;
}

.slide {
  display: none;
  position: relative;
  width: 100%;
  height: 100vh; /* Aseguramos que cada slide ocupe todo el alto */
}

.active {
  display: block;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

/* Efecto de desenfoque al hacer hover */
.slide:hover video {
  transform: scale(1.05);
  filter: blur(1px);
  transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out;
}

/* === Estilo general para todos los overlays === */
.overlay {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 1000px;
  width: 90%;
  color: white;
  z-index: 2;
  padding: 2rem 1.5rem;
  border-radius: 16px;
}

/* === Estilo del primer slide (más arriba, fondo más suave) === */
.overlay-inicio {
  bottom: 10%;

}

.overlay-inicio h1 {
  font-size: 2.7rem;
  font-weight: 700;
  color: #FFFFFF;
}

.overlay-inicio p {
  font-size: 2rem;
  font-weight: 400;
}

/* === Estilo para slides 2 y 3 (estilo común) === */
.overlay-general {
  bottom: 10%;
  
}

.overlay-general h1 {
 font-size: 3rem;
  font-weight: 600;
  color: #FFFFFF;
}

.overlay-general p {
  font-size: 2rem;
}

/* === Estilo del último slide (más abajo, colores vivos) === */
.overlay-final {
  bottom: 10%;

}

.overlay-final h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  text-align: center;
  font-weight: 800;
  color: #FFFFFF;
}

.overlay-final p {
  font-size: 1rem;
 
}

/* Botón principal con gradiente */


.overlay button {
  background: rgba(255, 255, 255, 0.5);
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: background-image 0.5s ease, color 0.3s ease, transform 0.3s ease;
}

.overlay button:hover {
  color: #fff;
  background-image: linear-gradient(to right, #00ABFE, #F1AF1B);
  border-radius: 5px;
}
/*Boton del tercer slide*/
.boton-estilo {
  background: rgba(255, 255, 255, 0.5);
  color: white;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1.1rem;
  transition: background-image 0.5s ease, color 0.3s ease, transform 0.3s ease;
  text-decoration: none; /* para quitar el subrayado */
  display: inline-block; /* para aplicar padding y tamaño como botón */
}

.boton-estilo:hover {
  color: #fff;
  background-image: linear-gradient(to right, #00ABFE, #F1AF1B);
  border-radius: 5px;
}


.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 7;
}

.arrow.left { left: 20px; }
.arrow.right { right: 20px; }

.icon-arrow {
  width: 34px;
  height: 34px;
  color: #fff;
}

.icon-arrow:hover {
  color: grey;
  transition: transform 0.5s ease, fill 0.3s;
  transform: scale(1.5);
}

.bottom-controls {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 6;
}

.drop-indicator {
  position: relative;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.drop-icon {
  width: 24px;
  height: 24px;
  fill: transparent;
  stroke: #3a3a3a;
  stroke-width: 1.5;
  z-index: 1;
  position: relative;
}

.fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: #00e5ff;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  transition: height 0.1s linear;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 2C12 2 5 9.1 5 14a7 7 0 0014 0c0-4.9-7-12-7-12z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M12 2C12 2 5 9.1 5 14a7 7 0 0014 0c0-4.9-7-12-7-12z"/></svg>');
  mask-size: cover;
  -webkit-mask-size: cover;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}



#playPauseIcon:hover {
  background: rgba(255, 255, 255, 0.3);
  fill: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  transform: scale(1.5);
}

.pause-btn {
  background: transparent;
  color: black;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
#playPauseIcon.play path {
  d: path('M8 5v14l11-7z'); /* Ícono de play */
}



@media (max-width: 768px) {
  
  .overlay {
      top: 70%;
      left: 50%;
      max-width: 80%;
      text-align: center;
  }
  .overlay h1 {
      font-size: 1.8rem;
  }
  .overlay p {
      font-size: 1rem;
  }
  .overlay button {
      padding: 10px 14px;
      font-size: 0.95rem;
  }
  .bottom-controls {
      bottom: 10px;
      left: 5%;
      gap: 10px;
  }
  .arrow {
      padding: 8px;
  }
  .icon-arrow {
      width: 24px;
      height: 24px;
  }
  .drop-indicator {
      width: 20px;
      height: 20px;
  }
  .drop-icon {
      width: 20px;
      height: 20px;
  }
}



@media (max-width: 390px) {
  .overlay {
      top: 50%;
      max-width: 90%;
  }
  .overlay h1 {
      font-size: 1.6rem;
  }
  .overlay p {
      font-size: 1rem;
  }
  .overlay button {
      padding: 6px 10px;
      font-size: 0.8rem;
  }
  .bottom-controls {
      bottom: 5px;
      left: 2%;
      gap: 5px;
  }
  .arrow {
      padding: 3px;
  }
  .icon-arrow {
      width: 18px;
      height: 18px;
  }
  .drop-indicator {
      width: 12px;
      height: 12px;
  }
  .drop-icon {
    bottom: 7px;
      width: 12px;
      height: 12px;
  }
}
/* Animación más suave para el fade-in */
.fade-in {
  animation: zoomFade 2.5s ease forwards;
}

@keyframes zoomFade {
  from {
    opacity: 0;
    transform: scale(1.2);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/*Transition para los p*/
.slide-left {
  opacity: 0;
  transform: translateX(-15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.slide-left.show {
  opacity: 1;
  transform: translateX(0);
}




/*Post-Carrusel*/

.home-soluciones {
    padding: 60px 40px;
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a1a;
  }
  
  .home-soluciones-contenido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .home-soluciones-texto {
    flex: 1 1 40%;
    min-width: 300px;
  }
  
  .home-soluciones-imagen {
    flex: 1 1 40%;
    min-width: 280px;
  }
  
  .home-soluciones-imagen img {
    width: 100%;
    border-radius: 12px;
  }
  
  .home-soluciones h2 {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.3;
  }
  
  .home-soluciones ul {
    list-style: none;
    padding-left: 0;
    font-size: 1.1rem;
    line-height: 1.8;
  }
  
  .home-soluciones ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .home-soluciones ul li::before {
    content: "💧";
    font-size: 1.2rem;
  }
  
  .home-soluciones ul li:nth-child(2)::before {
    content: "⚙️";
  }
  .home-soluciones ul li:nth-child(3)::before {
    content: "📊";
  }
  .home-soluciones ul li:nth-child(4)::before {
    content: "🥂";
  }
  
  .home-soluciones-botones {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .home-soluciones-botones a {
    text-decoration: none;
    border: 2px solid #000;
    padding: 15px 25px;
    border-radius: 16px;
    font-weight: 800;
    color: #000;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .home-soluciones-botones a:hover {
    background-image: linear-gradient(to right, #00ABFE, #F1AF1B);
    border-color: rgb(0, 238, 255);
    color: #fff;
  }
  
  .home-soluciones-botones img {
    width: 24px;
    height: 24px;
  }
  
  /* Botones Responsive */
  /* 📱 Responsive Tablets y Móviles */
@media (max-width: 768px) {
  .home-soluciones-contenido {
    flex-direction: column;
    text-align: left;
  }

  .home-soluciones h2 {
    font-size: 2.2rem;
    text-align: left;
  }

  .home-soluciones-botones {
    justify-content: center;
  }

  .home-soluciones-botones a {
    width: 70%;
    justify-content: center;
  }

  .home-soluciones-botones a {
    font-weight: 600;
}
}

/* 📱 Extra Small (iPhone pequeño, etc.) */


/* Estilo encapsulado para evitar conflictos */
.boton-descarga-fancy .button {
    --font-color: #000;
    --bg-color-sub: #dedede;
    --bg-color: #f5f5f5;
    --main-color: #323232;
    background-color: #f5f5f5;
    position: relative;
    width: 150px;
    height: 58px;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: none;
    overflow: hidden;
    text-decoration: none;
  }
  
  .boton-descarga-fancy .button,
  .boton-descarga-fancy .button__icon,
  .boton-descarga-fancy .button__text {
    transition: all 0.3s;
  }
  
  .boton-descarga-fancy .button__text {
    transform: translateX(2px);
    color: var(--font-color);
    font-weight: 600;
  }
  
  .boton-descarga-fancy .button__icon {
    position: absolute;
    transform: translateX(85px);
    height: 100%;
    width: 39px;
    background-color: var(--bg-color-sub);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .boton-descarga-fancy .svg {
    width: 15px;
    fill: var(--main-color);
    transition: fill 0.3s, width 0.3s; /* animar cambio de color y tamaño */
  }
  .boton-descarga-fancy .button:hover .svg {
    width: 20px;
    fill: white;/* cambia a blanco al hacer hover */
  }
  
  .boton-descarga-fancy .button:hover {
    background: var(--bg-color);
  }

  .boton-descarga-fancy .button:hover {
    background: var(--bg-color);
  }
  
  .boton-descarga-fancy .button:hover .button__text {
    color: transparent;
  }
  
  .boton-descarga-fancy .button:hover .button__icon {
    background-image: linear-gradient(to right, #00ABFE, #F1AF1B);
    left: 0px;
    width: 150px;
    transform: translateX(0);
  }

  @media (max-width: 768px) 
  {
    .boton-descarga-fancy .button__icon {
    transform: translateX(55px);
  }
  .boton-descarga-fancy .button__text {
    padding-right: 20px; 
    font-weight: 600;
  }
}


  /*Imagenes*/
  .home-soluciones-imagenes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  
}


.img-wrapper {
    padding: 5px;
  position: relative;
  overflow: visible;
}

.img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  transition: all 0s ease;
  cursor: pointer;
  z-index: 1;
}


/* Texto que aparece al hacer hover */
.hover-text {
    position: fixed;
    top: 75.1%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.5);
    color: #1a1a1a;
    padding: 14px 21.7px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    z-index: 101;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
    max-width: 90%;
  }




.img-wrapper:hover .hover-text {
  opacity: 1;
  transform: translate(-50%, -49%) scale(1.02);
}
  

/* Imagen flotante centrada al hacer hover */

.img-wrapper:hover::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 99;
  pointer-events: none;
}

.img-wrapper:hover img {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 60vw;
  max-width: 600px;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 100;
  box-shadow: 0 30px 60px rgba(75, 200, 238, 0.6);
  border-radius: 16px;
}
/* Hover sólo visible en pantallas grandes */
@media (max-width: 769px) {
  .img-wrapper:hover::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99;
    pointer-events: none;
  }

  .img-wrapper:hover img {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60vw;
    max-width: 600px;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 100;
    box-shadow: 0 30px 60px rgba(75, 200, 238, 0.6);
    border-radius: 16px;
  }
  .hover-text {
    position: fixed;
    top: 75.1%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.5);
    color: #1a1a1a;
    padding: 14px 21.7px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    pointer-events: none;
    z-index: 101;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
    max-width: 90%;
  }
  .img-wrapper:hover .hover-text {
    opacity: 1;
    transform: translate(-50%, -106%) scale(1.02);
  }

}
@media (max-width: 450px) {
  .img-wrapper:hover::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99;
    pointer-events: none;
  }

  .img-wrapper:hover img {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90vw;
    max-width: 600px;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 100;
    box-shadow: 0 30px 60px rgba(75, 200, 238, 0.6);
    border-radius: 16px;
  }
  .hover-text {
    position: fixed;
    top: 75.1%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.5);
    color: #1a1a1a;
    padding: 14px 21.7px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    z-index: 101;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-align: center;
    max-width: 90%;
  }
  .img-wrapper:hover .hover-text {
    opacity: 1;
    transform: translate(-50%, -159%) scale(1);
    width: 100vw;
  }


}



.footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 40px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
  }

  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1300px;
    margin: auto;
  }

  .footer-col {
    flex: 1 1 220px;
    min-width: 220px;
  }

  .logo {
    max-width: 190px;
    margin-bottom: 15px;
  }

  .footer-col p {
    text-align: justify;
    margin-bottom: 15px;
    line-height: 1.6;
  }

  .ods-icons img {
    width: 45px;
    margin-right: 10px;
  }

  .footer-col h3 {
    color: #eee;
    position: relative;
    margin-bottom: 20px;
    font-size: 1.2em;
    padding-bottom: 10px;
  }

  .footer-col h3::after {
    content: "";
    display: block;
    height: 2px;
    width: 40px;
    background: linear-gradient(to right, #00bcd4, #00acc1);
    transition: width 0.4s ease;
  }

  .footer-col:hover h3::after {
    width: 90px;
    background: linear-gradient(to right, #00ABFE, #F1AF1B);
  }

  .footer-links,
  .footer-contact {
    list-style: none;
    padding: 0;
  }

  .footer-links a,
  .footer-contact li {
    color: #ccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin: 8px 0;
    gap: 0.5em;
    transition: color 0.3s ease;
  }

  .footer-links a:hover {
    color: #00bcd4;
  }

  .footer-contact .contact-icon {
    width: 1.5em;
    height: 1.5em;
    color: #cecece;
    flex-shrink: 0;
  }

  /*Hace que no se vea el subrayado y el color azul.*/
  .footer-contact a {
   color: #ccc;
   text-decoration: none;
   display: flex;
   align-items: center;
   gap: 0.5em;
   margin: 8px 0;
  }

  .footer-contact a:hover {
   color: #00bcd4;
  }

  .footer-certificados img,
.ods-icons img {
  transition: transform 0.5s ease;
  transform-origin: center center;
  cursor: pointer;
  object-fit: cover;
}

.footer-certificados img:hover,
.ods-icons img:hover {
  transform: scale(1.5);
}

  .icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
  }

  .arbitraje-img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  .footer-certificados {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
  }

  .footer-certificados img {
    max-width: 15%;
    min-width: 120px;
    height: auto;
  }

  .footer-copy {
    text-align: center;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #888;
  }

  @media (max-width: 768px) { 
    .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    }

    .footer-col {
    max-width: 100%;
    }

    .footer-certificados img {
    max-width: 90px;
    }

    .footer-certificados {
    justify-content: center;
    }

    .footer-links a,
    .footer-contact li {
    justify-content: flex-start; /* 🔁 Los ítems alineados a la izquierda */
    text-align: left;
    }

    .footer-col h3 {
    text-align: center;
    }

    .footer-col h3::after {
    margin: 0 auto; /* 🔁 Centrar la línea decorativa */
    }
  }

  /* Solución para el desbordamiento del correo en 769px-923px */
@media screen and (min-width: 770px) and (max-width: 1101px) {
  .footer-col:nth-child(3) { /* Columna de contacto */
      flex: 1 1 250px; /* Aumenta el ancho base */
      min-width: 240px; /* Más espacio para el correo */
  }
  .footer-contact li a[href^="mailto"] {
      font-size: 0.9rem; /* Reduce ligeramente el tamaño de fuente */
      overflow-wrap: break-word; /* Permite dividir el correo en líneas */
      display: inline-block; /* Asegura que el ajuste funcione */
      max-width: 100%; /* Limita al ancho del contenedor */
  }
}

/*PAGINA DE INICIO Configurador de AGUA TRATADA*/
/* Estilo especial para el navbar en configurador.html */
body#configurator-page #navbar {
  position: relative;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  transition: top 0.3s ease;
}

body#configurator-page #navbar .logo-container img {
  height: 80px;
}

body#configurator-page #navbar .nav-links a {
  color: #000;
  font-weight: 500;
}

body#configurator-page #navbar .hamburger div {
  background-color: #000;
}

body#configurator-page #navbar .dropdown-content {
  background-color: #fff;
  border: 1px solid #ddd;
}

body#configurator-page #navbar .dropdown-content a {
  color: #000;
}

/* Imagen de fondo con título */
.header-image-regenerada {
  position: relative;
  width: 100%;
  height: 400px;
  background: url('../assets/images/ProduccionSeis.webp') no-repeat center center;
  background-size: cover;
}
.header-image-potable {
  position: relative;
  width: 100%;
  height: 400px;
  background: url('../assets/images/ProduccionCinco.webp') no-repeat center center;
  background-size: cover;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-title {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 1;
  margin-top: 100px;
}

/* Introducción con card al lado */
.intro-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #e0f7fa, #f5faff);
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  text-align: center;
}

.intro-content {
  flex: 2;
}

.intro-content h2 {
  color: #01579b;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
  text-align: left;
}

.intro-content p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

.intro-card {
  flex: 1;
  max-width: 300px;
}

.intro-card .card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.intro-card .card-body {
  padding: 20px;
  text-align: center;
}

.intro-card .card-title {
  color: #333;
  font-size: 1.2rem;
  margin: 10px 0;
}

.intro-card .card-text {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.intro-card .btn-primary {
  background: linear-gradient(to right, #1976d2, #1565c0);
  color: #fff;
  border: 2px solid #1976d2;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.intro-card .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 118, 210, 0.5);
  background: linear-gradient(to right, #1565c0, #1976d2);
}

.intro-card .btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.intro-card .btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

.intro-card .btn-secondary {
  background: linear-gradient(to right, #ffca28, #ffb300);
  color: #fff;
  border: 2px solid #ffca28;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 202, 40, 0.3);
}

.intro-card .btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 202, 40, 0.5);
  background: linear-gradient(to right, #ffb300, #ffca28);
}

.intro-card .btn-secondary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.intro-card .btn-secondary:hover::after {
  width: 300px;
  height: 300px;
}

/* Botón Configurador simple y llamativo */
.configurator-btn {
  display: inline-block;
  background-color: #00bcd4;
  color: #fff;
  padding: 12px 25px;
  border: 2px solid #00bcd4;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 188, 212, 0.3);
  margin-top: 20px;
}

.configurator-btn:hover {
  background-color: #0097a7;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 151, 167, 0.5);
  color: #fff;
}

/* Beneficios */
/* Estilos para el carrusel de beneficios */
.benefits-section {
  padding: 30px 10px;
  background: linear-gradient(135deg, #e0f7fa, #f5faff);
}

.benefits-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.benefits-container h2 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: 700;
}

.benefits-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px;
}

.slide-title {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 30px;
  font-weight: 600;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.benefit-item {
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.benefit-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.benefit-item i {
  font-size: 2.5rem;
  color: #00bcd4;
  margin-bottom: 15px;
}

.benefit-item h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.benefit-text {
  color: #666;
  font-size: 1rem;
  text-align: justify;
  line-height: 1.5;
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin 0.3s ease;
}

.benefit-item.expanded .benefit-text {
  max-height: 290px; /* Ajustado según tu cambio */
  margin-bottom: 10px;
}

.read-more {
  background: #00bcd4;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.read-more:hover {
  background: #0288d1;
  transform: translateY(-2px);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #00bcd4;
  padding: 0px; /* Ajustado según tu cambio */
  cursor: pointer;
  user-select: none;
}

.carousel-arrow:hover {
  color: #073baa; /* Ajustado según tu cambio */
  transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left {
  left: 0px; /* Ajustado según tu cambio */
}

.carousel-arrow.right {
  right: 0px; /* Ajustado según tu cambio */
}

.carousel-dots {
  text-align: center;
  margin-top: 20px;
}

.carousel-dots .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-dots .dot.active {
  background: #00bcd4;
}

@media (max-width: 768px) {
  .benefits-container h2 {
    font-size: 2rem;
  }

  .carousel-slide {
    padding: 10px;
  }

  .benefit-item {
    padding: 15px;
  }

  .carousel-arrow {
    font-size: 1.5rem;
    padding: 8px 12px;
  }
}
/* Video de las paginas aguapotable.html*/
.video-section {
  padding: 60px 30px; /* Mantenemos tu padding original */
  background-color: #fff; /* Mantenemos el fondo blanco */
}

.video-container {
  margin: 0 auto; /* Mantenemos el centrado del contenedor */
  max-width: 1200px; /* Ajustamos para dos videos lado a lado */
}

.video-container h2 {
  color: #00695c; /* Cambiamos a un color que coincide con tu paleta */
  font-size: 1.8rem; /* Mantenemos tu tamaño de fuente */
  margin-bottom: 20px; /* Mantenemos el margen inferior */
  text-align: center; /* Centramos el título */
}

.video-card {
  background: #f9f9f9; /* Fondo claro para las cards */
  border-radius: 8px; /* Bordes redondeados */
  padding: 15px; /* Padding interno */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
  transition: transform 0.3s ease; /* Efecto hover */
}

.video-card:hover {
  transform: translateY(-5px); /* Elevación al pasar el ratón */
}

.video-card iframe {
  width: 100%; /* Iframe ocupa todo el ancho de la card */
  height: 315px; /* Altura fija para consistencia */
  border: none; /* Sin bordes */
}

.video-section .btn {
  font-size: 1rem; /* Tamaño de fuente para botones */
  padding: 8px 20px; /* Padding de los botones */
  border-radius: 5px; /* Bordes redondeados */
}

.video-section .btn-primary {
  background-color: #00695c; /* Color principal */
  border-color: #00695c;
}

.video-section .btn-primary:hover {
  background-color: #004d40; /* Cambio al hover */
  border-color: #004d40;
}

.video-section .btn-secondary {
  background-color: #ffffff; /* Fondo blanco para secundario */
  border-color: #00695c; /* Borde con color principal */
  color: #00695c; /* Texto en color principal */
}

.video-section .btn-secondary:hover {
  background-color: #e0f2f1; /* Fondo claro al hover */
  color: #004d40; /* Texto más oscuro al hover */
}

/* Responsive */
@media screen and (max-width: 768px) {
  .header-image {
    height: 300px;
  }

  .header-title {
    font-size: 2rem;
  }

  .intro-content h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  .intro-container {
    flex-direction: column;
    gap: 20px;
  }

  .intro-card {
    max-width: 100%;
  }

  .intro-card .card-title {
    font-size: 1.1rem;
  }

  .intro-card .card-text {
    font-size: 0.85rem;
  }

  .benefits-container h2 {
    font-size: 1.8rem;
  }

  .benefit-item {
    padding: 15px;
  }

  .benefit-item i {
    font-size: 2rem;
  }

  .benefit-item h3 {
    font-size: 1.2rem;
  }

  .video-container h2 {
    font-size: 1.5rem;
  }

  .video-container iframe {
    height: 200px;
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .header-image {
    height: 350px;
  }

  .intro-content h2 {
    font-size: 1.4rem;
  }

  .intro-container {
    gap: 20px;
  }

  .intro-card {
    max-width: 250px;
  }
}

/* Sección de opciones del configurador */
.configurator-options {
  padding: 60px 20px;
  background: linear-gradient(135deg, #e0f7fa, #f5faff);
  min-height: calc(100vh - 190px); /* Ajusta para ocupar toda la altura menos el navbar */
}

.options-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.options-container h1 {
  color: #333;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.options-container p {
  color: #666;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.options-principal {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Dos columnas por defecto */
  gap: 20px;
  margin-bottom: 20px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Dos columnas por defecto */
  gap: 20px;
  margin-bottom: 20px;
}


.option-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.option-item:hover {
  transform: translateY(-5px);
}

.option-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.option-item h2 {
  color: #01579b;
  font-size: 1.5rem;
  margin: 20px 0;
}

.option-item .configurator-btn {
  margin-bottom: 20px;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .configurator-options {
    padding: 40px 20px;
  }

  .options-container h1 {
    font-size: 2rem;
  }

  .options-container p {
    font-size: 1rem;
  }

  .option-item h2 {
    font-size: 1.3rem;
  }

  .option-image {
    height: 150px;
  }
}

/*tratamiento.html*/
/* Estilos para los radio buttons en las opciones */
.option-item input[type="radio"] {
  display: none; /* Ocultar el radio button */
}

.option-item label {
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.option-item input[type="radio"]:checked + label {
  border: 2px solid #00bcd4; /* Borde azul cuando está seleccionado */
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
  transform: translateY(-2px); /* Efecto de elevación */
}

.option-item label:hover {
  transform: translateY(-2px); /* Efecto hover incluso si no está seleccionado */
}

/* Contenedor de botones (Atrás y Continuar) */
.button-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Botón Atrás */
.back-btn {
  display: inline-block;
  background-color: #666;
  color: #fff;
  padding: 12px 25px;
  border: 2px solid #666;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.back-btn:hover {
  background-color: #555;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,
   0, 0, 0.3);
  color: #fff;
}
/*Fuente-agua.html*/
/* Ajuste para la cuadrícula de fuente de agua (solo 2 opciones) */
.options-grid.source-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Tarjetas más grandes */
  max-width: 800px; /* Centrar y limitar el ancho */
  margin: 0 auto;
}

/* Responsive para fuente de agua */
@media (min-width: 768px) {
  .options-grid {
    grid-template-columns: repeat(4, 1fr); /* Cuatro columnas en pantallas grandes */
  }
}
/*capacidad-produccion.html*/
/* Estilo para la descripción de la capacidad */
.option-description {
  color: #666;
  font-size: 0.9rem;
  margin: 10px 0;
  text-align: center;
}

/*Caracterizacio-agua.html*/
/* Ajuste para la cuadrícula de caracterización (4 dropdowns) */
.characterization-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Ajuste para dropdowns */
  gap: 20px; /* Espacio entre elementos */
  max-width: 1000px; /* Limitar ancho */
  margin: 0 auto;
}

/* Estilos para los dropdowns */
.option-item select {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

.option-item select:focus {
  border-color: #00bcd4;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 188, 212, 0.5);
}

.option-item label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

/* Responsive para caracterización */
@media screen and (max-width: 768px) {
  .characterization-grid {
    grid-template-columns: 1fr; /* Una columna en móviles */
  }
}
/**adiconales.html/*
/* Ajuste para la cuadrícula de adicionales (3 dropdowns) */
.additional-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Ajuste para 3 dropdowns */
  gap: 20px;
  max-width: 900px; /* Limitar ancho */
  margin: 0 auto;
}

/* Responsive para adicionales */
@media screen and (max-width: 768px) {
  .additional-grid {
    grid-template-columns: 1fr; /* Una columna en móviles */
  }
}

/*BARRA DE PROGRESO*/
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  margin: 0 auto;
  max-width: 90%;
  font-family: 'Helvetica', sans-serif;
  flex-direction: row;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100px; /* Espacio suficiente para cada paso */
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #D3D3D3; /* Gris claro para pendientes */
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #D3D3D3;
  transition: all 0.3s ease;
}

.step-label {
  margin-top: 5px;
  font-size: 12px;
  color: #000000;
  text-align: center;
  white-space: nowrap;
}

.step-connector {
  flex: 1;
  height: 2px;
  background-color: #40C4FF; /* Azul claro para las líneas */
  min-width: 50px; /* Asegura que las líneas sean visibles */
}

/* Estilo para pasos completados */
.step.completed .step-circle {
  background-color: #01579B; /* Azul oscuro para completados */
  border-color: #01579B;
}

/* Estilo para el paso actual */
.step.active .step-circle {
  background-color: #00BCD4; /* Cian para el paso actual */
  border-color: #00BCD4;
  transform: scale(1.2); /* Hacer el círculo un poco más grande */
}

/* Responsividad para pantallas pequeñas */
@media (max-width: 768px) {
  .progress-bar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .step {
    width: 80px;
  }
  .step-circle {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
  .step-label {
    font-size: 10px;
  }
  .step-connector {
    display: none; /* Ocultar conectores en pantallas pequeñas */
  }
}

.content-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      padding: 20px;
    }
    .footer-section {
      text-align: center;
      padding: 20px;
      background-color: #f8f9fa;
    }
    .footer-section img {
      max-width: 100%;
      height: auto;
    }
    .youtube-btn {
      margin-top: 10px;
      background-color: #ff0000;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 5px;
      cursor: pointer;
    }
    .youtube-btn:hover {
      background-color: #cc0000;
    }
    @media (max-width: 768px) {
      .content-grid {
        grid-template-columns: 1fr;
      }
    }

   /* Formulario */
/* Estilos para el modal de éxito */
#successModal .modal-title {
    color: #000000; /* Negro para el título */
}

#successModal .modal-body {
    color: #000000; /* Negro para el cuerpo */
}

#successModal .modal-content {
    border: 2px solid #01579B;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Estilos para el resumen */
.summary-section {
    margin-bottom: 20px;
    text-align: left; /* Alineación a la izquierda para toda la sección */
}

.summary-section h1 {
    color: #003366; /* Color más oscuro para el título principal */
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.summary-section p {
    color: #000; /* Negro para el texto descriptivo */
    margin-bottom: 15px;
}

#summary-list {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 800px;
    margin: 0 auto 20px;
}

#summary-list ul {
    list-style: none;
    padding-left: 0;
}

#summary-list li {
    padding: 8px 0;
    font-size: 1.1rem;
    color: #000; /* Cambiado a negro para mejor visibilidad */
    text-align: left; /* Alineación a la izquierda para los ítems de la lista */
}

#summary-list li strong, #summary-list h3 {
    color: #003366; /* Color más oscuro para los elementos en negrita */
}

#summary-list li:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

/* Estilos para los botones centrados */
.button-container {
    display: flex;
    justify-content: center; /* Centrar los botones */
    gap: 20px;
    margin-top: 20px;
}

/* Estilo para los botones "Atrás" y "Descargar" */
.button-container #backBtn {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ccc; /* Gris para el botón de "Atrás" */
    color: #000;
    text-decoration: none; /* Quitar subrayado del enlace */
    display: inline-block;
}

.button-container #backBtn:hover {
    background-color: #b3b3b3;
}

.button-container #downloadBtn {
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #01579B; /* Azul oscuro para "Descargar" */
    color: #fff;
}

.button-container #downloadBtn:hover {
    background-color: #003366;
}

/* Estilo para el botón "Ver Video" (más llamativo) */
.button-container #videoBtn {
    padding: 10px 25px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ff6200; /* Naranja vibrante */
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button-container #videoBtn:hover {
    background-color: #e55a00; /* Naranja más oscuro */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive para resumen */
@media screen and (max-width: 768px) {
    .summary-section h1 {
        font-size: 1.5rem;
    }

    #summary-list {
        padding: 15px;
    }

    #summary-list li {
        font-size: 1rem;
    }

    .button-container {
        flex-direction: column; /* Apilar botones en pantallas pequeñas */
        gap: 10px;
    }

    .button-container #backBtn,
    .button-container #downloadBtn,
    .button-container #videoBtn {
        width: 100%; /* Botones ocupan todo el ancho en móvil */
        padding: 12px;
    }
}

#solution-image-price {
    margin-top: 30px;
    text-align: center;
    display: block !important; /* Asegura que no esté oculto */
    visibility: visible !important;
}

#solution-image-price img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#solution-image-price p {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #01579B;
}

/* Formulario - Estilos para los labels en negro */
#contact-form .form-label {
    color: #000000 !important; /* Negro puro para los labels */
}

/* Estilos para los placeholders */
#contact-form .form-control::placeholder,
#contact-form .form-control::-webkit-input-placeholder,
#contact-form .form-control::-moz-placeholder,
#contact-form .form-control:-ms-input-placeholder,
#contact-form .form-control::-ms-input-placeholder {
    color: #6c757d; /* Gris de Bootstrap para los placeholders */
    opacity: 1; /* Asegura que el color sea visible */
    font-style: italic; /* Opcional: hace que el placeholder sea más distinguible */
}

/* Estilo para el enlace de términos y condiciones */
#contact-form .form-check-label a.text-primary {
    text-decoration: underline; /* Subrayado más visible */
    transition: color 0.3s ease;
}

#contact-form .form-check-label a.text-primary:hover {
    color: #003366; /* Azul más oscuro al pasar el mouse */
    text-decoration: none; /* Quitar subrayado al hover */
}

/* Ajustes para el formulario sin labels */
#contact-form .mb-4 {
    margin-bottom: 1.5rem; /* Asegura un espaciado adecuado entre campos */
}

#contact-form .form-control,
#contact-form .form-select {
    padding: 0.75rem 1rem; /* Aumenta un poco el padding para que se vea más espacioso */
    font-size: 1rem; /* Asegura que el texto sea legible */
}

#contact-form .form-check {
    margin-top: 0.5rem; /* Ajusta el espaciado de las casillas de verificación */
}

/*Polictica-Privacidad.html*/
   .privacy-container {
      max-width: 900px;
      margin: 0 auto;
      padding: 40px 30px;
      background: #ffffff; /* Fondo blanco */
      border: 1px solid #e0e0e0; /* Borde sutil para un toque elegante */
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Sombra más ligera */
      margin-bottom: 50px;
    }
    .privacy-section {
      margin-bottom: 40px;
    }
    .privacy-section h2 {
      color: #003366; /* Mantiene el azul oscuro corporativo */
      border-bottom: 2px solid #01579B;
      padding-bottom: 8px;
      font-size: 1.6rem;
      font-weight: 600; /* Mayor peso para un look serio */
    }
    .privacy-section p {
      color: #000000; /* Negro puro para el texto */
      line-height: 1.8; /* Mayor espaciado entre líneas para mejor legibilidad */
      font-size: 1rem;
    }
    .privacy-section ul {
      padding-left: 20px;
      margin-top: 10px;
    }
    .privacy-section ul li {
      color: #000000; /* Negro puro para los ítems de la lista */
      margin-bottom: 10px;
      font-size: 1rem;
      line-height: 1.6;
    }
    .privacy-section ul li strong {
      color: #003366; /* Azul oscuro para el texto en negrita dentro de los ítems */
    }
    .btn-primary {
      background-color: #01579B; /* Azul oscuro corporativo */
      border-color: #01579B;
      padding: 10px 20px;
      font-weight: 500;
    }
    .btn-primary:hover {
      background-color: #003366; /* Azul más oscuro al hover */
      border-color: #003366;
    }
    .btn-secondary {
      background-color: #6c757d; /* Gris profesional */
      border-color: #6c757d;
      padding: 10px 20px;
      font-weight: 500;
    }
    .btn-secondary:hover {
      background-color: #5a6268; /* Gris más oscuro al hover */
      border-color: #5a6268;
    }
/*terminos-y-condiciones.html*/
   
    .terms-container {
      max-width: 900px;
      margin: 0 auto;
      padding: 40px 30px;
      background: #ffffff; /* Fondo blanco */
      border: 1px solid #e0e0e0; /* Borde sutil para un toque elegante */
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Sombra más ligera */
      margin-bottom: 50px;
    }
    .terms-section {
      margin-bottom: 40px;
    }
    .terms-section h2 {
      color: #003366;
      border-bottom: 2px solid #01579B;
      padding-bottom: 8px;
      font-size: 1.6rem;
      font-weight: 600; /* Mayor peso para un look serio */
    }
    .terms-section p {
      color: #000000; /* Negro puro para el texto */
      line-height: 1.8; /* Mayor espaciado entre líneas para mejor legibilidad */
      font-size: 1rem;
    }
    .btn-primary {
      background-color: #01579B; /* Azul oscuro corporativo */
      border-color: #01579B;
      padding: 10px 20px;
      font-weight: 500;
    }
    .btn-primary:hover {
      background-color: #003366; /* Azul más oscuro al hover */
      border-color: #003366;
    }
    .btn-secondary {
      background-color: #6c757d; /* Gris profesional */
      border-color: #6c757d;
      padding: 10px 20px;
      font-weight: 500;
    }
    .btn-secondary:hover {
      background-color: #5a6268; /* Gris más oscuro al hover */
      border-color: #5a6268;
    }
    /* Estilos para los labels de los checkboxes */
    #contact-form .form-check-label {
      color: #000000 !important; /* Negro puro para el texto de los labels */
      text-align: left; /* Alineación a la izquierda */
      display: block; /* Asegura que el texto ocupe todo el ancho disponible */
    }  
    #contact-form #archivos {
    padding: 0.75rem;
}
#contact-form .text-muted {
    color: #6c757d !important;
    
}#contact-form #archivos {
    padding: 0.75rem;
}
#contact-form .text-muted {
    color: #6c757d !important;
}