.hm-our-services-header h2 {
  max-width: 647px;
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 150%;
  text-align: center;
  color: #2E2925;
  margin: 0 auto 10px;
}

.hm-our-services-header p {/
  max-width: 673px;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  text-align: center;
  color: #2E2925;
  margin: 0 auto 38.5px;
}

.hm-our-services-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 153px;
  margin: 83px 0;
}

.hm-our-services-card {
  max-width: 202px;
  flex-basis: 202px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  gap: 8px;
  width: 100%;
  min-height: 249px;
  background: #D9D9D9;
  border: 1px solid rgba(217, 217, 217, 0.5);
  box-shadow: 0px 0px 27.3px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  text-align: center;
  max-width: 202px;
}

.hm-our-services-title h4 {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  display: flex;
  align-items: center;
  text-align: center;
  color: #2E2925;
  margin: 0;
}

.hm-our-services-title {
  text-align: center;
}

.hm-our-services-image img {
  vertical-align: middle;
}


.hm-our-services-main {
  padding: 100px 0 130px;
}

@media (max-width: 767px){
  .hm-our-services-main {
    padding: 40px 0 40px;
  }

  .hm-our-services-header h2 {
    font-size: 32px;
    line-height: 125%;
  }

  .hm-our-services-header p {
    font-size: 18px;
    /* margin: 0 auto 24px; */
  }

  .hm-our-services-cards {
    margin: 48px 0;
    gap: 48px;
  }
  .hm-our-services-card {
    margin: 0 10px;
    max-width: 100%;
    box-shadow: none;
  }

 .hm-our-services-title h4 {
    font-size: 20px;
    justify-content: center;
    margin-top: 5px;
}
  .hm-our-services-image img {
    margin: 0 auto;
}
}

/* Animación de entrada de las cards */
@keyframes fadeSlideUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Aplicar animación solo en escritorio */
@media (min-width: 768px) {
  .hm-our-services-card {
    opacity: 0; /* Inicio invisible */
    animation: fadeSlideUp 0.8s ease-out forwards;
  }

  /* Retraso escalonado para cada card */
  .hm-our-services-card:nth-child(1) {
    animation-delay: 0.2s;
  }
  .hm-our-services-card:nth-child(2) {
    animation-delay: 0.4s;
  }
  .hm-our-services-card:nth-child(3) {
    animation-delay: 0.6s;
  }
  .hm-our-services-card:nth-child(4) {
    animation-delay: 0.8s;
  }
  .hm-our-services-card:nth-child(5) {
    animation-delay: 1s;
  }
  .hm-our-services-card:nth-child(6) {
    animation-delay: 1.2s;
  }
}
/* Hover effect: elevar + rotar + sombra verde */
@media (min-width: 768px) {
.hm-our-services-card:hover {
  transform: translateY(-8px) rotate(-2deg) scale(1.03); /* Eleva y rota ligeramente */
  box-shadow: 0 0 25px 5px rgba(53, 243, 172, 0.5); /* Sombra verde */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  }}

/* Click/active effect tipo “press” */
.hm-our-services-card:active {
  transform: translateY(4pxx) rotate(0deg) scale(0.97); /* Se hunde y vuelve a rotación 0 */
  box-shadow: 0 6px 15px rgba(53, 243, 172, 0.4); /* Sombra verde más intensa */
}
