* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  list-style: none;
  cursor: none;
}

/* este es el estilo del Efecto del cursor*/
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: rgb(243, 99, 9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.cursor-outline {
  position: fixed;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 255, 255, 0.2); /* Fondo color con opacidad */
    border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}


/* Este es el style de la cabecera de navegacion de la pagina */
.header_navegador {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffffec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 100px;
  width: 100%;
  height: 100px;
  box-shadow: 0 2px 8px rgba(75, 255, 255, 0.262);
  box-sizing: border-box;
}

.logo img {
  width: 160px;
  height: auto;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
}

.nav ul li a {
  text-decoration: none;
  color: #595959;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav ul li a:hover {
  color: #00aaff;
}

.contacto {
  display: flex;
  align-items: center;
  gap: 15px;
}

.telefono-icono {
  width: 60px;
  height: 60px;
  background: #00aaff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.telefono-icono img {
  width: 50px;
  height: 50px;
}

.telefono-texto span {
  display: block;
  color: #6e7b8a;
  font-size: 16px;
}

.telefono-texto strong {
  color: #0a1e3f;
  font-size: 25px;
}

/* Botón hamburguesa (oculto en pantallas grandes) */
.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  color: #595959;
  cursor: pointer;
}

/* ---------------------- */
/* Estilos responsive     */
/* ---------------------- */

@media (max-width: 768px) {
  .header_navegador {
    flex-wrap: wrap;
    padding: 15px 20px;
    height: auto;
  }

  .contacto {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    width: 100%;
    overflow: hidden;
    max-height: 0;
    transition: max-height 1.2s ease-in-out;
  }

  .nav.show {
    max-height: 500px; /* Ajusta si tu menú tiene más enlaces */
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    margin: 0;
    padding-bottom: 7px;
  }

  .logo img {
    width: 130px;
    height: auto;
  }
}

    /* (para la pagina actual) */
.nav ul li a.activo {
  color: #00aaff;
  border-bottom: 2px solid #00aaff;
  padding-bottom: 5px;
}


/* style del banner contacto */
.servicios-banner {
  position: relative; 
  color: rgba(255, 255, 255, 0.844);
  text-align: center;
  overflow: hidden; 
}

.servicios-banner img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.servicios-banner::before {
  content: ""; 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ff03b87a; 
}

.servicios-banner h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2em;
  margin: 0;
  padding: 10px 20px;
  z-index: 1; /* Asegura que el texto esté por encima de la capa semitransparente */
}

.servicios-banner h1::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin: 10px auto 0 auto;
  background-color: white;
  border-radius: 2px;
  animation: expandLine 1s ease-out forwards;
}

@keyframes expandLine {
  to {
    width: 180px;
  }
}


/* style de la Sección de Contacto */
.contactenos {
  background-color: #ffffff;
  width: 100%;
  padding: 80px 150px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.contactenos .descripcion {
  border: 1px solid #e3e2e2;
  flex: 1;
  padding: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.descripcion h1 {
  color: #ff03b8;
  font-size: 20px;
  margin-bottom: 30px;
}

.descripcion h2 {
  color: #000;
  font-size: 40px;
  margin-bottom: 40px;
  line-height: 1.2;
  font-weight: bold;
}

.descripcion p {
  color: #6e7b8a;
  font-size: 17px;
  line-height: 1.8;
}

.contactenos .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info_datos {
  border: 1px solid #e3e2e2;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.icono-circular {
  width: 60px;
  height: 60px;
  background-color: #ff03b8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icono-circular img {
  width: 30px;
  height: 30px;
}

.contactenos .info h1 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
  color: #000;
}

.contactenos .info p {
  color: #6e7b8a;
  font-size: 16px;
}

/* --- Media Queries --- */

/* TABLETAS Y ESCRITORIOS PEQUEÑOS (≤1024px) */
@media (max-width: 1024px) {
  .contactenos {
    padding: 60px 50px;
    flex-direction: column; /* Apila las secciones */
    align-items: center; /* Centra el contenedor principal si hay espacio extra */
  }

  .contactenos .descripcion,
  .contactenos .info {
    width: 100%; /* Ocupa el ancho completo */
    max-width: 600px; /* Limita el ancho máximo para que no sea demasiado largo en tabletas */
    /* Eliminado margin-bottom aquí para que estén pegados */
  }

  /* Asegura que no haya margen extra al final si solo hay dos bloques */
  .contactenos .descripcion:last-child {
      margin-bottom: 0;
  }
  .contactenos .info:last-child {
      margin-bottom: 0;
  }

  .contactenos .descripcion {
    padding: 40px; /* Reduce el padding para pantallas más pequeñas */
  }

  .descripcion h2 {
    font-size: 32px;
  }

  .descripcion p {
    font-size: 16px;
  }

  .info_datos {
    flex-direction: row; /* Mantiene el icono y el texto en fila */
    padding: 20px 30px;
  }
}

/* MÓVILES GRANDES (≤768px) */
@media (max-width: 768px) {
  .contactenos {
    padding: 40px 30px;
  }

  .contactenos .descripcion,
  .contactenos .info {
    max-width: 100%; /* Asegura que ocupe todo el ancho en móviles */
    /* Eliminado margin-bottom aquí también para que estén pegados */
  }
  
  .contactenos .descripcion {
    padding: 30px 20px; /* Reduce el padding aún más */
    text-align: left; /* CORRECCIÓN: Alinea el texto a la izquierda */
  }

  .descripcion h1 {
    margin-bottom: 20px; /* Ajusta el margen del h1 */
  }

  .descripcion h2 {
    font-size: 28px; /* Reduce el tamaño del título */
    margin-bottom: 30px;
  }

  .descripcion p {
    font-size: 15px;
  }

  .info_datos {
    flex-direction: row; 
    gap: 15px;
    padding: 15px 20px; 
  }

  .icono-circular {
    width: 50px;
    height: 50px;
  }

  .icono-circular img {
    width: 24px;
    height: 24px;
  }

  .contactenos .info h1 {
    font-size: 16px;
  }

  .contactenos .info p {
    font-size: 14px;
  }
}

/* MÓVILES PEQUEÑOS (≤480px) */
@media (max-width: 480px) {
  .contactenos {
    padding: 30px 15px; 
  }

  .contactenos .descripcion {
    padding: 25px 15px;
  }

  .descripcion h2 {
    font-size: 24px; 
    margin-bottom: 25px;
  }

  .descripcion p {
    font-size: 14px;
  }

  .info_datos {
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    padding: 20px 15px;
  }

  .icono-circular {
    margin-bottom: 10px; 
  }

  .contactenos .info h1 {
    font-size: 15px;
  }

  .contactenos .info p {
    font-size: 13px;
  }
}

  .descripcion p {
    font-size: 15px;
  }

  .info_datos {
    flex-direction: row; 
    gap: 15px;
    padding: 15px 20px; 
  }

  .icono-circular {
    width: 50px;
    height: 50px;
  }

  .icono-circular img {
    width: 24px;
    height: 24px;
  }

  .contactenos .info h1 {
    font-size: 16px;
  }

  .contactenos .info p {
    font-size: 14px;
  }


/* stylo de ubicacion por mapa*/

.mapa iframe {
  width: 100%;
  height: 600px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .mapa iframe {
    height: 350px;
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .mapa iframe {
    height: 250px;
  }
}


/*style de la seccion enviar contacto*/
.formulario-contacto {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
}

.formulario-contacto .subtitulo {
  color: #00aaff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.formulario-contacto .titulo {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
}

.formulario_tamaño {
  max-width: 900px;
  margin: 0 auto;
}

.campo-doble {
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.campo {
  position: relative;
  flex: 1;
}

.campo i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #808181;
}

.campo input,
.campo select,
.campo textarea {
  width: 100%;
  padding: 12px 12px 12px 35px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #e2e2e2;
  background-color: transparent;
  outline: none;
  
}

.campo textarea {
  resize: vertical;
}

.campo select {
  appearance: none;
}

.boton-centro {
  margin-top: 30px;
  text-align: center;
}

.boton-centro button {
  background-color: #00aaff;
  color: white;
  font-weight: bold;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  margin-bottom: 25px;
}

.boton-centro button:hover {
  background-color: #5bd0f0;
}
.campo input::placeholder,
.campo textarea::placeholder,
.campo select:invalid {
  color: #9e9e9e;
}

.mensaje-form {
  display: none;            /* Oculto por defecto */
  text-align: center;
  font-weight: 600;
  margin-top: 5px;
}

.mensaje-exito {
  color: #00aaff;
  text-align: center;
  font-family:Arial, sans-serif;
  font-size: 13px;
  opacity: 0.6;
}

.mensaje-error {
  color: crimson;
}

@media (max-width: 768px) {
  .campo-doble {
    flex-direction: column;
    margin: 0px 30px;
    margin-bottom: 40px;
    gap: 40px;
  }
  .campo textarea{
   width: 90%;
  }
}

/* style de la seccion footer*/
footer {
  width: 100%;
  padding: 10px 10px;
  background-size: cover;
  background-color: #00aaff;
  height: auto; /* El footer se ajustará a la altura de su contenido */
}

.container__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  margin-top: 10px;
}

.box__footer {
  display: flex;
  flex-direction: column;
  padding: 15px;
}

.box__footer .logo img {
  width: 230px;
}

.box__footer .terms {
  max-width: 350px;
  margin-top: 20px;
  font-weight: 540;
  color: #09ffff;
  font-size: 18px;
}

.box__footer h2 {
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 700;
}

.box__footer a {
  margin-top: 10px;
  color: #09ffff;
  font-weight: 550;
  text-decoration: none;
  transition: transform 0.2s ease-in-out; /* transición suave */
  display: inline-block; /* necesario para que transform funcione correctamente */
}

.box__footer a:hover {
  transform: scale(1.08); /* efecto de agrandado */
  opacity: 0.8;
  color: #eeeeee;
} 

.box__footer a img {
  vertical-align: middle;
  margin-right: 8px;
}


.box__footer a .fab {
  font-size: 20px;
}
.box__copyright {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding: 0 40px;
}

.box__copyright p {
  font-size: 14px;
  margin-top: 15px;
  color: #ffffff;
  word-spacing: 3px;
  letter-spacing: 0.5px;
}

.box__copyright hr {
  margin-top: 10px;
  border: none;
  height: 1px;
  background-color: #ffffff;
}


/* animacion de carga*/
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Ocultar cosas */
.ocultar {
  display: none !important;
}

.oculto {
  display: none;
}



/* Loader animado carga */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.oculto {
  display: none;
}

/* Loader de gotas CMYK */
.cmyk-loader {
  display: flex;
  gap: 16px;
}

.gota {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  animation: rebote 1.2s infinite ease-in-out;
}

/* Colores CMYK */
.cyan {
  background-color: #00bfff;
  animation-delay: 0s;
}
.magenta {
  background-color: #ff00ff;
  animation-delay: 0.2s;
}
.yellow {
  background-color: #ffff00;
  animation-delay: 0.4s;
}
.black {
  background-color: #000000;
  animation-delay: 0.6s;
}

/* Animación rebote */
@keyframes rebote {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

/* CSS DE TODOS LOS FONDOS */
    
    /* fondo de la seccion del formulario contacto */
.formulario-contacto {
  position: relative;
  background: #fff; /* fondo blanco */
  overflow: hidden;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* detrás del contenido */
}

.background span {
  position: absolute;
  display: block;
  width: 30px;
  height: 30px;
  background: rgba(63, 63, 63, 0.3); /* gris suave */
  bottom: -50px;
  animation: float 10s linear infinite;
  border-radius: 50%; /* si quieres círculos */
}

.background span:nth-child(1) {
  left: 10%;
  animation-duration: 12s;
  width: 40px;
  height: 40px;
}
.background span:nth-child(2) {
  left: 30%;
  animation-duration: 18s;
}
.background span:nth-child(3) {
  left: 50%;
  animation-duration: 10s;
}
.background span:nth-child(4) {
  left: 70%;
  animation-duration: 15s;
}
.background span:nth-child(5) {
  left: 90%;
  animation-duration: 20s;
}
.background span:nth-child(6) {
  left: 25%;
  animation-duration: 25s;
}
.background span:nth-child(7) {
  left: 60%;
  animation-duration: 30s;
}
.background span:nth-child(8) {
  left: 80%;
  animation-duration: 22s;
}
.background span:nth-child(9) {
  left: 15%;
  animation-duration: 17s;
}
.background span:nth-child(10) {
  left: 45%;
  animation-duration: 28s;
}

/* Animación */
@keyframes float {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
    transform: translateY(-50vh) scale(1.2);
  }
  100% {
    transform: translateY(-100vh) scale(0.8);
    opacity: 0;
  }
}

  /* Asegurar que el contenido quede encima */
.formulario-contacto .contenedor {
  position: relative;
  z-index: 1;
}
