.cards-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 40px;
}

.cards-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  will-change: transform;
  padding: 0 16px;
}

/* Cards base */
.cards-slider-track .card {
  flex: 0 0 auto;
  width: 480px;
  height: 690px;
  border-radius: 23px;
  padding: 38px 24px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

/* Red card */
.cards-slider-track .card.red-card {
  background-color: #FF3D00;
}

/* Slider controls */
.slider-controls {
  display: flex;
  gap: 14px;
  z-index: 10;
  pointer-events: none;
  width: 100%!important;
  justify-content: flex-end;
  margin-bottom: 24px;
  padding-right: 16px;
}

.slider-btn {
  pointer-events: all;
  background-color: transparent !important;
  border: 1px solid black;
  max-width: 58px;
  max-height: 58px;
  justify-content: center;
  align-items: center;
  display: flex;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 9px;
  color: black !important;
}

.slider-btn.next:after {
  content: "\f061";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 18px;
}

.slider-btn.prev:after {
  content: "\f060";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 18px;
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slider-btn:enabled:hover {
  background-color: black !important;
  color: white !important;
}

/* Tipografía y layout de cards */
.card h2 span, .card h3 span {
  font-family: 'Raleway';
  font-size: 25px;
  font-weight: bold;
  width: 100%;
  display: flex;
  justify-content: center;
  line-height: 85%;
  color: black;
  text-transform: uppercase;
}

.card h2,.card h3 {
  font-family: 'Champion Gothic-Feather';
  font-size: 120px;
  line-height: 85%;
  text-align: center;
  color: black;
  z-index: 1;
  text-transform: uppercase;
}

.card p {
  font-family: 'Raleway';
  font-size: 22px;
  font-weight: 900;
  width: 100%;
  color: black;
  text-align: center;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Imagen visual */
.card img {
  width: 287px;
  z-index: 2;
  margin-top: -80px;
  text-align: center;
}

/* Estilos para fondo imagen */
.card.image-card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.card.image-card h2,
.card.image-card span,
.card.image-card p {
  color: white;
}

.card.image-card p {
  font-size: 18px;
}

/* ------------------ */
/* ✅ MOBILE VERSION  */
/* ------------------ */
@media (max-width: 768px) {
  .cards-slider-track {
    gap: 14px;
    padding: 0 12px;
  }

  .cards-slider-track .card {
    width: 280px;
    height: auto;
    padding: 24px 18px;
    border-radius: 18px;
  }

 .card h2 , .card h3 {
    font-size: 48px;
    line-height: 100%;
  }

  .card span {
    font-size: 16px;
  }

  .card p {
    font-size: 16px;
  }

  .card img {
    width: 180px;
    margin-top: -40px;
  }

  .slider-controls {
    padding-right: 8px;
    margin-bottom: 16px;
  }

  .slider-btn {
    max-width: 44px;
    max-height: 44px;
  }

  .slider-btn.next:after,
  .slider-btn.prev:after {
    font-size: 14px;
  }
}