/* c-feature: bloque con borde superior, título y texto. Elementos: __title __text */
.c-feature {
  position: relative;
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-line-on-dark);
  transition: translate .35s cubic-bezier(.2, .7, .2, 1);
}

/* Línea de degradado que se dibuja de izquierda a derecha al pasar el ratón */
.c-feature::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-lime), var(--color-violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

.c-feature__title {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-xl);
  font-weight: var(--fw-black);
  transition: color .3s;
}

.c-feature__text {
  margin: 0;
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--color-on-dark);
}

.c-feature:hover { translate: 12px 0; }
.c-feature:hover::before { transform: scaleX(1); }
.c-feature:hover .c-feature__title { color: var(--color-lime); }

@media (prefers-reduced-motion: reduce) {
  .c-feature,
  .c-feature::before,
  .c-feature__title { transition: none; }
}
