*{

    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    cursor: url('/img/cursor.png'), auto;

    }
 
 h3{
   font-weight: 700;
   font-size: 25px;
 }
 p{
   font-family: 'Open Sans', sans-serif;

 }
    body, html {
        margin: 0;
        padding: 0;
        height:auto;
        width: 100%;
      
    }/*estilos botones*/
    button{
      width: 30%;
        padding: 8px 5px;
        border-radius: 8px;
        background-color: #00AAFC;
        margin-left: 2%;
    }
    button:hover{
        animation: pulse 1s infinite;
        box-shadow: #00135B;
       
    }
    button a{
        color: #fff;
        font-size: 18px;
        text-decoration: none;
        font-weight: 600;
    }
 header{
    width: 100%;
    height: auto;
    padding: 0;
 }
 .llamanos{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color: #fff;
 }
 .llama{
   width: 80%;
   padding: 0;
   margin: 0;
   display: flex;
   justify-content: center;
  
 }
 .testimonios{
   width: 100%;
   height: auto;
   padding: 2%;
   background-color: #00135b;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
 }
 .testimonios .cards{
   display: flex;
justify-content: center;
 }
 .testimonios h2{
   color: #fff;
   font-size: 30px;
   padding: 0;
   margin: 0;
 }
 .testimonios p{
   font-size: 20px;
   font-style: italic;
   color: #fff;
   text-align: center;
   width: 80%;
 }
 .testimonio-card{
   background-color: #D6D5CD;
   margin: 1%;
   width: 35%;
   flex-direction: column;
   display: flex;
   justify-content: center;
   align-items: center;
   border-radius: 10px;
   margin-top: 8%;
   padding-bottom: 3%;
 }
 .testimonio-card p{
   color: #000;
   font-style: italic;
   font-size: 20px;
 }
 .testimonio-card  h3{
   color: #00135b;
   font-size: 28px;
 }
 .testimonio-card img{
   width: 50%;
   height: auto;
   max-height: 180px;
   border-radius: 100%;
   margin-top: -15%;
   border: 5px solid #fff;
 }
 p{
   font-family: 'Roboto', sans-serif;
 }
 .redes{
   display: flex;
   justify-content: flex-end;
width: 20%;
height: auto;
padding-right: 3%;

 }
 .redes a{
   width: 15%;
   height: auto;
   margin: 2%;
   display: flex;
   justify-content: center;
 }
 .redes a:hover{
   animation: pulse 1s infinite;
 }
.redes a img{
   width: 85%;
   height: auto;

   max-height: 120px;
}
 .llamanos p{
    font-size: 25px;
    font-weight: 600;
    color:#00AAFC;
 }
 .llamanos p a{
    color:#00AAFC;
    text-decoration: none;
 }
  /*-----------------------------------------------------------------------------------------------------*/
 .roedores{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-evenly;
    background-color:#00135b;
    padding-bottom: 1%;
    padding-top: 1%;
 }
 .roedores img{
    color: #fff;
    height: auto;
    width:auto;

 }
 p{
   font-size: 22px;
 }
  /*-----------------------------------------------------------------------------------------------------*/
 .navegacion{
    display: flex;
    width: 100%;
    background-color:#D6D5CD;

 }
 .navegacion .logo{
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
 }
 .navegacion .logo img{
    width: 70%;
    margin-top: -15%;
    height: auto;
    max-height: 220px;
 }
 .navegacion nav{
    width: 80%;
    display: flex;
    justify-content:space-evenly;
    align-items: center;
 }
 .navegacion nav a{
    color:#00135b;
    font-size: 24px;
    font-weight: 600;
    padding: 1%;

    text-decoration: none;
 
 }
 .navegacion nav a:hover{
   background-color:#00135b;
   color: #fff;
 }
  /*-----------------------------------------------------------------------------------------------------*/
 .control h2{
   font-size: 20px;
   color: #00AAFC;
   margin: 0;
   padding-top: 3%;
 }
 
 h3{
   color: #00135B;

 }

 .liderimg{
   width: 100%;
   display: flex;
   align-items: center;
   border-radius:10px 10px 0px 0px;
   margin-top: -2%;
background-color: #fff;
   
 }
 .liderimg img{
width: 18%;
margin: 2%;
 }
 .lider button{
    margin-left: 15%;
    width: 20%;
    margin-bottom: 2%;
 }
   /*-----------------------------------------------------------------------------------------------------*/
 .home{
   background-image: url(/img/backgroun-fumigacion.png);
   background-repeat: no-repeat;
   background-size: cover;
   width: 100%;
   height: auto;
   display: flex;
   padding-bottom: 5%;
 }
 .control .iconos{
   background-color: #00AAFC;
   display: flex;
   justify-content: center;
   width: 50%;
   border-radius: 10px;
 }
 .control .iconos img{
   width: 15%;
 }
 .control{
   width: 50%;
   height: auto;
   padding-left: 4%;

 }
 .control h1{
   color:#00135B;
   padding:0;
   width: 100%;
   font-size: 30px;

 }
 .control p{
   font-size: 25px;
   color: #00135b;
   width: 65%;
   font-weight: 500;
 }

.control .button{
  width: 50%;
  background-color:#00135B;
  display: inline-block;
  padding: 10px 20px;
  color:#fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 2%;

}
.control .button:hover{
  animation: pulse 1s infinite;
  background-color: #00135B;
  color: #fff;
  border: 1px solid #fff;
}

.descuento{
   width: 50%;
   height: auto;
   display: flex;
   justify-content: center;
   height: auto;
}
.descuento img{
   width: 80%;
}
  /*-----------------------------------------------------------------------------------------------------*/
 .controlP{
   width: 100%;
   display: flex;
   height: auto;
 }
 .controlP .plagas{
   width: 50%;
   padding: 2%;
 }
 .cucarachas{
   width: 100%;
   height: auto;
   display: flex;
   justify-content: end;
   padding-right: 3%;
 }
 .raton{
   width: 100%;
   height: auto;
   display: flex;
   justify-content:start;
   padding-left: 3%;
 }
 .controlP .plagas .button{
   width: 30%;
   background-color:#00AAFC;
   display: inline-block;
   padding: 10px 20px;
   color: white;
   font-weight: 600;
   text-decoration: none;
   border-radius: 5px;
   font-size: 16px;
   text-align: center;
   cursor: pointer;
 }
 .controlP .plagas .button:hover{
   animation: pulse 1s infinite; 
 }
 .controlP .satisfaccion{
   width: 50%;
   height: auto;
   justify-content: center;
   display: flex;
 }
 .controlP .satisfaccion img{
   width: 80%;
   height: auto;

 }
 /*-----------------------------------------------------------------------------------------------------*/
.industria{
   width: 100%;
   height: auto;
   text-align: center;
   padding:0;
}
.industry{
   display: flex;
   gap: 10px;
   padding: 2%;
   justify-content: center;
}
.industria-grid{
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   width: 28%;
   height: auto;
   padding: 2%;
   box-shadow: 0px 0px 20px 10px rgba(0, 0, 0, 0.5);
}
.industria-grid .button{
   width: 40%;
   background-color:#00AAFC;
   display: inline-block;
   padding: 10px 20px;
   color: white;
   font-weight: 600;
   text-decoration: none;
   border-radius: 5px;
   font-size: 16px;
   text-align: center;
   cursor:pointer;



 }
 .industria-grid .button:hover{
   animation: pulse 1s infinite;
 }

.industria-grid h3{
   font-size: 28px;

}
.industria-grid strong{
   color: #000;
}
.secundaria{
   width: 15%;
   margin-top: -5%;
}
    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
        }
    }
    
    
    /* Animación */
    @keyframes slide-in {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    strong{
        color: #45C9F3;
        font-weight: 600;
    
    }
     /*-----------------------------------------------------------------------------------------------------*/
  
     /*-----------------------------------------------------------------------------------------------------*/
     .tipos{
      width: 100%;
      margin: 0;
      padding: 0;
      height: auto;
  
     
     }
     .tipos h2{
      padding-top: 2%;
      text-align: center;
      margin: 0;
      font-size: 35px;

     }
     /*tipos de plagas*/
     .grid-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* 4 columnas de igual tamaño */
      gap: 20px; /* Espacio entre los elementos */
      padding: 20px;
      background-color: #fff;
  }

  .grid-item {
   height: auto;
   display: flex;
   flex-direction: column;
   align-items: center;
   background-color:#EFEFEF; /* Fondo de cada elemento */
   border-radius: 2px; /* Bordes redondeados */
   padding: 20px;
   text-align: center;
   position: relative; /* Asegura que la descripción se posicione correctamente */
   overflow: hidden; /* Recorta el contenido que sobresale */
  }

  .grid-item img {
   width: 40%; /* Ajusta el ancho al 100% del contenedor */
   height: auto;
   max-height: 200px;
   padding-top: 2%;
   object-fit: cover;
   transition: transform 0.5s ease;
   cursor: pointer;
   z-index: 1; /* Asegura que la imagen esté sobre la descripción */
  }

  .grid-item img:hover {
      transform: scale(1.08);
  }

  .grid-item h3 {
      font-size: 18px;
      margin: 0;
      color: #00AAFC;
  }
  .image-container {
   display: flex;
   align-items: center;
   justify-content: center; /* Centra la imagen horizontalmente */
   display: flex;
   justify-content: center; /* Centra la imagen horizontalmente */
   align-items: center; /* Centra la imagen verticalmente */
   width: 100%;
   height: 100%;
}

  .grid-item .description{
    display: none; /* Oculta la descripción inicialmente */
  background-color:#00135B;
  font-size: 18px;
  color: white;
  padding: 5px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-align: center;
  border-radius: 10px;
  z-index: 2; /* Coloca la descripción sobre la imagen cuando se muestra */
  cursor: pointer; /* Añade un cursor de puntero para indicar que es clicable */
  }
  .grid-item .description h3{
   color: #fff;
   font-size: 14px;
  }
  .grid-item .description p{
   font-size: 10px;
  }
  .grid-item .description img{
   padding:0;
   margin: 0;
   width: 18%;
   height: auto;
   max-height: 70px;
  }
  /* Media query para pantallas más pequeñas */
  @media (max-width: 768px) {
      .grid-container {
          grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas más pequeñas */
      }
  }

  @media (max-width: 480px) {
      .grid-container {
          grid-template-columns: 1fr; /* 1 columna en pantallas muy pequeñas */
      }
  }
/*------------------------------------------------------SEDES--------------------------------------------------------*/
.container-sedes{
   width: 100%;
   height: auto;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 5%;
   background-image: url(/img/backgroun-fumigacion.png);
   background-size: cover;
}
.locacionM{
   width: 40%;
   padding: 0;
   padding-top: 1%;
   height:75vh;
   background-color: #fff;
   border-radius:22px   0px 0px 22px;
   margin-right: 1%;
   display: flex;
   background-image: url(/img/fumigacion.png);
   display: flex;
   justify-content: end;
   flex-direction: column;
   align-items:center;
}
.locacionM h2{
   display: flex;
   flex-direction: column;
   font-size: 25px;
   text-align: center;
   margin: 0;
   width: 100%;
}
.locacionM img{
   width: 100%;
   height: auto;
   max-height: 465px;
   padding: 0;
   margin: 0;
   padding: 0;
   margin: 0;

   border-radius:0px   0px 0px 22px;
}
.fas {
   color: #00135B;
   padding-right: 5%;
}
.sedes{
flex-direction: column;
display: flex;
   padding: 2%;
   width: 40%;
   background-color: #fff;
   height: 75vh;
   border-radius:  0px 22px    22px 0px ;
}
.sede{
   flex-direction: column;
display: flex;
   padding: 0;
   margin-bottom: 4%;
}
.logoM{
   width: 100%;
   height: auto;
   display: flex;
   justify-content: end;
}
.logoM img{
   width: 20%;
}
.sede button{
width: 30%;
margin-bottom: 3%;
cursor: pointer;
}
.sede button a{
   color: #fff;
}
.sede a, .sede p{
   text-decoration: none;
   color: #666666;
   margin: 0;
}
.sede strong{
   color: #000;
   margin: 0;
   padding: 0;

}
footer .navegacion{
   background-color: #00135B;
}
.sede .button{
   background-color: #00135b;
   width: 18%;
   border-radius: 10px;
   padding: 8px 4px;
   text-align: center;
   color: #fff;
   cursor: pointer;
   font-weight: 600;
   margin: 1%;
}
.sede .button:hover{
animation: pulse 1s infinite;
}
/*botones llamadas*/
.whatsapp-fixed {
   position: fixed;
   right: 1%; /* Ajusta según tus preferencias */
   bottom:42%;/* Distancia desde el fondo para no superponer el footer */
   color: white;
   padding:0;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 4.3%; /* Tamaño del círculo */
   height:auto; /* Tamaño del círculo */
   text-decoration: none;
   z-index: 1000; /* Asegúrate que esté sobre otros elementos */

}
.whatsapp-fixed:hover{
   animation: pulse 1s infinite; 
}

.call-fixed {
   position: fixed;
   right:1%; /* Ajusta según tus preferencias */
   bottom:30%; /* Distancia desde el fondo para no superponer el footer */
   color: white;
   background:none;
   padding:0;
   display: flex;
   justify-content: center;
   align-items: center;
   width: 4.3%; /* Tamaño del círculo */
   height:auto; /* Tamaño del círculo */
   text-decoration: none;
   z-index: 1000; /* Asegúrate que esté sobre otros elementos */

}
.whatsapp-fixed img{
   width:60px;
   height:auto;

}
.call-fixed img{
   width:85px;
   height:auto;
}
.call-fixed i {
   font-size: 30px; /* Aumenta el tamaño del ícono del teléfono */
}
.call-fixed:hover{
   animation: pulse 1s infinite; 
}
  /*fORMULARIO----------------------------------------------------------------------------------------------*/
  .formulario{
   width: 100%;
   height: auto;
   background-repeat: no-repeat;
   background-size: cover;
   background-image:url(/img/companias-para-fumigar.webp);
   display: flex;
   align-items: center;
   justify-content: center;
  }
.contact-form {
  height:auto;
   width: 30%; /* O ajusta según la necesidad */
   text-align: center; /* Centrar el texto y los elementos del formulario */
   padding-bottom: 2%;


}

#contactForm label {
   display: block; /* Los labels en su propia línea */
   margin-top: 10px; /* Margen superior */
   margin-bottom: 2px; /* Espaciado antes de cada input */
   color: #666666; /* Color del texto de las etiquetas */
}
#contactForm textarea {
   width: 100%; /* Ocupa todo el ancho del contenedor del formulario */
   height: 130px; /* Ajusta esto según cuánto quieras que sea alto el cuadro de texto */
   padding: 7px; /* Espacio interior alrededor del texto */
   margin-bottom: 15px; /* Espaciado después del textarea */
   border: 1px solid  #00135b; /* Borde del color azul característico */
   border-radius: 6px; /* Bordes redondeados para el textarea */
   box-sizing: border-box; /* El width incluye el padding y border */
   resize: vertical; /* Permite al usuario cambiar el tamaño verticalmente si es necesario */
}


#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm input[type="tel"],
#contactForm textarea {
   width: calc(100% - 20px); /* Ancho menos el padding */
   padding: 8px; /* Espacio interior para escribir */
   margin-bottom: 15px; /* Espaciado después de cada input */
   border: 0;
   border-radius: 5px; /* Bordes redondeados para los inputs y textarea */

   box-sizing: border-box; /* El width incluye el padding y border */
}

#contactForm input[type="submit"] {
 
   width: 90%; /* El botón de envío ocupa todo el ancho */
  padding: 1%;
   background-color:#00AAFC; /* Color de fondo azul para el botón */
   color: white; /* Texto blanco en el botón */
   border: none; /* Sin bordes */
   border-radius: 5px;
   cursor: pointer; /* Cursor de mano al pasar por encima */
   margin-top: 3px; /* Margen superior para separar del último input/textarea */
}

#contactForm input[type="submit"]:hover {
   background-color: #00135b; /* Color del botón al pasar el cursor por encima */
}


#contactForm input:invalid,
#contactForm textarea:invalid {
   border-color:  #00135b;
   color: #666666;
    /* Color de borde para campos inválidos */
}

.contact-form h2 {
padding:0;
font-size: 35px;
text-align:center;
   color: #fff;
   letter-spacing: 5px;
}
.contact-form h3{
   padding: 2%;
font-size: 25px;
text-align:center;
   color: #fff;
}

.contact-form form {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
}
.g-recaptcha{
   width: 100%;
   height: auto;
display: flex;
justify-content: center;
}

.copyright{text-align: center;
   background-color:#00135B;
}
.copyright a{
   text-decoration: none;
   color: #fff;
}
footer .navegacion nav a:hover{
   background-color: #00AAFC;
}
footer .navegacion nav a{
   color: #fff;
}
  @media (max-width: 768px) {
   .container-sedes{
      padding:0;
      width: 100%;
      padding: 0;
      flex-direction: column;
   }
   footer{
      padding: 2%;
      background-color: #00135b;
   }
   .testimonios h2{
      text-align: center;
   }
   .cards{
      flex-direction: column;
      justify-content: center;
      display: flex;
      align-items: center;
   }
   .testimonio-card{
      width: 80%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 2%;
   }
   .testimonio-card img{
      margin: 0;
   }
   .sede{
      width: 100%;
      border-radius: 0;
   }
   .sede p{font-size: 18px;} 
   .sedes{
      width: 100%;
      height: auto;
      border-radius: 0;
   }
   .locacionM{
      width: 100%;
      height:auto;
      margin: 0;
      padding: 0%;
      padding-top: 2%;
      border-radius: 0;

   }.sede button{
      width: 50%;
   }
   .control .button{
      width: 50%;
   }
   .locacionM img{
      border-radius: 0;
   }
.home{
   flex-direction: column;
   padding-bottom: 0;
}
.home .fumigamos{
   flex-direction: column;
   width: 100%;
}
.fumigamos img{
   width: 100%;
}
.descuento{
   width: 100%;
   justify-content: center;
   align-items: end;
   display: flex;
   padding: 0;
   margin: 0;
}
.descuento img {
   width: 70%;
}

.banner{
   width: 100%;
   padding: 2%;
   font-size: 18px;
}
.info-box{
   width: 100%;
}
.control, .control h1{
   width: 100%;
   padding: 2%;
   font-size: 29px;
}
.controlP .satisfaccion img{
   width: 100%;
}

.controlP{
   width: 100%;
   flex-direction: column;
}
.controlP .plagas, .controlP .plagas{
   width: 100%;
   text-align: center;
}
.controlP .plagas p{
   font-size: 20px;
}
.controlP .plagas button{
   width: 60%;
}
.controlP .satisfaccion{
   width: 100%;
}
.industry{
   flex-direction: column;
}
.industria-grid{width: 100%;}
.principal{
   width: 90%;
}

.whatsapp-fixed, .call-fixed{
   right: 15%;
}


.controlP .plagas .button {
   width: 50%;
}


   .llamanos, .navegacion{
      flex-direction: column;
      width: 100%;
      }
      .llama{
         width: 100%;
         text-align: center;
         padding: 0;
      }
   .redes, .navegacion .logo {
      width: 100%;
      justify-content: center;
   }
   .navegacion nav{
      width: 100%;
      flex-direction: column;

   }
   .navegacion nav a{
      font-size: 18px;
   }
   
   .grid-item img {
      width: 80%;
      height: auto;
      max-height: 250px;
      padding-top: 15%;
      background: none;
   }
   
      .grid-container {
         display: flex; /* Cambiamos a flexbox */
         overflow-x: scroll; /* Habilitamos el scroll horizontal */
         scroll-snap-type: x mandatory; /* Activamos el snap para que se desplace de item en item */
         -webkit-overflow-scrolling: touch; /* Suaviza el scroll en dispositivos móviles */
         gap: 10px;
     }
 
     .grid-item {
         flex: 0 0 80%; /* Cada item toma el 80% del ancho en móvil */
         scroll-snap-align: center; /* El item se alinea en el centro del viewport al hacer scroll */
     }
     .formulario{
      background-position: center center;
      width: 100%;

     }
    .contact-form form{
      justify-content: center;
      display: flex;
     }
     .contact-form {
      width: 95%;
      justify-content: center;
  }
  #contactForm input:invalid{width: 100%;}
  #contactForm textarea {
   width: 100%;
  }
  .redes a img{
   width: 50%;
  }
  .navegacion .logo img{
   width: 40%;
   margin: auto;
}
.sede .button {
   width: 30%;
   margin-top: 2%;
}

  }
  @media (min-width: 1200px) and (max-width: 1400px){
   .sedes,   .locacionM {
      height: 82vh;
   }
   .sede .button{
      margin-top: 2%;
   }
   .industria-grid .button{
      width: 50%;
   }
  }
  @media (min-width: 1800px) and (max-width: 2000px){
   .locacionM img {
  
      max-height: 612px;
  
  }
  .locacionM {
  background-repeat: no-repeat;
   height: 66vh;

}
.sedes{
   height: 66vh;
}

  }
  @media (min-width: 420px) and (max-width: 600px){
   .llamanos .llama p{
      padding: 5%;

   }

   .descuento{
      width: 100%;
      justify-content: center;
      display: flex;
   }
   .descuento img{
      width: 70%;
   }
   
}
   @media (min-width: 600px) and (max-width: 900px){
      .redes a img{
         width: 35%;
      }
      .navegacion .logo img{
         width: 30%;
         height: auto;
         max-height: 300px;
      }
   }
      @media (min-width: 400px) and (max-width: 550px){
         .navegacion .logo img{
            width: 40%;
            margin: auto;
         }
         .redes a img{
            width: 45%;
         }
         .llamanos .llama p{
            width: 80%;
      
         }
         .main-image {
            width: 50%;
         }
      }
      @media (min-width: 1500px) and (max-width: 1800px){
         .locacionM, .sedes{
            height: 90vh;
         }

      }
   
 
  
  