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

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

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

/* === Content box con fondo semitransparente === */
.tcb-content-box {
    background: rgba(0, 0, 0, 0.35);
    padding: 25px;
    display: inline-flex;
    flex-direction: column;
}

/* === Text === */
.tcb-banner__title {
    font-size: clamp(1.5rem, 0.6429rem + 3.8095vw, 3.5rem) !important;
    font-weight: 900;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
}

.tcb-banner__paragraph {
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 700;
    text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.25);
}

.tcb-btn {
    display: inline-block;
    padding: 10px 20px;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 36px;
    font-size: 16px;
    border: 2.5px solid;
    font-weight: 700;
    text-decoration: none;
}

/* === Slider === */
.tcb-slider {
    position: relative;
    width: 1090px;
    margin-left: auto;
}

.tcb-swiper {
    margin-left: 100px;
    overflow: visible;
}

.tcb-banner .swiper-slide {
    width: 300px;
}

/* === CARD PACKAGE === */
.tcb-package-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 410px;
}

.tcb-package-card:hover {
    transform: translateY(-4px);
}

/* === CONTENEDOR IMAGEN === */
.tcb-package-card .tcb-card-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 410px;
    overflow: hidden;
    border-radius: inherit;
}

.tcb-package-card .tcb-card-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tcb-package-card:hover .tcb-card-thumb img {
    transform: scale(1.05);
}

/* === FAVORITO === */
.tcb-package-card .favorite-btn,
.tcb-package-card .tcb-favorite-btn {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
    background: rgba(255,255,255,0.9) !important;
    border: none;
    border-radius: 50%;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tcb-package-card .favorite-btn:hover,
.tcb-package-card .tcb-favorite-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tcb-package-card .favorite-btn svg,
.tcb-package-card .tcb-favorite-btn svg {
    width: 16px;
    height: 16px;
    display: block;
    flex-shrink: 0;
}

.tcb-package-card .favorite-btn svg path,
.tcb-package-card .tcb-favorite-btn svg path {
    fill: #000;
    transition: all 0.3s ease;
}

/* Estado activo (favorito) */
.tcb-package-card .favorite-btn.is-favorite,
.tcb-package-card .tcb-favorite-btn.active {
    background: #FF385C !important;
}

.tcb-package-card .favorite-btn.is-favorite svg path,
.tcb-package-card .tcb-favorite-btn.active svg path {
    fill: #FFF;
}

.tcb-package-card .favorite-btn:active,
.tcb-package-card .tcb-favorite-btn:active {
    transform: scale(0.95);
}

/* === OVERLAY === */
.tcb-package-card .tcb-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
    color: #fff;
    padding: 28px 15px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 2;
    box-sizing: border-box;
}

/* === CONTENEDOR IZQUIERDO === */
.tcb-package-card .tcb-card-left {
    width: 100%;
    position: relative;
    padding-right: 0px;
}

/* === TÍTULO === */
.tcb-package-card .tcb-card-title {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 8px;
    color: #FFFFFF;
    display: block;
}

@media(max-width: 768px) {
    .tcb-package-card .tcb-card-title {
        text-align: left;
    }
}

/* === DESCRIPCIÓN === */
.tcb-package-card .tcb-card-description {
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 20px;
    position: relative;
    line-height: 1.4;
}

.tcb-package-card .tcb-card-description::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 140px;
    height: 1px;
    background: #fff;
}

/* === INFO === */
.tcb-package-card .tcb-card-info {
    font-size: 14px;
    font-weight: 400;
    color: #FFFFFF;
}

@media(max-width: 768px) {
    .tcb-package-card .tcb-card-info {
        text-align: left;
    }
}

.tcb-package-card .tcb-card-info p {
    margin-bottom: 15px;
    gap: 6px;
    display: flex;
    align-items: center;
}

.tcb-package-card .tcb-card-info span {
    font-size: 14px;
    font-weight: 900;
    color: #FFFFFF;
}

/* === BOTÓN === */
.tcb-package-card .tcb-card-button {
    background: #E78C85;
    color: #fff;
    border-radius: 999px;
    padding: 7px 18px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-block;
    margin-top: 12px;
}

.tcb-package-card .tcb-card-button:hover {
    background: #ff9b95;
    transform: scale(1.05);
}

/* === Modo Blog Card === */
.tcb-package-card--blog a.tcb-card-thumb {
    display: block;
    text-decoration: none;
}

.tcb-card-title--blog {
    font-size: 20px;
    margin-bottom: 0;
}

/* === 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;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.tcb-prev {
    left: 0;
}

.tcb-next {
    left: 50px;
}

.tcb-nav:before {
    content: "";
    width: 13px;
    height: 13px;
    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 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;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
}

/* === Pagination === */
.tcb-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.tcb-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tcb-pagination .swiper-pagination-bullet-active {
    background: #E78C85;
    width: 12px;
    height: 12px;
}

.tcb-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider__title {
    font-size: 24px;
    text-align: center;
    font-weight: 700;
}

.slider__container {
    overflow-x: clip;
}

.tcb-banner__container {
    max-width: 100%;
    overflow-x: clip;
}

/* === Mobile === */
@media (max-width: 1023px) {
    .tcb-banner {
        height: 100%;
        min-height: auto;
    }

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

    .tcb-slider {
        max-width: 100%;
        width: 100%;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .tcb-swiper {
        margin-left: 0;
        flex: 1;
        overflow: hidden;
    }

    .tcb-nav {
        width: 36px;
        height: 36px;
        top: 0;
        flex-shrink: 0;
        position: relative;
        left: auto;
    }

    .tcb-nav.tcb-prev {
        order: 1;
    }

    .tcb-swiper {
        order: 2;
    }

    .tcb-nav.tcb-next {
        order: 3;
    }

    .tcb-package-card .tcb-card-overlay {
        padding: 20px 15px 30px;
    }

    .tcb-package-card .tcb-card-button {
        margin-top: 12px;
    }

    .tcb-banner--static .tcb-banner__title {
        text-align: center;
    }

    .tcb-banner--static .tcb-banner__paragraph {
        text-align: center;
        margin-top: 0;
    }

    .slider__title--desktop {
        display: none;
    }

    .tcb-banner__content {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .tcb-btn {
        margin-top: 130px;
    }
}

/* === Tablet === */
@media (min-width: 640px) and (max-width: 1023px) {
    .tcb-slider {
        width: 100%;
        max-width: 768px;
        padding: 0 1rem;
    }

    .tcb-nav {
        width: 40px;
        height: 40px;
    }

    .tcb-banner__inner {
        padding: 120px 32px 80px;
    }

    .tcb-pagination {
        margin-top: 2rem;
    }

    .tcb-pagination .swiper-pagination-bullet {
        width: 11px;
        height: 11px;
    }

    .slider__container {
        padding: 0 1rem;
    }

    .tcb-package-card .tcb-card-overlay {
        padding: 24px 15px 30px;
    }

    .tcb-btn {
        margin-top: 80px;
    }
}

@media (min-width: 1024px) {
    .tcb-banner .tcb-banner__content {
        position: relative;
        max-width: 500px;
    }

    .tcb-slider {
        position: absolute;
        bottom: -110px;
        z-index: 100;
        left: 40%;
        right: 0;
        width: auto;
        max-width: none;
        padding-right: 1rem !important;
    }

    .tcb-swiper {
        overflow: hidden;
    }

    .tcb-banner__title {
        line-height: 1;
    }

    .tcb-banner__paragraph {
        max-width: 380px;
    }

    .tcb-nav {
        position: absolute;
        top: 60%;
        transform: translateY(-50%);
    }

    .slider__title--mobile {
        display: none;
    }

    .slider__title {
        color: white;
        text-align: left;
    }

    .tcb-prev {
        left: -1rem;
    }

    .tcb-btn {
        margin-top: 40px;
    }
}