
/* CONTACT — desvanecimiento alfa de arriba abajo */

@media (prefers-reduced-motion: no-preference) {

  .contact-page .contact-story > h1,
  .contact-page .contact-detail {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 45%,
      transparent 65%,
      transparent 100%
    );

    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 45%,
      transparent 65%,
      transparent 100%
    );

    -webkit-mask-size: 100% 300%;
    mask-size: 100% 300%;

    animation: contact-soft-reveal 2.3s
      cubic-bezier(.45, 0, .25, 1) both;
  }

  /* Secuencia de aparición */

  .contact-page .contact-story > h1 {
    animation-delay: 0s;
  }

  .contact-page .contact-detail:nth-child(1) {
    animation-delay: .4s;
  }

  .contact-page .contact-detail:nth-child(2) {
    animation-delay: .7s;
  }

  .contact-page .contact-detail:nth-child(3) {
    animation-delay: 1s;
  }

  @keyframes contact-soft-reveal {
    from {
      -webkit-mask-position: 0 100%;
      mask-position: 0 100%;
    }

    to {
      -webkit-mask-position: 0 0%;
      mask-position: 0 0%;
    }
  }
}
