/*
Theme Name: AlmaCalma - Bootstrap 5 Theme
Theme URI: https://pedrosalusso.com
Author: Pedro Salusso
Author URI: https://pedrosalusso.com
Description: AlmaCalma website.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bootstrap5-theme
*/

/* ==========================================================================
   1. IMPORTS DE FUENTES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap');
@import url("https://use.typekit.net/xun8twm.css");

/* ==========================================================================
   2. VARIABLES Y ESTILOS BASE
   ========================================================================== */
:root {
    --color-crema: #E8DDD4;
    --color-tierra-1: #F0B78A;
    --color-tierra-2: #A15D3E; 
    --color-tierra-3: #22120B;
    --color-gris: #746E62;
    --color-verde-1: #51573D;
    --color-verde-2: #7E846C;
    --color-verde-3: #98A765;
    --bg-tierra-4: rgba(240, 183, 138, .4);
    --bg-tierra-3: #22120B;
    --bg-tierra-2: #A15D3E; 
    --bg-tierra-1: #F0B78A;
    --bg-verde-1: #51573D;
    --bg-gris: #746E62;
    --bg-gradient-1: linear-gradient(180deg, #9D540F 0%, rgba(55, 29, 5, 0.6) 100%);
    --font-baskerville-regular: "baskerville-display-pt", serif;
    --font-baskerville-bold: "baskerville-display-pt", serif;
    --font-baskerville-semibold: 'Baskervville Semi Bold';
    --font-baskerville-poster: 'Baskerville Poster PT', serif;
    --font-karla: 'Karla', sans-serif;
    --h1-desk-master-hero: 62px;
    --h1-mob-master-hero: 34px;
    --h1-desk-values: 100px;
    --h1-mob-values: 50px;
    --h1-desk-services: 26px;
    --p-desk-values: 22px;
    --h1-b-desk-master-hero: 32px;
    --h1-b-mob-master-hero: 22px;
    --h2-desk-master-hero: 16px;
    --h2-desk-section: 54px;
    --h2-mob-section: 32px;
    --h3-desk-section: 36px;
    --p-min-desk-section: 10px;
    --p-min2-desk-section: 12px;
    --p-min3-desk-section: 13px;
    --p-min4-desk-section: 14px;
    --p-min4-mob-section: 14px;
    --p-serv-info-section: 16px;
    --p-desk-section: 18px;
    --p2-desk-section: 22px;
    --p2-mob-section: 18px;
    --a-cta-mob: 22px;
    --desk-section-padding-vertical: 80px 0;
}

body {
    background-color: var(--color-crema);
    font-family: var(--font-karla);
    font-size: 16px;
    line-height: 1.5em;
    color: var(--color-gris);
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    background-color: var(--color-crema);
}

.container {
    padding: 0 20px;
}

/* ==========================================================================
   3. TIPOGRAFÍAS Y COLORES AUXILIARES
   ========================================================================== */
.font-karla-light { font-family: var(--font-karla); font-weight: 200; }
.font-karla-regular { font-family: var(--font-karla); font-weight: 400; }
.font-karla-semibold { font-family: var(--font-karla); font-weight: 500; }
.font-karla-bold { font-family: var(--font-karla); font-weight: 700; }

.font-baskerville-regular { font-family: var(--font-baskerville-regular); font-weight: 400; }
.font-baskerville-bold { font-family: var(--font-baskerville-bold); font-weight: 700; }

.c-crema { color: var(--color-crema); }
.c-gris { color: var(--color-gris); }
.c-tierra-1 { color: var(--color-tierra-1); }
.c-tierra-2 { color: var(--color-tierra-2); }

.bg-crema { background-color: var(--color-crema); }
.bg-tierra-1 { background-color: var(--bg-tierra-1); }
.bg-tierra-2 { background-color: var(--bg-tierra-2); }
.bg-tierra-3 { background-color: var(--bg-tierra-3); }
.bg-tierra-4 { background-color: var(--bg-tierra-4); }
.bg-verde-1 { background-color: var(--bg-verde-1); }
.bg-gris { background-color: var(--bg-gris); }
.gradient-1 { background: var(--bg-gradient-1); }

section .wrapper,
footer .wrapper {
    padding: var(--desk-section-padding-vertical);
}

section.hero-fs {
    padding: 0;
}

h1, .h1 { font-size: var(--h1-desk-master-hero); }
h2, .h2 { font-size: var(--h2-desk-section); }
h3, .h3 { font-size: var(--h3-desk-section); }

p.min, a.min {
    font-size: var(--p-min-desk-section);
    line-height: 1.7em;
    text-decoration: none;
}
p.min2, a.min2 { font-size: var(--p-min2-desk-section); }
p.min3, a.min3 { font-size: var(--p-min3-desk-section); }
p.min4, a.min4 { font-size: var(--p-min2-desk-section); }
p.inter { font-size: var(--p-desk-section); }

b, strong {
    font-weight: 600!important;
}

/* ==========================================================================
   4. BOTONES, ENLACES Y FORMULARIOS GLOBALES
   ========================================================================== */
a.a-cta {
    width: 190px;
    height: 176px;
    background-size: cover;
    background-position: center center;
    padding: 30px;
    font-size: 24px;
    text-decoration: none;
}

.overlay {
    pointer-events: none !important;
}

.a-cta {
    position: relative !important;
    z-index: 99 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.a-cta * {
    pointer-events: none !important;
}

input, textarea, button {
    box-shadow: none !important;
    border-radius: 50px !important;
    border: 1.5px solid var(--color-tierra-2) !important;
    background: transparent !important;
    font-size: 18px !important;
    color: var(--color-tierra-3) !important;
    padding: 5px 20px !important;
    letter-spacing: -.025em;
}

textarea {
    padding: 10px 20px !important;
    border-radius: 20px !important;
    height: 150px;
    resize: none;
}

input::placeholder, 
textarea::placeholder {
    color: var(--color-tierra-2) !important;
    transition: color 0.3s ease;
}

input:focus::placeholder, 
textarea:focus::placeholder {
    color: var(--color-tierra-3) !important;
}

input:focus, textarea:focus {
    transition: all .4s ease;
    border: 1.5px solid var(--color-tierra-3) !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #E5AB80 inset !important;
    box-shadow: 0 0 0px 1000px #E5AB80 inset !important;
    -webkit-text-fill-color: var(--color-tierra-3, #22120B) !important;
    border-radius: 50px !important;
    border: 1.5px solid var(--color-tierra-2) !important;
    font-size: 18px !important;
    font-family: var(--font-karla) !important;
    transition: background-color 5000s ease-in-out 0s;
}

button {
    background-color: var(--bg-tierra-2) !important;
    font-weight: 600 !important;
    border: none !important;
    color: var(--color-tierra-1) !important;
    transition: all .4s ease;
}

button:hover {
    background-color: var(--bg-tierra-3) !important;
    transition: all .4s ease;
}

/* ==========================================================================
   5. HEADER PRINCIPAL & NAVEGACIÓN DESKTOP CON DOT ANIMADO
   ========================================================================== */
#master-header {
    top: 0;
    left: 0;
    z-index: 9999;
    background: linear-gradient(180deg, #22120bde 0%, rgba(136, 71, 43, 0) 100%);
    background-blend-mode: multiply;
    transition: all .4s ease;
}

#master-header.header-scrolled {
    background: var(--bg-tierra-3, #22120B);
    backdrop-filter: blur(8px);
}

/* Enlaces del menú (Desktop) */
#master-header .nav-wrapper.desktop a {
    font-family: var(--font-baskerville-regular);
    text-decoration: none;
    font-size: 22px;
    color: var(--color-tierra-1);
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

/* El dot de 6x6px (oculto en escala 0 por defecto) */
#master-header .nav-wrapper.desktop a::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-tierra-1);
    margin-right: 8px;
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    transition: opacity 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

/* 1. Transición suave en Hover / Rollover */
#master-header .nav-wrapper.desktop a:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* 2. Estado Activo permanente en Páginas Estáticas (Home, About, Contact Us, Archivos) */
#master-header .nav-wrapper.desktop li.current-menu-item > a::before,
#master-header .nav-wrapper.desktop li.current_page_item > a::before,
#master-header .nav-wrapper.desktop li.current-menu-ancestor > a::before {
    opacity: 1;
    transform: scale(1);
}

/* 3. Estado Activo en Single Tours: enciende el link de Tours en Desktop */
body.single-tours_cpt #master-header .nav-wrapper.desktop li[class*="tours"] > a::before,
body.single-tours_cpt #master-header .nav-wrapper.desktop a[href*="tours"]::before {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* 4. Estado Activo en Single Expeditions: enciende el link de Expeditions en Desktop */
body.single-expeditions_cpt #master-header .nav-wrapper.desktop li[class*="expeditions"] > a::before,
body.single-expeditions_cpt #master-header .nav-wrapper.desktop a[href*="expeditions"]::before {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* ==========================================================================
   6. HEROS BASE (PÁGINAS ESTÁTICAS / EXPEDITIONS / ABOUT / CONTACT)
   ========================================================================== */
.hero-fs {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-color: var(--bg-tierra-3, #22120B) !important;
    opacity: 1 !important;
}

.hero-fs h1 {
    line-height: 1.1em;
    font-size: var(--h1-desk-master-hero);
}

.hero-fs h2 {
    font-family: var(--font-karla) !important;
    font-size: var(--h2-desk-master-hero);
    font-weight: 400;
    line-height: 1.15em;
    max-width: 580px;
}

/* Overlay solo para heros tradicionales (excluyendo sliders con Swiper) */
.hero-fs:not(.slider-hero) .overlay {
    background: #868686;
    mix-blend-mode: multiply;
    z-index: 2;
}

.hero-fs:not(.slider-hero).expeditions.tours .overlay {
    background: rgb(149 99 61 / 85%);
}

.hero-fs:not(.slider-hero).about.contact .overlay {
    background: rgb(68 143 136 / 85%);
}    

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: top center;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity;
}

.hero-video.video-ready {
    opacity: 1;
}

/* Hero content para landings estáticas */
.hero-fs:not(.slider-hero) .hero-content {
    width: 960px;
    z-index: 10;
    top: 180px;
}

/* ==========================================================================
   7. SECCIONES GENERALES (REVIEWS, CTA, VALUES, FORMULARIOS)
   ========================================================================== */
.cta-form-section form {
    max-width: 360px;
    margin: 0 auto;
}

.reviews-trip-adv .wrapper { max-width: 720px; }
.reviews-trip-adv .logo-trip { max-width: 140px; }
.reviews-trip-adv h2 { font-size: var(--h2-desk-section); line-height: 1.1em; }
.reviews-trip-adv .comment h3 { font-size: 19px; max-width: 80%; margin: 0 auto; }
.reviews-trip-adv p { font-size: 17px; line-height: 1.4em; }
.reviews-trip-adv .author p.name,
.reviews-trip-adv .author p.country { font-size: 16px; }
.reviews-trip-adv p.date { font-size: 13px; }

a.a-global {
    max-width: 290px;
    padding: 15px 30px;
    border-radius: 50px;
    border: 1.5px solid var(--color-tierra-1);
    font-size: 20px;
    line-height: 1em;
    letter-spacing: -0.05em;
    color: var(--color-crema);
    text-decoration: none;
    transition: all .45s ease;
}

a.a-global:hover {
    background-color: var(--bg-tierra-3);
}

a.a-global .arrow-wrapper { width: 32px; }

.cta-hero {
    position: relative;
    aspect-ratio: 18/9;
    margin-top: -1px;
    overflow: hidden;
    z-index: 1;
}

.cta-hero .overlay {
    background: linear-gradient(180deg, #98A765 0%, #98A765 100%);
    mix-blend-mode: multiply;
    z-index: 2;
    top: 0;
    pointer-events: none !important;
}

.cta-hero .hero-content {
    position: relative;
    z-index: 10;
}

footer .wrapper { max-width: 760px; margin: 0 auto; }
footer .wrapper .top .logo { max-width: 175px; }

footer p.claim {
    font-size: var(--p-min3-desk-section);
    letter-spacing: 10%;
    line-height: 1.1em;
}

footer p.min4,
footer a.min2 {
    line-height: 1.5em;
}


/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP (RENDER VECTORIAL PURO + ROLLOVER SUAVE)
   ========================================================================== */
footer .wap-icon-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Transición suave para el rollover */
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    /* Evita el highlight gris al tocar en iOS */
    -webkit-tap-highlight-color: transparent;
}

/* Rollover exclusivo para dispositivos con puntero real (Desktop) */
@media (hover: hover) and (pointer: fine) {
    footer .wap-icon-fixed:hover {
        transform: scale(1.1);
    }
}

footer .wap-icon-fixed img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    pointer-events: none;
    /* Antialiasing nativo suave en WebKit */
    -webkit-font-smoothing: antialiased;
    shape-rendering: geometricPrecision;
}



.about-txt .wrapper { max-width: 1040px; }
.about-txt h1 { font-size: var(--h1-b-desk-master-hero); }

.values-sect p { font-size: var(--p2-desk-section); line-height: 1.25em; }
.values-sect h1 { font-size: var(--h1-desk-values); }

.form-sect h2 { font-size: var(--h2-mob-section); } 
.form-sect p { font-size: var(--p-desk-section); max-width: 570px; } 

.form-wrapper {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.form-wrapper .row { 
    margin-left: -8px; 
    margin-right: -8px; 
}

.form-wrapper [class*="col-"] { 
    padding-left: 8px; 
    padding-right: 8px; 
}

/* 1. Neutralizar stacking context de fade-in en filas del form */
.form-wrapper .row.fade-in-block.is-visible {
    transform: none;
    will-change: auto;
}

/* 2. Jerarquía de capas por fila: la fila 2 de dropdowns va arriba de la fila 3 de textarea */
.form-wrapper form > .row:nth-of-type(1) { position: relative; z-index: 10; }
.form-wrapper form > .row:nth-of-type(2) { position: relative; z-index: 30; }
.form-wrapper form > .row:nth-of-type(3) { position: relative; z-index: 10; }

/* 3. Inputs y Textarea estándar del formulario */
.form-wrapper .form-control {
    font-family: var(--font-karla), sans-serif !important;
    font-size: 16px !important;
    color: var(--color-crema) !important;
    border: 1px solid var(--color-verde-3) !important;
    background-color: transparent !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
    font-weight: 500;
}

.form-wrapper .form-control:focus { border: 1px solid var(--color-crema) !important; }
.form-wrapper textarea.form-control { border-radius: 24px !important; padding: 16px 24px !important; }
.form-wrapper .form-control::placeholder { color: var(--color-verde-3) !important; }
.form-wrapper textarea { height: 200px; }
.form-wrapper button { color: var(--color-verde-3) !important; }

/* 4. Dropdowns Personalizados */
.custom-dropdown { 
    position: relative;
    width: 100%; 
    z-index: 20;
}

.custom-dropdown.is-open {
    z-index: 1060 !important;
}

.dropdown-trigger {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border: 1px solid var(--color-verde-3) !important;
    border-radius: 50px !important;
    padding: 12px 20px !important;
    color: var(--color-verde-3);
    font-family: var(--font-karla), sans-serif !important;
    font-size: 16px !important;
    cursor: pointer !important;
    outline: none;
    transition: border-color 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 2;
}

.dropdown-trigger .placeholder-text {
    display: inline-block;
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-verde-3);
    pointer-events: none;
}

.custom-dropdown.is-open .dropdown-trigger,
.dropdown-trigger:focus { 
    border-color: var(--color-verde-3) !important; 
}

.custom-dropdown.has-value .dropdown-trigger { 
    border: 1px solid var(--color-crema) !important; 
}

.custom-dropdown.has-value .dropdown-trigger,
.custom-dropdown.has-value .dropdown-trigger .placeholder-text { 
    color: var(--color-crema) !important; 
}

.dropdown-arrow {
    stroke: var(--color-verde-3);
    flex-shrink: 0;
    margin-left: 10px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.3s ease;
    pointer-events: none;
}

.custom-dropdown.is-open .dropdown-arrow {
    transform: rotate(180deg);
    stroke: var(--color-tierra-1);
}

/* 5. Menú Flotante */
.dropdown-menu-custom {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: 220px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background-color: var(--bg-verde-1, #51573D);
    border: 1px solid var(--color-verde-3);
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45) !important;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    z-index: 1070 !important;
    scrollbar-width: auto;
}

.custom-dropdown.is-open .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto !important;
}

.dropdown-menu-custom li {
    padding: 7px 20px;
    font-family: var(--font-karla), sans-serif;
    font-size: 16px;
    line-height: 1.3em;
    color: var(--color-crema);
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu-custom li:hover,
.dropdown-menu-custom li.selected {
    background-color: var(--color-verde-3);
    color: var(--color-verde-1);
}

.dropdown-menu-custom::-webkit-scrollbar { 
    width: 10px; 
}

.dropdown-menu-custom::-webkit-scrollbar-track { 
    background: transparent; 
    margin: 10px 0; 
}

.dropdown-menu-custom::-webkit-scrollbar-thumb { 
    background-color: var(--color-verde-3); 
    border-radius: 10px; 
    border: 3px solid var(--bg-verde-1, #51573D); 
    background-clip: padding-box;
}

.dropdown-menu-custom::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-crema);
}

/* 6. Botón de Envío */
.btn-submit {
    background-color: transparent !important;
    font-family: var(--font-karla), sans-serif;
    border: 1.5px solid var(--color-tierra-1) !important;
    border-radius: 50px;
    padding: 10px 40px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-submit span { font-size: 18px; color: var(--color-tierra-1); }
.btn-submit img { width: 18px; height: auto; }

/* 7. Autofill en Formulario */
.form-sect input:-webkit-autofill,
.form-sect input:-webkit-autofill:hover, 
.form-sect input:-webkit-autofill:focus,
.form-sect input:-webkit-autofill:active,
.form-sect textarea:-webkit-autofill,
.form-sect textarea:-webkit-autofill:hover,
.form-sect textarea:-webkit-autofill:focus,
.form-sect textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px var(--color-verde-3) inset !important;
    box-shadow: 0 0 0px 1000px var(--color-verde-3) inset !important;
    -webkit-text-fill-color: var(--color-verde-1) !important;
    color: var(--color-verde-1) !important;
    border-radius: 50px !important;
    border: 1px solid var(--color-verde-3) !important;
    font-size: 16px !important;
    font-family: var(--font-karla), sans-serif !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ==========================================================================
   8. SERVICES / ARCHIVO DE TOURS
   ========================================================================== */
.services-sect .service-cont {
    position: relative;
    width: 100%;
    aspect-ratio: 16/6;
    border-radius: 30px;
    overflow: hidden;
}

.services-sect .service-cont::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-tour-desk);
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat;
    z-index: 0;
    transform: scale(1);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.services-sect .service-cont:hover::before {
    transform: scale(1.05);
}

.services-sect .service-cont .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
    background-blend-mode: multiply;
    z-index: 1;
    pointer-events: none;
}

.services-sect .service-cont h1 {
    position: relative;
    font-size: var(--h1-desk-services);
    z-index: 2;
    line-height: 1.15em;
    padding-bottom: 2.5rem;
    width: 100%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.services-sect.hightlights .service-cont {
    aspect-ratio: 19/9;
}

/* ==========================================================================
   9. SLIDER HERO FULLSCREEN (SINGLE TOUR / SWIPER)
   ========================================================================== */
.slider-hero {
    height: 100dvh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slider-hero .swiper,
.slider-hero .swiper-wrapper,
.slider-hero .swiper-slide {
    width: 100% !important;
    height: 100% !important;
    position: relative;
}

.slider-hero .swiper-slide .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-desk);
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat;
    z-index: 1;
}

.slider-hero .hero-overlay,
.slider-hero .swiper-slide .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 2 !important;
    pointer-events: none !important;
    mix-blend-mode: normal !important;
}

.slider-hero .hero-content,
.slider-hero .swiper-slide .hero-content {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100%;
    max-width: 800px;
    padding-top: clamp(140px, 18vh, 185px);
    z-index: 10 !important;
    pointer-events: none;
}

.slider-hero .hero-content h1 {
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.15;
}

.slider-hero .hero-content h2 {
    font-size: clamp(15px, 1.2vw, 17px);
    font-weight: 400;
    line-height: 1.45;
    max-width: 580px;
    opacity: 0.9;
}

.slider-hero .swiper-pagination {
    bottom: 70px !important;
    z-index: 10 !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 1px solid var(--color-tierra-1);
    opacity: 0.8;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet:hover {
    background: var(--color-tierra-1);
}

.swiper-pagination-bullet-active {
    background: var(--color-tierra-1);
    opacity: 1;
    transform: scale(1.15);
}

/* ==========================================================================
   10. INFO SECTION (SINGLE TOUR)
   ========================================================================== */
.serv-info-sect h6 {
    font-size: 15px;
}

.serv-info-sect p,
.serv-info-sect .info-box ul li {
    font-weight: 300 !important;
}

.serv-info-sect .info-box span,
.serv-info-sect .info-box ul li, 
.serv-info-sect p {
    font-size: 15px;
}

.serv-info-sect .info-box ul li {
    line-height: 1.45em;
}

.serv-info-sect .info-box ul li span {
    font-size: 14px;
}

.serv-info-sect .description-wrapper p {
    font-size: var(--p-serv-info-section);
}

.description-wrapper .bottom p:empty {
    display: none !important;
}

/* ==========================================================================
   MEDIA QUERIES (MOBILE BREAKPOINT)
   ========================================================================== */
@media (max-width: 767.98px) {
    #master-header .brand {
        max-width: 170px;
        z-index: 99999;
    }
    section.services-sect .wrapper {
        padding: 0 !important;
    }
    .hero-fs:not(.slider-hero) .hero-content {
        top: 110px;
        max-width: 90% !important;
    }
    .hero-fs {
        height: 100dvh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
        width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
    }
    .hero-fs .hero-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
    .hero-fs h1 {
        font-size: var(--h1-mob-master-hero);
    }
    .hero-fs h2 {
        max-width: 280px;
        margin: 0 auto !important;
        font-size: var(--h2-desk-master-hero);
    }
    .cta-hero h2 {
        font-size: var(--h2-desk-master-hero);
    }
    .hero-fs h1 br,
    .hero-fs h2 br,
    .about-txt h1 br {
        display: none !important;
    }
    .about-txt h1 span {
        display: block;
    }
    .slider-hero .swiper-slide .slide-bg {
        background-image: var(--bg-mob);
    }
    .slider-hero .hero-content,
    .slider-hero .swiper-slide .hero-content {
        padding-top: 130px;
    }
    .hero-fs .hero-content {
        max-width: 90% !important;
        box-sizing: border-box !important;
    }
    #master-header {
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    .services-sect .service-cont {
        aspect-ratio: 1/1;
        border-radius: 0;
    }
    .services-sect .service-cont::before {
        background-image: var(--bg-tour-mob);
    }
    .services-sect .service-cont h1 {
        font-size: 22px;
        line-height: 1.2em;
    }
    .services-sect.hightlights .service-cont {
        aspect-ratio: 1/1;
    }
    .reviews-trip-adv .wrapper {
        max-width: 370px;
    }
    .reviews-trip-adv h2 {
        font-size: var(--h2-mob-section);
    }
    .about-txt h1 { 
        font-size: var(--h1-b-mob-master-hero); 
    }
    section.cta-hero .wrapper {
        padding: 60px 0;
    }
    a.a-cta {
        width: 170px;
        height: 160px;
    }
    a.a-cta .tag {
        line-height: 1em;
        font-weight: 600;
        font-size: var(--a-cta-mob);
    }
    .cta-hero {
        aspect-ratio: 9/16;
    }
    .cta-hero h2 {
        font-size: var(--h2-mob-section);
    }
    .values-sect h1 { 
        font-size: var(--h1-mob-values); 
    }
    .values-sect p {
        font-size: var(--p2-mob-section);
        max-width: 80%;
    }
    .values-sect p br { 
        display: none !important; 
    }
    footer p.claim {
        font-size: var(--p-min4-mob-section);
        letter-spacing: 10%;
        line-height: 1.1em;
    }

    /* ==========================================================================
       HAMBURGER BUTTON & OVERLAY MENU MOBILE
       ========================================================================== */
    button#mobile-menu-toggle,
    .mobile-toggle {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        width: 32px;
        height: 32px;
        cursor: pointer;
        position: relative;
        z-index: 10001;
        padding: 0 !important;
    }

    .mobile-toggle .line {
        display: block;
        width: 26px;
        height: 1.5px;
        background-color: var(--color-tierra-1);
        transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                    opacity 0.3s ease;
        transform-origin: center;
    }

    .mobile-toggle .line-1 { transform: translateY(-4px); }
    .mobile-toggle .line-2 { transform: translateY(4px); }

    .mobile-toggle.is-active .line-1 {
        transform: translateY(1px) rotate(45deg);
    }

    .mobile-toggle.is-active .line-2 {
        transform: translateY(-0.5px) rotate(-45deg);
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;
        background-color: var(--color-tierra-3);
        z-index: 10000;
        padding: 100px 28px 45px 28px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.35s ease,
                    transform 0.35s ease,
                    visibility 0.35s ease;
        pointer-events: none;
    }

    .mobile-menu-overlay.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mobile-menu-overlay .overlay-top {
        margin-bottom: 2rem;
    }

    .mobile-menu-overlay .lang-switch {
        font-size: 13px;
        letter-spacing: 0.05em;
    }

    .mobile-menu-overlay .lang-switch span.active {
        color: var(--color-tierra-1);
    }

    .mobile-menu-overlay .lang-switch a {
        color: var(--color-tierra-1);
        text-decoration: none;
    }

    /* Navegación Mobile & Líneas Activas */
    .mobile-navigation {
        margin-bottom: auto;
    }

    .mobile-navigation ul li {
        position: relative;
        width: 100%;
        margin-bottom: 14px;
        transition: border-bottom 0.3s ease;
    }

    .mobile-navigation ul li a {
        font-family: var(--font-baskerville-regular) !important;
        color: var(--color-tierra-1) !important;
        font-size: 26px !important;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        line-height: 1.3;
    }

    .mobile-navigation ul li a::before {
        content: "⇢";
        font-family: var(--font-baskerville-regular), sans-serif;
        font-size: 26px;
        line-height: 1;
        color: var(--color-tierra-1);
        opacity: 0.9;
    }

    /* Línea discontinua en páginas estáticas activas */
    .mobile-navigation ul li.current-menu-item,
    .mobile-navigation ul li.current_page_item,
    .mobile-navigation ul li.active {
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px dashed var(--color-tierra-1);
    }

    /* Línea discontinua en Single Expeditions (Mobile) */
    body.single-expeditions_cpt .mobile-navigation ul li[class*="expeditions"],
    body.single-expeditions_cpt .mobile-navigation ul li:has(a[href*="expeditions"]) {
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px dashed var(--color-tierra-1);
    }

    /* Línea discontinua en Single Tours (Mobile) */
    body.single-tours_cpt .mobile-navigation ul li[class*="tours"],
    body.single-tours_cpt .mobile-navigation ul li:has(a[href*="tours"]) {
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px dashed var(--color-tierra-1);
    }

    .overlay-footer .social-link {
        color: var(--color-tierra-1);
        font-size: 20px;
        text-decoration: none;
    }

    .overlay-footer .social-trip-icon {
        width: 24px;
        height: auto;
        filter: invert(82%) sepia(21%) saturate(760%) hue-rotate(338deg) brightness(98%) contrast(93%);
    }
    .logos-wraps .logo {
        margin-bottom: 25px;
    }
    .logos-wraps .logo:last-child {
        margin-bottom: 0;
    }
}

/* ==========================================================================
   INTERSECTION OBSERVER: FADE-IN SUAVE POR SECCIONES
   ========================================================================== */
.fade-in-block {
    opacity: 0;
    transform: translateY(28px);
    transition-property: opacity, transform;
    transition-duration: 0.85s;
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.fade-in-block.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-in-block {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.hero-fs.fade-in-block {
    transform: none !important;
}

/* Tarjetas de servicios / tours */
.service-cont.tour.fade-in-block {
    opacity: 0;
    transform: translateY(28px);
    transition-property: opacity, transform;
    transition-duration: 0.85s;
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: var(--delay, 0s) !important;
    will-change: opacity, transform;
}

.service-cont.tour.fade-in-block.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   FADE-IN UP COMPATIBLE CON ELEMENTOS CENTRADOS EN X (HERO CONTENT)
   ========================================================================== */
.slider-hero .hero-content.fade-in-block {
    opacity: 0;
    transform: translate(-50%, 28px) !important;
    transition-property: opacity, transform;
    transition-duration: 0.85s;
    transition-timing-function: cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: var(--delay, 0s);
    will-change: opacity, transform;
}

.slider-hero .hero-content.fade-in-block.is-visible {
    opacity: 1;
    transform: translate(-50%, 0) !important;
}

.fade-in-block.no-transform {
    transform: none !important;
}

/* ==========================================================================
   PRELOADER SPA-STYLE & MODIFICADOR FADE ONLY
   ========================================================================== */
.site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background-color: var(--color-tierra-3, #22120B);
    z-index: 999999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), 
                visibility 0.65s ease;
    pointer-events: auto;
}

.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-iso {
    width: 65px;
    height: auto;
    animation: isoPulse 1.6s ease-in-out infinite alternate;
}

.preloader-iso img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes isoPulse {
    0% {
        opacity: 0.4;
        transform: scale(0.96);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.logos-wraps {
    width: 100%;
    max-width: 290px; /* Ancho cómodo para mobile */
    margin: 0 auto;
}

.logos-wraps .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Calcula ~2 columnas teniendo en cuenta gap-4 (1.5rem / 24px) */
    flex: 0 0 calc(50% - 0.75rem);
    text-align: center;
}

.logos-wraps .logo:last-child {
    /* Ocupa el 100% de la fila final o queda centrado por el justify-content-center */
    flex: 0 0 100%;
}

/* En desktop (lg: >= 992px) vuelven a su ancho automático en una sola fila */
@media (min-width: 992px) {
    .logos-wraps {
        max-width: 100%;
    }
    
    .logos-wraps .logo,
    .logos-wraps .logo:last-child {
        flex: 0 0 auto;
    }
}

/* Language Switcher Header (Figma) */
.header-lang-switcher {
    gap: 10px;
}

.header-lang-switcher li {
    list-style: none;
    line-height: 1;
}

.header-lang-switcher li a,
.header-lang-switcher li span {
    font-family: var(--font-karla)!important;
    font-size: 14px!important;
    color: var(--color-tierra-1, #dfb993);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400; /* Regular */
    transition: opacity 0.2s ease;
}

.header-lang-switcher li a::before {
    display: none!important;
}

.header-lang-switcher li a:hover {
    opacity: 0.8;
}

/* Idioma activo: Negrita (Bold) */
.header-lang-switcher li.current-lang a,
.header-lang-switcher li.current-lang span {
    font-weight: 700; /* Bold */
}

/* ==========================================================================
   HERO SLIDER NAVIGATION (ARROWS) - FIJO Y ESTABLE
   ========================================================================== */

/* 1. Aniquilar los iconos azules por defecto de Swiper */
.slider-hero .swiper-button-prev::after,
.slider-hero .swiper-button-next::after {
    display: none !important;
    content: "" !important;
}

/* 2. Contenedor centrado en la base del slider */
.slider-hero .hero-slider-nav {
    position: absolute !important;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 25;
    pointer-events: auto;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* 3. Círculo contenedor de la flecha */
.slider-hero .slider-arrow {
    position: static !important;
    margin: 0 !important;
    width: 44px !important;
    height: 44px !important;
    background-color: rgba(209, 119, 83, 0.85) !important; /* Tono terracota con transparencia */
    border: none !important;
    border-radius: 50% !important;
    padding: 0 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
    flex-shrink: 0;
}

.slider-hero .slider-arrow:hover {
    background-color: rgba(209, 119, 83, 1) !important;
    transform: scale(1.06);
}

/* 4. Dibujo de la flecha SVG */
.slider-hero .slider-arrow img {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    object-fit: contain;
    pointer-events: none;
}

/* 5. Invertir flecha izquierda */
.slider-hero .slider-arrow.prev img,
.slider-hero .swiper-button-prev img {
    transform: rotate(180deg) !important;
}

/* 6. Responsive mobile */
@media (max-width: 768px) {
    .slider-hero .hero-slider-nav {
        bottom: 70px;
        gap: 12px;
    }
    .slider-hero .slider-arrow {
        width: 38px !important;
        height: 38px !important;
    }
    .slider-hero .slider-arrow img {
        width: 17px !important;
        height: 17px !important;
    }
}

/* Control de interlineado estricto para Safari y Chrome */
.slider-hero .hero-content h1 {
    display: block !important;
    margin: 0 auto !important;
}

.slider-hero .hero-content h1 .title-line {
    display: block !important;
    line-height: 1.08 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Espacio entre el título y el subtítulo */
.slider-hero .hero-content h2 {
    max-width: 780px;
    line-height: 1.4 !important;
    margin-top: 1rem !important;
}