/* Secuencia editorial de actividad profesional: tres imágenes, tres segundos cada una. */
.why-image {
  overflow: hidden;
}

.why-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  animation: xtucausa-slide 9s infinite;
}

.why-slide:nth-child(1) { animation-delay: 0s; }
.why-slide:nth-child(2) { animation-delay: 3s; }
.why-slide:nth-child(3) { animation-delay: 6s; }

.why-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.62) brightness(.82);
}

.why-slide:nth-child(1) img { object-position: 56% center; }
.why-slide:nth-child(2) img { object-position: center 42%; }
.why-slide:nth-child(3) img { object-position: center 42%; }

.why-slide figcaption {
  position: absolute;
  z-index: 2;
  left: 23px;
  bottom: 21px;
  color: var(--ivory);
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

@keyframes xtucausa-slide {
  0%, 29% { opacity: 1; }
  33%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .why-slide { animation: none; }
  .why-slide:not(:first-child) { display: none; }
}
