.hero-copy h1,
.hero-copy p,
.hero-copy .btn {
  animation: titleOpen 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-copy p {
  animation-delay: 0.1s;
}

.hero-copy .btn {
  animation-delay: 0.18s;
}

@keyframes titleOpen {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

.slide {
  transform: scale(1.06);
  transition: opacity 0.95s var(--ease), transform 9s linear;
}

.slide.is-active {
  transform: scale(1);
}

.site-header.is-scrolled {
  position: fixed;
  top: 0;
  background: var(--field-deep);
  animation: barDrop 0.4s var(--ease);
}

@keyframes barDrop {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

.conocenos-photo,
.split-photo {
  background-size: 108%;
  transition: background-size 0.8s var(--ease);
}

.conocenos:hover .conocenos-photo,
.split:hover .split-photo {
  background-size: 100%;
}

.has-reveal [data-reveal] {
  opacity: 0;
  clip-path: inset(10% 0 0 0);
  transform: translateY(0.9rem);
  transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.has-reveal [data-reveal].is-in {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: none;
}

.has-reveal .servicios-grid [data-reveal]:nth-child(2),
.has-reveal .service-list [data-reveal]:nth-child(2) {
  transition-delay: 0.06s;
}

.has-reveal .servicios-grid [data-reveal]:nth-child(3),
.has-reveal .service-list [data-reveal]:nth-child(3) {
  transition-delay: 0.1s;
}

.has-reveal .servicios-grid [data-reveal]:nth-child(n + 4),
.has-reveal .service-list [data-reveal]:nth-child(n + 4) {
  transition-delay: 0.14s;
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1,
  .hero-copy p,
  .hero-copy .btn,
  .slide,
  .site-header.is-scrolled,
  .conocenos-photo,
  .split-photo,
  .btn::after,
  .icon-block,
  .icon-block svg,
  .site-nav a::after,
  .has-reveal [data-reveal] {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    opacity: 1 !important;
  }
}
