.tours-hero{
  position: relative;
  min-height: 520px;
  background-image: url("/img/tours-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 0;
}

.tours-hero__overlay{
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #1b2a4a68;
}

.tours-hero__content{ width: min(1100px, 92%); margin: 60px auto; position: relative; text-align: center; }

.tours-hero__title{
  color:#fff;
  font-family: var(--font, Poppins, sans-serif);
  font-size: 60px;
  font-weight: 600;
  margin: 0;
  text-align: left;
}
.tours-hero__title span{ color:#F5C518; }

.tours-carousel{
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin: 34px auto 18px;
}

.tours-carousel__viewport{
  width: min(620px, 100%);
  overflow: hidden;
  padding: 24px 0;
}

/* IMPORTANTE: sin gap, usamos overlap con margin-left negativo */
.tours-carousel__track{
  position: relative;
  display:flex;
  align-items:center;
  will-change: transform;
  transform: translate3d(0,0,0);
  transition: transform .35s ease;
}

/* Cards */
.tour-card{
  width: 240px;
  flex: 0 0 240px;
  margin-left: -80px;     /* overlap */
  position: relative;

  background:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  border-radius: 2px;
  overflow:hidden;

  transform: scale(.88);
  opacity: .70;
  transition: transform .35s ease, opacity .35s ease;
}

/* evitar que la primera tenga margen negativo */
.tour-card:first-child{ margin-left: 0; }

.tour-card__img{ height: 155px; background:center/cover no-repeat; }
.tour-card__body{ padding: 14px 14px 16px; text-align:center; }
.tour-card__name{
  margin: 0 0 8px;
  font-weight: 900;
  text-transform: uppercase;
  color:#1B2A4A;
  font-size: 14px;
  letter-spacing: .4px;
}
.tour-card__text { 
  margin: 0 0 10px; 
  font-size: 12px; 
  color:#5b6473; 
  min-height: 38px;
  height: 200px;
  overflow-y: scroll;
}

.tour-card__text li {
  list-style: none;
  font-size: 12px; 
  color:#5b6473; 
  margin: 6px 0px;
}
.tour-card__btn{
  display:inline-block;
  padding: 8px 12px;
  background:#F5C518;
  color:#1B2A4A;
  text-decoration:none;
  font-weight: 900;
  font-size: 12px;
  letter-spacing:.6px;
}

/* estados por distancia: el JS agrega estas clases */
.tour-card.is-active{
  transform: scale(1.08);
  opacity: 1;
  z-index: 5;
}
.tour-card.is-near{
  transform: scale(.94);
  opacity: .88;
  z-index: 3;
}
.tour-card.is-far{
  transform: scale(.86);
  opacity: .55;
  z-index: 1;
}

/* nav */
.tours-carousel__nav{
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color:#F5C518;
  font-size: 80px;
  line-height: 1;
  cursor:pointer;
  user-select:none;
}

.tour-card.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.tours-carousel__track{
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  transform: translate3d(0,0,0);
}

/* responsive */
@media (max-width: 768px){
  .tours-hero__title{ font-size: 44px; text-align: center;}
  .tour-card{ width: 210px; flex-basis: 210px; margin-left: -70px; margin-top: 20px;}
}