/* ====================================================================
   MPS PUBLICIDAD — CARRUSEL DE BANNERS DEL HOME
   ==================================================================== */

.banner-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 7;
  max-height: 460px;
  overflow: hidden;
  background: #111;
}
.banner-track {
  display: flex;
  height: 100%;
  transition: transform .5s ease;
}
.banner-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}
.banner-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.banner-caption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 24px 40px;
  background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0));
  color: #fff;
}
.banner-caption h2 { font-size: clamp(18px, 3vw, 30px); margin-bottom: 4px; }
.banner-caption p { font-size: clamp(12px, 1.6vw, 15px); opacity: .9; }

.banner-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 3;
}
.banner-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.5); cursor: pointer; padding: 0;
  transition: background .18s, width .18s;
}
.banner-dot.act { background: var(--naranja); width: 22px; border-radius: 5px; }

.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(0,0,0,.4); color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center;
  transition: background .18s;
}
.banner-arrow:hover { background: rgba(0,0,0,.65); }
.banner-prev { left: 14px; }
.banner-next { right: 14px; }

@media (max-width: 640px) {
  .banner-carousel { aspect-ratio: 4 / 3; }
  .banner-caption { padding: 16px 18px; }
  .banner-arrow { width: 30px; height: 30px; font-size: 18px; }
}
