.hero-medida {
  position: relative;
  height: 70vh;  
}

.hero-medida video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#heroVideo {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -2;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3); /* Color negro con transparencia */
  z-index: -1; /* Coloca la capa sobre el video y debajo del contenido */
}

.hero-medida {
  position: relative;
  overflow: hidden;
}

.icono-beneficios {
  width: 60px;
  margin-bottom: 10px;
}

.cta {
  border: none;
  background: none;
}

.cta span {
  padding-bottom: 7px;
  letter-spacing: 4px;
  font-size: 14px;
  padding-right: 15px;
  text-transform: uppercase;
}

.cta i {
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.cta:hover i {
  transform: translateX(0);
}

.cta:active i {
  transform: scale(0.9);
}

.hover-underline-animation {
  position: relative;
  color: var(--white);
  padding-bottom: 20px;
}

.hover-underline-animation:after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--white);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.cta:hover .hover-underline-animation:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

@media (max-width: 768px) {
  .hero-medida {
    height: 90vh;
  }

  .icono-beneficios {
    width: 40px;
  }
}

