/* Palette Nexxus Maya / Kuzá Style */
    :root {
        --primary: #0099cc;
        /* Azul Kusa */
        --accent: #e91e63;
        /* Rosa Hot */
        --dark: #082c3f;
        /* Azul Oscuro Texto */
        --light-bg: #f8fbff;
        /* Fondo suave */
        --radius: 20px;
    }

    body {
        background-color: var(--light-bg);
        color: var(--dark);
        font-family: 'Inter', sans-serif;
    }

    /* --- Micro-interacciones & Animaciones --- */
    @keyframes fadeSlideUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .animate-entrance {
        opacity: 0;
        animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .delay-1 { animation-delay: 0.15s; }
    .delay-2 { animation-delay: 0.30s; }
    .delay-3 { animation-delay: 0.45s; }

    /* Header */
    .kuza-page-wrapper {
        padding-top: 150px; /* Margen para el header fijo del sitio */
    }

    .tour-title {
        font-weight: 800;
        color: var(--primary);
        font-size: 2.8rem;
        margin-bottom: 0;
    }

    .badge-best-seller {
        background: #38a356; /* Verde de la imagen Kusa */
        color: white;
        padding: 8px 18px;
        border-radius: 50px;
        font-size: 0.95rem;
        font-weight: bold;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .trust-ribbon {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        font-size: 0.85rem;
        font-weight: 600;
        margin-top: 10px;
    }
    
    .trust-ribbon span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* --- Quad-View Multi-Item Carousel --- */
    .tour-gallery-viewport {
        border-radius: 20px;
        overflow: hidden;
        position: relative;
        margin-bottom: 30px;
    }

    .tour-gallery-track {
        display: flex;
        gap: 15px;
        transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        padding-bottom: 10px;
    }

    .gallery-quad-item {
        flex: 0 0 calc(25% - 11.25px); /* 4 items with 15px gaps */
        height: 380px;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    }

    .gallery-quad-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-quad-item:hover img {
        transform: scale(1.05);
    }

    /* Controls overlay */
    .quad-nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        border-radius: 50%;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 5;
        cursor: pointer;
        opacity: 0;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
    }

    .tour-gallery-viewport:hover .quad-nav-btn {
        opacity: 1;
    }

    .quad-nav-prev { left: 15px; }
    .quad-nav-next { right: 15px; }

    @media (max-width: 1199px) {
        .gallery-quad-item {
            flex: 0 0 calc(33.333% - 10px); /* 3 items */
        }
    }

    @media (max-width: 768px) {
        .gallery-quad-item {
            flex: 0 0 calc(50% - 7.5px); /* 2 items */
            height: 300px;
        }
    }

    @media (max-width: 480px) {
        .gallery-quad-item {
            flex: 0 0 100%; /* 1 item */
            height: 280px;
        }
    }

    /* --- Sticky Tabs Nav --- */
    .sticky-nav-wrapper {
        position: sticky;
        top: 0; 
        z-index: 10;
        background: rgba(248, 251, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 15px 0;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }
    
    .kuza-nav { margin-bottom: 0 !important; }
    .kuza-nav .nav-link {
        border-radius: 50px;
        padding: 10px 25px;
        color: var(--dark);
        font-weight: 700;
        border: 1px solid #dee2e6;
        margin-right: 10px;
    }

    .kuza-nav .nav-link.active {
        background-color: var(--accent) !important;
        border-color: var(--accent);
    }

    /* Highlights */
    .highlight-box {
        background: rgba(0, 153, 204, 0.05);
        border-left: 4px solid var(--primary);
        padding: 20px;
        border-radius: 12px;
        font-weight: 600;
    }

    /* Lists */
    .kuza-list {
        list-style: none;
        padding: 0;
    }

    .kuza-list li {
        margin-bottom: 12px;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .kuza-list li i {
        margin-top: 4px;
    }

    /* --- Glassmorphism Sidebar --- */
    .booking-sidebar {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        padding: 35px;
        border-radius: var(--radius);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
        position: sticky;
        top: 100px;
        border: 1px solid rgba(255, 255, 255, 0.6);
        transition: transform 0.3s ease;
    }
    .booking-sidebar:hover { transform: translateY(-3px); }

    .price-old {
        text-decoration: line-through;
        color: #adb5bd;
    }

    .price-new {
        font-size: 2.2rem;
        font-weight: 800;
        color: var(--primary);
    }

    .counter button {
        border: 1px solid #dee2e6;
        background: white;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        font-weight: bold;
    }

    /* --- Premium Ticket Effect --- */
    .booking-ticket {
        position: relative;
        background: #ffffff;
        padding: 25px 20px;
        border-radius: 12px;
        filter: drop-shadow(0 4px 6px rgba(0,0,0,0.04));
        /* Clip Path Ticket */
        clip-path: polygon(
            0 0, 100% 0, 100% calc(50% - 10px), 
            calc(100% - 13px) 50%, 100% calc(50% + 10px), 
            100% 100%, 0 100%, 0 calc(50% + 10px), 
            13px 50%, 0 calc(50% - 10px)
        );
    }
    
    .booking-ticket::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 20px;
        right: 20px;
        height: 1px;
        background-image: linear-gradient(to right, #e2e8f0 50%, transparent 50%);
        background-size: 14px 1px;
    }

    /* --- Skeleton Loader JS state --- */
    .skeleton-loader {
        color: transparent !important;
        background: linear-gradient(90deg, #ececec 25%, #f5f5f5 50%, #ececec 75%);
        background-size: 200% 100%;
        animation: loadingSkin 1.2s infinite;
        border-radius: 6px;
        user-select: none;
    }
    @keyframes loadingSkin {
        0% { background-position: 200% 0; }
        100% { background-position: -200% 0; }
    }

    /* ── Checkout Button — Animated Platform Reveal ── */
    .btn-checkout {
        position: relative;
        overflow: hidden;
        background-color: #082c3f;
        color: white;
        border: none;
        border-radius: 50px;
        font-weight: 700;
        font-size: 1.05rem;
        transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.25s ease;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-height: 52px;
        cursor: pointer;
    }

    /* Default label layer */
    .btn-checkout .btn-layer-default {
        display: flex;
        align-items: center;
        gap: 8px;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        transform: translateY(0);
        opacity: 1;
    }

    /* Platform label layer — slides up on hover */
    .btn-checkout .btn-layer-platform {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-weight: 800;
        font-size: 1.05rem;
        letter-spacing: 0.3px;
        color: #fff;
        transform: translateY(120%);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    }

    /* Hover — slide out default, slide in platform */
    .btn-checkout:not(.disabled):hover .btn-layer-default {
        transform: translateY(-120%);
        opacity: 0;
    }
    .btn-checkout:not(.disabled):hover .btn-layer-platform {
        transform: translateY(0);
        opacity: 1;
    }

    /* Stripe mode */
    .btn-checkout[data-mode="stripe"]:not(.disabled):hover {
        background: linear-gradient(135deg, #635BFF 0%, #7C3FE4 100%);
        box-shadow: 0 8px 24px rgba(99, 91, 255, 0.45);
        transform: translateY(-2px);
    }

    /* WhatsApp mode */
    .btn-checkout[data-mode="whatsapp"]:not(.disabled):hover {
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
        transform: translateY(-2px);
    }

    /* Calendly / Manual mode */
    .btn-checkout[data-mode="calendly"]:not(.disabled):hover {
        background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
        box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
        transform: translateY(-2px);
    }

    /* Disabled state */
    .btn-checkout.disabled {
        background-color: #b0bec5;
        cursor: not-allowed;
    }

    /* Conversion Trust Bar */
    .trust-guarantee-bar {
        background: linear-gradient(135deg, #082c3f 0%, #0a4060 100%);
        border-radius: 16px;
        padding: 30px 32px;
        margin-top: 40px;
        position: relative;
        overflow: hidden;
    }
    .trust-guarantee-bar::before {
        content: '';
        position: absolute;
        top: -40px; right: -40px;
        width: 200px; height: 200px;
        background: radial-gradient(circle, rgba(1,181,213,0.15) 0%, transparent 70%);
        border-radius: 50%;
    }
    .tg-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        color: #fff;
    }
    .tg-icon {
        width: 42px; height: 42px;
        border-radius: 50%;
        background: rgba(255,255,255,0.10);
        display: flex; align-items: center; justify-content: center;
        font-size: 1.1rem;
        color: #01b5d5;
        flex-shrink: 0;
    }
    .tg-label { font-size: 0.78rem; color: rgba(255,255,255,0.55); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
    .tg-value { font-size: 0.93rem; font-weight: 700; color: #fff; margin-top: 1px; }

    /* Premium Boarding-Pass Ticket */
    .bpass-ticket {
        position: relative;
        display: flex;
        border-radius: 16px;
        overflow: visible;
        filter: drop-shadow(0 8px 24px rgba(8,44,63,0.14));
        margin-bottom: 6px;
    }
    .bpass-left {
        flex: 1;
        background: linear-gradient(160deg, #082c3f 0%, #0a5278 100%);
        padding: 22px 18px 22px 22px;
        border-radius: 16px 0 0 16px;
        color: #fff;
        display: flex;
        flex-direction: column;
        gap: 10px;
        position: relative;
        z-index: 1;
    }
    .bpass-right {
        width: 90px;
        flex-shrink: 0;
        background: #f0f7ff;
        border-radius: 0 16px 16px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 16px 10px;
        border-left: none;
        position: relative;
        z-index: 1;
    }
    /* The notch perforation */
    .bpass-ticket::before,
    .bpass-ticket::after {
        content: '';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 22px; height: 22px;
        border-radius: 50%;
        background: var(--light-bg);
        z-index: 2;
    }
    .bpass-ticket::before { left: calc(100% - 90px - 11px); }
    .bpass-ticket::after { display: none; }
    .bpass-separator {
        position: absolute;
        left: calc(100% - 90px);
        top: 12px; bottom: 12px;
        width: 0;
        border-left: 2px dashed rgba(8,44,63,0.15);
        z-index: 2;
    }
    .bpass-logo {
        height: 28px;
        object-fit: contain;
        opacity: 0.85;
        filter: brightness(0) invert(1);
        margin-bottom: 4px;
    }
    .bpass-tour-name {
        font-size: 0.95rem;
        font-weight: 800;
        line-height: 1.25;
        color: #fff;
    }
    .bpass-row {
        display: flex;
        gap: 16px;
        font-size: 0.72rem;
    }
    .bpass-field .bp-label { color: rgba(255,255,255,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; display: block; }
    .bpass-field .bp-value { color: #fff; font-weight: 700; font-size: 0.8rem; display: block; margin-top: 1px; }
    .bpass-breakdown {
        background: rgba(255,255,255,0.08);
        border-radius: 8px;
        padding: 8px 10px;
        font-size: 0.75rem;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .bpass-breakdown-line {
        display: flex;
        justify-content: space-between;
        color: rgba(255,255,255,0.75);
    }
    .bpass-breakdown-line.total {
        color: #fff;
        font-weight: 800;
        font-size: 0.82rem;
        border-top: 1px solid rgba(255,255,255,0.15);
        padding-top: 5px;
        margin-top: 2px;
    }
    .bpass-right .bp-total-label { font-size: 0.62rem; color: #6b8099; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
    .bpass-right .bp-total-amount { font-size: 1.25rem; font-weight: 900; color: #082c3f; line-height: 1; text-align: center; }
    .bpass-right .bp-date { font-size: 0.65rem; color: #6b8099; font-weight: 700; text-align: center; word-break: break-word; max-width: 68px; line-height: 1.3; }
    .bpass-boarding { font-size: 0.62rem; color: rgba(255,255,255,0.45); letter-spacing: 1.5px; text-transform: uppercase; }
    .bpass-seat { font-size: 1.4rem; font-weight: 900; color: #01b5d5; line-height: 1; }
    .bpass-seat-label { font-size: 0.6rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 1px; }

    /* Spots urgency chip */
    .spots-urgency {
        display: flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(90deg, rgba(239,68,68,0.08), rgba(239,68,68,0.04));
        border: 1px solid rgba(239,68,68,0.2);
        border-radius: 50px;
        padding: 7px 14px;
        font-size: 0.78rem;
        font-weight: 700;
        color: #dc2626;
        margin-bottom: 14px;
    }
    .spots-dot {
        width: 8px; height: 8px;
        background: #dc2626;
        border-radius: 50%;
        animation: pulseDot 1.4s ease-in-out infinite;
        flex-shrink: 0;
    }
    @keyframes pulseDot {
        0%,100% { transform: scale(1); opacity: 1; }
        50% { transform: scale(1.5); opacity: 0.6; }
    }

    /* Guarantee strip under checkout */
    .guarantee-strip {
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(5,150,105,0.07);
        border-radius: 10px;
        padding: 10px 14px;
        font-size: 0.78rem;
        font-weight: 600;
        color: #065f46;
        margin-top: 12px;
    }
