@keyframes pulso {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(44, 107, 71, 0.4);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(44, 107, 71, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(44, 107, 71, 0);
  }
}

.contact-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2c6b47; 
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
  animation: pulso 2.5s infinite;
}

.contact-icon img {
  width: 30px;
  height: 30px;
  filter: invert(100%);
}

.contact-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.tooltip-contacto {
  position: absolute;
  right: 70px;
  bottom: 15px;
  background-color: #1f3c56;
  color: white;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.contact-icon:hover .tooltip-contacto,
.tooltip-contacto.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-icon i {
  font-size: 26px;
  color: #ffffff;
}