.container-card {
    margin: 10px;
}

.container-viajes {
    height: 450px;
    padding: 20px;
    background-color: #ccc;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 20px;
}

.seccion-viajes {
    position: relative;
    background-color: #37271b;
    padding-bottom: 30px;
    padding-top: 10px;
    z-index: 0;
}

.seccion-viajes::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/viajemosjuntosviajes/img/backairplane.svg');
    background-repeat: repeat-x;
    /* Repetir solo en horizontal */
    background-size: auto 100%;
    background-position: center bottom;
    pointer-events: none;
    filter: brightness(0) invert(1) opacity(0.05);
    z-index: 1;
}



.seccion-viajes>* {
    position: relative;
    z-index: 2;
}


.row-contenedores {
    display: flex;
    width: 100%;
    height: 450px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.contenedor-izquierdo,
.contenedor-derecho {
    width: 50%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}


/* Collage */
.collage-viajes {
    position: relative;
    width: 300px;
    height: 300px;
}

.collage-viajes img {
    position: absolute;
    width: 270px;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.imgn-grande {
    top: 0;
    left: 45%;
    transform: translateX(-250px);
    z-index: 1;
}

.imgn-superior {
    top: 80px;
    left: 65%;
    transform: translateX(-40);
    z-index: 2;
}

.imgn-inferior {
    top: 200px;
    left: 30%;
    transform: translateX(-50%);
    z-index: 3;
}

/* Texto */
.texto-viajes {
    max-width: 600px;
    text-align: center;
}

.texto-viajes h3 {
    font-size: 3rem;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 20px;
}

.texto-viajes p {
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: justify;
    padding: 25px 35px;
    background-color: rgba(255, 255, 255, 0.096);
    backdrop-filter: blur(4px);
    /* el desenfoque */
    -webkit-backdrop-filter: blur(4px);
    /* para Safari */
    border-radius: 20px;
    color: #fff;
}


.container-package {
    padding: 50px 0 80px;
    height: 450px;
}

.card,
.card2,
.card3 {
    height: 375px;
    position: relative;
    background-color: var(--main-color-brown);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    color: #f5f5dc;
    text-align: center;
}

.card::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 320px;
    height: 345px;
    background-image: url('/viajemosjuntosviajes/img/airplane.svg');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    transform: translateY(90px) translateX(28px) rotateZ(45deg);
    opacity: 0.07;
    z-index: 0;
}

.card2::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 180px;
    height: 200px;
    background-image: url('/viajemosjuntosviajes/img/building.svg');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    transform: translateY(10px) translateX(-350px);
    opacity: 0.07;
    z-index: 0;
}

.card3::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 160px;
    height: 160px;
    background-image: url('/viajemosjuntosviajes/img/group.webp');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    transform: translateY(-40px) translateX(-50px);
    opacity: 0.07;
    z-index: 0;
    filter: invert(1) brightness(1);
}


.card::before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: -30px;
    width: 150px;
    height: 150px;
    background-image: url('/viajemosjuntosviajes/img/airplane.svg');
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    transform: translateY(5px) translateX(200px) rotateZ(45deg);
    opacity: 0.07;
    z-index: 0;
}

.card>* {
    position: relative;
    z-index: 1;
}



.card-foto {
    padding: 50px;
    border-radius: 20px;
}

.card:hover,
.card2:hover,
.card3:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: var(--footer-color2);
    padding: 15px 10px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
    border-bottom-width: 0px;
}

.card-header i {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
    margin-top: 20px;
}

.card-body {
    padding: 20px;
}

.imagen-pancita {
    max-height: 100%;
    width: 95%;
    object-fit: cover;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
    transition: transform 0.5s;
    margin: 0 auto;
    display: block;
}

.imagen-pancita:hover {
    transform: rotate(3deg) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Textos */
.title-service {
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.title-paquete {
    font-size: 3rem;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 20px;
    max-width: 90%;
}

.descripcion {
    font-size: 1.1rem;
    color: #ebebeb;
    line-height: 1.6;
    text-align: justify;
    margin: 0 auto;
    max-width: 90%;
    padding: 15px;
}

.descripcion-paquete {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 25px 35px;
    background-color: rgba(255, 255, 255, 0.096);
    /* fondo blanco translúcido */
    backdrop-filter: blur(4px);
    /* el desenfoque */
    -webkit-backdrop-filter: blur(4px);
    /* para Safari */
    border-radius: 20px;
    color: #fff;
    /* asegúrate de que el texto sea visible */
}

/* Sombras generales */
.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24) !important;
}

.custom-carousel-container {
    max-width: 1140px;
    position: relative;
    padding: 0 15px;
}

.carousel-slide {
    overflow: hidden;
    background-color: var(--main-color-light-brown);
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 400px;
}

.image-side,
.text-side {
    flex: 1 1 50%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-side img {
    width: 102%;
    height: inherit;
    object-fit: cover;
}

.text-side {
    background-color: var(--main-color-light-brown);
    /* cambia el fondo (puedes ajustar este color) */
    padding: 2rem;
    color: #fff;
    text-align: center;
    /* centra el título por defecto */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.text-side h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
    text-align: center;
    color: #fff;
}

.text-side p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 90%;
    text-align: justify;
    color: #ebebeb;
}

.object-fit-cover {
    object-fit: cover;
    height: 100%;
}

/* FLECHAS CENTRADAS VERTICALES AL COSTADO DEL CARRUSEL */
.owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    left: -100px;
    top: 35%;
}

.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    right: -100px;
    top: 35%;
}


.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    background: rgba(0, 0, 0, 0.89);
    border-radius: 50%;
    color: rgb(224, 10, 10);
    font-size: 2rem;
    width: 90px;
    height: 90px;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background: var(--main-color);
}

.title-paquete {
    font-size: 3rem;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.collage-imagenes1 {
    position: absolute;
    bottom: -75px;
    right: 40px;
    width: 220px;
    height: 220px;
    z-index: 2;
}

.collage-imagenes2 {
    position: absolute;
    bottom: 75px;
    right: -40px;
    width: 220px;
    height: 220px;
    z-index: 2;
}

.collage-imagenes2 .img-grande2 {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: -100px;
    top: 25px;
    left: -1020px;
    transition: transform 0.3s;
}

.collage-imagenes1 .img-grande {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 0;
    left: 100px;
    right: 0;
    transition: transform 0.3s;
}

.collage-imagenes1 .img-pequena {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 10px;
    left: 15px;
    transition: transform 0.3s;
    z-index: 3;
}

.collage-imagenes2 .img-pequena2 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 120px;
    left: -890px;
    transition: transform 0.3s;
    z-index: 3;
}

.collage-imagenes1 img:hover {
    transform: scale(1.05);
}

.collage-imagenes2 img:hover {
    transform: scale(1.05);
}

.custom-services {
    background: #ffffff;
    padding: 2rem 0;
}

.service-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.service-box:hover {
    transform: translateY(-5px);
}

/* 60% superior */
.service-top {
    background-color: #d37731;
    /* Café claro */
    flex: 0 0 60%;
    /* Fija el 60% de la altura */
    padding: 1.5rem;
    text-align: center;
}

/* 40% inferior */
.service-content {
    background-color: #37271b;
    /* Café oscuro */
    flex: 1;
    /* Ocupa el restante (40%) */
    padding: 1rem 1.5rem;
}

/* Imagen */
.service-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

.service-image .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.service-image:hover .main-img {
    opacity: 0;
}

.service-image:hover .hover-img {
    opacity: 1;
}

/* Textos */
.service-box h4 {
    font-weight: 600;
    color: #ffffff;
}

.service-content p {
    color: #e0e0e0;
    font-size: 1rem;
    text-align: justify;
    margin: 0;
    padding: 15px;
}

.service-title {
    background-color: var(--main-color-light-brown);
    /* Café claro con 10% opacidad */
    padding: 0.75rem 1rem;
    width: 100%;
    color: #000000;
    text-align: center;
    margin-bottom: 0px;
}

@media (max-width: 1294px) {

    .card,
    .card2,
    .card3 {
        height: max-content;
        margin-bottom: 20px;
    }

    .seccion-viajes{
        height: max-content;
        padding-bottom: 60px;
    }

    .imgn-superior {
        top: 134px;
        left: 42%;
        transform: translateX(-40);
        z-index: 2;
    }

    .imgn-inferior {
        top: 213px;
        left: 30%;
        transform: translateX(-50%);
        z-index: 3;

    }

    .imgn-grande {
        top: 68px;
        left: 56%;
        transform: translateX(-250px);
        z-index: 1;
    }

    .collage-imagenes2 .img-pequena2
 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 120px;
    left: -920px;
    transition: transform 0.3s;
    z-index: 3;
}
.collage-imagenes2 .img-grande2 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: -100px;
    top: 250px;
    left: -666px;
    transition: transform 0.3s;
}

.collage-imagenes1 .img-grande {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 38px;
    left: 100px;
    right: 0;
    transition: transform 0.3s;
}

}

@media (max-width: 1208px){
    .collage-imagenes2 .img-pequena2 {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        position: absolute;
        bottom: 120px;
        left: -827px;
        transition: transform 0.3s;
        z-index: 3;
    }
}



@media (max-width: 1099px){
    .collage-imagenes2 .img-pequena2 {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        position: absolute;
        bottom: 120px;
        left: -796px;
        transition: transform 0.3s;
        z-index: 3;
    }
}

@media (max-width: 992px) {

    .container-package {
        height: max-content;
        padding-top: 20px;
        padding-bottom: 0px;
    }

    .card,
    .card2,
    .card3 {
        height: auto;
        margin-bottom: 20px;
    }

    .card::after,
    .card2::after,
    .card3::after,
    .card::before {
        display: none;
        /* Oculta SVG decorativos en móviles */
    }

    .card-header {
        padding: 10px;
    }

    .title-service {
        font-size: 1.5rem;
    }

    .descripcion {
        font-size: 1rem;
        padding: 10px;
    }

    .imagen-pancita {
        width: 100%;
        border-radius: 15px;
    }

    .collage-imagenes1,
    .collage-imagenes2 {
        position: static;
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .collage-imagenes1 .img-grande,
    .collage-imagenes1 .img-pequena,
    .collage-imagenes2 .img-grande2,
    .collage-imagenes2 .img-pequena2 {
        position: static;
        width: 150px;
        height: 150px;
    }

    .title-paquete {
        font-size: 2rem;
    }

    .descripcion-paquete {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .image-side,
    .text-side {
        flex: 1 1 100%;
        min-height: auto;
        padding: 15px 0;
    }

    .row-contenedores {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }

    .contenedor-izquierdo,
    .contenedor-derecho {
        width: 100%;
        height: auto;
        padding: 10px;
        flex-direction: column;
        align-items: center;
    }

    .collage-viajes {
        position: static;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        width: 100%;
        height: auto;
        transform: translateX(252px);
    }

    .collage-viajes img {
        position: static !important;
        width: 320px;
        height: 250px;
        object-fit: cover;
        border-radius: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .imgn-superior,
    .imgn-inferior {
        display: none !important;
    }

    .imgn-grande {
        display: block;
        margin: 0 auto;
        transform: translateX(-245px);
    }

    .texto-viajes h3 {
        font-size: 2.2rem;
    }

    .texto-viajes p {
        font-size: 1.1rem;
        padding: 20px;
    }

    .carousel-slide {
        flex-wrap: wrap;
    }

    .image-side,
    .text-side {
        flex: 1 1 50%;
        min-height: 240px;
        padding: 10px;
    }

    .image-side img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .text-side {
        padding: 1rem;
    }

    .text-side h2 {
        font-size: 1.5rem;
    }

    .text-side p {
        font-size: 0.75rem;
    }

    .container-card{
        margin-top: 0px;
    }
}

@media (max-width: 768px) {
    .container-package {
        height: 1020px;
        padding: 40px 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card,
    .card2,
    .card3 {
        height: auto;
        margin-bottom: 5px;
    }

    .card::after,
    .card2::after,
    .card3::after,
    .card::before {
        display: none;
    }

    .card-header {
        padding: 10px;
    }

    .title-service {
        font-size: 1.4rem;
    }

    .descripcion {
        font-size: 0.95rem;
        padding: 10px;
    }

    .imagen-pancita {
        width: 100%;
        max-width: 100%;
        border-radius: 15px;
        margin-bottom: 5px;
    }

    /* Estilo para collage en móvil: 2x2 imágenes */
    .collage-imagenes1,
    .collage-imagenes2 {
        width: 179px;
        height: 180px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        justify-content: center;
        align-items: center;
        margin-top: 25px;
        position: static;
        place-items: center;
    }

    .collage-imagenes1 .img-grande,
    .collage-imagenes1 .img-pequena,
    .collage-imagenes2 .img-grande2,
    .collage-imagenes2 .img-pequena2 {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s;
    }

    .title-paquete {
        font-size: 1.8rem;
        text-align: center;
    }

    .descripcion-paquete {
        font-size: 1rem;
        padding: 15px;
        text-align: justify;
    }

    .carousel-slide {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image-side,
    .text-side {
        flex: 1 1 100%;
        min-height: auto;
        padding: 15px 0;
    }

    .image-side img {
        width: 82%;
        max-width: 85%;
        height: auto;
        max-height: 240px;
        object-fit: contain;
        border-radius: 20px;
        display: block;
    }

    .text-side {
        padding: 1rem;
    }

    .text-side h2 {
        font-size: 20px;
    }

    .collage-viajes img {
        width: 220px;
        height: 150px;
    }

    .texto-viajes {
        margin: 15px;
    }

    .texto-viajes h3 {
        font-size: 2rem;
    }

    .texto-viajes p {
        font-size: 1rem;
    }

    .custom-services .row>.col-md-4 {
        flex: 0 0 48%;
        max-width: 48%;
    }

    .custom-services .row {
        gap: 4%;
        justify-content: center;
    }
}

@media (max-width: 500px) {

    .tab-one__bg {
        background-repeat: no-repeat;
        background-position: center bottom;
        background-size: auto;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1200px;
        background-repeat: repeat-x;
        animation: cloudMove 60s linear 0s infinite;
        opacity: 0.1;
    }

    .container-package {
        height: max-content;
        padding: 30px 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .container-card{
        margin-right: 20px;
    }

    .card,
    .card2,
    .card3 {
        height: auto;
        margin-bottom: 10px;
    }

    .card::after,
    .card2::after,
    .card3::after,
    .card::before {
        display: none;
    }

    .card-header {
        padding: 8px;
    }

    .title-service {
        font-size: 1.3rem;
    }

    .descripcion {
        font-size: 0.9rem;
        padding: 8px;
    }

    .imagen-pancita {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    /* Collage en una sola columna o 2 filas */
    .collage-imagenes1,
    .collage-imagenes2 {
        width: 80%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        position: static;
    }

    .collage-imagenes1 .img-grande,
    .collage-imagenes1 .img-pequena,
    .collage-imagenes2 .img-grande2,
    .collage-imagenes2 .img-pequena2 {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
        transition: transform 0.3s;
    }

    .title-paquete {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 15px;
    }

    .descripcion-paquete {
        font-size: 0.95rem;
        padding: 10px 12px;
        text-align: justify;
    }

    .carousel-slide {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image-side,
    .text-side {
        flex: 1 1 100%;
        min-height: auto;
        padding: 10px 0;
    }

    .image-side img {
        height: inherit;
        object-fit: cover;
    }

    .text-side {
        padding: 0.8rem;
    }

    .text-side h2 {
        font-size: 20px;
    }

    .collage-viajes img {
        width: 180px;
        height: 120px;
    }

    .texto-viajes h3 {
        font-size: 1.6rem;
        margin-top: 10px;
    }

    .texto-viajes p {
        font-size: 0.95rem;
        padding: 15px;
    }

}






