/* === Banner base === */
.tcb-banner {
  position: relative;
  width: 100%;
  color: #fff;
  height: 850px;
  margin-bottom: 100px;
}

.tcb-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.tcb-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 250px 24px 150px;
  height: 100%;
}

/* === Text === */
.tcb-banner__title {
  font-size: 56px;
  font-weight: 900;
  line-height: 60px;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.tcb-banner__paragraph {
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.tcb-btn {
  display: inline-block;
  padding: 12px 24px;
  background: transparent;
  color: #FFFFFF;
  border-radius: 36px;
  font-size: 16px;
  border: 2.5px solid;
  font-weight: 700;
  text-decoration: none;
  margin-top: 200px;
}

.tcb-btn:hover {
  border-color: #FFFFFF;
  color: #FFFFFF;
  opacity: 0.6;
}

/* === Slider === */
.tcb-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: absolute;
  width: 1100px;
  margin-left: auto;
  right: 0;
  bottom: -100px;
  z-index: 100;
}

@media(max-width: 768px) {
  .tcb-slider {
    max-width: 100%;
    position: relative;
  }
}

.swiper-slide {
  width: 300px;
}

.tcb-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 410px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.tcb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,.25);
}

.tcb-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tcb-card__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,.9) 95%);
  z-index: 1;
}

.tcb-card__title {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
}

/* === Flechas === */
.tcb-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E78C85;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  border: none;
  margin-top: 100px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.tcb-nav:before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.tcb-prev:before { transform: rotate(-135deg); }
.tcb-next:before { transform: rotate(45deg); }

/* Estado hover (resalta) */
.tcb-nav:hover {
  background: #fff;
  color: #E78C85;
}

/* Estado activo (al hacer click) */
.tcb-nav:active {
  transform: scale(0.95);
  opacity: 0.7;
}

/* Estado deshabilitado (cuando Swiper no puede moverse) */
.tcb-nav.swiper-button-disabled {
  background: rgba(255,255,255,0.6);
  color: rgba(0,0,0,0.3);
  cursor: not-allowed;
  box-shadow: none;
}

/* === Mobile === */
@media (max-width: 768px) {
  .tcb-banner {
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
  }

  .tcb-banner__inner { 
    padding: 60px 16px 40px; 
  }

  .tcb-slider { display: block; }
  .tcb-nav { width: 36px; height: 36px; }
}
