*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;  
}

/* Contenedor del buscador */
.buscador {
  width: 100%;
  max-width: 500px; /* Ancho máximo para que no se estire demasiado */
  margin: 30px auto; 
  position: relative;
  z-index: 10;
}

/* El campo de texto*/
#searchInput {
  width: 100%;
  padding: 15px 20px;
  font-size: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  outline: none;
  transition: all 0.3s ease;
}

#searchInput::placeholder {
  color: rgba(255, 255, 255, 0.7); /* Color del texto "buscar.." */
}

#searchInput:hover,
#searchInput:focus {
  background: rgba(255, 255, 255, 0.25); /* Fondo más claro */
  box-shadow: 0 0 20px 4px white; /* Resplandor*/
  border: 1px solid rgba(254, 254, 254, 0.974); /* Borde */
  color: white;
}


/* La lista de sugerencias */
#listaSugerencias {
  list-style: none;
  width: 100%;
  margin-top: 10px;
  padding: 0;
  background:transparent;
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


/* Elementos de la lista */
#listaSugerencias li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#listaSugerencias li:last-child {
  border-bottom: none;
}


/* Lista de sugerencias */
#listaSugerencias li a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border-radius: 10px; /* Bordes ligeramente redondeados */
}


/* Efecto hover y focus en cada sugerencia */
#listaSugerencias li a:hover,
#listaSugerencias li a:focus {
  background: rgba(255, 255, 255, 0.2); /* Fondo más claro */
  box-shadow: 0 0 15px 3px white; /* Resplandor dorado */
  border: 1px solid white; /* Borde brillante */
  color: white;
}


/*texto de principal*/
#texto h1{
  text-align: center;
  color:white;
  margin-bottom: 20px;
  font-size: 32px;
}

#texto p{
  color: white;
  text-align: center;
  margin-bottom: 15px;
}

#texto{
  max-width: 800px;
  margin-top: 80px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);   
}

#texto a{
color:black;
text-decoration: none;
font-weight: normal;
}


/*logo*/
#logo{
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: -20px;
}

#logo img{
  height: auto;
  width: 920px;
}


/*cuadro del inicio*/
.caja-cuadro{
  display: block;
  justify-content: center;
  gap: 80px;
  margin: 40px auto;
  flex-wrap: wrap;
}

.cuadro{
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cuadro img{
  width: 100%;
  max-width: 500px;
  height: auto;
  padding: 20px;
}

.caja-cuadro{
  display: flex;
  justify-content: center;
  gap: 80px;
  margin: 40px auto;
}

.cuadro{
  width: 320px;
  color: antiquewhite;
  background: transparent;
  padding: 20px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  backdrop-filter: blur(10px);
}

.cuadro:hover{
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(0,0,0,0.35);
  box-shadow: 0px 0px 20px rgb(255, 255, 255);
}

.cuadro img{
   width: 100%;
  padding: 10px;
  margin: 0 auto;
}

.cuadro-texto{
  text-align: center;
  color: antiquewhite;
}

.cuadro-texto p{
  padding: 20px;
}



/*para los terminos y condiciones*/
.footer-moderno {
  width: 100%;
  background: rgb(7, 60, 92); /* Azul muy oscuro profundo */
  backdrop-filter: blur(12px);
  color: white;
  padding: 60px 0 20px 0;
  margin-top: -10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 5;
  box-sizing: border-box;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0 20px;
  gap: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  color: whitesmoke;
  font-size: 24px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.footer-section h4 {
  margin-bottom: 20px;
  font-size: 18px;
  border-bottom: 2px solid rgb(231, 192, 65);
  display: inline-block;
}

.footer-section p {
  line-height: 1.6;
  color: whitesmoke;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

/*color de de seguir*/
.footer-section ul li img {
  color: whitesmoke;
  text-decoration: none;
  transition: 0.3s;
}

/*movimineto de seguir*/
.footer-section ul li img:hover {
  color:  rgb(231, 192, 65);
  padding-left: 5px;
}

.footer-section ul li{
  display: flex;
  align-items: center;
  gap: 8px;
}


/*tamaño de iconos de contacto*/
.footer-section ul li img{
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: 0.3s;
  border: 1px solid rgba(255,255,255,0.2);
}

.social-icon:hover {
  background: rgb(244, 244, 243);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  color: whitesmoke;
}


/*fondo*/
.container {
  min-height: 100vh;
      width: 100%;
      /* height: 100%; */
      /* Add your background pattern here */
      background: linear-gradient(
        #021024,
        #052659,
        #1d778b,
        #1ea0b7, 
        #5483b3,
        #7da0ca
      );
      background-size: 400% 400%;
      
      display: flex;
      align-items: center;
      flex-direction: column;
      padding-top: 0;
    }
    
    @keyframes gradient {
      0% {
        background-position: 0% 50%;
      }
      25% {
        background-position: 50% 100%;
      }
      50% {
        background-position: 100% 50%;
      }
      75% {
        background-position: 50% 0%;
      }
      100% {
        background-position: 0% 50%;
      }
    }
  
    #fondo {
      width: fit-content;
      height: fit-content;
      background-color:transparent;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 25px 25px;
      gap: 20px;
    }

    /* ========== MÓVILES ========== */
@media (max-width: 600px) {

  .container {
    padding: 10px;
  }

  #logo img {
    width: 90%;
    max-width: 380px;
  }

  #texto {
    margin-top: 20px;
    padding: 15px;
  }

  #texto h1 {
    font-size: 22px;
  }

  #texto p {
    font-size: 14px;
  }

  .caja-cuadro {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .cuadro {
    width: 95%;
    padding: 10px;
  }

  .cuadro img {
    padding: 5px;
  }

  /* Buscador */
  #searchInput {
    font-size: 16px;
    padding: 12px;
  }

  #listaSugerencias li a {
    font-size: 14px;
  }

  /* Footer */
  .footer-moderno {
    padding: 40px 10px 10px 10px;
  }

  .footer-section h3 {
    font-size: 20px;
  }

  .footer-section h4 {
    font-size: 16px;
  }

  .footer-section ul li img {
    width: 22px;
    height: 22px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

/* Móviles muy pequeños */
@media (max-width: 380px) {

  #texto h1 {
    font-size: 20px;
  }

  .cuadro {
    width: 100%;
  }

  .social-icon {
    width: 34px;
    height: 34px;
  }
}