/* ============================================================
   UPB — Bloque Beneficios
   ============================================================ */

.upb-ben {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.upb-ben__swiper {
  width: 100%;
  overflow: hidden;
}

.upb-ben__swiper .swiper-wrapper {
  align-items: stretch;
}

.upb-ben__swiper .swiper-slide {
  height: auto;
}

.upb-ben-card {
  height: 100%;
}

.upb-ben-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #f3f3f3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.upb-ben-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e0e0e0;
  flex-shrink: 0;
}

.upb-ben-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.upb-ben-card:hover .upb-ben-card__img img {
  transform: scale(1.04);
}

.upb-ben-card__img--empty {
  background: #d0d0d0;
}

.upb-ben-card__content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.upb-ben-card__title {
  margin: 0;
  font-family: "Avenir Next Cyr", sans-serif;
  font-size: clamp(0.984rem, 0.984rem + ((1vw - 0.2rem) * 0.809), 1.5rem);
  font-style: normal;
  font-weight: 750;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.25;
}

.upb-ben-card__desc {
  margin: 0;
  font-family: "Avenir Next Cyr", sans-serif;
  font-size: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.196), 1rem);
  font-style: normal;
  font-weight: 400;
  color: #333;
  line-height: 1.5;
}

.upb-ben__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.upb-ben__fraction {
  font-family: "Avenir Next Cyr", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #111;
  position: static !important;
  width: auto !important;
  bottom: auto !important;
}

.upb-ben__arrows {
  display: flex;
  gap: 8px;
  align-items: center;
}

.upb-ben__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  padding: 0;
}

.upb-ben__arrow img {
  width: 100%;
  height: 100%;
}

.upb-ben__arrow--next {
  background: #7b2fff;
  border-color: #7b2fff;
}

.upb-ben__arrow--next img {
  width: 100%;
  height: 100%;
}

.upb-ben__arrow--prev:hover {
  background: #f5f5f5;
}

.upb-ben__arrow--next:hover {
  background: #6a1fe8;
  border-color: #6a1fe8;
}

.upb-ben__arrow.swiper-button-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.upb-ben__swiper .swiper-pagination-fraction {
  display: block !important;
  position: static;
  text-align: justify;
  font-family: "Avenir Next Cyr";
  font-weight: 700;
  color: #1d1d1b;
  font-size: 1.25rem;
}

@media (max-width: 599px) {
  .upb-ben-card__content {
    padding: 14px;
  }
}