* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
}

.contenedor {
  width: 90%;
  max-width: 1200px;
  overflow: hidden;
  margin: auto;
  padding: 60px 0;
}

.header {
  height: 100vh;
  /* 02 */
  background-image: linear-gradient(
      120deg,
      rgba(213, 252, 121, 0.3) 0%,
      rgba(150, 230, 161, 0.3) 100%
    ),
    url(img/shot-male-person-white-chemical-protection-suit-doing-disinfection-public-areas-stop-spreading-highly-contagious-corona-virus.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.header-content {
  display: flex; /* Para alinear logo y menú horizontalmente */
  justify-content: space-between; /* Distribuye el espacio entre logo y menú */
  align-items: center; /* Centra verticalmente logo y menú */
  padding: 20px; /* Ajusta el padding según necesites */
  background-color: #7bd37b7a;
}

.logo img {
  max-height: 130px; /* Ajusta la altura máxima del logo */
  width: auto; /* Para mantener la proporción del logo */
  transition: all 500ms;
  border-radius: 10px;
  box-shadow: 0 0 8px darkgreen;
}

.logo img:hover {
  transform: scale(1.1);
}

.head {
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #000000;
}

.hamburguer {
  display: none;
}

.menu-navegacion a {
  color: #1d1c1c;
  text-decoration: none;
  padding: 30px;
  font-weight: 600;
  transition: all 0.7s;
}

.menu-navegacion a:hover {
  color: whitesmoke;
}

.contenedor-head {
  text-align: center;
  margin-top: 27vh;
}

.titulo, .copy{
  font-size: 3em;
  text-align: center;
  /* Simula un borde usando múltiples sombras de texto */
    text-shadow:
        -1px -1px 0 #fff,  /* Arriba-izquierda */
         1px -1px 0 #fff,  /* Arriba-derecha */
        -1px  1px 0 #fff,  /* Abajo-izquierda */
         1px  1px 0 #fff;  /* Abajo-derecha */
        /* Puedes añadir más sombras para un borde más grueso o redondo si es necesario */
        /* Por ejemplo, 0px 1px 0 #000000, 0px -1px 0 #000000, etc. */
}


.copy {
  font-size: 2em;
}

.boton-contacto {
  background-color: #3cac3f; 
  color: white;
  padding: 15px 30px;
  border: solid 1px white;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.5s;
}

.boton-contacto:hover{
transform: scale(1.1);
}
/* Estilos existentes para el formulario-contacto */
/* --- Contenedor Principal del Formulario (el fondo oscuro) --- */
.formulario-contacto {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Un poco más oscuro para mejor contraste */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

    /* Transición de opacidad y visibilidad */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Estado cuando el formulario está visible */
.formulario-contacto.mostrar {
    opacity: 1;
    visibility: visible;
}

/* --- Contenido del Formulario (el cuadro blanco) --- */
.formulario-contenido {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4); /* Sombra un poco más pronunciada */
    position: relative; /* Es importante que no sea absolute o fixed */
    width: 90%;
    max-width: 550px; /* Quizás un poco más ancho si el contenido es mucho */

    /* Animación de entrada */
    transform: translateY(20px);
    transition: transform 0.6s ease;

    /* --- Propiedades cruciales para la alineación con Flexbox --- */
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espacio entre los elementos del formulario */

    /* Agregamos overflow-y para evitar que el contenido se desborde si es demasiado alto */
    overflow-y: auto; /* Permite scroll si el contenido es más alto que el contenedor */
    max-height: 90vh; /* Asegura que no ocupe más del 90% del viewport */
}

/* Cuando el formulario se muestra, el contenido también se anima */
.formulario-contacto.mostrar .formulario-contenido {
    transform: translateY(0);
}

/* --- Estilos para los elementos internos del formulario --- */

/* Título del formulario */
.formulario-contenido h2 {
    text-align: center;
    margin-bottom: 10px; /* Ajusta este margen si es necesario */
    color: #333;
    font-size: 1.8rem;
}

/* Labels de los campos */
.formulario-contenido label {
    display: block; /* MUY IMPORTANTE: asegura que el label ocupe su propia línea */
    margin-bottom: 5px; /* Espacio entre el label y su input */
    font-weight: 600; /* Texto más negrita para los labels */
    color: #555;
    font-size: 1rem;
}

/* Inputs de texto y email */
.formulario-contenido input[type="text"],
.formulario-contenido input[type="email"] {
    width: 100%;
    padding: 12px; /* Un poco más de padding */
    border: 1px solid #ccc; /* Borde más suave */
    border-radius: 6px; /* Bordes ligeramente más redondeados */
    box-sizing: border-box; /* Incluye padding y border en el ancho total */
    font-size: 1rem;
    margin-bottom: 10px; /* Espacio entre el input y el siguiente label/elemento */
}

/* Área de texto para el mensaje */
.formulario-contenido textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1rem;
    resize: vertical; /* Permite redimensionar solo verticalmente */
    min-height: 120px; /* Altura mínima para el área de mensaje */
    margin-bottom: 15px; /* Espacio entre textarea y el botón */
}

/* Botón de enviar */
.formulario-contenido button[type="submit"] {
    background-color: #4CAF50; /* Un verde más distintivo */
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.15rem; /* Tamaño de fuente ligeramente mayor */
    padding: 14px 25px; /* Más padding para el botón */
    border-radius: 6px;
    transition: background-color 0.3s ease;
    align-self: center; /* Centra el botón horizontalmente si no ocupa el 100% */
    max-width: 250px; /* Ancho máximo para el botón */
}

.formulario-contenido button[type="submit"]:hover {
    background-color: #45a049;
}

/* Botón de cerrar */
.cerrar-formulario {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 32px; /* Un poco más grande para ser más fácil de clickear */
    cursor: pointer;
    color: #888; /* Color un poco más suave */
    transition: color 0.2s ease;
}

.cerrar-formulario:hover {
    color: #333;
}

/* Services */

.subtitulo {
  color: rgb(27, 151, 2);
  font-size: 40px;
  text-align: center;
  font-weight: 300;
  margin-bottom: 30px;
}

.contenedor-servicio {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.contenedor-servicio img {
  width: 40%;
}

.checklist-servicio {
  width: 45%;
}

.service {
  margin-bottom: 20px;
}

.n-service {
  margin-bottom: 7px;
  color: rgb(27, 151, 2);
}

.number {
  display: inline-block;
  /* 02 */
  background-image: linear-gradient(
    120deg,
    rgb(213, 252, 121) 0%,
    rgb(150, 230, 161) 100%
  );
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  margin-right: 5px;
  width: 30px;
  height: 30px;
  color: #fff;
  font-weight: 700;
}

.gallery {
  background: #f2f2f2;
}

.contenedor-galeria {
  justify-content: space-around;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Crea 3 columnas con igual ancho */
  grid-gap: 20px; /* Ajusta el espacio entre las figuras */
}

.card {
  width: 300px;
  height: 300px;
  display: grid;
  grid-template-rows: minmax(100%, 1fr);
  grid-template-areas: "stack";
  overflow: hidden;
  border: 3px #333;
  border-radius: 20px;
  cursor: pointer;
}

.card img, .card figcaption {
  grid-area: stack;
}

.img-galeria {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card figcaption{
  padding: 17px;
  background-color: #242424e0;
  transform: translateY(calc(100% - 4rem));
  transition: transform 0.6s;
  text-align: center;
  color: #fff;
}

.card figcaption h3{
  height: 4rem;
  font-size: 1rem;
  padding-bottom: 20px;
}


.card:hover figcaption{
  transform: none;
}

.imagen-light {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.534);
  transform: translate(100%);
  transition: transform 0.2s ease-in-out;
}

.agregar-imagen {
  width: 60%;
  transform: scale(0);
  border-radius: 10px;
  transition: transform 0.3s 0.2s;
}

.showImage {
  transform: scale(1);
}

.show {
  transform: translate(0);
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  cursor: pointer;
}

.experts {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

.cont-expert {
  width: 30%;
  text-align: center;
  margin-bottom: 20px;
}

.cont-expert img {
  display: block;
  margin: auto;
  width: 80%;
}

.n-expert {
  width: 100%;
  display: inline-block;
  margin-top: 20px;
  font-weight: 400;
}

footer {
  background: #7bd37b;
  padding-bottom: 0.1px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 60px;
  padding-bottom: 40px;
}

.contact-us {
  width: 40%;
  color: #fff;
}

.brand {
  font-weight: 500;
  font-size: 40px;
}

.brand + p {
  font-weight: 500;
}

.social-media {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

.social-media-icon {
  display: inline-block;
  margin-left: 20px;
  width: 60px;
  height: 60px;
  border: 1px solid #fff;
  border-radius: 50%;
  text-align: center;
  color: #fff;
}

.social-media-icon i {
  font-size: 30px;
  line-height: 60px;
}

.line {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  height: 2px;
  background: #fff;
  margin-bottom: 60px;
}

.social-media-icon:hover {
  background: #fff;
  color: #764ba2;
}

.whatsapp-button {
  text-decoration: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #25D366;
  border: 1px solid whitesmoke;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  color: white; /* Color del icono */
  font-size: 3em; /* Tamaño del icono */
  transition: all 0.5s;
}

.whatsapp-button:hover{
  transform: scale(1.1);
}

@media screen and (max-width: 900px) {
  .header-content {
    background: none;
  }

  .contenedor-galeria {
    grid-template-columns: repeat(2,1fr); /* 2 columnas en pantallas pequeñas */
    z-index: 1;
  }


  .hamburguer {
    display: block;
    position: fixed;
    top: 30px;
    right: 30px;
    background: #ffffff;
    width: 55px;
    height: 55px;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5); 
  }

  .menu-navegacion {
    position: fixed;
    top: 0;
    width: 50vw;
    height: 100%;
    /* background-image: linear-gradient(to top, #fbc2eb 0%, #a6c0ee 100%); */
    /* 02 */
    background-image: linear-gradient(
      120deg,
      rgba(213, 252, 121) 0%,
      rgba(150, 230, 161) 100%
    );
    /* 028 */
    background-image: linear-gradient(
      120deg,
      rgba(213, 252, 121) 0%,
      rgba(150, 230, 161) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    right: 0;
    transform: translateX(110%);
    transition: transform 0.5s ease-in-out;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    z-index: 10;
  }

  .spread {
    transform: translateX(0);
  }


  .titulo {
    font-size: 40px;
  }

  .contenedor-servicio img {
    width: 80%;
    margin-bottom: 40px;
  }

  .checklist-servicio {
    width: 80%;
  }

  .service {
    margin-bottom: 30px;
  }

  .agregarImagen {
    width: 80%;
  }

  .cont-expert {
    width: 80%;
  }

  .footer-content {
    justify-content: center;
  }

  .social-media {
    width: 80%;
    justify-content: space-evenly;
  }

  .social-media-icon {
    margin-left: 0;
  }

  .contact-us {
    text-align: center;
    width: 80%;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 768px) {
  .menu-navegacion {
    width: 65vw;
  }

  .hamburguer {
    top: 20px;
    right: 20px;
  }

  .contenedor-head {
    margin: 0 auto;
    padding-top: 100px;
    padding-bottom: 50px;
  }

  
  .subtitulo {
    font-size: 30px;
  }

  .contenedor-galeria {
    margin-left: 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }


  .contenedor-galeria .card{
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    margin-bottom: 30px;

  }


  .agregar-imagen {
    width: 90%;
  }

  .social-media {
    width: 100%;
    justify-content: space-evenly;
  }

  .social-media-icon {
    margin-left: 0;
  }

  .contact-us {
    text-align: center;
    width: 95%;
    margin-bottom: 40px;
  }
}
