/* Slider ligero de la home, sin dependencias de jQuery. */
.home-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f5f5f5;
}

.home-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.home-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.home-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-slider__dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.home-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.4);
  padding: 0;
  cursor: pointer;
}

.home-slider__dot.is-active {
  background: #fff;
}
