/* ============================================
           TRAVELS PAGE SPECIFIC STYLES
           ============================================ */

        /* Hero section for travels page */
        .travels-hero {
            background: linear-gradient(rgba(65, 105, 225, 0.85), rgba(30, 60, 160, 0.95)),
                        url('sprinter.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 120px 0 80px;
            text-align: center;
        }

        .travels-hero .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .travels-hero h1 {
            font-family: 'Playfair Display', serif;
            font-size: 48px;
            margin-bottom: 20px;
            line-height: 1.2;
            letter-spacing: -0.5px;
            text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
        }

        .travels-hero p {
            font-size: 20px;
            margin-bottom: 30px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            opacity: 0.9;
        }

        /* All Tours Grid Layout */
        .all-tours-section {
            padding: 80px 0;
            background-color: #ffffff;
        }

        .all-tours-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 40px;
        }

        .tour-card-detailed {
            background-color: white;
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            border: 1px solid rgba(30, 62, 161, 0.06);
            transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            min-height: 100%;
            display: flex;
            flex-direction: column;
        }

        .tour-card-detailed:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
            border-color: rgba(245, 182, 58, 0.4);
        }

        .tour-image-detailed {
            height: 352px;
            overflow: hidden;
            position: relative;
            border-radius: var(--radius-card) var(--radius-card) 0 0;
        }

        /* Subtle scrim so tags/badge stay legible over bright photos */
        .tour-image-detailed::after {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            z-index: 2;
            background: linear-gradient(to bottom,
                        rgba(0, 0, 0, 0.28) 0%,
                        rgba(0, 0, 0, 0) 30%,
                        rgba(0, 0, 0, 0) 70%,
                        rgba(0, 0, 0, 0.18) 100%);
        }

        .tour-image-detailed img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .tour-card-detailed:hover .tour-image-detailed img {
            transform: scale(1.08);
        }

        /* === CAROUSEL === */
        .tour-carousel {
            position: relative;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .carousel-slide {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transition: opacity 0.4s ease, transform 0.6s ease;
        }

        .carousel-slide.active {
            opacity: 1;
            position: relative;
        }

        .tour-card-detailed:hover .carousel-slide.active {
            transform: scale(1.08);
        }

        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0,0,0,0.45);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 44px;
            height: 44px;
            min-width: 44px;
            min-height: 44px;
            font-size: 24px;
            line-height: 1;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.25s ease, background 0.2s;
            z-index: 5;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
        }

        /* Desktop hover */
        .tour-card-detailed:hover .carousel-btn {
            opacity: 1;
        }

        .carousel-btn:hover {
            background: rgba(0,0,0,0.7);
        }

        /* Touch devices — always show buttons at full reduced opacity, larger tap area */
        @media (hover: none) {
            .carousel-btn {
                opacity: 0.85;
                width: 48px;
                height: 48px;
                min-width: 48px;
                min-height: 48px;
            }
            .carousel-btn:active {
                background: rgba(0,0,0,0.7);
                opacity: 1;
            }
        }

        .carousel-prev { left: 6px; }
        .carousel-next { right: 6px; }

        .carousel-dots {
            position: absolute;
            bottom: 6px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 4px;
            z-index: 5;
        }

        /* Dots: visually small but tap target is 44px via padding */
        .carousel-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255,255,255,0.55);
            cursor: pointer;
            transition: background 0.2s, transform 0.15s;
            /* Expand tap area without changing visual size */
            padding: 10px;
            margin: -10px;
            background-clip: content-box;
        }

        .carousel-dot.active {
            background: rgba(255,255,255,1);
            background-clip: content-box;
            transform: scale(1.3);
        }

        .tour-content-detailed {
            padding: 15px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .tour-content-detailed h3 {
            color: #1E3EA1;
            margin-bottom: 8px;
            font-size: 1.4rem;
            line-height: 1.3;
        }

        .tour-destination {
            color: #f5b63a;
            font-size: 14px;
            margin-bottom: 10px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .tour-destination i {
            color: #f5b63a;
        }

        /* Short description hidden on cards — keep markup for SEO/schema */
        .tour-description-detailed {
            display: none;
        }

        .tour-details {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid #eee;
        }

        .tour-detail {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .tour-detail i {
            color: #f5b63a;
            font-size: 18px;
            margin-bottom: 8px;
        }

        .tour-detail span {
            font-size: 14px;
            color: #666;
        }

        .tour-price-detailed {
            color: #f5b63a;
            font-weight: 700;
            font-size: 24px;
            margin: 15px 0;
            font-family: 'Playfair Display', serif;
        }

        /* ========= BUTTON FIX ========= */
        .tour-buttons {
            display: flex;
            gap: 15px;
            margin-top: auto;
        }

        .tour-buttons .btn {
            flex: 1;
            text-align: center;
            padding: 10px 16px;
            min-width: 0;
            font-size: 13px;
            white-space: nowrap;
            transition: transform 0.2s ease, box-shadow 0.2s ease,
                        background-color 0.2s ease, color 0.2s ease;
        }

        /* Primary action — filled gold */
        .tour-buttons .btn-primary {
            background-color: var(--color-accent);
            color: var(--color-primary);
            border: 2px solid var(--color-accent);
        }

        .tour-buttons .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(245, 182, 58, 0.35);
        }

        /* Secondary action (Book) — gold ghost so it reads on the white card */
        .tour-buttons .btn-outline {
            background-color: transparent;
            color: var(--color-primary);
            border: 2px solid var(--color-accent);
        }

        .tour-buttons .btn-outline:hover {
            background-color: var(--color-accent);
            color: var(--color-primary);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(245, 182, 58, 0.35);
        }

        /* When no long_description: Book button takes full width */
        .tour-buttons.no-details .btn-book {
            flex: unset;
            width: 100%;
        }

        /* Travel Benefits Section */
        .travel-benefits {
            padding: 80px 0;
            background-color: #3655b4;
            color: white;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-top: 50px;
        }

        .benefit-card {
            text-align: center;
            padding: 30px;
            background-color: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .benefit-card:hover {
            background-color: rgba(255, 255, 255, 0.1);
            transform: translateY(-5px);
        }

        .benefit-icon {
            font-size: 40px;
            margin-bottom: 20px;
            color: #EEF2FE;
        }

        .benefit-card h3 {
            font-size: 20px;
            margin-bottom: 15px;
            color: white;
        }

        .benefit-card p {
            color: #C4D0F5;
            line-height: 1.6;
        }

        /* ============================================
           TYPE HIDDEN
           ============================================ */
        .type-hidden { display: none !important; }


        /* ============================================
           FILTER STYLES
           ============================================ */
        .filter-bar {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-bottom: 20px;
            position: relative;
            margin-left: 20px;
        }

        .filter-toggle-btn {
            padding: 12px 28px;
            border-radius: 40px;
            font-weight: 600;
            letter-spacing: 0.5px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: white;
            border: 2px solid rgba(30, 62, 161, 0.3);
            color: #1E3EA1;
            box-shadow: 0 4px 14px rgba(13, 36, 87, 0.08);
            font-size: 15px;
            cursor: pointer;
        }

        .filter-toggle-btn i {
            font-size: 16px;
            color: #f5b63a;
            transition: transform 0.3s ease;
        }

        .filter-toggle-btn:hover {
            border-color: #f5b63a;
            background: rgba(30, 62, 161, 0.05);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(30, 62, 161, 0.2);
        }

        .filter-toggle-btn.active {
            background: #f5b63a;
            color: #ffffff;
            border-color: #f5b63a;
            box-shadow: 0 8px 20px rgba(30, 62, 161, 0.3);
        }

        .filter-toggle-btn.active i {
            color: #ffffff;
        }

        .filter-panel {
            position: absolute;
            left: 0;
            top: 60px;
            width: 300px;
            background: white;
            border-radius: 20px;
            border: none;
            border-top: 5px solid #f5b63a;
            box-shadow: 0 20px 40px rgba(13, 36, 87, 0.2);
            padding: 24px;
            z-index: 1200;
            visibility: hidden;
            opacity: 0;
            transform: translateX(-30px);
            transition: visibility 0s linear 0.3s, opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
            pointer-events: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
            color: #1E3EA1;
        }

        .filter-panel.visible {
            visibility: visible;
            opacity: 1;
            transform: translateX(0);
            transition: visibility 0s linear 0s, opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
            pointer-events: auto;
        }

        .filter-panel h4 {
            color: #1E3EA1;
            font-size: 20px;
            font-weight: 700;
            margin: 0 0 16px 0;
            padding-bottom: 14px;
            border-bottom: 2px solid #EEF2FE;
            letter-spacing: 1px;
            font-family: 'Playfair Display', serif;
        }

        .filter-panel label {
            display: flex;
            align-items: center;
            padding: 10px 16px;
            margin-bottom: 6px;
            border-radius: 12px;
            background: #faf9f7;
            border: 1px solid transparent;
            transition: all 0.2s ease;
            cursor: pointer;
            color: #1E3EA1;
            font-weight: 500;
            font-size: 15px;
        }

        .filter-panel label:hover {
            background: rgba(30, 62, 161, 0.08);
            border-color: rgba(30, 62, 161, 0.4);
            transform: translateX(4px);
        }

        .filter-panel input[type="checkbox"] {
            margin-right: 14px;
            width: 18px;
            height: 18px;
            accent-color: #f5b63a;
            cursor: pointer;
            border-radius: 4px;
        }

        .filter-panel .btn {
            flex: 1;
            padding: 12px 16px;
            font-size: 14px;
            border-radius: 40px;
            font-weight: 600;
            transition: all 0.2s ease;
            margin-top: 8px;
            border: none;
        }

        .filter-panel .btn-primary {
            background: #f5b63a;
            color: white;
            box-shadow: 0 4px 12px rgba(30, 62, 161, 0.2);
        }

        .filter-panel .btn-primary:hover {
            background: #1E3EA1;
            transform: translateY(-2px);
            box-shadow: 0 8px 18px rgba(30, 62, 161, 0.3);
        }

        .filter-panel .btn-outline {
            background: white;
            color: #1E3EA1;
            border: 2px solid #e0e6ef;
        }

        .filter-panel .btn-outline:hover {
            border-color: #f5b63a;
            background: rgba(30, 62, 161, 0.05);
            transform: translateY(-2px);
        }

        /* Flag icon styles */
        .flag-icon {
            width: 20px;
            height: 15px;
            display: inline-block;
            margin-right: 8px;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            vertical-align: middle;
            border-radius: 2px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .flag-icon-fr { background-image: url('https://flagcdn.com/w20/fr.png'); }
        .flag-icon-it { background-image: url('https://flagcdn.com/w20/it.png'); }
        .flag-icon-es { background-image: url('https://flagcdn.com/w20/es.png'); }
        .flag-icon-ch { background-image: url('https://flagcdn.com/w20/ch.png'); }
        .flag-icon-gr { background-image: url('https://flagcdn.com/w20/gr.png'); }
        .flag-icon-tr { background-image: url('https://flagcdn.com/w20/tr.png'); }
        .flag-icon-at { background-image: url('https://flagcdn.com/w20/at.png'); }
        .flag-icon-cz { background-image: url('https://flagcdn.com/w20/cz.png'); }
        .flag-icon-pt { background-image: url('https://flagcdn.com/w20/pt.png'); }
        .flag-icon-be { background-image: url('https://flagcdn.com/w20/be.png'); }
        .flag-icon-ug { background-image: url('https://flagcdn.com/w20/ug.png'); }
        .flag-icon-ke { background-image: url('https://flagcdn.com/w20/ke.png'); }

        /* Adjust tag badges to accommodate flags */
        .tour-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: linear-gradient(135deg, #f5b63a 0%, #1E3EA1 100%);
            color: #ffffff;
            padding: 8px 16px;
            border-radius: 30px;
            font-weight: 700;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 0.8px;
            z-index: 2;
            box-shadow: 0 6px 15px rgba(30, 62, 161, 0.4);
            border: 1px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(2px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow: hidden;
        }

        .tour-badge::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
            transition: left 0.6s ease;
            z-index: 1;
        }

        .tour-card-detailed:hover .tour-badge {
            transform: translateY(-3px) scale(1.05);
            box-shadow: 0 10px 25px rgba(30, 62, 161, 0.6);
        }

        .tour-card-detailed:hover .tour-badge::before {
            left: 100%;
        }

        @media (max-width: 768px) {
            .filter-panel {
                position: fixed !important;
                left: 0 !important;
                right: 0 !important;
                bottom: 0 !important;
                top: auto !important;
                width: 100% !important;
                max-width: 100% !important;
                border-radius: 20px 20px 0 0 !important;
                border-top: 5px solid #f5b63a;
                box-shadow: 0 -16px 40px rgba(90,26,40,0.2) !important;
                transform: translateY(30px) !important;
                opacity: 0;
                visibility: hidden;
                transition: visibility 0s linear 0.3s, opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
                max-height: 80vh;
                overflow-y: auto;
                padding-bottom: 30px;
            }
            .filter-panel.visible {
                transform: translateY(0) !important;
                visibility: visible;
                opacity: 1;
                transition: visibility 0s linear 0s, opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.2);
            }
            .filter-bar {
                justify-content: flex-start;
            }
            .filter-panel label {
                padding: 14px 18px;
                font-size: 16px;
            }
            .filter-panel input[type="checkbox"] {
                width: 22px;
                height: 22px;
                margin-right: 18px;
            }
        }

        .tour-card-detailed {
            transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease !important;
        }

        .tour-card-detailed.dimmed {
            opacity: 0.7;
            filter: grayscale(0.6) brightness(0.8) contrast(1.1) blur(0.6px);
            transform: scale(0.9);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .tour-card-detailed {
            position: relative;
        }

        .tour-tags {
            position: absolute;
            top: 14px;
            right: 14px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            z-index: 5;
        }

        .tag-badge {
            background: rgba(255, 255, 255, 0.92);
            color: #1E3EA1;
            padding: 6px 10px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            opacity: 0.8;
            transition: all 0.25s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            backdrop-filter: blur(2px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .tag-badge.active {
            background: #f5b63a;
            color: #ffffff;
            opacity: 1;
            transform: translateY(-3px);
            box-shadow: 0 8px 18px rgba(30, 62, 161, 0.35);
            border-color: rgba(255, 255, 255, 0.8);
        }

        /* =====================================================
           ATLAS CARD LOOK (appended overrides — delete to revert)
           Matches the details panel: ivory paper, glass country
           chips top-left, passport-stamp badge top-right, Playfair
           title with a self-drawing gold rule, gold location eyebrow.
           ===================================================== */
        .tour-card-detailed {
            background-color: #fbf7ee;             /* ivory paper */
        }

        /* country/tag chips → top-left, dark glass */
        .tour-tags {
            top: 14px;
            left: 14px;
            right: auto;
            align-items: flex-start;
        }
        .tag-badge {
            background: rgba(8, 14, 34, 0.42);
            -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
            color: #ffffff;
            border: 1px solid rgba(255, 255, 255, 0.22);
            opacity: 1;
            font-size: 11px;
            letter-spacing: 0.04em;
            text-transform: uppercase;
        }
        .tag-badge.active {
            background: #e8b24a;
            color: #2a1c04;
            border-color: rgba(255, 255, 255, 0.6);
            box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
        }

        /* badge → tilted passport stamp, top-right */
        .tour-badge {
            top: 14px;
            left: auto;
            right: 14px;
            background: radial-gradient(circle at 35% 30%, #f3c463, #e8b24a 55%, #b8842a);
            color: #3a2606;
            border: 1px dashed rgba(58, 38, 6, 0.5);
            border-radius: 8px;
            padding: 7px 13px;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            transform: rotate(-3deg);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
        }
        .tour-card-detailed:hover .tour-badge {
            transform: rotate(-3deg) translateY(-2px) scale(1.05);
            box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
        }

        /* reorder content: location → title → rule → meta → buttons */
        .tour-destination {
            order: 1;
            color: #b8842a;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.18em;
            text-transform: uppercase;
            margin-bottom: 12px;
        }
        .tour-destination i { color: #b8842a; }

        .tour-content-detailed h3 {
            order: 2;
            font-family: 'Playfair Display', serif;
            color: #1a2238;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 18px;
        }
        /* self-drawing gold rule under the title */
        .tour-content-detailed h3::after {
            content: '';
            display: block;
            height: 2px;
            width: 40px;
            margin-top: 14px;
            border-radius: 2px;
            background: linear-gradient(90deg, #e8b24a, #b8842a);
            transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
        }
        .tour-card-detailed:hover .tour-content-detailed h3::after {
            width: 78px;
        }

        .tour-details  { order: 3; }
        .tour-buttons  { order: 5; }

        /* =====================================================
           ATLAS HERO (travels) — appended override, delete to revert
           ===================================================== */
        .travels-hero {
            position: relative;
            overflow: hidden;
            padding: 150px 0 110px;
            background-image:
                radial-gradient(ellipse 60% 55% at 78% 90%, rgba(232,178,74,.18), transparent 60%),
                radial-gradient(ellipse 70% 60% at 20% 10%, rgba(40,80,200,.30), transparent 65%),
                linear-gradient(180deg, rgba(8,16,42,.62) 0%, rgba(8,14,34,.78) 55%, rgba(6,11,28,.92) 100%),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?q=80&w=1900&auto=format&fit=crop');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        /* contour/atlas texture */
        .travels-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            opacity: .45;
            mix-blend-mode: soft-light;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='760' height='760'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.5'%3E%3Ccircle cx='380' cy='380' r='90'/%3E%3Ccircle cx='380' cy='380' r='170'/%3E%3Ccircle cx='380' cy='380' r='250'/%3E%3Ccircle cx='380' cy='380' r='330'/%3E%3Ccircle cx='130' cy='120' r='60'/%3E%3Ccircle cx='130' cy='120' r='130'/%3E%3Ccircle cx='650' cy='640' r='70'/%3E%3Ccircle cx='650' cy='640' r='150'/%3E%3C/g%3E%3C/svg%3E");
            background-size: 680px 680px;
        }
        /* gold→blue divider at the bottom edge */
        .travels-hero::after {
            content: '';
            position: absolute;
            left: 8%;
            right: 8%;
            bottom: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(232,182,58,.45) 30%, rgba(80,130,255,.5) 60%, transparent);
        }
        .travels-hero .hero-content {
            position: relative;
            z-index: 2;
            max-width: 840px;
        }

        .hero-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: 0.4em;
            text-transform: uppercase;
            color: #e8b24a;
            margin-bottom: 22px;
            animation: heroReveal 0.85s cubic-bezier(0.4,0,0.2,1) 0.15s both;
        }
        .hero-eyebrow::before,
        .hero-eyebrow::after {
            content: '';
            width: 44px;
            height: 1px;
            background: linear-gradient(90deg, transparent, #e8b24a);
        }
        .hero-eyebrow::after { background: linear-gradient(90deg, #e8b24a, transparent); }

        .travels-hero h1 {
            font-family: 'Playfair Display', serif;
            font-weight: 900;
            font-size: clamp(40px, 6.5vw, 68px);
            line-height: 1.05;
            letter-spacing: -0.02em;
            margin-bottom: 0;
            text-shadow: 0 2px 24px rgba(0,0,0,.35);
            animation: heroReveal 0.85s cubic-bezier(0.4,0,0.2,1) 0.3s both;
        }
        .travels-hero h1 em { font-style: italic; font-weight: 500; color: #e8b24a; }

        .hero-rule {
            width: 70px;
            height: 3px;
            border-radius: 2px;
            margin: 24px auto;
            background: linear-gradient(90deg, transparent, #e8b24a, #b8842a, transparent);
            animation: heroReveal 0.85s cubic-bezier(0.4,0,0.2,1) 0.45s both;
        }

        .travels-hero p {
            font-size: clamp(16px, 2.1vw, 20px);
            line-height: 1.7;
            color: rgba(255,255,255,.9);
            animation: heroReveal 0.85s cubic-bezier(0.4,0,0.2,1) 0.6s both;
        }
        .travels-hero .hero-buttons {
            animation: heroReveal 0.85s cubic-bezier(0.4,0,0.2,1) 0.78s both;
        }

        @keyframes heroReveal {
            from { opacity: 0; transform: translateY(30px); filter: blur(6px); }
            to   { opacity: 1; transform: none; filter: none; }
        }

        .hero-scroll {
            position: absolute;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 3;
            width: 26px;
            height: 42px;
            border: 2px solid rgba(255,255,255,.45);
            border-radius: 14px;
            display: flex;
            justify-content: center;
            padding-top: 8px;
        }
        .hero-scroll::before {
            content: '';
            width: 4px;
            height: 8px;
            border-radius: 3px;
            background: #e8b24a;
            animation: heroScroll 1.6s ease-in-out infinite;
        }
        @keyframes heroScroll {
            0%   { opacity: 0; transform: translateY(-4px); }
            40%  { opacity: 1; }
            100% { opacity: 0; transform: translateY(12px); }
        }

        @media (prefers-reduced-motion: reduce) {
            .hero-eyebrow,
            .travels-hero h1,
            .hero-rule,
            .travels-hero p,
            .travels-hero .hero-buttons { animation: none; }
            .hero-scroll::before { animation: none; }
        }

        .tour-card-detailed[id] {
            scroll-margin-top: 80px;
        }

        @media (max-width: 992px) {
            .travels-hero h1 {
                font-size: 36px;
            }
            .travels-hero p {
                font-size: 18px;
            }
            .all-tours-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
                gap: 30px;
            }
        }

        @media (max-width: 768px) {
            .travels-hero {
                padding: 100px 0 60px;
            }
            .travels-hero h1 {
                font-size: 32px;
            }
            .travels-hero p {
                font-size: 16px;
            }
            .all-tours-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }
            .tour-buttons {
                flex-direction: column;
            }
            .tour-buttons .btn {
                padding: 14px;
                font-size: 15px;
            }
            .tour-details {
                flex-wrap: wrap;
                gap: 15px;
            }
            .tour-detail {
                flex: 1;
                min-width: 100px;
            }
            .benefits-grid {
                grid-template-columns: 1fr;
            }

            .filter-toggle-btn {
                padding: 10px 22px;
                font-size: 14px;
            }
        }

        /* ============================================
           TOUR EXPAND PANEL
           ============================================ */

        /* Base expand panel — hidden by default */
        .tour-expand-panel {
            overflow: hidden;
            max-height: 0;
            opacity: 0;
            transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
        }

        .tour-card-detailed.expanded .tour-expand-panel {
            overflow-y: auto;
            opacity: 1;
        }

        /* ── Scroll hint arrow ──────────────────────── */
        .tour-expand-scroll-hint {
            position: sticky;
            bottom: 0;
            display: flex;
            justify-content: center;
            padding: 10px 0 6px;
            background: linear-gradient(to top, rgba(255,255,255,0.97) 55%, transparent);
            pointer-events: none;
        }

        /* Hide hint when panel is fully scrolled (JS adds class) */
        .tour-expand-scroll-hint.at-bottom {
            opacity: 0;
        }

        .tour-expand-scroll-arrow {
            width: 18px;
            height: 18px;
            border-right: 2.5px solid #1E3EA1;
            border-bottom: 2.5px solid #1E3EA1;
            transform: rotate(45deg);
            opacity: 0.55;
            animation: expandScrollBounce 1.1s ease-in-out infinite;
        }

        @keyframes expandScrollBounce {
            0%, 100% { transform: rotate(45deg) translateY(0); }
            50%       { transform: rotate(45deg) translateY(5px); }
        }

        /* Desktop / tablet — overlay that floats above cards below */
        @media (min-width: 769px) {
            .tour-expand-panel {
                position: absolute;
                left: -1px;
                right: -1px;
                top: 100%;
                background: white;
                border-radius: 0 0 14px 14px;
                border: 1px solid rgba(30, 62, 161, 0.25);
                border-top: none;
                box-shadow: 0 20px 50px rgba(13, 36, 87, 0.18);
                z-index: 50;
            }

            .tour-card-detailed.expanded {
                z-index: 100;
                border-radius: 12px 12px 0 0;
                box-shadow: 0 0 0 2px rgba(30, 62, 161, 0.35), 0 20px 50px rgba(13, 36, 87, 0.2);
                transform: scale(0.93); /* keep same size — no lift when expanded */
            }

            .tour-card-detailed.expanded:hover {
                transform: scale(0.93); /* suppress hover lift while expanded */
                box-shadow: 0 0 0 2px rgba(30, 62, 161, 0.35), 0 20px 50px rgba(13, 36, 87, 0.2);
            }
        }

        /* Mobile — normal flow, cards below get pushed down */
        @media (max-width: 768px) {
            .tour-expand-panel {
                position: static;
                /* border only shows once panel is open (avoids 2px ghost line when closed) */
            }

            .tour-card-detailed.expanded .tour-expand-panel {
                border-top: 2px solid #EEF2FE;
            }

            .tour-card-detailed.expanded {
                box-shadow: 0 0 0 2px rgba(30, 62, 161, 0.35), 0 12px 30px rgba(13, 36, 87, 0.15);
            }
        }

        .tour-expand-inner {
            padding: 20px 25px 25px;
        }

        .tour-expand-separator {
            height: 2px;
            background: linear-gradient(90deg, #f5b63a, rgba(160,47,70,0.1));
            border-radius: 2px;
            margin-bottom: 18px;
        }

        .tour-long-desc-text {
            color: #444;
            line-height: 1.85;
            font-size: 15px;
            margin-bottom: 20px;
            white-space: pre-line;
        }

        .tour-expand-close {
            display: flex;
            align-items: center;
            gap: 8px;
            background: none;
            border: 1px solid #e0e6ef;
            color: #1E3EA1;
            padding: 8px 20px;
            border-radius: 30px;
            cursor: pointer;
            font-size: 13px;
            font-weight: 600;
            transition: all 0.25s ease;
            margin: 0 auto;
            font-family: inherit;
        }

        .tour-expand-close:hover {
            background: #EEF2FE;
            border-color: #f5b63a;
        }

        /* Details button chevron rotation when expanded */
        .btn-details-icon {
            display: inline-block;
            margin-left: 6px;
            font-size: 11px;
            transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .tour-card-detailed.expanded .btn-details-icon {
            transform: rotate(180deg);
        }

        /* Reset button default styles inside tour-buttons */
        .tour-buttons button.btn {
            cursor: pointer;
            font-family: inherit;
            border: none;
        }

        /* ============================================
           BOOKING MODAL — CALENDAR DATE PICKER
           ============================================ */

        .bm-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(10, 25, 47, 0.72);
            backdrop-filter: blur(3px);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .bm-box {
            background: white;
            border-radius: 20px;
            width: calc(100% - 32px);
            max-width: 480px;
            box-shadow: 0 30px 80px rgba(10, 25, 47, 0.35);
            overflow: hidden;
        }

        /* Header */
        .bm-header {
            background: linear-gradient(135deg, #1E3EA1 0%, #f5b63a 100%);
            color: white;
            padding: 22px 24px 18px;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
        }

        .bm-header h3 {
            font-family: 'Playfair Display', serif;
            font-size: 18px;
            line-height: 1.35;
            margin: 0;
        }

        .bm-header p {
            margin: 4px 0 0;
            font-size: 13px;
            opacity: 0.75;
        }

        .bm-close {
            background: rgba(255,255,255,0.15);
            border: none;
            color: white;
            width: 44px;
            height: 44px;
            min-width: 44px;
            min-height: 44px;
            border-radius: 50%;
            font-size: 20px;
            line-height: 1;
            cursor: pointer;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s ease;
        }

        .bm-close:hover { background: rgba(255,255,255,0.28); }

        /* Month navigation */
        .bm-month-nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 24px 10px;
            border-bottom: 1px solid #EEF2FE;
        }

        .bm-nav-btn {
            background: none;
            border: 1px solid #e0e6ef;
            color: #1E3EA1;
            width: 44px;
            height: 44px;
            min-width: 44px;
            min-height: 44px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            font-size: 15px;
        }

        .bm-nav-btn:hover {
            background: #f5b63a;
            border-color: #f5b63a;
            color: #ffffff;
        }

        .bm-month-title {
            font-family: 'Playfair Display', serif;
            font-size: 17px;
            font-weight: 600;
            color: #1E3EA1;
        }

        /* Calendar grid */
        .bm-grid-wrap {
            padding: 12px 18px 20px;
        }

        .bm-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 4px;
        }

        .bm-cell {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            border-radius: 50%;
            font-weight: 500;
            color: #333;
        }

        .bm-head {
            font-size: 11px;
            font-weight: 700;
            color: #1E3EA1;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            aspect-ratio: auto;
            padding-bottom: 4px;
        }

        .bm-past { color: #ccc; }

        .bm-today {
            border: 2px solid #f5b63a;
            color: #1E3EA1;
            font-weight: 700;
        }

        .bm-available {
            background: #f5b63a;
            color: #ffffff !important;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
            box-shadow: 0 2px 8px rgba(160,47,70,0.35);
        }

        .bm-available:hover {
            background: #1E3EA1;
            transform: scale(1.15);
            box-shadow: 0 4px 14px rgba(160,47,70,0.5);
        }

        .bm-info {
            text-align: center;
            font-size: 13px;
            color: #666;
            margin-top: 14px;
            padding: 10px 16px;
            background: #f9f7f2;
            border-radius: 10px;
        }

        .bm-info a { color: #1E3EA1; font-weight: 600; text-decoration: underline; }

        .bm-loading {
            text-align: center;
            padding: 40px 0;
            color: #1E3EA1;
            font-size: 15px;
        }

        @media (max-width: 520px) {
            .bm-box { border-radius: 16px; }
            .bm-header { padding: 18px 18px 14px; }
            .bm-header h3 { font-size: 16px; }
            .bm-grid-wrap { padding: 10px 12px 18px; }
            .bm-cell { font-size: 14px; min-height: 36px; }
            .bm-head { font-size: 12px; }
        }

        /* ============================================
           BOOKING MODAL (legacy inline — moved here)
           ============================================ */
        #bookingModal {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(10, 25, 47, 0.85);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            padding: 16px;
            box-sizing: border-box;
        }
        #bmBox {
            background: #fff;
            border-radius: 20px;
            width: 100%;
            max-width: 680px;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 40px 100px rgba(0,0,0,0.5);
            display: flex;
            flex-direction: column;
        }
        #bmHeader {
            background: linear-gradient(135deg, #1a3a5f, #2c5a8a);
            color: #fff;
            padding: 24px 28px 20px;
            border-radius: 20px 20px 0 0;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
            flex-shrink: 0;
        }
        #bmTourTitle {
            font-family: 'Playfair Display', serif;
            font-size: 20px;
            font-weight: 700;
            margin: 0 0 4px;
            line-height: 1.3;
        }
        #bmHeader p { margin: 0; font-size: 14px; opacity: 0.75; }
        #bmCloseBtn {
            background: rgba(255,255,255,0.2);
            border: none;
            color: #fff;
            font-size: 22px;
            line-height: 1;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        #bmCloseBtn:hover { background: rgba(255,255,255,0.35); }
        #bmNav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 28px 12px;
            border-bottom: 2px solid #f0e9d8;
            flex-shrink: 0;
        }
        .bm-nav-arrow {
            background: none;
            border: 2px solid #e0e6ef;
            color: #1a3a5f;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        .bm-nav-arrow:hover { background: #e6b325; border-color: #e6b325; }
        #bmMonthLabel {
            font-family: 'Playfair Display', serif;
            font-size: 22px;
            font-weight: 700;
            color: #1a3a5f;
            text-align: center;
        }
        #bmCalBody { padding: 16px 28px 24px; }
        #bmCalGrid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 6px;
        }
        .bm-wd {
            text-align: center;
            font-size: 12px;
            font-weight: 700;
            color: #1a3a5f;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            padding-bottom: 8px;
        }
        .bm-d {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 15px;
            font-weight: 500;
            color: #333;
        }
        .bm-d.bm-past { color: #ccc; }
        .bm-d.bm-today { border: 2px solid #2c5a8a; color: #1a3a5f; font-weight: 700; }
        .bm-d.bm-avail {
            background: #e6b325;
            color: #1a3a5f !important;
            font-weight: 800;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(230,179,37,0.5);
            transition: transform 0.15s, box-shadow 0.15s;
        }
        .bm-d.bm-avail:hover { transform: scale(1.2); box-shadow: 0 4px 18px rgba(230,179,37,0.7); }
        .bm-d.bm-selected {
            background: #1a3a5f !important;
            color: #e6b325 !important;
            box-shadow: 0 4px 18px rgba(26,58,95,0.5) !important;
            transform: scale(1.15);
        }
        #bmContinueBar {
            display: none;
            padding: 16px 28px 20px;
            border-top: 2px solid #f0e9d8;
            flex-shrink: 0;
            background: var(--color-bg-cream);
            border-radius: 0 0 20px 20px;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
        }
        #bmContinueBar.visible { display: flex; }
        #bmSelectedInfo {
            font-size: 14px;
            color: #1a3a5f;
            font-weight: 600;
        }
        #bmSelectedInfo span { color: #e6a800; }
        #bmContinueBtn {
            background: linear-gradient(135deg, #e6b325, #f0c840);
            color: #1a3a5f;
            border: none;
            padding: 12px 28px;
            border-radius: 50px;
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.15s, box-shadow 0.15s;
            white-space: nowrap;
        }
        #bmContinueBtn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230,179,37,0.5); }
        #bmLegend {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-top: 16px;
            padding-top: 16px;
            border-top: 1px solid #f0e9d8;
            font-size: 13px;
            color: #555;
            flex-wrap: wrap;
        }
        #bmLegend span { display: flex; align-items: center; gap: 6px; }
        .bm-dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
        #bmMsg {
            margin-top: 14px;
            padding: 12px 18px;
            background: var(--color-bg-cream);
            border-radius: 10px;
            font-size: 14px;
            color: #555;
            text-align: center;
        }
        #bmMsg a { color: #1a3a5f; font-weight: 700; text-decoration: underline; }
        #bmLoading { text-align: center; padding: 50px 0; color: #1a3a5f; font-size: 16px; }
        @media (max-width: 520px) {
            #bmContinueBar { padding: 14px 18px 16px; }
            #bmContinueBtn { width: 100%; justify-content: center; }
            #bmBox { border-radius: 14px; max-height: 95vh; }
            #bmHeader { padding: 18px 18px 14px; }
            #bmTourTitle { font-size: 17px; }
            #bmNav { padding: 16px 18px 10px; }
            #bmMonthLabel { font-size: 18px; }
            #bmCalBody { padding: 12px 14px 18px; }
            .bm-d { font-size: 13px; }
            #bmCloseBtn { width: 44px; height: 44px; font-size: 20px; }
        }

        /* ============================================
           ACCESSIBILITY — respect OS reduced-motion preference
           ============================================ */
        @media (prefers-reduced-motion: reduce) {
            *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
                scroll-behavior: auto !important;
            }
        }

        /* ============================================================
           TIER BADGE ON CARD — commented out (tiers not in use)
        .tour-tier-badge {
            position: absolute;
            top: 12px;
            right: 12px;
            padding: 4px 13px;
            border-radius: 20px;
            font-size: 10px;
            font-weight: 800;
            letter-spacing: 1.8px;
            text-transform: uppercase;
            z-index: 2;
            pointer-events: none;
            box-shadow: 0 2px 6px rgba(0,0,0,0.25);
        }
        .tier-badge-silver {
            background: linear-gradient(135deg, #5a6470, #8a95a0, #4e5860);
            color: #fff;
            text-shadow: 0 1px 3px rgba(0,0,0,0.5);
        }
        .tier-badge-gold {
            background: linear-gradient(135deg, #c8960c, #f0c040, #b07d00);
            color: #fff;
            text-shadow: 0 1px 2px rgba(0,0,0,0.25);
        }
        .tier-badge-platinum {
            background: linear-gradient(135deg, #7a90aa, #b0cce0, #6a85a0);
            color: #fff;
            text-shadow: 0 1px 2px rgba(0,0,0,0.25);
        }
        ============================================================ */


