/* =========================================================
   TOURS PAGE
   Cusco Ride
========================================================= */


/* =========================================================
   HERO
========================================================= */

.tours-page-hero {
    text-align: center;
}

.tours-page-hero .container {
    max-width: 850px;
}

.tours-page-hero p {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Keep detail headers compact, including routes with long bilingual titles. */
.tour-detail .page-hero {
    min-height: 0;
    padding: 150px 0 44px;
}
.tour-detail .page-hero .container { max-width: 1040px; }
.tour-detail .page-hero .eyebrow {
    font-size: .7rem;
    letter-spacing: .15em;
    margin-bottom: 12px;
}
.tour-detail .page-hero h1 {
    font-size: clamp(1.8rem, 2.8vw, 2.65rem);
    line-height: 1.2;
    letter-spacing: -.025em;
    max-width: 980px;
    margin: 0 auto 16px;
    overflow-wrap: break-word;
    text-wrap: balance;
}
.tour-detail .page-hero p {
    max-width: 780px;
    font-size: .95rem;
    line-height: 1.75;
    margin: 0 auto;
}
.tour-detail .detail-page-main { padding-top: 36px; }
@media (max-width: 700px) {
    .tour-detail .page-hero { padding: 130px 0 32px; }
    .tour-detail .page-hero h1 { font-size: clamp(1.65rem, 5.5vw, 2.1rem); line-height: 1.22; }
    .tour-detail .page-hero p { font-size: .9rem; line-height: 1.65; }
    .tour-detail .detail-page-main { padding-top: 24px; }
}


/* =========================================================
   ENCABEZADOS
========================================================= */

.tours-section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.tours-section-heading .eyebrow {
    display: inline-block;
    margin-bottom: 10px;
}

.tours-section-heading h2 {
    margin-bottom: 14px;
}

.tours-section-heading p {
    max-width: 680px;
}


/* =========================================================
   CITY TOUR DESTACADO
========================================================= */

.tour-featured-card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    min-height: 500px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow:  0 14px 40px rgba(0, 0, 0, 0.07);
    margin-bottom: 30px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tour-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.11);
}


/* imagen */

.tour-featured-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.tour-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.tour-featured-card:hover
.tour-featured-image img {
    transform: scale(1.045);
}


/* etiqueta */

.tour-image-tag {
    position: absolute;

    top: 20px;
    left: 20px;

    display: inline-flex;
    align-items: center;

    padding: 8px 13px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.94);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.05em;

    color: #222;

    backdrop-filter: blur(8px);
}


/* contenido */

.tour-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px 50px;
}


/* meta */

.tour-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 15px;

    font-size: 12px;

    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tour-card-meta span {
    font-weight: 700;
    opacity: 0.62;
}

.tour-card-meta strong {
    font-family: "Montserrat", sans-serif;

    font-size: 17px;

    text-transform: none;
    letter-spacing: 0;
}


/* titulo */

.tour-featured-content h3 {
    margin: 0 0 18px;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(28px, 3vw, 40px);

    line-height: 1.15;
}


/* descripcion */

.tour-featured-content > p {
    margin: 0;

    color: #666;

    font-size: 15px;

    line-height: 1.8;
}


/* highlights */

.tour-highlights {
    display: flex;
    flex-wrap: wrap;

    gap: 10px 18px;

    margin-top: 25px;
}

.tour-highlights span {
    font-size: 13px;

    color: #555;
}


/* boton */

.tour-discover-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    align-self: flex-start;

    margin-top: 32px;

    padding: 13px 20px;

    border-radius: 7px;

    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.tour-discover-btn span {
    margin-left: 8px;

    transition:
        transform 0.25s ease;
}

.tour-discover-btn:hover {
    transform: translateY(-2px);
}

.tour-discover-btn:hover span {
    transform: translateX(4px);
}


/* =========================================================
   TOURS POPULARES
========================================================= */

.popular-tour-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   MINI CARD
========================================================= */

.tour-mini-card {
    background: #fff;

    border-radius: 17px;

    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.06);

    box-shadow:
        0 9px 28px rgba(0, 0, 0, 0.055);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.tour-mini-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 17px 40px rgba(0, 0, 0, 0.10);
}


/* imagen */

.tour-mini-image {
    display: block;

    position: relative;

    height: 245px;

    overflow: hidden;
}

.tour-mini-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}

.tour-mini-card:hover
.tour-mini-image img {
    transform: scale(1.055);
}


/* contenido */

.tour-mini-content {
    padding: 23px 22px 25px;
}

.tour-mini-content .tour-card-meta {
    margin-bottom: 11px;
}

.tour-mini-content h3 {
    margin: 0 0 10px;

    font-family: "Montserrat", sans-serif;

    font-size: 18px;

    line-height: 1.3;
}

.tour-mini-content p {
    margin: 0;

    color: #6d6d6d;

    font-size: 13px;

    line-height: 1.65;
}


/* enlace */

.tour-discover-link {
    display: inline-flex;
    align-items: center;

    margin-top: 19px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}

.tour-discover-link span {
    margin-left: 6px;

    transition:
        transform 0.25s ease;
}

.tour-discover-link:hover span {
    transform: translateX(4px);
}


/* =========================================================
   OTRAS EXPERIENCIAS
========================================================= */

.other-experiences-section {
    background: #fff;
}


.other-tours-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =========================================================
   OTHER CARD
========================================================= */

.other-tour-card {
    display: flex;
    flex-direction: column;

    background: #fff;

    border-radius: 17px;

    overflow: hidden;

    border: 1px solid rgba(0, 0, 0, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.other-tour-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 38px rgba(0, 0, 0, 0.09);
}


/* imagen */

.other-tour-image {
    display: block;

    height: 270px;

    overflow: hidden;
}

.other-tour-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition:
        transform 0.6s ease;
}

.other-tour-card:hover
.other-tour-image img {
    transform: scale(1.05);
}


/* contenido */

.other-tour-content {
    padding: 24px;

    display: flex;
    flex-direction: column;

    flex: 1;
}

.other-tour-content h3 {
    margin: 0 0 10px;

    font-family: "Montserrat", sans-serif;

    font-size: 20px;

    line-height: 1.25;
}

.other-tour-content p {
    margin: 0;

    color: #666;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   CHOQUEQUIRAO DESTACADO
========================================================= */

.other-tour-card-wide {
    grid-column: span 3;

    display: grid;

    grid-template-columns: 1.25fr 0.75fr;
}

.other-tour-card-wide .other-tour-image {
    height: 100%;
    min-height: 300px;
}

.other-tour-card-wide .other-tour-content {
    justify-content: center;

    padding: 35px;
}


/* =========================================================
   CTA FINAL
========================================================= */

.tours-final-cta {
    padding-top: 40px;
    padding-bottom: 90px;
}

.tours-final-cta-inner {
    position: relative;

    padding: 65px 40px;

    text-align: center;

    border-radius: 22px;

    overflow: hidden;
}

.tours-final-cta-inner .eyebrow {
    display: block;

    margin-bottom: 10px;
}

.tours-final-cta-inner h2 {
    margin: 0 0 13px;

    font-family: "Montserrat", sans-serif;

    font-size: clamp(25px, 3vw, 36px);
}

.tours-final-cta-inner p {
    max-width: 600px;

    margin: 0 auto;

    font-size: 15px;

    line-height: 1.7;
}

.tours-final-cta-inner .btn {
    display: inline-flex;
    align-items: center;

    margin-top: 27px;

    text-decoration: none;
}

.tours-final-cta-inner .btn span {
    margin-left: 8px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .popular-tour-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .other-tours-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .other-tour-card-wide {
        grid-column: span 2;

        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================================
   TABLET PEQUEÑA
========================================================= */

@media (max-width: 850px) {

    .tour-featured-card {
        grid-template-columns: 1fr;
    }


    .tour-featured-image {
        min-height: 380px;
    }


    .tour-featured-content {
        padding: 35px;
    }


    .tour-featured-content h3 {
        font-size: 30px;
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 640px) {

    .tours-section-heading {
        margin-bottom: 30px;
    }


    /* Featured */

    .tour-featured-card {
        border-radius: 16px;

        margin-bottom: 22px;
    }


    .tour-featured-image {
        min-height: 260px;
    }


    .tour-image-tag {
        top: 14px;
        left: 14px;

        padding: 7px 11px;

        font-size: 10px;
    }


    .tour-featured-content {
        padding: 27px 22px 29px;
    }


    .tour-featured-content h3 {
        font-size: 25px;
    }


    .tour-featured-content > p {
        font-size: 14px;

        line-height: 1.7;
    }


    .tour-highlights {
        display: grid;

        grid-template-columns: 1fr;

        gap: 8px;

        margin-top: 21px;
    }


    .tour-discover-btn {
        width: 100%;

        box-sizing: border-box;

        margin-top: 25px;
    }


    /* populares */

    .popular-tour-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .tour-mini-image {
        height: 230px;
    }


    .tour-mini-content {
        padding: 21px 20px 23px;
    }


    /* otras */

    .other-tours-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .other-tour-card-wide {
        grid-column: auto;

        display: flex;
    }


    .other-tour-card-wide .other-tour-image {
        height: 230px;

        min-height: 0;
    }


    .other-tour-card-wide .other-tour-content {
        padding: 23px 20px;
    }


    .other-tour-image {
        height: 230px;
    }


    .other-tour-content {
        padding: 21px 20px 24px;
    }


    /* CTA */

    .tours-final-cta {
        padding-top: 25px;
        padding-bottom: 60px;
    }


    .tours-final-cta-inner {
        padding: 45px 22px;

        border-radius: 17px;
    }


    .tours-final-cta-inner h2 {
        font-size: 25px;
    }


    .tours-final-cta-inner p {
        font-size: 14px;
    }


    .tours-final-cta-inner .btn {
        width: 100%;

        justify-content: center;

        box-sizing: border-box;
    }

}


/* =========================================================
   MÓVILES MUY PEQUEÑOS
========================================================= */

@media (max-width: 390px) {

    .tour-featured-content {
        padding: 24px 18px 26px;
    }


    .tour-mini-content {
        padding-left: 18px;
        padding-right: 18px;
    }


    .other-tour-content {
        padding-left: 18px;
        padding-right: 18px;
    }

}
