:root {
    --gold: #FFD700;
    --gold-glow: rgba(255, 215, 0, 0.15);
    --bg: #000000;
    --surface: #0A0A0A;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.07);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --header-h: 80px; /* Valor inicial; JS lo calibra en runtime */
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    font-family: 'Outfit', system-ui, sans-serif;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg);
    color: #FFFFFF;
    overflow-x: hidden;
    line-height: 1.6;
    touch-action: manipulation;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

::selection {
    background: var(--gold);
    color: #000;
}

.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

#main-header {
    transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

#main-header.scrolled {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 215, 0, 0.12);
    border-bottom-color: rgba(255, 215, 0, 0.12);
}

.header-nav {
    transition: height 0.35s ease;
}

#main-header.scrolled .header-nav {
    height: 64px;
}

#main-header.scrolled .header-logo {
    height: 2.5rem;
}

/* ── HERO SLIDER: Sistema Fullscreen Adaptativo (Estándares 2026) ─────────── */


#hero-slider {
    height: calc(100svh - var(--header-h)); /* Primero SVH */
    height: calc(100dvh - var(--header-h)); /* Luego DVH como moderno */
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
    contain: layout paint;
    will-change: transform;
    }

/* Ajuste para tablet y desktop */
@media (min-width: 1024px) {
    :root {
        --header-h: 80px;
    }
    #hero-slider {
        height: calc(100dvh - var(--header-h));
    }
}

/* Pantallas muy cortas (landscape móvil, iPhone SE) */
@media (max-height: 500px) {
    #hero-slider {
        height: 100dvh;
        min-height: 400px;
    }
}

/* Contenedor interno: Distribución proporcional del espacio */
#hero-slider > .relative.z-20 {
    height: 100%;
    overflow: hidden;
    padding-top: clamp(0.5rem, 2.5vh, 2rem);
    /* 1. MÓVIL: Reducción extrema del padding inferior para anclar las cards al fondo real.
          Usa 'env(safe-area-inset-bottom)' para que en iPhones evite la barra de inicio táctil. */
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

/* 2. DESKTOP: Se recupera el padding amplio para que las cards no choquen con la barra de navegación flotante */
@media (min-width: 1024px) {
    #hero-slider > .relative.z-20 {
        padding-bottom: clamp(3rem, 7vh, 5rem);
    }
}

/* Cards móviles: altura proporcional al viewport */
#hero-slider #slider-cards-mobile {
    max-height: clamp(120px, 18vh, 160px);
    padding-bottom: 0;
}

/* Título del slide: tamaño proporcional al espacio disponible */
#slide-title {
    font-size: clamp(1.8rem, 5.5vw + 0.5vh, 5.5rem);
    min-height: unset;
}

/* Descripción: sin min-height fija en móvil */
@media (max-width: 767px) {
    #slide-desc {
        min-height: unset;
    }
}

.glass-card,
.yape-card,
.dest-card,
.review-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: transform 0.45s var(--ease-spring), border-color 0.45s var(--ease-spring), box-shadow 0.45s var(--ease-spring), background 0.45s var(--ease-spring);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05), 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.glass-card:hover,
.yape-card:hover,
.dest-card:hover,
.review-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 215, 0, 0.35);
    will-change: transform, box-shadow;
    transform: translateY(-6px) scale(1.01);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 24px 48px rgba(0, 0, 0, 0.6), 0 8px 32px rgba(255, 215, 0, 0.12);
}

.btn-luxury {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    font-weight: 800;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-spring);
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    line-height: 1;
    white-space: nowrap;
}

.btn-luxury:hover {
    transform: scale(1.05) translateY(-1px);
    box-shadow: 0 16px 36px rgba(255, 215, 0, 0.32);
}

.btn-luxury:active {
    transform: scale(0.96);
}

.btn-header-cta {
    padding: 0.75rem 1.25rem;
    font-size: 0.72rem;
}

@media (min-width: 1024px) {
    .btn-header-cta {
        padding: 0.875rem 1.75rem;
        font-size: 0.8rem;
    }
}



#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    z-index: 1000;
    transition: width 0.1s linear;
    will-change: width;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.drawer-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 85vw);
    height: 100dvh;
    background: #0A0A0A;
    border-right: 1px solid rgba(255, 215, 0, 0.08);
    z-index: 70;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.38s var(--ease-out);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-drawer.is-open {
    transform: translateX(0);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.6);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-nav {
    list-style: none;
    padding: 0.75rem 0;
    flex: 1;
}

.drawer-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.9rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-left-color 0.2s ease, padding-left 0.2s ease;
    border-left: 3px solid transparent;
}

.drawer-link:hover {
    color: var(--gold);
    border-left-color: var(--gold);
    background: rgba(255, 215, 0, 0.04);
    padding-left: 1.75rem;
}

.hamburger-line {
    display: block;
    height: 2px;
    width: 22px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

#btn-drawer-open.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

#btn-drawer-open.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#btn-drawer-open.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    width: 22px;
}

.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--gold), rgba(255, 215, 0, 0.3));
    border-radius: 2px;
    transition: width 0.35s var(--ease-out);
    will-change: width;
}

.nav-link.text-gold::after {
    width: 100%;
}

.nav-link.text-gold {
    text-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
}

.nav-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.slider-btn {
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
    background: transparent;
}

.slider-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.55);
    color: var(--gold);
}

.slider-btn:active {
    transform: scale(0.9);
}

#slider-cards {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

#slider-cards-mobile {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

#slide-title,
#slide-subtitle,
#slide-desc {
    will-change: opacity, transform;
}

#hero-slider .btn-luxury:hover {
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.5) !important;
    transform: translateY(-2px) scale(1.03);
}

.custom-scrollbar::-webkit-scrollbar {
    display: none;
}

.custom-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal:nth-of-type(2) { transition-delay: 80ms; }
.reveal:nth-of-type(3) { transition-delay: 160ms; }
.reveal:nth-of-type(4) { transition-delay: 240ms; }
.reveal:nth-of-type(5) { transition-delay: 320ms; }
.reveal:nth-of-type(6) { transition-delay: 400ms; }

.why-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: transform 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring), background 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
}

.why-card:hover {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(255, 215, 0, 0.08);
}

.why-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.12);
    color: var(--gold);
    font-size: 0.95rem;
    flex-shrink: 0;
}









.dest-badge-region {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dest-badge-tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 215, 0, 0.15);
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.25);
}

.dest-time-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

.review-card {
    padding: 1.5rem;
}





.dest-option.selected span {
    color: var(--gold) !important;
}

.dest-option.selected i {
    color: var(--gold) !important;
}

input:focus {
    caret-color: var(--gold);
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover,
.faq-item.open {
    border-color: rgba(255, 215, 0, 0.2);
}

.faq-trigger {
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
}

.faq-icon {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    transition: transform 0.35s var(--ease-out);
    flex-shrink: 0;
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out), opacity 0.4s var(--ease-out);
    opacity: 0;
}

.faq-item.open .faq-content {
    max-height: 300px;
    opacity: 1;
}

footer a {
    text-decoration: none;
}

.fade-in {
    animation: fadeInUp 0.55s var(--ease-out) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:480px) {
    #hero-slider .flex.flex-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media(min-width:640px) and (max-width:1023px) {
    #destinations-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(pointer:coarse) {
    .faq-trigger {
        min-height: 56px;
    }

    .drawer-link {
        min-height: 52px;
    }

    .slider-btn {
        width: 2.75rem;
        height: 2.75rem;
    }
}

@media print {

    #mobile-drawer,
    .drawer-overlay,
    #scroll-progress,
    #hero-slider,
    footer,
    #sticky-cta-mobile,
    #whatsapp-float-btn,
    #social-proof-toast {
        display: none !important;
    }
}

/* ================================================================
   ELITE OPTIMIZATIONS (Fase 3) CORRECTED
   ================================================================ */

/* Marquee Animation” JS Driven for Touch Support */
.marquee-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    cursor: grab;
}

.marquee-container:active {
    cursor: grabbing;
}

.marquee-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    min-width: max-content;
    gap: 3rem;
    align-items: center;
    padding: 0.25rem 0;
    will-change: transform;
}

.marquee-content>* {
    flex-shrink: 0;
    pointer-events: none;
}

.marquee-content>*.cursor-pointer {
    pointer-events: auto;
}

/* Exclusive Hover for Fine Pointers (Prevents sticky hover on Mobile Touch) */
.hotel-logo {
    opacity: 0.55;
    /* Blanco atenuado */
    filter: brightness(0) invert(1);
    /* Pure white base */
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-spring), filter 0.5s var(--ease-out);
    pointer-events: none;
    /* Prevents touch from catching on images while swiping */
}

@media (hover: hover) and (pointer: fine) {
    .hotel-logo {
        pointer-events: auto;
        cursor: pointer;
    }

    .hotel-logo:hover {
        opacity: 1;
        transform: scale(1.05);
        filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    }
}


/* Sticky Mobile CTA */
#sticky-cta-mobile {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(8, 8, 8, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    z-index: 48;
    transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
}

#sticky-cta-mobile.is-visible {
    bottom: 0;
}

#sticky-cta-mobile a {
    width: 100%;
    max-width: 380px;
}

@media (min-width: 768px) {
    #sticky-cta-mobile {
        display: none !important;
    }
}

/* Mix Blend Mode for Vehicle PNG */


/* Dest option icon selected state fix */
.dest-option.selected i {
    color: var(--gold) !important;
}


.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.swipe-hint-container {
    position: relative;
}

.swipe-hint-container::after {
    content: "Desliza para leer más →";
    position: absolute;
    bottom: -10px;
    right: 15px;
    font-size: 10px;
    color: rgba(255, 215, 0, 0.8);
    animation: pulseX 2s infinite;
    font-weight: 800;
    text-transform: uppercase;
    pointer-events: none;
}

@media(min-width: 768px) {
    .swipe-hint-container::after {
        display: none;
    }
}

@keyframes pulseX {

    0%,
    100% {
        transform: translateX(0);
        opacity: 0.6;
    }

    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

@keyframes shimmerX {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* High-Performance Input Focus Glows & Validation Errors */

/* (Hotel Logo filters merged above for better WPO) */

/* ================================================================
           PROMO CARDS UX/UI UPGRADES
           ================================================================ */

/* Featured Promo Card */
.promo-card-featured {
    animation: pulse-border 2.5s ease-in-out 3;
}

@keyframes pulse-border {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }

    50% {
        box-shadow: 0 0 20px 4px rgba(255, 215, 0, 0.25), 0 20px 50px rgba(255, 215, 0, 0.15);
    }
}

/* Ribbon diagonal "ÚLTIMO CUPO" */




/* Badge % descuento */
.discount-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.5);
    color: #000;
    line-height: 1;
    z-index: 25;
    position: absolute;
    top: 12px;
    right: 12px;
    transform: rotate(10deg);
}

.discount-badge .percent {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 0px;
}

.discount-badge .text {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

/* Ripple effect CTA buttons */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-ripple:active::after {
    animation: ripple-action 0.6s ease-out;
}

@keyframes ripple-action {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(40, 40);
        opacity: 0;
    }
}

/* Social proof chip */
.social-proof-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-top: 6px;
    width: max-content;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reservar Form Styles */


@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.header-logo {
    animation: headerLogoIn 0.5s var(--ease-out) 0.1s both;
}

@keyframes headerLogoIn {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

#main-header.scrolled .header-logo {
    animation: none;
}

/* ScrollSpy Active State */
.nav-link.nav-active {
    color: var(--gold);
    text-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
}
.nav-link.nav-active::after {
    width: 100%;
}
/* Drawer Active State */
.drawer-link.nav-active {
    color: var(--gold);
    border-left-color: var(--gold);
    background: rgba(255, 215, 0, 0.04);
    padding-left: 1.75rem;
}

/* ============================================
   PEEK EFFECT — Destinations Mobile
   Muestra la 4ta tarjeta recortada para indicar
   que hay más contenido debajo (Neuro-CRO)
   ============================================ */
@media (max-width: 1023px) {
    .destinations-peek {
        /* max-height se calcula dinámicamente en JS según la altura real de las cards */
        overflow: hidden;
        position: relative;
    }

    .destinations-peek::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 250px;
        background: linear-gradient(to bottom, 
            transparent 0%, 
            rgba(0, 0, 0, 0.4) 40%, 
            rgba(0, 0, 0, 0.85) 80%, 
            #000000 100%);
        pointer-events: none;
        z-index: 10;
        transition: opacity 0.5s ease;
    }

    .destinations-peek.is-expanded::after {
        opacity: 0;
        pointer-events: none;
    }
}

/* ============================================
   BTN PEEK PULSE — Botón "Ver destinos"
   Anillo de pulso dorado para captar atención
   ============================================ */
@keyframes peek-ring-pulse {
    0%   { transform: scale(1);    opacity: 0.55; }
    70%  { transform: scale(1.18); opacity: 0;    }
    100% { transform: scale(1.18); opacity: 0;    }
}

@keyframes peek-arrow-bounce {
    0%, 100% { transform: translateY(0);   }
    50%       { transform: translateY(4px); }
}

.btn-peek-ring {
    border: 1.5px solid rgba(255, 215, 0, 0.6);
    animation: peek-ring-pulse 1.8s ease-out 3;
}

.btn-peek-arrow {
    animation: peek-arrow-bounce 1.2s ease-in-out 5;
    display: inline-block;
}

.btn-peek-pulse {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
}

#container-btn-load-more.is-hidden {
    display: none;
}

/* ============================================
   WPO: Optimización de GPU para móviles
   Reduce backdrop-filter excesivos en pantallas
   pequeñas para evitar sobrecalentamiento
   ============================================ */
@media (max-width: 768px) {
    /* Reducir especificidad y limpiar backdrops en mobile sin !important */
    #mobile-drawer.is-open {
        backdrop-filter: blur(8px);
    }
    
    .nav-glass {
        backdrop-filter: blur(12px);
    }
}

/* WPO: Content-Visibility */
#testimonios, #experiencia, #faq {
    
    
}


.btn-luxury:focus-visible, .slider-btn:focus-visible, .faq-trigger:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

