#marqueeWrapHero {
    position: relative;
    padding-top: 5rem !important;
    z-index: 9;
}

.hero-slider {
    position: relative;
    /* antes estaba absolute */
    overflow: hidden;
    border-radius: 32px;
    padding: 0;
    color: #fff;
    min-height: auto;
    height: auto;
        /* aspect-ratio: 1200 / 431; */
        aspect-ratio: 1200 / 431;
    max-height: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    opacity: 1;
    isolation: isolate;
    box-sizing: border-box;
    width: 100%;
    /* max-width: 1200px; */
        max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-slider::before,
.hero-slider::after {
    display: none;
}

.hero-slider::before {
    left: 0;
    transform: translateX(-55%);
}

.hero-slider::after {
    right: 0;
    transform: translateX(55%);
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 0;
    gap: 1.5rem;
    opacity: 0;
    z-index: 1;
    transform: translate3d(-30px, 0, 0);
    transition: opacity .7s ease, transform .7s ease;
    pointer-events: none;
    border-radius: 32px;
}

.hero-slide.is-active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    z-index: 2;
    pointer-events: auto;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(270deg, rgba(0, 58, 89, 0.09) 44.35%, rgba(0, 58, 89, 0.65) 84.81%);
    z-index: 1;
    display: none;
}


.hero-slide-content {
    /* max-width: min(640px, 80%);
    text-align: left;
    position: relative;
    z-index: 2; */
    position: relative;
    z-index: 3;
    /* asegura que botones/texto estén visibles */
    max-width: min(640px, 80%);
    text-align: left;
    display: none;
}

.hero-slide-content h1 {
    /* margin-bottom: 1.25rem; */
    font-size: clamp(2rem, 5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-slide-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1);
    transition: transform 1.2s ease;
    /* opacity: .95; */
}

.hero-slide-media picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.hero-slide.is-active .hero-slide-media {
    transform: scale(1);
}

.hero-slide-media img,
.hero-slide-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 32px;
    display: block;
}

@media (max-width: 767px) {
    .hero-slider {
        padding: 0;
        aspect-ratio: 400 / 600;
        height: auto;
        min-height: auto;
        max-height: none;
        width: 100%;
        max-width: 600px;
        border-radius: 32px;
    }
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.hero-ctas .btn {
    margin-right: .75rem;
    margin-bottom: .75rem;
}

.hero-slide-content,
.hero-ctas .btn {
    /* opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease .15s, transform .6s ease .15s; */
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity .6s ease .15s, transform .6s ease .15s;
}

.hero-slide.is-active .hero-slide-content,
.hero-slide.is-active .hero-ctas .btn {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hero-btn-primary {
    position: relative;
    padding: .9rem 2.5rem .9rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #00a8ff, #0062ff);
    color: #fff !important;
    box-shadow: 0 15px 30px rgba(0, 122, 255, .35);
    transition: transform .25s ease, box-shadow .25s ease;
}

.hero-btn-primary::after {
    content: "↗";
    font-size: 1.2rem;
    margin-left: .75rem;
    display: inline-block;
    transition: transform .25s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(0, 122, 255, .45);
}

.hero-btn-primary:hover::after {
    transform: translate(4px, -4px);
}

.hero-slide-indicator {
    position: absolute;
    right: clamp(1rem, 2vw, 1.5rem);
    bottom: clamp(1rem, 2vw, 1.5rem);
    text-align: right;
    font-weight: 600;
    letter-spacing: .2em;
    opacity: .7;
}

.hero-slide-indicator-item_active {
    border-bottom: 2px solid rgba(255, 255, 255, 0.5) !important;
    margin-bottom: 2px;
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(0, 0, 0, .35);
    color: #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background .3s;
    z-index: 2;
}

.hero-slider-prev {
    left: 1.5rem;
}

.hero-slider-next {
    right: 1.5rem;
}

.hero-slider-dots {
    position: absolute;
    right: clamp(1.7rem, 2vw, 1.5rem);
    top: clamp(1rem, 2vw, 1.5rem);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 2;

    background: rgba(0, 0, 0, .35);
    padding: 6px 6px 9px 6px;
    border-radius: 999px;
    border: 1px solid white;
}

.hero-slider-dots button {
    background: transparent;
    max-width: max-content;
    padding: 10px 5px;
    width: max-content;
    height: max-content;
    font-size: 16px;
    font-family: "Roboto-Black";
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 0;
    color: rgb(255, 255, 255);
    font-weight: 600;
    letter-spacing: .2em;
    padding: .35rem 0;
    transition: color .3s;
}

.hero-slider-dots button.is-active {
    color: rgb(21, 45, 82);
}

@media (max-width: 991px) {
    .hero-slide {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .hero-slide-content,
    .hero-slide-media {
        grid-column: span 1;
    }

    .hero-slider {
        border-radius: 32px;
        padding: 0;
            aspect-ratio: 1200 / 431;
            min-height: auto;
            max-height: none;
            width: 100%;
            max-width: 1200px;
    }

    /* .hero-slider-arrow {
        display: none;
    } */
    .hero-slider-arrow {
        display: inline-flex;
        width: 38px;
        height: 38px;
        top: auto;
        bottom: 19rem;
        transform: none;
        background: rgba(0, 0, 0, .45);
    }

    .hero-slider-prev {
        left: 1rem;
    }

    .hero-slider-next {
        right: 1rem;
    }
}

@media (max-width: 767px) {
    #marqueeWrapHero {
        padding-top: 5.4rem !important;
    }

    .hero-slider {
        border-radius: 32px;
        padding: 0;
            aspect-ratio: 400 / 600;
        min-height: auto;
        max-height: none;
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-slider::before,
    .hero-slider::after {
        top: 10px;
        bottom: 10px;
        width: 8px;
        opacity: .6;
        transform: translateX(-45%);
    }

    .hero-slider::after {
        transform: translateX(45%);
    }

    .hero-slide {
        align-items: center;
        text-align: center;
        padding: 0;
        justify-content: center;
    }

    .hero-slide-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        display: none;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-slider-dots {
        right: clamp(1rem, 2vw, 1.5rem);
        top: clamp(1rem, 2vw, 1.5rem);
    }

    .hero-slide-media img,
    .hero-slide-media video {
        object-fit: cover;
    }
}

/* Popular Packages */


.popular-packages {
    background: #f4f7ff;
    border-radius: 32px;
    padding: 2rem 1.5rem 2.5rem;
    margin: 2rem auto 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    position: relative;
    max-width: 1260px;
    overflow: hidden;
    /* recorta overflow extra pero mantiene sombra del contenedor */
}

.popular-packages h2 {
    font-weight: 800;
    color: #0b1f51;
    margin-bottom: 0.5rem;
}

.popular-packages .popular-description {
    max-width: 780px;
    margin: 0 auto 1.25rem;
    color: #4b5563;
}

.popular-carousel .popular-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 1px 0px 6px 4px rgba(0, 0, 0, 0.08);
    padding: 0;
    height: 100%;
    min-height: 520px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.popular-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.popular-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.popular-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff5b5b;
    color: #fff;
    font-weight: 700;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.85rem;
}

.paquete-badge {
    position: absolute;
        top: 12px;
        right: 12px;
        color: #fff;
        font-weight: 700;
        border-radius: 20px;
        padding: 6px 12px;
        font-size: 0.85rem;
        text-shadow: 2px 0.5px #0909097d;
}

.popular-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    overflow: hidden;
}

.popular-card-body h3 {
    font-weight: 800;
    color: #121826;
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3rem;
}

.popular-meta {
    font-size: 0.80rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.45rem 0.65rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    min-height: 2.4rem;
    width: 100%;
}

.popular-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.popular-meta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.popular-meta .dot {
    width: 6px;
    height: 6px;
    background: #c4c7d1;
    border-radius: 50%;
    display: inline-block;
}

.popular-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.popular-btn {
    background: linear-gradient(120deg, #1a78ff 0%, #0c5edc 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.65rem 1.1rem;
    border-radius: 12px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
    flex: 1 1 170px;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;

}

.popular-card-link {
    display: block;
    height: 100%;
}

.popular-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.popular-price {
    text-align: right;
    color: #111827;
    flex: 1 1 140px;
    min-width: 140px;
}

.popular-price small {
    display: block;
    color: #6b7280;
    margin-bottom: 4px;
}

.popular-price strong {
    font-size: 1.35rem;
    font-weight: 800;
}

.popular-footer {
    display: flex;
    gap: 1.25rem;
    font-size: 0.95rem;
    color: #4b5563;
    border-top: 1px solid #eef1f7;
    padding-top: 0.75rem;
    margin-top: auto;
}

.popular-footer span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 1300px) {
    .popular-packages {
        padding: 1.5rem 1.1rem 2rem;
    }

    .popular-card {
        min-height: auto;
    }

    .popular-meta {
        gap: 0.35rem 0.6rem;
    }

    .popular-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .popular-btn,
    .popular-price {
        width: 100%;
    }

    .popular-price {
        text-align: left;
    }
}

.popular-carousel .owl-nav {
    position: absolute;
    top: -62px;
    right: 0;
    display: flex;
    gap: 0.4rem;
}

.popular-carousel .owl-nav button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e9f5 !important;
    color: #0b1f51 !important;
    border: none;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.popular-carousel .owl-nav button:hover {
    background: #0b1f51 !important;
    color: #fff !important;
}

.popular-carousel .owl-dots {
    margin-top: 1rem;
}

.popular-carousel .owl-stage-outer {
    overflow: hidden;
    padding: 0 12px 20px;
}

.popular-carousel .owl-stage {
    display: flex;
}

.popular-carousel .owl-item {
    height: 100%;
    display: flex;
}

.popular-carousel .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    background: #c7cfdf;
}

.popular-carousel .owl-dots .owl-dot.active span {
    background: #0c5edc;
    width: 28px;
}

@media (max-width: 991px) {
    .popular-packages {
        padding: 1.75rem 1.25rem;
    }

    .popular-card-media {
        height: 180px;
    }
}

@media (max-width: 767.98px) {
    .popular-carousel .popular-card {
        min-height: auto;
        height: auto;
    }

    .popular-carousel .owl-nav {
        position: static;
        justify-content: center;
        margin-top: 0.35rem;
        gap: 0.6rem;
    }

    .popular-carousel .owl-nav button {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }
}

/* pleload card */

.preloading-section {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 31, 81, 0.18);
    backdrop-filter: blur(4px);
    border-radius: inherit;
    z-index: 10;
    transition: opacity .3s ease, visibility .3s ease;
}

.preloading-section.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 220px;
}

.packages-lazy-loader {
    display: none;
    justify-content: center;
    padding: 1.5rem 0 2rem;
}

.packages-lazy-loader.is-active {
    display: flex;
}

.packages-lazy-loader .preloading-spinner {
    height: auto;
}

.packages-sentinel {
    width: 100%;
    height: 1px;
}


/* paquetes */

.all-packages {
    background: #f4f7ff;
        border-radius: 32px;
        padding: 2rem 1.5rem 2.5rem;
        margin: 2rem auto 2.5rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
        position: relative;
        max-width: 1260px;
        overflow: hidden;
    }

.all-packages h2,
.all-packages h3 {
    font-weight: 800;
    color: #0b1f51;
}

.all-packages .popular-description {
    max-width: 780px;
    margin: 0 auto 1.25rem;
    color: #4b5563;
}

.paquete-card {
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 0;
    width: 100%;
    min-height: 470px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.paquete-card-media {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.paquete-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popular-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ff5b5b;
    color: #fff;
    font-weight: 700;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.85rem;
}

.paquete-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
}

.paquete-card-body h3 {
    font-weight: 800;
    color: #121826;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8rem;
}
.paquete-meta {
    font-size: 0.80rem;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.5rem 0.75rem;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 1rem;
}

.paquete-meta .meta-line {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.paquete-meta .meta-location {
    flex: 1 1 60%;
    min-width: 0;
}

.paquete-meta .meta-location svg,
.paquete-meta .meta-stats svg {
    width: 16px;
    height: 16px;
}

.paquete-meta .meta-stats {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
    text-align: right;
    white-space: nowrap;
}

.paquete-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.paquete-meta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.paquete-meta .dot {
    width: 6px;
    height: 6px;
    background: #c4c7d1;
    border-radius: 50%;
    display: inline-block;
}

.paquete-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.paquete-btn {
    background: linear-gradient(120deg, #1a78ff 0%, #0c5edc 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.65rem 1.1rem;
    border-radius: 12px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
    flex: 1 1 170px;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.paquete-card-link {
    display: block;
    height: 100%;
}

.paquete-card-body h3 a {
    color: inherit;
    text-decoration: none;
}

.paquete-price {
    text-align: right;
    color: #111827;
    flex: 1 1 140px;
    min-width: 140px;
}

.paquete-price small {
    display: block;
    color: #6b7280;
    margin-bottom: 4px;
}

.paquete-price strong {
    font-size: 1.35rem;
    font-weight: 800;
}

.paquete-footer {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.95rem;
    color: #4b5563;
    border-top: 1px solid #eef1f7;
    padding-top: 0.55rem;
    margin-top: auto;
}

.paquete-footer span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.paquete-footer svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.all-packages .row>[class*="col-"] {
    display: flex;
}

@media (max-width: 1300px) {
    .paquete-card {
        min-height: auto;
    }

    .paquete-meta {
        gap: 0.35rem 0.65rem;
    }

    .paquete-actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .paquete-btn,
    .paquete-price {
        width: 100%;
    }

    .paquete-price {
        text-align: left;
    }
}

@media (max-width: 991px) {
    .all-packages {
        padding: 1.75rem 1.25rem;
    }

        .paquete-card-media {
            height: 180px;
        }

        .paquete-card {
            min-height: 470px;
            height: 100%;
        }
        }

@media (max-width: 767.98px) {
    .paquete-card-media {
        height: 170px;
    }

        .paquete-card {
            min-height: auto;
            height: auto;
        }

        .popular-carousel .owl-nav {
            position: static;
            justify-content: center;
            margin-top: 0.35rem;
            gap: 0.6rem;
        }

        .popular-carousel .owl-nav button {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        }
        }
