/* ===========================================
  BONOS - Landing Principal
=========================================== */

.bonos-section {
  padding: 2rem 0;
  background: #fff;
}

/* -------------------------------------------
  Encabezado
------------------------------------------- */
.bonos-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gris-oscuro);
  margin-bottom: 1rem;
}

.bonos-subtitle {
  font-size: 1rem;
  color: var(--gris);
  max-width: 600px;
  margin: 0 auto;
}

/* CTA Redimir */
.bonos-redimir-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.bonos-redimir-cta span {
  font-size: 0.95rem;
  color: var(--gris);
}

.btn-redimir {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: #fff;
  color: var(--p-naranja);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid var(--p-naranja);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-redimir:hover {
  background: var(--p-naranja);
  color: #fff;
}

.btn-redimir svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.btn-redimir:hover svg {
  transform: translateX(3px);
}

/* -------------------------------------------
  Swiper / Carrusel
------------------------------------------- */
.bonos-swiper {
  padding: 2.5rem 0 0;
  overflow: hidden;
}

.bonos-swiper .swiper-wrapper {
  pointer-events: none;
}

.bonos-swiper .swiper-slide {
  width: 260px;
  height: auto;
  pointer-events: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bonos-swiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 1;
  transform: scale(0.88);
}

.bonos-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.bonos-swiper .swiper-slide .bono-card {
  height: 100%;
}

/* Navegación (flechas) */
.bonos-swiper .swiper-button-prev,
.bonos-swiper .swiper-button-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  color: var(--p-naranja);
  transition: all 0.2s ease;
}

.bonos-swiper .swiper-button-prev:hover,
.bonos-swiper .swiper-button-next:hover {
  background: var(--p-naranja);
  color: #fff;
}

.bonos-swiper .swiper-button-prev::after,
.bonos-swiper .swiper-button-next::after {
  display: none;
}

.bonos-swiper .swiper-button-prev svg,
.bonos-swiper .swiper-button-next svg {
  width: 13px;
  height: 13px;
}

.bonos-swiper .swiper-button-prev.swiper-button-disabled,
.bonos-swiper .swiper-button-next.swiper-button-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.bonos-swiper .swiper-button-prev {
  left: 0;
}

.bonos-swiper .swiper-button-next {
  right: 0;
}

/* Paginación */
.bonos-swiper .swiper-pagination {
  position: relative;
  margin-top: 1.5rem;
}

.bonos-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--gris-claro);
  opacity: 1;
  transition: all 0.3s ease;
}

.bonos-swiper .swiper-pagination-bullet-active {
  background: var(--p-naranja);
  transform: scale(1.2);
}

/* -------------------------------------------
  Card
------------------------------------------- */
.bono-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.5rem;
  background: #fefaf6;
  border: 2px solid var(--p-naranja);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.bono-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(242, 150, 77, 0.2);
}

/* Badge */
.bono-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.375rem 1rem;
  background: var(--p-naranja);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  white-space: nowrap;
}

.bono-badge p {
  margin: 0;
}

/* Header */
.bono-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.bono-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--p-naranja);
  margin-bottom: 1rem;
}

.bono-prefix {
  display: block;
  letter-spacing: 0.05em;
}

/* Precio */
.bono-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.bono-price-main {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.bono-price-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--p-naranja);
}

.bono-price-currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--p-naranja);
}

/* Action */
.bono-action {
  text-align: center;
  margin-bottom: 1rem;
}

.btn-bono {
  display: block;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--p-naranja);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  box-shadow: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-bono:hover {
  background: #d9822b;
  color: #fff;
}

.btn-bono:focus {
  outline: none;
  box-shadow: none;
}

.btn-bono i {
  margin-right: 0.5rem;
}

/* Features */
.bono-features {
  flex: 1;
  padding-top: 1.5rem;
}

.bono-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bono-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--gris);
  margin-bottom: 0.75rem;
}

.bono-features li:last-child {
  margin-bottom: 0;
}

.bono-features li svg {
  color: #2F8319;
  flex-shrink: 0;
  margin-top: 2px;
}

.bono-link {
  color: var(--p-naranja);
  text-decoration: underline;
}

.bono-link:hover {
  color: #d9822b;
}

/* -------------------------------------------
  Responsive
------------------------------------------- */
@media (min-width: 576px) {
  .bonos-redimir-cta {
    flex-direction: row;
    gap: 1rem;
  }

  .btn-redimir {
    width: auto;
  }
}

@media (min-width: 768px) {
  .bonos-title {
    font-size: 2.5rem;
  }

  .bonos-subtitle {
    font-size: 1.1rem;
  }

  .bonos-swiper .swiper-slide {
    width: 340px;
  }
}

@media (min-width: 992px) {
  .bonos-section {
    padding: 6rem 0;
  }

  /* Desktop: Grid en lugar de swiper */
  .bonos-swiper {
    overflow: visible;
  }

  .bonos-swiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    pointer-events: auto;
    transform: none !important;
  }

  .bonos-swiper .swiper-slide {
    width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .bonos-swiper .swiper-pagination {
    display: none;
  }

  .bonos-swiper .swiper-button-prev,
  .bonos-swiper .swiper-button-next {
    display: none;
  }
}