/**
 * Main Stylesheet - Belen Travel Agency Theme
 *
 * @package BelentravelAgency
 * @version 1.0.0
 */

/* =====================
   Imports
===================== */
@import url("https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import "variables.css";

/* =====================
   Reset & Base
===================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base); /* 62.5% = 1rem → 10px */
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden; /* evita scroll horizontal residual (skip-link a -9999px, etc.) */
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
    line-height: 1.6;
    color: var(--brandDarkBlue1);
    background-color: var(--generalSoftWhite);
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* =====================
   Layout Utilities
===================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    /* padding-inline: var(--space-lg); */
}

.container--wide {
    max-width: var(--container-wide);
    padding-inline: var(--container-padding);
}

.section {
    padding-block: var(--space-4xl);
}

/* =====================
   Typography
===================== */
.text-orange {
    color: var(--brandOrange1);
}
.text-blue {
    color: var(--brandDarkBlue1);
}
.text-dark {
    color: var(--brandDark1);
}
.text-white {
    color: #ffffff;
}
.text-soft {
    color: var(--generalSoftWhite);
}

.section-mini-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
    color: var(--brandOrange1);
    text-transform: uppercase;
    line-height: normal;
}

.section-mini-title svg,
.archive-header__mini svg {
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
}

.section-title {
    font-size: 4rem;
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
    line-height: 1.1;
    text-transform: uppercase;
}

/* =====================
   Buttons
===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
    line-height: 1;
    cursor: pointer;
    transition:
        background-color var(--transition-fast),
        transform var(--transition-fast);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background-color: var(--brandOrange1);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 151, 0, 0.35);
    padding: 1.2rem 2rem;
    font-size: var(--text-md);
    font-weight: var(--fw-light);
    width: fit-content;
}

.btn--primary:hover {
    background-color: var(--brandDarkBlue1);
    box-shadow: 0 4px 16px #021f4159;
    color: #ffffff;
}

.btn--outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn--itinerary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.4rem;
    background-color: var(--brandOrange1);
    color: #ffffff;
    border: none;
    border-radius: 2.4rem;
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(255, 151, 0, 0.35);
    transition:
        background-color var(--transition-fast),
        box-shadow var(--transition-fast);
    white-space: nowrap;
}

.btn--itinerary:hover,
.card-tour:hover .btn--itinerary {
    background-color: var(--brandDarkBlue1);
    box-shadow: 0 4px 16px #021f4159;
    color: #fff;
}

/* =====================
   Header
===================== */
.site-header {
    position: relative;
    z-index: var(--z-sticky);
    /* padding-inline: var(--container-padding); */
    padding-block: 1.2rem;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto 4rem;
}



/* En front-page: sin fondo, sobre el hero */
.site-header--transparent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.header__inner {
    display: flex;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 0.8rem 1.6rem 0.8rem 0.8rem;
}

/* ---- Logo ---- */
.header__logo {
    flex-shrink: 0;
    height: 7.8rem;
}

.header__logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* En páginas internas: fondo oscuro con blur */
.site-header:not(.site-header--transparent) {
    .header__inner {
        background: rgba(10, 23, 39, 0.7);
        backdrop-filter: blur(3.5px);
        -webkit-backdrop-filter: blur(3.5px);
        border-radius: var(--radius-xl);
        padding: 1.5rem 3.5rem 1.5rem 1.5rem;
    }
    /* Logo en páginas internas */
    .header__logo .custom-logo-link {
        width: 7.8rem;
        height: 7.8rem;
        background: #fff;
        border-radius: 50%;
        padding: .3rem;
    }
    .header__right {
        gap: 0.8rem;

        .info_header {
            /* Iconos sociales blancos en páginas internas */
            > div:first-child img{
                filter: brightness(0) invert(1);
            }
            .widget_polylang {
                border-color: rgb(255 255 255);
            }
        }
    }
}

/* Logo en front-page */
.site-header--transparent .header__logo .custom-logo-link {
    width: 12rem;
    height: 12rem;
    background: #ffffff;
    border-radius: var(--radius-full);
    /* padding: 0.3rem; */
}

.header__logo .custom-logo-link img,
.header__logo .custom-logo-link .custom-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.header__logo-text {
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: var(--fw-bold);
    font-size: var(--text-lg);
}

/* ---- Columna derecha ---- */
.header__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

/* ---- Top bar ---- */
.header__top-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.2rem;
}

/* ---- Info Header widget area ---- */
.info_header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Oculta títulos de widget */
.info_header .widget-title {
    display: none;
}

/* Redes sociales: párrafo con enlaces + imágenes SVG */
.info_header .widget p a {
    display: inline-flex;
    align-items: center;
}

.info_header .widget p a img,
.info_header .widget p a svg {
    width: 2.4rem;
    height: 2.4rem;
    display: block;
    transition: opacity var(--transition-fast);
}

.info_header .widget p a:hover img,
.info_header .widget p a:hover svg {
    opacity: 0.75;
}

/* Párrafo contenedor de iconos sociales */
.info_header .widget p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

/* Lista tipo menú secundario */
.info_header .wp-block-list,
.info_header ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.info_header .wp-block-list li a,
.info_header ul li a {
    display: block;
    padding-inline: 1.2rem;
    border-left: 1px solid #909cab;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    color: #fff;
    line-height: 2rem;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.info_header .wp-block-list li a:hover,
.info_header ul li a:hover {
    color: var(--brandOrange1);
}

/* Botón WhatsApp (wp-block-buttons) */
.info_header .wp-block-buttons {
    display: flex;
    align-items: center;
}

.info_header .wp-block-buttons .wp-block-button__link,
.info_header .wp-block-buttons a,
.info_header .wp-block-buttons button {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    background: var(--brandOrange1);
    box-shadow:
        0 0.4rem 0.6rem -0.4rem rgba(24, 39, 75, 0.12),
        0 0.8rem 0.8rem -0.4rem rgba(24, 39, 75, 0.08);
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
    line-height: normal;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.info_header .wp-block-buttons .wp-block-button__link:hover,
.info_header .wp-block-buttons a:hover,
.info_header .wp-block-buttons button:hover {
    background-color: var(--brandBrown1);
    color: #ffffff;
}

/* Imágenes SVG inline dentro del botón WhatsApp */
.info_header .wp-block-buttons img {
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
}

/* Language switcher Polylang */
.info_header .widget_polylang,
.info_header .lana-language-switcher,
.info_header [class*="polylang"] {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    gap: 0.6rem;
    border-radius: 2rem;
    border: 1px solid var(--brandDarkBlue1);
}

.info_header .widget_polylang ul,
.info_header .lana-language-switcher ul,
.info_header [class*="polylang"] ul {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.info_header .widget_polylang ul li a,
.info_header .lana-language-switcher ul li a,
.info_header [class*="polylang"] ul li a {
    display: flex;
    align-items: center;
    border-left: none;
    padding: 0;
}

.info_header .widget_polylang ul li img,
.info_header .lana-language-switcher ul li img,
.info_header [class*="polylang"] ul li img {
    width: 2.8rem;
    height: 2rem;
    max-width: 2.8rem;
    max-height: 2rem;
    object-fit: cover;
    display: block;
    border-radius: 1rem;
}

/* Language switcher desktop - oculto porque ya va en info_header widget */
.header__lang {
    display: none;
}

/* ---- Burger ---- */
.header__nav-close {
    display: none;
}

.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
    width: 3.2rem;
    height: 3.2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    flex-shrink: 0;
}

.header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition:
        transform var(--transition-fast),
        opacity var(--transition-fast);
}

.header__burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger.is-active span:nth-child(2) {
    opacity: 0;
}

.header__burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Nav principal ---- */
.header__nav {
    display: flex;
    justify-content: flex-end;
}

/* En front-page: el nav se solapa sobre el hero */
.site-header--transparent .header__nav {
    position: relative;
    z-index: 5;
    /* background: rgba(2, 31, 65, 0.45); */
    /* backdrop-filter: blur(6px); */
    -webkit-backdrop-filter: blur(6px);
    border-radius: 2.8rem;
    padding: 1.2rem 0 1.2rem 2rem;
    /* margin-top: -2.0rem; */
    justify-content: right;
}

.header__nav-menu {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__nav-item {
    position: relative;
}

.header__nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1.6rem;
    border: 1px solid #ffffff;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--fw-regular);
    color: #ffffff;
    background: transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--transition-fast);

}
.header__dropdown .header__nav-link {
    border: none !important;
}

.header__nav-link:hover,
.header__nav-item.is-active .header__nav-link {
    /* background-color: rgba(255, 255, 255, 0.15); */
    /* color: #ffffff; */
}

.header__nav-arrow {
    width: 1rem;
    height: 0.6rem;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.header__nav-item.is-open .header__nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown */
/* .header__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 0.8rem);
    left: 0;
    min-width: 18rem;
    background: rgba(10, 23, 39, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    list-style: none;
    margin: 0;
    padding: 0.8rem 0;
    z-index: var(--z-dropdown);
    box-shadow: var(--shadow-md);
} */

.header__nav-item.is-open .header__dropdown {
    display: block;
}

@media (min-width: 861px) {
    .header__nav-item:hover .header__dropdown {
        display: block;
    }
}

.header__dropdown li a {
    display: block;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--fw-regular);
    color: #ffffff;
    text-decoration: none;
    transition:
        color var(--transition-fast),
        background-color var(--transition-fast);
}

.header__dropdown li a:hover {
    color: var(--brandOrange1);
    background-color: rgba(255, 255, 255, 0.05);
}

/* La X del submenú solo aplica en mobile; oculta por defecto (desktop) */
.header__subnav-close {
    display: none;
}

/* ── Auto tour sub-dropdown (desktop only) ── */

/* Tours dropdown debajo de un item top-level con destino */
.header__nav-item.has-dropdown {
    > .header__dropdown--tours, > .header__dropdown {
        display: none;
        position: absolute;
        /* top: calc(100% + 0.8rem); */
        left: 0;
        /* Ancho según el contenido (título del tour), sin truncar */
        width: max-content;
        min-width: 22rem;
        max-width: 46rem;
        max-height: 70vh;
        overflow-y: auto;
        scrollbar-width: thin;
        /* scrollbar-color: rgba(255,255,255,0.2) transparent; */
        /* border-radius: var(--radius-sm); */
        list-style: none;
        margin: 0;
        padding: 0.8rem 0 0 0;
        z-index: var(--z-dropdown);
        /* box-shadow: var(--shadow-md); */
        > li {
            background: rgba(10, 23, 39, 0.97);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
        > li:first-child {
                border-radius: var(--radius-sm) var(--radius-sm) 0 0;
        }
        > li:last-child {
                border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        }
    }
    
}

.header__nav-item.has-dropdown.is-open {
    > .header__dropdown--tours, > .header__dropdown {
        display: block;
    }
}

@media (min-width: 861px) {
    .header__nav-item.has-dropdown:hover {
        > .header__dropdown--tours, > .header__dropdown {
            display: block;
        }
    }
    .header__dropdown li.has-dropdown:hover {
        > .header__dropdown--tours, > .header__dropdown {
            display: block;
        }
    }
}

/* Tours sub-dropdown dentro de un dropdown de nivel 2 (Tours en Perú → Lima → tours) */
.header__dropdown .header__dropdown-item {
    position: relative;
}

.header__dropdown .header__dropdown-item > .header__dropdown--tours {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 22rem;
    max-width: 30rem;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
    background: rgba(10, 23, 39, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    list-style: none;
    margin: 0;
    padding: 0.8rem 0;
    z-index: calc(var(--z-dropdown) + 1);
    box-shadow: var(--shadow-md);
}

/* Estilos de los links dentro de los tour dropdowns */
.header__dropdown--tours .header__dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 0.7rem 1.6rem;
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: var(--fw-regular);
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.header__dropdown-link-title {
    /* Desktop: título completo sin truncar (el dropdown crece con max-content) */
    white-space: nowrap;
    min-width: 0;
}

/* Badge de duración del tour */
.header__dropdown-link-duration {
    flex-shrink: 0;
    font-size: 1.05rem;
    font-weight: var(--fw-medium);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--brandOrange1);
    background: rgba(255, 151, 0, 0.12);
    border: 1px solid rgba(255, 151, 0, 0.3);
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full);
    line-height: 1.4;
}

.header__dropdown--tours .header__dropdown-link:hover {
    color: var(--brandOrange1);
    background-color: rgba(255, 255, 255, 0.05);
}

.header__dropdown--tours .header__dropdown-link:hover .header__dropdown-link-duration {
    background: var(--brandOrange1);
    border-color: var(--brandOrange1);
    color: #ffffff;
}

/* Items destino de nivel 2 con tours: mostrar indicador → */
.header__dropdown li.has-tour-dropdown > a::after {
    content: ' ›';
    opacity: 0.5;
    font-size: 1.1em;
    margin-left: 0.3rem;
}

/* =====================
   Hero Section
===================== */
.hero {
    position: relative;
    margin-inline: auto;
    margin-top: 6rem;
    height: 65rem;
    border-top-left-radius: 2.8rem;
    border-top-right-radius: 2.8rem;
    border-bottom-left-radius: 6.4rem;
    border-bottom-right-radius: 6.4rem;
    overflow: hidden;
    box-shadow: var(--shadow-hero);
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Gradiente oscuro en la parte inferior del hero (para legibilidad del título) */
.hero::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(
        to top,
        rgba(10, 23, 39, 0.75) 0%,
        rgba(10, 23, 39, 0.15) 60%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
    border-bottom-left-radius: 6.4rem;
    border-bottom-right-radius: 6.4rem;
}

/* Barra de degradado superior del hero */
.hero__top-gradient {
    -webkit-backdrop-filter: blur(6px);
    border-top-left-radius: 2.8rem;
    border-top-right-radius: 2.8rem;
    height: 7rem;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(2, 31, 65, 0.8) 0%,
        rgba(2, 31, 65, 0) 100%
    );
    backdrop-filter: blur(3.5px);
}

/* Contenido del hero */
.hero__content {
    position: absolute;
    bottom: 5rem;
    left: 0;
    z-index: 3;
    padding: 0 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    align-items: flex-start;
    max-width: 54rem;
}

.hero__title {
    font-size: 7.4rem;
    font-weight: var(--fw-extrabold);
    color: #ffffff;
    line-height: 1.05;
    text-shadow:
        0px 4px 24px rgba(10, 23, 39, 0.45),
        0px 2px 8px rgba(10, 23, 39, 0.35);
    letter-spacing: -0.02em;
}

/* Hero Slider – fade */
.hero--slider {
    /* Necesario para que los slides se superpongan */
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

/* El slide activo lleva el contenido encima de la imagen */
.hero__slide .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 2.8rem;
    border-top-right-radius: 2.8rem;
    border-bottom-left-radius: 6.4rem;
    border-bottom-right-radius: 6.4rem;
}

.hero__slide .hero__content {
    position: absolute;
    bottom: 5rem;
    left: 0;
    right: auto;
    z-index: 3;
    padding: 0 3.5rem;
    max-width: 54rem;
}

/* Indicadores (dots) */
.hero__dots {
    position: absolute;
    bottom: 1.6rem;
    right: 2.4rem;
    z-index: 10;
    display: flex;
    gap: 0.6rem;
}

.hero__dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition:
        background-color var(--transition-fast),
        transform var(--transition-fast);
}

.hero__dot.is-active {
    background: #ffffff;
    transform: scale(1.25);
}

/* El degradado superior siempre encima de todos los slides */
.hero--slider .hero__top-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

/* =====================
   Highlights Section
===================== */
.highlights {
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
}

.highlights__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 24.9rem;
    text-align: center;
    flex-shrink: 0;
}

.highlight-item__icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.highlight-item__icon {
    width: 3.8rem;
    height: 3.8rem;
    color: var(--brandDarkBlue1);
    flex-shrink: 0;
}

.highlight-item__title {
    font-size: 2.7rem;
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
    line-height: 1.15;
    text-align: center;
    width: 20rem;
}

.highlight-item__desc {
    font-size: var(--text-md);
    font-weight: var(--fw-light);
    color: #000000;
    line-height: 1.5;
}

/* =====================
   Dream Section (Vive ese sueño)
===================== */
.dream-section {
    position: relative;
    padding-inline: var(--container-padding);
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-4xl);
}

/*
 * Layout: canvas relativo 100% ancho.
 * Figma 1440px base:
 *   card-bg : left 205 → ~14%, top 1283 → 19rem offset, w 870 → ~60%, h 490 → 49rem
 *   image   : left 705 → ~49%, top 1092 → 0, w 470 → ~33%, h 600 → 60rem
 *   badge   : left 859 → ~60%, top 1595 → bottom-align con imagen, w 376 → ~26%, h 238
 * Imagen y badge se solapan en vertical: badge encima de esquina inferior-derecha de imagen.
 */
.dream-section__layout {
    position: relative;
    min-height: 72rem;
}

/* Imagen — ocupa columna derecha completa; badge flota encima en su esquina */
.dream-section__image {
    position: absolute;
    top: 0;
    right: 6rem;
    height: 60rem;
    max-width: 43rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.dream-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido texto — encima de la card, centrado verticalmente en ella */
.dream-section__content {
    position: absolute;
    z-index: 1;
    bottom: 5rem;
    padding: 6rem 5rem;
    width: 80%;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.dream-section__subtitle {
    font-size: 1.6rem;
    font-weight: var(--fw-regular);
    color: var(--brandOrange1);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.dream-section__title {
    font-size: 4rem;
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.dream-section__text {
    font-size: 1.7rem;
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    line-height: 2.4rem;
    margin-bottom: 2.8rem;
    max-width: 38rem;
}

/* Badge — esquina inferior-derecha, solapado con la imagen */
.years-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    max-width: 42rem;
    background-color: var(--brandDarkBlue1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 4;
    padding: 3.4rem 4rem;
    gap: 0.4rem;
}

.years-badge__more {
    font-size: 2.8rem;
    font-weight: var(--fw-bold);
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding-bottom: 1rem;
}

.years-badge__number {
    font-size: 8rem;
    font-weight: var(--fw-black);
    color: var(--brandOrange1);
    line-height: 8rem;
    text-transform: uppercase;
}

.years-badge__label {
    font-size: 2.2rem;
    font-weight: var(--fw-bold);
    color: #ffffff;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =====================
   Tour Cards
===================== */
.tours-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

section.tours-section.tours-section--bg-deco {}

.tours-section__header {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 5rem;
}

.tours-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8rem 3rem;
    align-items: flex-start;
    /* justify-content: space-around; */
}

/* Card Tour */
.card-tour {
    position: relative;
    max-width: 37rem;
    height: 60rem;
    border-radius: var(--radius-xl);
    overflow: visible; /* permite que el botón sobresalga */
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.card-tour *,
.card-tour *::before,
.card-tour *::after {
    cursor: pointer;
}

/* Media wrapper: clip para zoom sin cortar el botón */
.card-tour__media {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.card-tour__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transform-origin: center center;
}

/*
 * Ken Burns slider — misma duración por slide.
 *
 * slide = 8s  |  fade = 1s  |  ciclo = (8 + 1) × 2 = 18s
 *
 *  img1:  0s → 8s  visible + zoom   |  8s → 9s  fade-out  |  9s → 17s  hidden  |  17s → 18s  fade-in
 *  img2:  0s → 8s  hidden           |  8s → 9s  fade-in   |  9s → 17s  visible + zoom  |  17s → 18s  fade-out
 *
 *  % = tiempo / 18:  8/18 = 44.44%   9/18 = 50%   17/18 = 94.44%
 */
@keyframes card-kb-primary {
    0%      { transform: scale(1);    opacity: 1; }
    44.44%  { transform: scale(1.08); opacity: 1; }
    50%     { transform: scale(1.08); opacity: 0; }
    50.01%  { transform: scale(1);    opacity: 0; }
    94.44%  { transform: scale(1);    opacity: 0; }
    100%    { transform: scale(1.08); opacity: 1; }
}

@keyframes card-kb-secondary {
    0%      { transform: scale(1);    opacity: 0; }
    44.44%  { transform: scale(1);    opacity: 0; }
    50%     { transform: scale(1);    opacity: 1; }
    94.44%  { transform: scale(1.08); opacity: 1; }
    100%    { transform: scale(1.08); opacity: 0; }
}

/* Despliegue del dropdown del menú mobile */
@keyframes belenDropdownIn {
    from { opacity: 0; transform: translateY(-0.6rem); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Imagen secundaria: invisible en reposo */
.card-tour__image--secondary {
    opacity: 0;
}

/* Hover con dos imágenes: ambas usan la misma duración total */
.card-tour--has-crossfade:hover .card-tour__image--primary {
    animation: card-kb-primary 5s ease-in-out infinite;
}
.card-tour--has-crossfade:hover .card-tour__image--secondary {
    animation: card-kb-secondary 5s ease-in-out infinite;
}

/* Hover sin segunda imagen: zoom simple al mismo ritmo (8s) */
.card-tour:not(.card-tour--has-crossfade) .card-tour__image {
    transition: transform 1.2s ease-out;
}
.card-tour:not(.card-tour--has-crossfade):hover .card-tour__image {
    transform: scale(1.08);
    transition: transform 8s ease-out;
}

.card-tour__gradient {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 8rem 0.8rem 5rem;
    background: linear-gradient(
        to bottom,
        rgba(2, 31, 65, 0) 0%,
        rgba(10, 23, 39, 0.96) 100%
    );
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
}

.card-tour__title {
    font-size: var(--text-4xl);
    font-weight: var(--fw-extralight);
    color: var(--brandOrange1);
    text-align: center;
    line-height: 1.2;
    width: 34rem;
    padding: 0 1rem;
}

.card-tour__duration {
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: center;
}

.card-tour__duration-line {
    width: 5rem;
    height: 1px;
    background-color: #ffffff;
}

.card-tour__duration-text {
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    color: #ffffff;
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Botón "Ver Itinerario" que sobresale de la card */
.card-tour__btn {
    position: absolute;
    bottom: -2.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    white-space: nowrap;
}

/* Contenedor de cards para dar espacio al botón flotante */
.tours-grid-wrapper {
    padding-bottom: 6rem;
    justify-content: space-between;
}

/* Badge oferta */
.card-tour__badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 3;
    background-color: var(--brandOrange1);
    color: #ffffff;
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    padding: 0.4rem 1.2rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Badge precio "desde USD" */
.card-tour__price {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 3;
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    background: rgba(2, 31, 65, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: var(--radius-md);
    padding: 1rem 1.8rem;
    box-shadow: var(--shadow-sm);
}

.card-tour__price-row {
    display: flex;
    align-items: end;
    gap: 0.3rem;
    /* margin-bottom: 0.2rem; */
    flex-direction: column;
}

.card-tour__price-label {
    font-size: .8rem;
    font-weight: var(--fw-light);
    color: var(--generalSoftWhite);
    text-transform: uppercase;
    line-height: 1; /* Elimina el espacio de la línea */
    margin-bottom: -0.2em;
}

.card-tour__price-currency {
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold);
    color: var(--generalSoftWhite);
    line-height: 1; /* Elimina el espacio de la línea */
    margin-bottom: -0.2em;
}

.card-tour__price-amount {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--generalSoftWhite);
    line-height: 1;
}

/* =====================
   Experiences Section (Más que tours)
===================== */
.experiences-section {
    padding-inline: var(--container-padding);
    padding-block: var(--space-3xl) var(--space-4xl);
}

/*
 * Layout Figma 4622-823:
 *   col izquierda (0–52%): fondo bg-deco, features abajo
 *   col derecha  (48–100%): imagen portrait arriba + card blanca solapando abajo
 *
 * min-height = imagen (60rem) + solapamiento card (~18rem) + features gap
 */
.experiences-section__layout {
    position: relative;
    min-height: 90rem;
}

/* Imagen portrait — derecha, arriba */
.experiences-section__image {
    position: absolute;
    top: 0;
    right: 12rem;
    width: 48rem;
    height: 60rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 28px -6px rgba(24,39,75,.12), 0 18px 88px -4px rgba(24,39,75,.14);
    z-index: 2;
}

.experiences-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Card blanca — derecha, solapa imagen por abajo */
.experiences-section__card {
    position: absolute;
    bottom: 0rem;
    right: 0;
    width: 51.2rem;
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 6rem 5rem;
    box-shadow: 0 8px 14px rgba(24,39,75,.12), 0 18px 44px rgba(24,39,75,.14);
    display: flex;
    flex-direction: column;
    /* gap: 2.3rem; */
    z-index: 3;
}

.experiences-section__subtitle {
    font-size: 1.6rem;
    font-weight: var(--fw-regular);
    color: var(--brandOrange1);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.experiences-section__title {
    font-size: 4rem;
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.experiences-section__text {
    font-size: 1.7rem;
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    line-height: 2.4rem;
    margin-bottom: 2.8rem;
    /* max-width: 38rem; */
}

/* Features (3 íconos) — izquierda, alineadas verticalmente al centro de la imagen */
.experiences-features {
    position: absolute;
    bottom: 0;
    left: 0;
    /* width: 44%; */
    display: flex;
    gap: 5rem;
    align-items: flex-start;
    padding-bottom: 7rem;
    z-index: 2;
}

.experiences-feature {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 16rem;
    flex-shrink: 0;
}

.experiences-feature__icon {
    width: 7.2rem;
    height: 7.2rem;
    color: var(--brandOrange1);
    flex-shrink: 0;
}

.experiences-feature__icon svg {
    width: 100%;
    height: 100%;
}

.experiences-feature__title {
    font-size: 2.2rem;
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
    line-height: 1.3;
}

/* =====================
   Blog / Posts
===================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.post-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal);
}

.post-card:hover {
    box-shadow: var(--shadow-md);
}

.post-card__thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.post-card__body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-card__title {
    font-size: var(--text-xl);
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    line-height: 1.3;
}

.post-card__title a {
    color: inherit;
    transition: color var(--transition-fast);
}

.post-card__title a:hover {
    color: var(--brandOrange1);
}

.post-card__excerpt {
    font-size: var(--text-base);
    font-weight: var(--fw-regular);
    color: #666;
    line-height: 1.6;
}

/* Single Post */
.single-post__header {
    margin-bottom: 3rem;
}

.single-post__meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: var(--text-sm);
    color: #888;
    margin-bottom: 1.2rem;
}

.single-post__meta a {
    color: var(--brandOrange1);
    transition: color var(--transition-fast);
}

.single-post__meta a:hover {
    color: var(--brandBrown1);
}

.single-post__date {
    font-weight: var(--fw-medium);
}

.single-post__title {
    font-size: 4rem;
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
    line-height: 1.1;
}

.single-post__featured {
    margin-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.single-post__img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post__content {
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
    color: var(--brandDarkBlue1);
    line-height: 1.8;
    max-width: 72rem;
}

.single-post__content h2 {
    font-size: 2.8rem;
    font-weight: var(--fw-bold);
    margin-block: 2.4rem 1.2rem;
    color: var(--brandDarkBlue1);
}

.single-post__content h3 {
    font-size: 2.2rem;
    font-weight: var(--fw-semibold);
    margin-block: 2rem 1rem;
    color: var(--brandDarkBlue1);
}

.single-post__content p {
    margin-bottom: 1.6rem;
}

.single-post__content img {
    border-radius: var(--radius-sm);
    margin-block: 2rem;
}

.single-post__tags {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    font-size: var(--text-sm);
    color: #888;
}

.single-post__tag {
    display: inline-flex;
    padding: 0.3rem 1rem;
    background: var(--generalSoftWhite);
    border-radius: var(--radius-full);
    color: var(--brandDarkBlue1);
    font-size: var(--text-sm);
    transition:
        background-color var(--transition-fast),
        color var(--transition-fast);
}

.single-post__tag:hover {
    background: var(--brandDarkBlue1);
    color: #ffffff;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2.4rem;
    border-top: 1px solid #e0e0e0;
}

.post-navigation__prev,
.post-navigation__next {
    font-size: var(--text-md);
    font-weight: var(--fw-medium);
}

.post-navigation__prev a,
.post-navigation__next a {
    color: var(--brandDarkBlue1);
    transition: color var(--transition-fast);
}

.post-navigation__prev a:hover,
.post-navigation__next a:hover {
    color: var(--brandOrange1);
}

/* =====================
   Pagination
===================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding-block: 4rem;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.6rem;
    height: 3.6rem;
    padding: 0 1rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-md);
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
    text-decoration: none;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    transition: all var(--transition-fast);
}

.pagination .page-numbers.current {
    background: var(--brandDarkBlue1);
    color: #ffffff;
    border-color: var(--brandDarkBlue1);
}

.pagination .page-numbers:hover:not(.current):not(.dots) {
    border-color: var(--brandDarkBlue1);
    background: var(--generalSoftWhite);
}

/* =====================
   Banner Slider (taxonomy)
===================== */
.banner-slider {
    position: relative;
    overflow: hidden;
}

.banner-slider__track {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-slider__slide {
    flex: 0 0 100%;
    position: relative;
}

.banner-slider__text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.banner-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background-color var(--transition-fast);
    color: var(--brandDarkBlue1);
}

.banner-slider__btn:hover {
    background: #ffffff;
}

.banner-slider__btn--prev {
    left: 1.6rem;
}

.banner-slider__btn--next {
    right: 1.6rem;
}

.banner-slider__dots {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.banner-slider__dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
}

.banner-slider__dot--active {
    background: #ffffff;
    transform: scale(1.25);
}

/* =====================
   Not Found / 404
===================== */
.error-404 {
    text-align: center;
    padding-block: 8rem;
}

.error-404__title {
    font-size: 8rem;
    font-weight: var(--fw-black);
    color: var(--brandOrange1);
    line-height: 1;
}

.error-404__subtitle {
    font-size: 2.4rem;
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
    margin-block: 1.6rem;
}

/* =====================
   Testimonials Section
===================== */
.testimonials-section {
    /* padding-inline: var(--container-padding); */
    padding-block: var(--space-4xl);
}

.testimonials-section__header {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-bottom: 5rem;
}

.testimonials-grid {
    display: flex;
    gap: 3rem;
    align-items: flex-end;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Escalonado: 1ª y 3ª bajadas respecto a la 2ª (center) */
.testimonials-grid .card-testimonial:nth-child(1) {
    /* margin-bottom: 5rem; */
}

.testimonials-grid .card-testimonial:nth-child(2) {
    margin-bottom: 0;
}

.testimonials-grid .card-testimonial:nth-child(3) {
    /* margin-bottom: 3rem; */
}

.card-testimonial {
    width: 37.1rem;
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 5rem 3.4rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 2.3rem;
    align-items: center;
    text-align: center;
}

.card-testimonial__header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-testimonial__title {
    font-size: var(--text-lg);
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    width: 27rem;
}

.card-testimonial__stars {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1rem;
}

.card-testimonial__stars svg {
    width: 2.4rem;
    height: 2.4rem;
    fill: var(--brandOrange1);
    color: var(--brandOrange1);
}

.card-testimonial__date {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
}

.card-testimonial__quote {
    font-size: var(--text-lg);
    font-weight: var(--fw-light);
    font-style: italic;
    color: var(--brandDarkBlue1);
    line-height: 1.5;
}

.card-testimonial__author {
    font-size: var(--text-lg);
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
}

/* =====================
   Footer
===================== */
.site-footer {
    /* margin-inline: var(--container-padding); */
    background: var(--brandDark1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 3rem;
}

.footer__map {
    position: relative;
    width: 100%;
    height: 42rem;
    overflow: hidden;
    border-top-left-radius: var(--radius-xl);
    border-top-right-radius: var(--radius-xl);
    background-color: #c8d6e5; /* fallback color si no carga mapa */
}

.footer__map img {
    position: absolute;
    width: 100%;
    height: 115%;
    top: -10%;
    object-fit: cover;
    object-position: center center;
}

/* Si hay iframe de Google Maps en el footer */
.footer__map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Si no hay mapa, muestra un placeholder elegante */
.footer__map:empty::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #b8cfe0 0%, #8da9c4 50%, #5f7f99 100%);
}

.footer__info {
    background-color: var(--brandDark1);
    display: flex;
    gap: 4rem;
    justify-content: space-between;
    padding: 8rem 2rem;
    flex-wrap: wrap;
}

.footer__logo-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 18.4rem;
}

.footer__logo {
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .4rem;
    overflow: hidden;
}

.footer__logo .custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.footer__logo .custom-logo-link img,
.footer__logo .custom-logo-link .custom-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer__col {
    display: flex;
    flex-direction: column;
    /* gap: 1.5rem; */
    width: 27rem;
}
.footer__col > div:not(:first-child) {
    margin-bottom: 1.2rem;
}

.footer__col--wide {
    width: 31rem;
}

/* Widget wrappers — quitar márgenes por defecto */
.footer__col .widget,
.footer__col--wide .widget,
.footer__logo-col .widget {
    margin: 0;
    padding: 0;
}

/* Título de columna — h3 de widgets + clase manual */
.footer__col-title,
.footer__col h3,
.footer__col--wide h3,
.footer__col .wp-block-heading,
.footer__col--wide .wp-block-heading {
    font-size: var(--text-2xl);
    font-weight: var(--fw-medium);
    color: var(--brandOrange1);
    line-height: 1.3;
    margin: 0 0 1.5rem;
}

/* Menús nav_menu widget: ul.menu */
.footer__menu,
.footer__col .menu,
.footer__col--wide .menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Items de menú */
.footer__menu-item,
.footer__col .menu li,
.footer__col--wide .menu li {
    padding-bottom: 0.5rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid #4b5b6f;
}

.footer__col .menu li:last-child,
.footer__col--wide .menu li:last-child {
    margin-bottom: 0;
}

.footer__menu-item a,
.footer__col .menu li a,
.footer__col--wide .menu li a {
    font-size: var(--text-md);
    font-weight: var(--fw-light);
    color: var(--generalSoftWhite);
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1.4;
    display: block;
}

.footer__menu-item a:hover,
.footer__col .menu li a:hover,
.footer__col--wide .menu li a:hover {
    color: var(--brandOrange1);
}

/* Párrafos de contact (widget_text) */
.footer__col--wide .widget_text p,
.footer__col--wide .widget p {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: var(--text-md);
    font-weight: var(--fw-light);
    color: var(--generalSoftWhite);
    line-height: 1.4;
    margin: 0 0 1.2rem;
}

.footer__col--wide .widget_text p:last-child,
.footer__col--wide .widget p:last-child {
    margin-bottom: 0;
}

.footer__col--wide .widget_text p a,
.footer__col--wide .widget p a {
    color: var(--generalSoftWhite);
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.footer__col--wide .widget_text p a:hover,
.footer__col--wide .widget p a:hover {
    color: var(--brandOrange1);
}

/* SVG/img íconos inline en párrafos de contact */
.footer__col--wide .widget_text p img,
.footer__col--wide .widget p img {
    width: 2.4rem !important;
    height: 2.4rem !important;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Último widget del col--wide = redes sociales */
.footer__col--wide .widget:last-child p {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 0.5rem 0 0;
    align-items: center;
}

.footer__col--wide .widget:last-child p img {
    width: 2.4rem !important;
    height: 2.4rem !important;
    margin: 0;
}

.footer__col--wide .widget:last-child p a {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.footer__col--wide .widget:last-child p a:hover {
    opacity: 0.75;
}

/* Logo col */
.footer__logo-col .wp-block-image img,
.footer__logo-col .widget_media_image img {
    width: 17rem;
    height: 17rem;
    object-fit: contain;
    display: block;
}

/* Íconos de pago (visa/master/amex) */
.footer__logo-col .widget_text p,
.footer__logo-col .widget p {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 0;
}

.footer__logo-col .widget_text p img,
.footer__logo-col .widget p img {
    width: auto !important;
    max-width: 5rem;
    height: 2.4rem !important;
    object-fit: contain;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 0.5rem;
}

.footer__contact-item svg {
    width: 2.4rem;
    height: 2.4rem;
    color: var(--generalSoftWhite);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer__contact-item span {
    font-size: var(--text-lg);
    font-weight: var(--fw-light);
    color: var(--generalSoftWhite);
    line-height: 1.4;
}

.footer__social {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-top: 0.5rem;
}

.footer__social a {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--generalSoftWhite);
    transition: color var(--transition-fast);
}

.footer__social a:hover {
    color: var(--brandOrange1);
}

.footer__social svg {
    width: 2.4rem;
    height: 2.4rem;
}

.footer__copyright {
    background-color: #000000;
    border-bottom-left-radius: var(--radius-xl);
    border-bottom-right-radius: var(--radius-xl);
    height: 8rem;
    display: flex;
    align-items: center;
    padding-inline: 6rem;
}

.footer__copyright p {
    font-size: var(--text-base);
    font-weight: var(--fw-light);
    color: #5f6c7b;
}

/* =====================
   Fondos decorativos
===================== */

/* home-top-bg.png: fondo cielo/nubes detrás del área header+hero en home */
body {
    background-image: url("../images/home-top-bg.png");
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
}

main {
    position: relative;
    z-index: 1;
}

/* Fondo decorativo sección tours */
.tours-section--bg-deco {
    position: relative;
    padding-bottom: var(--space-4xl);
}

.tours-section--bg-deco::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/section-bg-tours.webp");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
    bottom: -70%;
}

.tours-section--bg-deco > * {
    position: relative;
    z-index: 1;
}

/* Fondo decorativo sección experiences */
.experiences-section--bg-deco {
    position: relative;
}

.experiences-section--bg-deco::before {
    content: "";
    position: absolute;
    top: -10rem;
    left: 0;
    /* inset: 0; */
    width: 100vw;
    height: 100%;
    background-image: url("../images/presentations-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
    /* opacity: 0.15; */
}

.experiences-section--bg-deco > * {
    position: relative;
    z-index: 1;
}

/* =====================
   Package Tours Section (fondo blanco, margen)
===================== */
.tours-section--packages {
    /* background: #ffffff; */
    /* border-radius: var(--radius-xl); */
    /* margin-inline: var(--container-padding); */
    /* padding-inline: var(--space-2xl); */
    /* box-shadow: var(--shadow-md); */
}


/* =====================
   Tour Card (taxonomy / recommended — versión compacta)
===================== */
.tour-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.tour-card__img-wrap {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.tour-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.tour-card__img-wrap:hover .tour-card__img {
    transform: scale(1.05);
}

.tour-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 2rem;
    flex: 1;
}

.tour-card__title {
    font-size: var(--text-xl);
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    line-height: 1.3;
}

.tour-card__title a {
    color: inherit;
    transition: color var(--transition-fast);
}

.tour-card__title a:hover {
    color: var(--brandOrange1);
}

.tour-card__subtitle {
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tour-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.6rem;
    border-top: 1px solid #f0f0f0;
}

.tour-card__price {
    font-size: var(--text-md);
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
}

.tour-card__price-amount {
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
}

.tour-card__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.6rem;
    background: var(--brandOrange1);
    color: #ffffff;
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    text-decoration: none;
    transition: background-color var(--transition-fast);
}

.tour-card__cta:hover {
    background: var(--brandBrown1);
    color: #ffffff;
}

/* =====================
   Generic Page
===================== */
.entry-title {
    font-size: 4rem;
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
    line-height: 1.1;
    margin-bottom: 2.4rem;
}

.entry-content {
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
    color: var(--brandDarkBlue1);
    line-height: 1.8;
}

.entry-content h2 {
    font-size: 2.8rem;
    font-weight: var(--fw-bold);
    margin-block: 2.4rem 1.2rem;
}

.entry-content h3 {
    font-size: 2.2rem;
    font-weight: var(--fw-semibold);
    margin-block: 2rem 1rem;
}

.entry-content p {
    margin-bottom: 1.6rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.6rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.6rem;
}

.entry-content img {
    border-radius: var(--radius-sm);
    margin-block: 2rem;
    max-width: 100%;
    height: auto;
}
.info_header .widget_polylang {
    border-color: rgba(2, 31, 65, 0.4);
}

/* En header transparente (home) */
.site-header--transparent .info_header .widget_polylang,
.site-header--transparent .header__lang {
    border-color: rgba(255, 255, 255, 0.6);
}

.site-header--transparent .info_header .widget_polylang ul li a {
    border-left: none;
    padding: 0;
}

/* =====================
   Breadcrumbs
===================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-block: 1.6rem;
    /* padding-inline: var(--container-padding); */
    font-size: var(--text-base);
    font-weight: var(--fw-regular);
    color: var(--brandDarkBlue1);
    flex-wrap: wrap;
    /* margin-inline: var(--container-padding); */
}

.breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brandDarkBlue1);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--brandOrange1);
}

.breadcrumb__sep {
    color: #909cab;
    font-size: 1.2rem;
}

.breadcrumb__current {
    color: var(--brandOrange1);
}

/* =====================
   Archive Tour Page
===================== */
.archive-header {
    /* padding-inline: var(--container-padding); */
    /* padding-top: 9rem; */
    padding-bottom: 2rem;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.archive-header__mini {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-md);
    font-weight: var(--fw-medium);
    color: var(--brandOrange1);
    margin-bottom: 1rem;
}

.archive-header__title {
    font-size: 4.4rem;
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
    line-height: 1.1;
    text-transform: uppercase;
}

.archive-header__desc {
    font-size: var(--text-lg);
    font-weight: var(--fw-regular);
    color: #666;
    margin-top: 1rem;
    max-width: 60rem;
}

.archive-tour-layout {
    display: grid;
    grid-template-columns: 27rem 1fr;
    gap: 3rem;
    /* padding-inline: var(--container-padding); */
    padding-bottom: var(--space-4xl);
    align-items: start;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Sidebar de filtros */
.tour-filters {
    position: sticky;
    top: 2rem;
    border-radius: 64px;
    background: #FFF;
    box-shadow: 0 8px 28px -6px rgba(24, 39, 75, 0.12), 0 18px 88px -4px rgba(24, 39, 75, 0.14);
    padding: 3rem;
}

.tour-filter-group {
    padding: 2rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.tour-filter-group:last-child {
    border-bottom: none;
}

.tour-filter__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-lg);
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
    cursor: pointer;
    user-select: none;
    padding-bottom: 1rem;
}

.tour-filter__title svg {
    width: 2.4rem;
    height: 2.4rem;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.tour-filter-group.is-open .tour-filter__title svg {
    transform: rotate(180deg);
}

.tour-filter__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* padding-top: 0.8rem; */
}

/* El atributo [hidden] debe ganar al display:flex de arriba */
.tour-filter__list[hidden] {
    display: none;
}

.tour-filter__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
    color: var(--brandDarkBlue1);
    a {
        line-height: 1.2;
        svg {
            width: 1.4rem;
            height: 1.4rem;
            min-width: 1.4rem;
            flex-shrink: 0;
        }
    }
}

.tour-filter__item input[type="checkbox"] {
    width: 1.4rem;
    height: 1.4rem;
    accent-color: var(--brandOrange1);
    cursor: pointer;
    flex-shrink: 0;
}

.tour-filter__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 0.6rem;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    border: 1px solid #7D808B;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: var(--fw-regular);
    color: #7D808B;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tour-filter__clear:hover {
    background: var(--brandDarkBlue1);
    color: #ffffff;
}

.tour-filter__clear svg {
    width: 1.6rem;
    height: 1.6rem;
}

/* Aplicar filtros button */
.tour-filter__apply {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: var(--brandDarkBlue1);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: background-color var(--transition-fast);
    width: 100%;
    justify-content: center;
}
.tour-filter__apply:hover {
    background: var(--brandDark1);
}
.tour-filter__apply svg {
    width: 1.6rem;
    height: 1.6rem;
}

/* Archive zone (right side) */
.archive-tours-zone {
    /* Permite que el grid hijo se encoja en vez de desbordar el layout. */
    min-width: 0;
}

/* Empty state */
.archive-tours-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    padding: 6rem 2rem;
    text-align: center;
    color: #888;
}
.archive-tours-empty svg {
    color: #ccc;
}
.archive-tours-empty p {
    font-size: var(--text-lg);
}

/* Grid de cards en archivo */
.archive-tours-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7rem 2rem;
    padding-bottom: 4rem;
    box-sizing: border-box;
    width: 100%;
}

/* Cards más compactas en archive/category/destino.
   Ancho relativo: la columna del grid manda; la card se adapta sin desbordar. */
.archive-tours-zone .card-tour {
    width: 100%;
    max-width: 100%;
    height: 40rem;
}

.archive-tours-zone .card-tour__price {
    top: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.2rem 0.5rem;
    gap: .5rem;
}

.archive-tours-zone .card-tour__price-amount {
    font-size: 2.8rem;
    line-height: 1;
}

.archive-tours-zone .card-tour__title {
    font-size: 2rem;
    font-weight: 300;
    width: fit-content;
}

.archive-tours-zone .card-tour__gradient {
    padding: 6rem 1.6rem 4rem;
}

.archive-tours-zone .card-tour__btn {
    bottom: -1.8rem;
    .btn--itinerary {
        font-weight: var(--fw-regular);
        padding: 1rem 1.8rem;
        svg {
            width: 2rem;
            height: 2rem;
        }
    }
}
/* =====================
   Single Tour Page
===================== */
.single-tour-page {
    /* padding-top: 9rem; */
}

/* ---- Encabezado - Itinerario (card glass) ---- */
.single-tour-hero {
    margin-inline: var(--container-padding);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto 4rem;
}

.single-tour-hero__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.single-tour-hero__title-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.single-tour-hero__mini {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--text-md);
    font-weight: var(--fw-medium);
    color: var(--brandOrange1);
    text-transform: lowercase;
}

.single-tour-hero__mini svg {
    width: 2.4rem;
    height: 2.4rem;
    color: var(--brandOrange1);
}

.single-tour-hero__title {
    font-size: 4.4rem;
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
    line-height: 1.1;
}

.single-tour-hero__share {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.7rem 1.6rem;
    border: 1px solid #7d808b;
    border-radius: var(--radius-md);
    font-size: var(--text-base);
    font-weight: var(--fw-regular);
    color: #7d808b;
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    flex-shrink: 0;
}

.single-tour-hero__share:hover {
    background: var(--brandDarkBlue1);
    color: #ffffff;
    border-color: var(--brandDarkBlue1);
}

.single-tour-hero__share svg {
    width: 1.6rem;
    height: 1.6rem;
}

/* ---- Gallery Banner ---- */
.tour-gallery-banner {
    display: grid;
    grid-template-columns: 65rem 1fr;
    grid-template-rows: 39.5rem;
    gap: 1.5rem;
}

.tour-gallery-banner__main {
    border-radius: 5.2rem 1.5rem 1.5rem 5.2rem;
    overflow: hidden;
    min-height: 0;
}

.tour-gallery-banner__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-gallery-banner__thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    min-height: 0;
}

.tour-gallery-banner__thumb {
    overflow: hidden;
}

.tour-gallery-banner__thumb--1 {
    border-radius: 1.5rem;
}
.tour-gallery-banner__thumb--2 {
    border-radius: 1.5rem 5.2rem 1.5rem 1.5rem;
}
.tour-gallery-banner__thumb--3 {
    border-radius: 1.5rem;
}
.tour-gallery-banner__thumb--4 {
    border-radius: 1.5rem 1.5rem 5.2rem 1.5rem;
}

.tour-gallery-banner__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-gallery-banner__placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}

/* ---- Galería: botones clicleables ---- */
.tour-gallery-banner__open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    margin: 0;
    background: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tour-gallery-banner__open img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease, filter 0.3s ease;
}

.tour-gallery-banner__open:hover img,
.tour-gallery-banner__open:focus-visible img {
    transform: scale(1.05);
}

.tour-gallery-banner__open:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: -3px;
}

/* Overlay "+N" en la última miniatura visible */
.tour-gallery-banner__open--more img {
    filter: brightness(0.55);
}

.tour-gallery-banner__more {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}

.tour-gallery-banner__more-num {
    font-size: 2.4rem;
    line-height: 1;
}

/* ---- Lightbox de galería ---- */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 10, 18, 0.92);
    cursor: zoom-out;
}

.gallery-lightbox__stage {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.gallery-lightbox__img {
    max-width: 92vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 1.2rem;
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.5);
}

.gallery-lightbox__counter {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.gallery-lightbox__close {
    top: 2rem;
    right: 2rem;
    width: 4.8rem;
    height: 4.8rem;
}

.gallery-lightbox__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 5.6rem;
    height: 5.6rem;
}

.gallery-lightbox__nav:hover {
    transform: translateY(-50%) scale(1.08);
}

.gallery-lightbox__nav--prev {
    left: 2rem;
}

.gallery-lightbox__nav--next {
    right: 2rem;
}

@media (max-width: 600px) {
    .gallery-lightbox__nav {
        width: 4.4rem;
        height: 4.4rem;
    }
    .gallery-lightbox__nav--prev {
        left: 0.8rem;
    }
    .gallery-lightbox__nav--next {
        right: 0.8rem;
    }
    .gallery-lightbox__close {
        top: 1rem;
        right: 1rem;
    }
}

/* ---- Main Layout (content + sidebar) ---- */
.single-tour-main-layout {
    display: grid;
    grid-template-columns: 1fr 38.5rem;
    gap: 3rem;
    /* padding-inline: var(--container-padding); */
    padding-bottom: var(--space-4xl);
    align-items: start;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Left column */
.single-tour-main {
    display: flex;
    flex-direction: column;
}

/* ---- Divider horizontal ---- */
.tour-divider {
    height: 1px;
    background: #d6d7db;
    margin-block: 3rem;
}

/* ---- Section icon titles ---- */
.tour-section-icon-title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 2.7rem;
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    line-height: 2.8rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
}

.tour-section-icon-title svg {
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
}

/* ---- Resumen (white card) — legacy, keep for back-compat ---- */
.tour-resumen {
    font-size: var(--text-md);
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    line-height: 1.7;
    padding: 5rem 3.5rem;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* ---- Intro card: tagline + descripción en un solo cuadro blanco ---- */
.tour-intro-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 5rem 3.5rem;
    margin-bottom: 3rem;
}

.tour-intro-card__tagline {
    font-size: var(--text-lg);
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    margin: 0 0 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e8eaed;
}

/* Párrafos dentro del tour-intro-body: sin cuadro propio, espaciado normal */
.tour-intro-body {
    font-size: var(--text-md);
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    line-height: 1.7;
}

.tour-intro-body p,
.tour-intro-body .wp-block-paragraph {
    margin: 0 0 1.5rem;
}

.tour-intro-body p:last-child,
.tour-intro-body .wp-block-paragraph:last-child {
    margin-bottom: 0;
}

/* ---- Itinerary Card (accordion) ---- */
.itinerary-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 3rem;
}

.itinerary-card__header {
    padding: 0;
}

.itinerary-card__trigger {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.6rem;
    width: 100%;
    padding: 5rem 3rem 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
}

.itinerary-card__trigger-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.itinerary-card__icon-route {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    margin-top: 0.3rem;
    color: var(--brandDarkBlue1);
}

.itinerary-card__trigger-text {
    font-size: var(--text-xl);
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
    line-height: 1.4;
    flex: 1;
}

.itinerary-card__icon-toggle {
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
    color: var(--brandDarkBlue1);
    transition: transform var(--transition-fast);
    margin-top: 0.2rem;
}

.itinerary-card__trigger--open .itinerary-card__icon-toggle {
    transform: rotate(45deg);
}

.itinerary-card__content {
    display: none;
    padding: 0 3rem 5rem;
    font-size: var(--text-md);
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    line-height: 1.7;
}

.itinerary-card__content--open {
    display: block;
}

/* ---- Includes Grid (Incluye / No Incluye) ---- */
.tour-includes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.tour-includes-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.tour-includes-card--yes {
    border: 1px solid #b1ffe1;
}

.tour-includes-card--no {
    border: 1px solid #ffd7d7;
}

.tour-includes-card__icon-row {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.tour-includes-card--yes .tour-includes-card__icon-row svg {
    color: #07d787;
}

.tour-includes-card--yes .tour-includes-card__title {
    font-size: var(--text-xl);
    font-weight: var(--fw-medium);
    color: #07d787;
}

.tour-includes-card--no .tour-includes-card__icon-row svg {
    color: #f54949;
}

.tour-includes-card--no .tour-includes-card__title {
    font-size: var(--text-xl);
    font-weight: var(--fw-medium);
    color: #f54949;
}

.tour-includes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tour-includes-item {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
    color: var(--brandDarkBlue1);
    line-height: 1.5;
}

.tour-includes-item svg {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.tour-includes-card--yes .tour-includes-item svg {
    color: #07d787;
}

.tour-includes-card--no .tour-includes-item svg {
    color: #f54949;
}

/* ---- Recommendations ---- */
.tour-recommendations {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 5rem 3rem;
}

.tour-recommendations-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.tour-recommendations-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
    color: var(--brandDarkBlue1);
    line-height: 1.5;
}

.tour-recommendations-item svg {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    color: var(--brandOrange1);
    margin-top: 0.2rem;
}

/* ============================================================
   CONTENIDO DEL EDITOR (bloques core estilizados al look Figma)
   El contenido del tour se escribe con bloques Gutenberg core
   (heading + img icon, accordion, columns, list) dentro de
   .single-tour-content. Aquí los re-estilizamos para que
   coincidan con el diseño de itinerario.
============================================================ */

.single-tour-content {
    display: flex;
    flex-direction: column;
}

/* Párrafo introductorio → tarjeta resumen blanca */
.single-tour-content > p:first-child,
.single-tour-content > .wp-block-paragraph:first-child {
    font-size: var(--text-md);
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    line-height: 1.7;
    padding: 5rem 3.5rem;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

/* ---- Títulos de sección (h2 con icono <img>) → look tour-section-icon-title ---- */
.single-tour-content > h2.wp-block-heading,
.single-tour-content > .wp-block-heading h2 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 2.7rem;
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    line-height: 1.1;
    text-transform: uppercase;
    margin-block: 4rem 3rem;
}

.single-tour-content > h2.wp-block-heading:first-child {
    margin-top: 0;
}

/* Icono SVG embebido en los títulos (corrige width:NaNpx del generador) */
.single-tour-content h2.wp-block-heading img,
.single-tour-content h3.wp-block-heading img {
    width: 2.4rem !important;
    height: 2.4rem;
    object-fit: contain;
    flex-shrink: 0;
    vertical-align: middle;
    margin: 0;
    display: inline-block;
}

/* ---- Acordeón (core) → look itinerary-card ---- */
.single-tour-content .wp-block-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.single-tour-content .wp-block-accordion-item {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: none;
}

.single-tour-content .wp-block-accordion-heading {
    margin: 0;
}

.single-tour-content .wp-block-accordion-heading__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    width: 100%;
    padding: 3rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-primary);
}

.single-tour-content .wp-block-accordion-heading__toggle-title {
    font-size: var(--text-xl);
    font-weight: var(--fw-semibold);
    color: var(
    --brandDarkBlue1);
    line-height: 1.4;
    flex: 1;
}

.single-tour-content .wp-block-accordion-heading__toggle-icon {
    font-size: 3rem;
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    line-height: 1;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.single-tour-content .wp-block-accordion-panel {
    padding: 0 3rem 3rem;
    font-size: var(--text-md);
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    line-height: 1.7;
}

.single-tour-content .wp-block-accordion-panel p {
    margin-bottom: 1rem;
}

/* ---- Columnas (core) → look tour-includes-grid ---- */
.single-tour-content .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Si sólo hay una columna (ej. Recomendaciones), ocupa todo el ancho */
.single-tour-content .wp-block-columns:has(> .wp-block-column:only-child) {
    grid-template-columns: 1fr;
}

.single-tour-content .wp-block-column {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 5rem 3rem;
    height: fit-content;
}

/* Títulos h3 dentro de columnas (Incluye / No Incluye / Recomendaciones) */
.single-tour-content .wp-block-column h3.wp-block-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-xl);
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
    margin-bottom: 1.5rem;
    text-transform: none;
}

/* Color-coding por orden: 1ª columna = Incluye (verde), 2ª = No Incluye (rojo) */
.single-tour-content .wp-block-columns > .wp-block-column:nth-child(1):not(:only-child) {
    border: 1px solid #b1ffe1;
}
.single-tour-content .wp-block-columns > .wp-block-column:nth-child(1):not(:only-child) h3.wp-block-heading {
    color: #07d787;
}
.single-tour-content .wp-block-columns > .wp-block-column:nth-child(2) {
    border: 1px solid #ffd7d7;
}
.single-tour-content .wp-block-columns > .wp-block-column:nth-child(2) h3.wp-block-heading {
    color: #f54949;
}

/* ---- Listas (core) → bullets con icono check/x ---- */
.single-tour-content .wp-block-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-tour-content .wp-block-list li {
    position: relative;
    padding-left: 2.8rem;
    font-size: var(--text-md);
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    line-height: 1.5;
}

.single-tour-content .wp-block-list li::before {
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
}

/* Check verde en la 1ª columna (Incluye) */
.single-tour-content .wp-block-columns > .wp-block-column:nth-child(1):not(:only-child) .wp-block-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2307d787' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* X roja en la 2ª columna (No Incluye) */
.single-tour-content .wp-block-columns > .wp-block-column:nth-child(2) .wp-block-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f54949' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

/* Flecha naranja en columnas únicas (Recomendaciones) y listas sueltas */
.single-tour-content .wp-block-columns > .wp-block-column:only-child .wp-block-list li::before,
.single-tour-content > .wp-block-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 8 8 12 12 16'/%3E%3Cline x1='16' y1='12' x2='8' y2='12'/%3E%3C/svg%3E");
}

/* Separador entre secciones del contenido */
.single-tour-content > h2.wp-block-heading:not(:first-child)::after {
    content: none;
}

/* ---- Sidebar ---- */
.single-tour-sidebar {
    position: sticky;
    top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* ---- Booking Card ---- */
.tour-booking-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 3.5rem 3rem;
    border: 1px solid #d6d7db;
}

.tour-booking-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 1rem; */
    margin-bottom: 0.8rem;
}

.tour-booking-card__subtitle {
    font-size: var(--text-md);
    font-weight: var(--fw-regular);
    color: var(--brandOrange1);
}

.tour-booking-card__title {
    font-size: 2.7rem;
    font-weight: var(--fw-semibold);
    color: var(--brandOrange1);
    line-height: 1.2;
    text-transform: uppercase;
}

.tour-booking-card__price-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tour-booking-card__price-label {
    font-size: var(--text-sm);
    font-weight: var(--fw-light);
    color: var(--brandDark1);
}

.tour-booking-card__price {
    font-size: 4rem;
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.tour-booking-card__price-note {
    font-size: var(--text-sm);
    font-weight: var(--fw-regular);
    color: var(--brandDark1);
    margin-bottom: 0;
}

.tour-booking-card__divider {
    height: 1px;
    background: #d6d7db;
    margin-block: 2.5rem;
}

.tour-booking-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.6rem;
    border-radius: var(--radius-md);
    font-family: var(--font-family, inherit);
    font-size: var(--text-md);
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-decoration: none;
}

.tour-booking-btn--whatsapp {
    background-color: #25d366;
    color: #ffffff;
    margin-bottom: 0.8rem;
}

.tour-booking-btn--whatsapp:hover {
    background-color: #1da851;
    color: #ffffff;
}

.tour-booking-btn--form {
    background-color: var(--brandDarkBlue1);
    color: #ffffff;
}

.tour-booking-btn--form:hover {
    background-color: var(--brandDark1);
    color: #ffffff;
}

.tour-booking-btn svg {
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
}

.tour-booking-btn__desc {
    font-size: var(--text-sm);
    font-weight: var(--fw-light);
    color: #666;
    line-height: 1.4;
    margin-top: 0.6rem;
    margin-bottom: 1.6rem;
}

.tour-booking-btn__desc:last-child {
    margin-bottom: 0;
}

.tour-booking-card__payment {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.tour-booking-card__payment-label {
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    color: var(--brandDark1);
}

.tour-booking-card__payment-logos {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* ---- Booking Info (below booking card) ---- */
.tour-booking-info {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tour-booking-info__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.tour-booking-info__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tour-booking-info__icon--green {
    background: #07d787;
    color: #ffffff;
}

.tour-booking-info__text strong {
    display: block;
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    color: var(--brandDark1);
    margin-bottom: 0.4rem;
}

.tour-booking-info__text p {
    font-size: var(--text-sm);
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    line-height: 1.4;
}

.tour-booking-info__divider {
    height: 1px;
    background: #d6d7db;
}

/* =====================
   Tour FAQ — "¿Te quedaron dudas?"
   Mismo look que las secciones del contenido (.single-tour-content):
   título uppercase con icono + tarjeta blanca con sombra.
===================== */

.tour-faq {
    margin-top: 4rem;
}

/* Título de sección, igual a los h2 del contenido */
.tour-faq__title {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 2.7rem;
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0 0 3rem;
}

.tour-faq__title-icon {
    width: 2.6rem;
    height: 2.6rem;
    flex-shrink: 0;
    color: var(--brandDarkBlue1);
}

/* Tarjeta blanca contenedora */
.tour-faq__list {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem 3.5rem;
}

.tour-faq__item {
    border-bottom: 1px solid #e3e5ea;
}

.tour-faq__item:last-child {
    border-bottom: none;
}

.tour-faq__q-wrap {
    margin: 0;
}

.tour-faq__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    padding: 2.4rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: var(--text-base, 1.8rem);
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    line-height: 1.35;
}

.tour-faq__q:hover .tour-faq__q-text {
    color: var(--brandOrange1);
}

.tour-faq__q-text {
    flex: 1;
    transition: color 0.15s ease;
}

.tour-faq__icon {
    flex-shrink: 0;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    border: 1px solid #c9ccd4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brandDarkBlue1);
    transition: transform 0.2s ease, background 0.15s ease, color 0.15s ease;
}

.tour-faq__item.is-open .tour-faq__icon {
    transform: rotate(180deg);
    background: var(--brandOrange1);
    border-color: var(--brandOrange1);
    color: #ffffff;
}

.tour-faq__a[hidden] {
    display: none;
}

.tour-faq__a-inner {
    padding: 0 0 2.4rem;
}

.tour-faq__a-inner p {
    font-size: var(--text-sm, 1.6rem);
    font-weight: var(--fw-light, 300);
    color: var(--brandDarkBlue1);
    line-height: 1.6;
    margin: 0 0 1rem;
}

.tour-faq__a-inner p:last-child {
    margin-bottom: 0;
}

.tour-faq__more {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: var(--text-base, 1.8rem);
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.tour-faq__more:hover {
    color: var(--brandOrange1);
}

@media (max-width: 768px) {
    .tour-faq__title {
        font-size: var(--text-xl, 2.4rem);
    }
    .tour-faq__list {
        padding: 0.5rem 2rem;
    }
    .tour-faq__q {
        font-size: var(--text-sm, 1.6rem);
        padding: 2rem 0;
    }
}

/* =====================
   Reservar Form Page
   Figma: 2-col — form (785px) + summary (370px)
===================== */
.reserve-layout {
    display: grid;
    grid-template-columns: 1fr 36rem;
    gap: 3rem;
    max-width: 120rem;
    margin-inline: auto;
    /* padding-inline: var(--container-padding); */
    padding-bottom: var(--space-4xl);
    align-items: start;
}

/* -- Form white card -- */
.reserve-form-card {
    background: #ffffff;
    border-radius: 6.4rem;
    box-shadow: var(--shadow-md);
    padding: 5rem 3.5rem;
}

/* Success / error messages */
.reserve-form__success {
    background: #f0fff4;
    border: 1.5px solid #1cb26a;
    border-radius: 1.2rem;
    padding: 2.4rem;
    margin-bottom: 2.4rem;
}
.reserve-form__success p {
    color: #1cb26a;
    font-size: var(--text-lg);
    font-weight: var(--fw-medium);
    margin: 0;
}
.reserve-form__error {
    background: #fff5f5;
    border: 1.5px solid #e53e3e;
    border-radius: 1.2rem;
    padding: 2.4rem;
    margin-bottom: 2.4rem;
}
.reserve-form__error p {
    color: #e53e3e;
    font-size: var(--text-md);
    font-weight: var(--fw-medium);
    margin: 0;
}

/* ===========================================================
   Modal de reserva exitosa
   =========================================================== */
.reserve-modal {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.reserve-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 31, 65, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    animation: belenModalFade 0.3s ease both;
}

.reserve-modal__card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 48rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hero);
    padding: 4rem 3.2rem 3.2rem;
    text-align: center;
    animation: belenModalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reserve-modal__close {
    position: absolute;
    top: 1.4rem;
    right: 1.4rem;
    width: 3.6rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--generalSoftWhite);
    color: var(--brandDarkBlue1);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}
.reserve-modal__close:hover {
    background: #e3e6ee;
}

.reserve-modal__logo {
    margin-bottom: 1.2rem;
}
.reserve-modal__logo img,
.reserve-modal__logo .custom-logo-link img {
    width: 6.4rem;
    height: 6.4rem;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.reserve-modal__check {
    width: 6.4rem;
    height: 6.4rem;
    margin: 0 auto 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(28, 178, 106, 0.12);
    color: #1cb26a;
}

.reserve-modal__title {
    font-size: var(--text-3xl);
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
    margin: 0 0 0.8rem;
}

.reserve-modal__lead {
    font-size: var(--text-lg);
    font-weight: var(--fw-medium);
    color: var(--brandOrange1);
    margin: 0 0 1.6rem;
}

.reserve-modal__text {
    font-size: var(--text-md);
    line-height: 1.6;
    color: #4a4f5c;
    margin: 0 0 2.8rem;
}

.reserve-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.reserve-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.4rem 2.4rem;
    border-radius: var(--radius-full);
    font-size: var(--text-md);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: all var(--transition-fast);
}
.reserve-modal__btn--wa {
    background: #25d366;
    color: #ffffff;
}
.reserve-modal__btn--wa:hover {
    background: #1ebe5b;
}
.reserve-modal__btn--ghost {
    background: transparent;
    color: var(--brandDarkBlue1);
    border: 1px solid #d6d7db;
}
.reserve-modal__btn--ghost:hover {
    background: var(--generalSoftWhite);
}

@keyframes belenModalFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes belenModalIn {
    from { opacity: 0; transform: translateY(2rem) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 480px) {
    .reserve-modal__card {
        padding: 3.2rem 2rem 2.4rem;
    }
    .reserve-modal__title {
        font-size: var(--text-2xl);
    }
}

/* -- Sections -- */
.reserve-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.reserve-section--header {
    margin-bottom: 3rem;
}

.reserve-section__title {
    font-size: 2.7rem;
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    line-height: 1.2;
}
.reserve-section__subtitle {
    font-size: 2.2rem;
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
}
.reserve-section__divider {
    height: 1px;
    background: var(--brandDarkBlue1);
    opacity: 0.15;
}
.reserve-section__desc {
    font-size: 1.6rem;
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    line-height: 1.6;
}

/* =========== PASSENGER ROW =========== */
.reserve-passenger {
    margin-bottom: 2.5rem;
}

.reserve-passenger__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.reserve-passenger__title {
    font-size: 2.2rem;
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
}

.reserve-passenger__remove {
    font-size: var(--text-sm);
    color: #e53e3e;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.reserve-passenger__divider {
    height: 1px;
    background: var(--brandDarkBlue1);
    opacity: 0.15;
    margin-bottom: 1rem;
}

/* -- Rows -- */
.reserve-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reserve-form__row--split {
    /* Tipo doc + Nro doc connected pills — grid handled inline via field-pill widths */
    grid-template-columns: auto 1fr;
    gap: 0;
}

/* -- Field wrapper (pill container) -- */
.reserve-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.reserve-form__field label {
    font-size: var(--text-sm);
    font-weight: var(--fw-regular);
    color: #888;
}

/* -- Pill-shaped field (Figma: 64px radius, border, shadow) -- */
.reserve-form__field-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 2rem;
    border: 1px solid #d6d7db;
    border-radius: 6.4rem;
    background: #ffffff;
    box-shadow: 0px 4px 12px -4px rgba(24, 39, 75, 0.08);
    position: relative;
}

.reserve-form__field-pill--select {
    padding: 1.271rem 2rem;
    gap: 0.2rem;
}

.reserve-form__field-icon {
    flex-shrink: 0;
    color: #d6d7db;
}

/* Connected pills: left side */
.reserve-form__field-pill--split-left {
    border-radius: 6.4rem 0 0 6.4rem;
    border-right: none;
    padding: 1.1rem 2rem;
    width: auto;
    min-width: 18rem;
}

/* Connected pills: right side */
.reserve-form__field-pill--split-right {
    border-radius: 0 6.4rem 6.4rem 0;
    padding: 1.5rem 2rem;
}

/* Input inside pill */
.reserve-form__field-pill .reserve-form__input {
    border: none;
    padding: 0;
    box-shadow: none;
    width: 100%;
    min-width: 0;
    font-family: var(--font-primary);
    font-size: var(--text-md);
    color: var(--brandDarkBlue1);
    background: transparent;
    outline: none;
}
.reserve-form__field-pill .reserve-form__input::placeholder {
    color: #aaa;
}
.reserve-form__field-pill .reserve-form__input:focus,
.reserve-form__field-pill .reserve-form__select-pill:focus {
    outline: none;
}

/* Select inside pill (transparent overlay) */
.reserve-form__field-pill .reserve-form__select-pill {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    font-size: var(--text-md);
}

/* Displayed text next to select */
.reserve-form__select-display {
    font-size: var(--text-md);
    color: #aaa;
    pointer-events: none;
    white-space: nowrap;
}

/* Chevron for selects */
.reserve-form__chevron {
    width: 2.4rem;
    height: 2.4rem;
    color: var(--brandDarkBlue1);
    flex-shrink: 0;
    pointer-events: none;
}

/* =========== CIRCUITS =========== */
.reserve-circuits__title {
    font-size: var(--text-md);
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    margin-bottom: 1.2rem;
}

.reserve-circuits__options {
    display: flex;
    flex-wrap: wrap;
    gap: 2.4rem 3rem;
    margin-bottom: 1.2rem;
}

.reserve-circuit-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-size: var(--text-base);
    color: var(--brandDarkBlue1);
    position: relative;
}

/* Etiqueta del circuito (Panorámico / Clásico / Realeza) */
.reserve-circuit__label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.reserve-circuit__tag {
    font-size: 1.1rem;
    font-weight: var(--fw-regular);
    color: var(--brandOrange1);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.reserve-circuit-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.reserve-circuit__radio {
    width: 2.4rem;
    height: 2.4rem;
    border: 2px solid var(--brandDarkBlue1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color var(--transition-fast);
}
.reserve-circuit-option input:checked + .reserve-circuit__radio {
    border-color: var(--brandDarkBlue1);
}
.reserve-circuit-option input:checked + .reserve-circuit__radio::after {
    content: "";
    width: 1.4rem;
    height: 1.4rem;
    background: var(--brandDarkBlue1);
    border-radius: 50%;
}

.reserve-circuit-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.4rem;
    background: #f1f8ed;
    border-radius: 0.8rem;
    border-left: 3px solid var(--brandOrange1);
}

/* Aviso reserva mínima */
.reserve-min-notice {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
    padding: 1rem 1.6rem;
    background: #fff8ed;
    border: 1px solid #f5d9a8;
    border-radius: 0.8rem;
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    color: #9a6700;
}
.reserve-min-notice svg {
    flex-shrink: 0;
    color: var(--brandOrange1);
}

.reserve-circuit-img {
    width: 29rem;
    height: 20rem;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}
.reserve-circuit-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reserve-circuit-info h4 {
    font-size: var(--text-md);
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
    margin-bottom: 0.5rem;
}
.reserve-circuit-info p {
    font-size: var(--text-sm);
    font-weight: var(--fw-regular);
    color: #666;
    line-height: 1.5;
}

/* =========== ADD PASSENGER BUTTON =========== */
.reserve-add-passenger {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    border: 1.5px dashed var(--brandDarkBlue1);
    border-radius: 2.4rem;
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: 2.5rem;
    font-family: var(--font-primary);
}
.reserve-add-passenger:hover {
    background: var(--brandDarkBlue1);
    color: #ffffff;
}

/* =========== HINT TEXT =========== */
.reserve-hint {
    font-size: var(--text-sm);
    font-weight: var(--fw-light);
    color: #888;
    line-height: 1.5;
    margin-top: 0.4rem;
}

/* =========== TERMS CHECKBOXES =========== */
.reserve-terms {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.reserve-terms__item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: var(--fw-light);
    color: var(--brandDarkBlue1);
    line-height: 1.5;
    cursor: pointer;
    position: relative;
}
.reserve-terms__item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.reserve-terms__icon {
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.3rem;
    color: var(--brandDarkBlue1);
    transition: color 0.15s ease;
}
.reserve-terms__check {
    opacity: 0;
    transition: opacity 0.15s ease;
}
.reserve-terms__item input[type="checkbox"]:checked ~ .reserve-terms__icon {
    color: var(--brandOrange1);
}
.reserve-terms__item input[type="checkbox"]:checked ~ .reserve-terms__icon .reserve-terms__check {
    opacity: 1;
}
.reserve-terms__item input[type="checkbox"]:focus-visible ~ .reserve-terms__icon {
    outline: 2px solid var(--brandOrange1);
    outline-offset: 2px;
    border-radius: 3px;
}
.reserve-terms__item a {
    color: var(--brandOrange1);
    text-decoration: underline;
}

/* =========== SUBMIT BUTTON =========== */
.reserve-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1.5rem 3rem;
    background: var(--brandDarkBlue1);
    color: #ffffff;
    border: none;
    border-radius: 2.4rem;
    font-family: var(--font-primary);
    font-size: var(--text-md);
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: background-color var(--transition-fast);
    box-shadow:
        0px 8px 8px -4px rgba(24, 39, 75, 0.08),
        0px 4px 6px -4px rgba(24, 39, 75, 0.12);
}
.reserve-form__submit:hover {
    background: var(--brandDark1);
}
.reserve-form__submit svg {
    width: 2.4rem;
    height: 2.4rem;
}

/* =========== SUMMARY SIDEBAR =========== */
.reserve-summary {
    position: sticky;
    top: 9rem;
}

.reserve-summary__heading {
    font-size: 2.7rem;
    font-weight: var(--fw-semibold);
    color: var(--brandDarkBlue1);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.reserve-summary__divider {
    height: 1px;
    background: var(--brandDarkBlue1);
    opacity: 0.15;
    margin-bottom: 1.5rem;
}

.reserve-summary__product {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.reserve-summary__tour-name {
    font-size: var(--text-md);
    font-weight: var(--fw-medium);
    color: var(--brandDarkBlue1);
    margin-bottom: 0.4rem;
}

.reserve-summary__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: var(--text-base);
    color: var(--brandDarkBlue1);
}
.reserve-summary__item svg {
    width: 2.4rem;
    height: 2.4rem;
    flex-shrink: 0;
    color: var(--brandDarkBlue1);
}

.reserve-summary__actions {
    display: flex;
    gap: 1.6rem;
    align-items: center;
    padding-block: 0.8rem;
}
.reserve-summary__edit,
.reserve-summary__view {
    font-size: var(--text-base);
    color: var(--brandOrange1);
    text-decoration: underline;
}

.reserve-summary__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
}
.reserve-summary__total span:first-child {
    font-size: 2.8rem;
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
}
.reserve-summary__total span:last-child {
    font-size: 2.8rem;
    font-weight: var(--fw-bold);
    color: var(--brandDarkBlue1);
}

.reserve-summary__empty {
    font-size: var(--text-md);
    color: #888;
}

/* =====================
   Skip Link (Accesibilidad)
===================== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 999;
    padding: 1rem;
    background: var(--brandOrange1);
    color: #fff;
    font-weight: var(--fw-bold);
}

.skip-link:focus {
    left: 0;
}

/* =====================
   Responsive
===================== */
@media (max-width: 1280px) {
    :root {
        --container-padding: 4rem;
    }

    .archive-tour-layout {
        grid-template-columns: 22rem 1fr;
        gap: 2.4rem;
    }

    /* Mantener 3 columnas compactas en categoría/destino */
    .archive-tours-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6.4rem 1.8rem;
    }

    .single-tour-main-layout {
        grid-template-columns: 1fr 34rem;
    }

    .tour-gallery-banner {
        grid-template-columns: 55rem 1fr;
    }

    .reserve-layout {
        grid-template-columns: 1fr 32rem;
    }

    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .hero.container {
        /* width: calc(100% - 4.8rem); */
    }
    
    .container {
        padding-left: 2.4rem;
        padding-right: 2.4rem;
        box-sizing: border-box;
        justify-content: flex-start;
    }

    .tours-section__header {
        margin: 5rem 0 0 0;
    }
    
    .dream-section, .tours-section {
        padding: 0;
    }
    
    .site-header, .single-tour-page, #main-content {
        width: calc(100% - 4.8rem);
        margin: 0 auto;
    }

    .archive-tour-layout {
        grid-template-columns: 1fr;
    }

    /* Filtros horizontales en tablet (fila, con wrap).
       El form interno (#tour-filter-form, inyectado por JS) es el flex container. */
    .tour-filters {
        position: static;
        border-radius: var(--radius-md);
        padding: 2rem 3rem;
    }

    .tour-filters > form,
    #tour-filter-form {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 1rem 3rem;
        width: 100%;
    }

    .tour-filter-group {
        flex: 1 1 18rem;
        min-width: 16rem;
        padding: 0.5rem 0;
        border-bottom: none;
    }

    /* Botón limpiar ocupa toda la fila, debajo */
    .tour-filter__clear {
        flex: 1 0 100%;
        margin: 0.5rem auto 0;
    }

    .archive-tours-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .single-tour-main-layout {
        grid-template-columns: 1fr;
    }

    .single-tour-sidebar {
        position: static;
    }

    .single-tour-hero {
        padding: 4rem 2rem;
    }

    .single-tour-hero__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.6rem;
    }

    .single-tour-hero__title {
        font-size: 3.2rem;
    }

    .tour-gallery-banner {
        grid-template-columns: 1fr;
        height: auto;
    }

    .tour-gallery-banner__main {
        height: 35rem;
        border-radius: var(--radius-md);
    }

    .tour-gallery-banner__thumbs {
        height: 18rem;
    }

    .tour-includes-grid {
        grid-template-columns: 1fr;
    }

    .single-tour-content .wp-block-columns {
        grid-template-columns: 1fr;
    }

    .tour-booking-card {
        position: static;
    }

    .tour-gallery-banner {
        grid-template-columns: 1fr;
        height: auto;
        grid-template-rows: 1fr;
    }

    .tour-gallery-banner__main {
        height: 35rem;
    }

    .tour-gallery-banner__thumbs {
        height: 18rem;
    }

    .reserve-layout {
        grid-template-columns: 1fr;
    }

    .reserve-summary {
        position: static;
    }

    .tour-includes-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        height: 50rem;
    }

    .hero__title {
        font-size: 5.4rem;
    }

    .highlights__grid {
        gap: 2rem;
    }

    .dream-section__card-bg {
        width: 65%;
        top: 16rem;
    }

    .dream-section__image {
        left: 44%;
        right: 0;
        /* height: 46rem; */
    }

    .dream-section__content {
        /* padding-top: 22rem; */
        /* padding-left: 3rem; */
        max-width: 40rem;
    }

    .years-badge {
        right: 0;
        /* width: 22%; */
        min-height: 20rem;
    }

    .years-badge__more {
        font-size: 2.2rem;
    }

    .years-badge__number {
        font-size: 6rem;
    }

    .years-badge__label {
        font-size: 2rem;
    }

    .experiences-section__image {
        width: 42rem;
        height: 52rem;
    }

    .experiences-section__card {
        width: 44rem;
        top: 36rem;
        padding: 5rem 3.2rem 3.5rem;
    }

    .experiences-section__layout {
        min-height: 80rem;
    }

    .experiences-features {
        width: 48%;
    }

    .tours-grid {
        justify-content: center;
        padding: 2rem 0 !important;
    }

    .testimonials-grid {
        justify-content: center;
    }
    .site-footer {
        width: calc(100% - 4.8rem);
        padding-left: 0;
        padding-right: 0;
    }

}

@media (max-width: 860px) {
    :root {
        --container-padding: 2.4rem;
    }
    .single-tour-content .wp-block-accordion-item {
        border-radius: 2rem;
    }
    .site-header--transparent .header__logo .custom-logo-link {
        width: 7rem;
        height: 7rem;
    }

    /* Logo en páginas internas también más pequeño en mobile */
    .site-header:not(.site-header--transparent) .header__logo {
        height: 5.5rem;
        .custom-logo-link {
            width: 5.5rem;
            height: 5.5rem;
        }
    }

    /* Offset para header fixed: páginas internas */
    body:not(.home) #main-content,
    body:not(.home) .site-main {
        padding-top: 11rem;
    }

    .hero.container {
        padding: 0;
        margin-inline: 2.4rem;
        width: 100%;
        border-radius: 2rem;
        margin: 2rem 0 0 0;
    }

    .hero,
    .hero__slide .hero__bg {
        border-radius: 2rem;
    }

    .hero::before,
    .hero--slider .hero__top-gradient {
        border-radius: 2rem;
    }

    .archive-tours-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem 2rem;
    }

    /* Filtros siguen horizontales (heredan flex de 1200px); solo más compactos */
    .tour-filters {
        gap: 0.5rem 2rem;
        padding: 1.6rem 2rem;
    }

    .tour-gallery-banner__thumbs {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        height: 9rem;
    }

    .tour-gallery-banner__thumb--1,
    .tour-gallery-banner__thumb--2,
    .tour-gallery-banner__thumb--3,
    .tour-gallery-banner__thumb--4 {
        border-radius: var(--radius-sm);
    }

    .reserve-form__row {
        grid-template-columns: 1fr;
    }

    .reserve-form__row--split {
        grid-template-columns: 1fr;
    }

    .reserve-form__field-pill--split-left,
    .reserve-form__field-pill--split-right {
        /* border-radius: 6.4rem; */
    }
    .reserve-form__field-pill--split-left {
        border-right: 1px solid #d6d7db;
        border-radius: 3.2rem 3.2rem 0 0;
        border-bottom: 0;
    }
    
    .reserve-form__field-pill--split-right {
        border-radius: 0 0 3.2rem 3.2rem;
    }
    
    /* Header sticky en mobile — sin fondo por defecto */
    .site-header,
    .site-header--transparent {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 300;
        background: transparent;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        padding-block: 0.8rem;
    }

    /* Al hacer scroll: fondo suave en lang + burger */
    .site-header.is-scrolled .header__lang,
    .site-header.is-scrolled .header__burger {
        background: rgba(10, 23, 39, 0.7);
        transition: background var(--transition-normal);
    }

    .site-header.is-scrolled .header__lang {
        border-color: rgba(255, 255, 255, 0.3);
    }

    .site-header--transparent .header__inner {
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 0;
    }

    /* Header mobile */
    .header__inner {
        padding: 0.8rem 1.2rem;
        justify-content: space-between;
        align-items: center;
    }

    .header__right {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 1.2rem;
        flex: 1;
    }

    /* Oculta todo el info_header en mobile excepto Polylang */
    .header__top-bar .info_header {
        display: none;
    }

    /* Language switcher mobile visible */
    .header__lang {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        list-style: none;
        margin: 0;
        padding: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 2rem;
    }

    .header__lang li a {
        display: flex;
        align-items: center;
    }

    .header__lang li img {
        width: 2.8rem;
        height: 2rem;
        object-fit: cover;
        border-radius: 1rem;
        display: block;
    }

    /* Burger visible */
    .header__burger {
        display: flex;
        border-radius: 50%;
        width: 4rem;
        height: 4rem;
        padding: 0 .9rem;
        transition: background var(--transition-normal);
    }

    .header__lang {
        transition: background var(--transition-normal), border-color var(--transition-normal);
    }

    /* X de cierre dentro del overlay */
    .header__nav-close {
        display: none;
        position: absolute;
        top: 1.6rem;
        right: 1.6rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        width: 4.4rem;
        height: 4.4rem;
        align-items: center;
        justify-content: center;
        color: #fff;
        cursor: pointer;
        flex-shrink: 0;
    }

    .header__nav.is-open .header__nav-close {
        display: flex;
    }

    /* Cuando el menú está abierto, quita el backdrop-filter del header:
       un ancestro con backdrop-filter crea containing block y rompe el
       position:fixed del overlay (lo desfasaba en páginas internas). */
    .site-header:has(.header__nav.is-open) .header__inner {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: transparent !important;
        overflow: visible !important;
    }

    /* Nav: overlay a pantalla completa con 1rem de inset y blur (estilo desktop) */
    .header__nav,
    .site-header--transparent .header__nav {
        display: none;
        position: fixed;
        inset: 1rem; /* 1rem de separación del marco en los 4 lados */
        width: auto;
        height: auto;
        background: rgba(10, 23, 39, 0.45);
        -webkit-backdrop-filter: blur(20px) saturate(140%);
        backdrop-filter: blur(20px) saturate(140%);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: var(--radius-md);
        padding: 8rem 2.4rem 3rem;
        z-index: 250;
        overflow-y: auto;
    }

    .header__nav.is-open,
    .site-header--transparent .header__nav.is-open {
        display: flex;
        flex-direction: column;
        justify-content: center; /* centrado vertical en el viewport */
        align-items: center;     /* centrado horizontal */
    }

    .header__nav-menu {
        flex-direction: column;
        align-items: center;     /* items centrados */
        justify-content: center;
        gap: 0.8rem;
        width: 100%;
        max-width: 42rem;
        margin: auto 0; /* recentra si el contenido es más corto que el overlay */
    }

    .header__nav-item {
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Mantiene el "pill" del desktop (borde + radius), centrado y más grande */
    .header__nav-link {
        justify-content: center;
        text-align: center;
        font-size: 1.8rem;
        padding: 1.2rem 2.4rem;
        border: 1px solid #ffffff;
        border-radius: var(--radius-md);
        width: auto;
    }

    /* Segundo nivel: tarjeta flotante con separación clara del pill padre.
       Selector específico para ganar a la regla base position:absolute. */
    .header__nav-item.has-dropdown .header__dropdown,
    .header__dropdown {
        position: static;
        top: auto;
        width: 100%;
        max-width: 30rem;
        margin: 1rem auto 0.4rem;
        padding: 0.6rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 1.8rem;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
        list-style: none;
        text-align: center;
        overflow: hidden;
        /* animación de despliegue */
        animation: belenDropdownIn 0.25s ease both;
    }

    .header__dropdown .header__nav-item {
        width: 100%;
        align-items: stretch;
    }

    .header__dropdown .header__nav-link {
        justify-content: center;
        align-items: center;
        gap: 0.6rem;
        font-size: 1.5rem;
        font-weight: var(--fw-light);
        padding: 1.1rem 1.4rem;
        border: none;
        border-radius: 1.2rem;
        color: rgba(255, 255, 255, 0.85);
        transition: background-color var(--transition-fast), color var(--transition-fast);
    }

    /* Separador sutil entre sub-items (no en el último) */
    .header__dropdown .header__nav-item:not(:last-child) .header__nav-link {
        position: relative;
    }
    .header__dropdown .header__nav-item:not(:last-child)::after {
        content: "";
        display: block;
        height: 1px;
        margin: 0 1.6rem;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.12), transparent);
    }

    .header__dropdown .header__nav-link:hover,
    .header__dropdown .header__nav-link:focus-visible {
        background: var(--brandOrange1);
        color: #ffffff;
        font-weight: var(--fw-regular);
    }

    /* ===========================================================
       Submenú de TOURS en mobile = overlay propio centrado con X.
       Se abre encima del menú principal (que queda difuminado).
       =========================================================== */
    .header__nav-item.has-tour-dropdown > .header__dropdown--tours {
        display: none;
    }

    .header__nav-item.has-tour-dropdown.is-open > .header__dropdown--tours {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 1rem;
        width: auto;
        max-width: none;
        max-height: none;
        margin: 0;
        padding: 5.6rem 1rem 1rem; /* espacio arriba para la X propia */
        background: rgba(10, 23, 39, 0.72);
        -webkit-backdrop-filter: blur(22px) saturate(140%);
        backdrop-filter: blur(22px) saturate(140%);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: var(--radius-md);
        list-style: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 260; /* encima del menú principal (250) */
        animation: belenDropdownIn 0.25s ease both;
    }

    /* X propia del submenú (inyectada por JS) */
    .header__subnav-close {
        position: fixed;
        top: 2rem;
        right: 2rem;
        width: 4.4rem;
        height: 4.4rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 50%;
        color: #fff;
        cursor: pointer;
        z-index: 261;
    }

    /* Items del submenú: más grandes para el dedo, título completo (2 líneas) */
    .header__nav-item.has-tour-dropdown.is-open > .header__dropdown--tours > li {
        width: 100%;
    }

    .header__nav-item.has-tour-dropdown.is-open > .header__dropdown--tours .header__dropdown-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.2rem;
        min-height: 5.6rem; /* target táctil cómodo */
        padding: 1.4rem 1.6rem;
        font-size: 1.6rem;
        text-align: left;
        border-radius: 1.2rem;
    }

    .header__nav-item.has-tour-dropdown.is-open > .header__dropdown--tours .header__dropdown-link-title {
        white-space: normal;       /* permite 2 líneas */
        overflow: visible;
        text-overflow: clip;
        line-height: 1.3;
    }

    .header__nav-item.has-tour-dropdown.is-open > .header__dropdown--tours .header__dropdown-link-duration {
        font-size: 1.15rem;
        padding: 0.3rem 0.9rem;
    }

    /* Separador entre items del submenú tours */
    .header__nav-item.has-tour-dropdown.is-open > .header__dropdown--tours > li:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Secciones */
    .section-title {
        font-size: 3.2rem;
    }

    .hero {
        height: 45rem;
    }

    .hero__title {
        font-size: 4rem;
    }

    .highlight-item {
        width: 100%;
        max-width: 30rem;
    }
    .experiences-section {
        padding-inline: unset;
    }
    .card-tour {
        width: 32rem;
    }

    .card-testimonial {
        width: 100%;
        max-width: 37.1rem;
        border-radius: 2rem;
    }

    .tour-booking-card, .tour-intro-card, .single-tour-hero {
        border-radius: 2rem;
    }

    .single-tour-content .wp-block-column {
        border-radius: 2rem;
    }
    
    .site-footer.container {
        padding: 0;
        margin-inline: 2.4rem;
        width: calc(100% - 4.8rem);
    }

    .site-footer {
        border-radius: 2rem;
    }

    .footer__map {
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
    }

    .footer__copyright {
        border-bottom-left-radius: 2rem;
        border-bottom-right-radius: 2rem;
    }

    .footer__info {
        padding: 4rem 2rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__col {
        width: 100%;
    }

    .dream-section__layout {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .dream-section__image,
    .dream-section__card-bg,
    .dream-section__content {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        text-align: center;
        padding-top: 10rem;
        padding-bottom: 10rem;

        p, h2, a {
            max-width: 100%;
        }
    }

    .dream-section__card-bg {
        height: auto;
        min-height: 0;
    }

    .dream-section__image {
        height: 55rem;
        padding: 0;
        width: 80%;
        margin: 0 auto -5rem;
    }

    .years-badge {
        position: relative;
        top: -5rem;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 37.6rem;
        min-height: 20rem;
        align-self: center;
    }

    .years-badge__number {
        font-size: 7rem;
    }

    .experiences-section__layout {
        display: flex;
        flex-direction: column;
    }

    .experiences-section__image,
    .experiences-section__card,
    .experiences-features {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: none;
        text-align: center;
        a {
            margin:0 auto;
        }
        .experiences-section__title {
            font-size: 3.6rem;
        }
    }

    .experiences-section__image {
        height: 35rem;
        padding: 0;
        width: 80%;
        margin: 0 auto -4rem;
    }

    .experiences-section__layout {
        min-height: auto;
    }

    .experiences-features {
        margin-top: 7rem;
        flex-wrap: wrap;
        justify-content: center;
 
        .experiences-feature {
            text-align: center;
            align-items: center;
        }
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .single-post__title {
        font-size: 3.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        box-sizing: border-box;
    }

    .dream-section {
        padding: 0;
    }
    
    /* Hero y footer: overflow:hidden ignora padding → margin lateral */
    .hero.container,
    .site-footer.container, .site-header, .single-tour-page, #main-content {
        padding: 0;
        margin-inline: 1.5rem;
        width: calc(100% - 3rem);
        margin-top: 1rem;
    }
    
    .testimonials-section {
        padding: 0;
    }

    .hero.container {
        border-radius: 2rem;
        margin: 0;
        width: 100%;
    }

    .hero {
        height: 62rem;
        margin-top: 5rem;
        & .hero__slide .hero__bg {
            border-radius: 2rem;
        }
        &::before {
            border-radius: 2rem;
        }
    }
    
    .hero__title {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .highlight-item {
        width: 100%;
        max-width: 100%;
    }

    .dream-section__content {
        padding: 10rem 2rem;
    }
    
    .card-tour {
        width: 100%;
        max-width: 37rem;
        height: 50rem;
        margin-inline: auto;
    }

    .card-tour__price {
        padding: 0.6rem 1.2rem;
    }

    .card-tour__price-amount {
        font-size: var(--text-lg);
    }

    .archive-tours-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    /* Card del archivo: relativa al ancho de pantalla, sin desbordar */
    .archive-tours-zone .card-tour {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 3 / 4;
    }

    /* En mobile los filtros vuelven a apilarse vertical */
    .tour-filters > form,
    #tour-filter-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tour-filters {
        padding: 2rem;
        border-radius: var(--radius-md);
    }

    .tour-filter-group {
        flex: 1 1 auto;
        min-width: 0;
        width: 100%;
        padding: 1.4rem 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .tour-filter-group:last-of-type {
        border-bottom: none;
    }

    .tour-gallery-banner__thumbs {
        display: flex;
        grid-template-columns: unset;
        grid-template-rows: unset;
        flex-direction: row;
        gap: 0.6rem;
        height: auto;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.2rem;
        justify-content: center;
    }

    .tour-gallery-banner__thumbs::-webkit-scrollbar {
        display: none;
    }

    .tour-gallery-banner__thumb--1,
    .tour-gallery-banner__thumb--2,
    .tour-gallery-banner__thumb--3,
    .tour-gallery-banner__thumb--4 {
        flex: 0 0 7rem;
        width: 7rem;
        height: 5.5rem;
        grid-area: unset;
        border-radius: var(--radius-sm);
    }

    .tour-gallery-banner {
        grid-template-columns: 1fr;
    }

    .tour-gallery-banner__main {
        height: 26rem;
    }

    .dream-section__image {
        height: 40rem;
    }
    
    .hero__top-gradient {
        border-radius: 2rem;
    }
    
    .experiences-features {
        margin-top: 7rem;
        gap: 2rem;
        padding-bottom: 0;

        .experiences-feature {
            width: 9rem;
        }
        .experiences-feature__icon {
            width: 5.2rem;
            height: 5.2rem;
        }
        p {
            font-size: 1.5rem;
        }
    }
    
    /* Booking form */
    .reserve-form-card {
        padding: 2.5rem 2rem;
        border-radius: 3.2rem;
    }
    .reserve-section__title {
        font-size: 2rem;
    }
    .reserve-section__subtitle {
        font-size: 1.8rem;
    }
    .reserve-circuit-card {
        flex-direction: column;
    }
    .reserve-circuit-img {
        width: 100%;
        height: 16rem;
    }
    .reserve-circuits__options {
        gap: 2.4rem;
    }
    .reserve-summary__heading {
        font-size: 2rem;
    }
    .reserve-summary__total span:first-child,
    .reserve-summary__total span:last-child {
        font-size: 2rem;
    }
}
