/* Estructura y estilos de la sección promocional */
.promo {
  --promo-arrow-color: var(--text-inverse);
  --promo-arrow-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);

  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: transparent;
  box-sizing: border-box;
}

/* Slider a sangre de pantalla con proporción exacta 2172x724 (3:1) */
.promo__slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: transparent;
}

.promo__slide {
  width: 100%;
  aspect-ratio: 2172 / 724;
  min-height: 200px;
}

.promo__link {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

.promo__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.promo__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Flechas de navegación grandes sin fondo circular */
.promo__button {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  padding: 0;
  margin-top: 0 !important;
  color: var(--promo-arrow-color);
  background: transparent;
  border: none;
  cursor: pointer;
  transform: translateY(-50%);
  filter: drop-shadow(var(--promo-arrow-shadow));
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.promo__button:hover {
  opacity: 0.85;
  transform: translateY(-50%) scale(1.15);
}

.promo__button:active {
  transform: translateY(-50%) scale(0.95);
}

.promo__button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.promo__button::after {
  display: none !important;
}

.promo__button i {
  font-size: 3.25rem;
  line-height: 1;
}

.promo__button--prev {
  left: clamp(12px, 3vw, 36px);
  right: auto;
}

.promo__button--next {
  right: clamp(12px, 3vw, 36px);
  left: auto;
}

/* Indicadores de paginación */
.promo__pagination.swiper-pagination {
  position: absolute;
  bottom: clamp(14px, 2.5vw, 24px);
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.promo__pagination .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 !important;
  background-color: var(--border-light);
  border: 1px solid var(--border);
  border-radius: 9999px;
  opacity: 0.85;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    width 0.25s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.promo__pagination .swiper-pagination-bullet:hover {
  opacity: 1;
  transform: scale(1.2);
  background-color: var(--bg-light);
}

.promo__pagination .swiper-pagination-bullet-active {
  width: 28px;
  background-color: var(--accent);
  border-color: var(--accent-hover);
  opacity: 1;
}

/* Responsividad */
@media (max-width: 768px) {
  .promo__slide {
    aspect-ratio: 16 / 9;
    min-height: 180px;
  }

  .promo__button {
    width: 2.75rem;
    height: 2.75rem;
  }

  .promo__button i {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .promo__slide {
    aspect-ratio: 4 / 3;
    min-height: 160px;
  }

  .promo__button {
    display: none;
  }
}