/* ============================================================
   MR. BEN JEEP TOURS – style.css
   Color Palette & Design System via CSS Custom Properties
   ============================================================ */

:root {
    /* Brand Colors – Dark (warm) */
    --color-bg: #1A0F0A;
    --color-bg-alt: #231709;
    --color-bg-card: #382010;

    /* Brand Colors – Light (white balance) */
    --color-bg-light: #FDFAF5;
    --color-bg-light-alt: #F5EDE0;
    --color-bg-card-light: #FFFFFF;

    /* Gold */
    --color-gold: #D4AF37;
    --color-gold-light: #FFD700;
    --color-gold-dark: #A8892A;

    /* Accent reds */
    --color-red: #8B0000;
    --color-orange: #C84B11;

    /* Text – dark mode */
    --color-text: #F5EFE6;
    --color-text-muted: #A89880;

    /* Text – light mode */
    --color-text-dark: #1A0F0A;
    --color-text-dark-muted: #7A6050;

    /* Borders */
    --color-border: rgba(212, 175, 55, 0.25);
    --color-border-hover: rgba(212, 175, 55, 0.75);
    --color-border-light: rgba(212, 175, 55, 0.3);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Poppins', system-ui, sans-serif;

    /* Spacing */
    --section-py: 100px;
    --container: 1200px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --dur: 0.35s;
}

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

/* Remove browser default blue focus outline on click */
button:focus,
button:focus-visible,
button:active,
a:focus,
a:active,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

/* Remove tap highlight on ALL elements for mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* ── Gold Text Utility ───────────────────────────────────── */
.gold-text {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
}

.btn-gold {
    background: transparent linear-gradient(135deg, var(--color-gold-light), var(--color-gold), var(--color-gold-dark));
    color: #1A0F0A;
    border: 2px solid transparent;
}

.btn-gold:hover {
    background: transparent linear-gradient(135deg, var(--color-gold-dark), var(--color-gold));
    box-shadow: 0 0 28px rgba(212, 175, 55, 0.55);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline-gold:hover {
    background: #fff;
    color: #1a0f0a;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.8rem;
}

/* ── Section Shared ──────────────────────────────────────── */
.section {
    padding: var(--section-py) 0;
    scroll-margin-top: 80px; /* Offset for fixed navbar when scrolling */
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 580px;
    margin-inline: auto;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 10px 0;
    transition: background var(--dur) var(--ease),
        padding var(--dur) var(--ease),
        border-color var(--dur) var(--ease);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(26, 15, 10, 0.97);
    padding: 5px 0;
    border-bottom-color: rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(8px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
    gap: 24px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-logo-img {
    height: 70px;
    width: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
    display: block;
    transition: height var(--dur) var(--ease), width var(--dur) var(--ease), box-shadow var(--dur);
}

.navbar.scrolled .nav-logo-img {
    height: 50px;
    width: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

/* Hidden on desktop, shown only in mobile overlay */
.nav-mobile-logo-item {
    display: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    position: relative;
    transition: color var(--dur);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-gold);
    transition: width var(--dur) var(--ease);
}

.nav-link:hover {
    color: var(--color-gold);
}

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

.nav-cta {
    margin-left: 16px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: all var(--dur) var(--ease);
}

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

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

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    height: 100svh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #1A0F0A;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(26, 15, 10, 0.45) 0%,
            rgba(26, 15, 10, 0.65) 50%,
            rgba(139, 0, 0, 0.35) 80%,
            rgba(26, 15, 10, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding-inline: 24px;
    animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffc300;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* ── Hero brand lockup (line 2 of title) ── */
.hero-brand-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.hero-title-with {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 2.6rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(245, 239, 230, 0.85);
    line-height: 1;
}

.hero-brand-name {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 1;
    gap: 3px;
}

/* "MR. BEN" — bold gold, matches logo */
.hero-brand-mr {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-gold);
    text-shadow: 0 2px 16px rgba(212, 175, 55, 0.35);
    line-height: 1;
    display: block;
}

/* "JEEP TOURS" — smaller, muted white, spaced out, matches logo */
.hero-brand-jeep {
    font-family: var(--font-sans);
    font-size: clamp(0.7rem, 1.4vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.35em;
    color: rgba(245, 239, 230, 0.65);
    text-transform: uppercase;
    line-height: 1;
    display: block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(245, 239, 230, 0.85);
    max-width: 620px;
    margin-inline: auto;
    margin-bottom: 44px;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll-hint i {
    color: var(--color-gold);
    font-size: 1rem;
}

@keyframes bounce {

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

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

/* ============================================================
   ABOUT – WHY CHOOSE US  (Light / White section)
   ============================================================ */
.about {
    background: var(--color-bg-light);
    /* Subtle warm top border to transition from dark hero */
    border-top: 4px solid var(--color-gold);
}

/* Override section-header text for light bg */
.about .section-eyebrow {
    color: var(--color-orange);
}

.about .section-title {
    color: var(--color-text-dark);
}

.about .section-subtitle {
    color: var(--color-text-dark-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 900px;
    margin-inline: auto;
}

.feature-card {
    background: var(--color-bg-card-light);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(139, 60, 0, 0.06);
    transition: transform var(--dur) var(--ease),
        border-color var(--dur) var(--ease),
        box-shadow var(--dur) var(--ease);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-gold);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.18);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin-inline: auto;
    margin-bottom: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(200, 75, 17, 0.12));
    border: 1px solid rgba(212, 175, 55, 0.35);
    font-size: 1.6rem;
    color: var(--color-gold-dark);
    transition: background var(--dur);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.32), rgba(200, 75, 17, 0.22));
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-dark-muted);
    line-height: 1.7;
}

/* ============================================================
   FEATURED TOURS
   ============================================================ */
.tours {
    background: var(--color-bg);
}

/* ── Tours grid: horizontal scroll slider (all screen sizes) ── */
.tours-grid {
    display: flex;
    flex-direction: row;
    gap: 24px;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.tours-grid::-webkit-scrollbar {
    display: none;
}

/* Each card: fixed width = 1/3 of container on desktop */
.tour-card {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: start;
}

/* Tours slider wrapper – base */
.tours-slider-wrapper {
    position: relative;
    padding: 0 52px;
    overflow: hidden;
}

/* Arrow buttons – visible on all screen sizes */
.tours-arrow {
    display: flex;
    position: absolute;
    top: 350px;
    /* vertically centered over the image (260px / 2) */
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-gold);
    background: rgba(26, 15, 10, 0.88);
    color: var(--color-gold);
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--dur) var(--ease), box-shadow var(--dur);
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.tours-arrow-prev {
    left: -17px;

}

.tours-arrow-next {
    right: -17px;

}

.tours-arrow:hover {
    background: var(--color-gold);
    color: #1A0F0A;
}

.tours-arrow:disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* Dots indicator – visible on all screen sizes */
.tours-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.tours-dot {
    width: 8px;
    height: 8px;
    border-radius: 10px;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), width var(--dur) var(--ease);
}

.tours-dot.active {
    background: var(--color-gold);
    width: 24px;
}

/* ── Unified Jeep Booking CTA ── */
.jeep-booking-cta {
    margin-top: 48px;
    padding: 0 16px;
}

.jbc-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(56, 32, 16, 0.85), rgba(26, 15, 10, 0.95));
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    border-radius: 20px;
    padding: 40px 36px 36px;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.35),
        0 0 60px rgba(212, 175, 55, 0.08) inset;
    position: relative;
    overflow: hidden;
}

.jbc-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold-light), var(--color-gold), var(--color-gold-light), transparent);
}

.jbc-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(200, 75, 17, 0.15));
    border: 1.5px solid rgba(212, 175, 55, 0.4);
    font-size: 1.5rem;
    color: var(--color-gold);
}

.jbc-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.jbc-prices {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 20px;
}

.jbc-price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    max-width: 200px;
}

.jbc-price-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.jbc-price-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-gold);
    letter-spacing: -0.01em;
}

.jbc-price-per {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.jbc-price-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.35), transparent);
    flex-shrink: 0;
    margin: 0 20px;
}

.jbc-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 10px;
    padding: 10px 16px;
}

.jbc-hint i {
    color: var(--color-gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.jbc-book-btn {
    width: 100%;
    max-width: 320px;
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jbc-book-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.45);
}

@media (max-width: 480px) {
    .jbc-inner {
        padding: 32px 20px 28px;
    }

    .jbc-title {
        font-size: 1.25rem;
    }

    .jbc-price-val {
        font-size: 1.05rem;
    }

    .jbc-price-divider {
        margin: 0 12px;
    }

    .jbc-hint {
        font-size: 0.76rem;
        flex-direction: column;
        text-align: center;
    }

    .jbc-book-btn {
        max-width: 100%;
    }
}

.tour-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: clip;
    /* clip = no scroll container (unlike hidden) */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    isolation: isolate;
    /* inactive state: dim + shrink */
    opacity: 0.55;
    transform: scale(0.94);
    transition:
        opacity 0.45s var(--ease),
        transform 0.45s var(--ease),
        border-color 0.35s var(--ease),
        box-shadow 0.35s var(--ease);
}

/* Active card: full brightness + full size */
.tour-card.is-active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 40px rgba(212, 175, 55, 0.15), 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* ── Slide-in animations (direction applied via JS) ── */
@keyframes tourCardInNext {
    from {
        opacity: 0.3;
        transform: scale(0.93) translateX(30px);
    }

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

@keyframes tourCardInPrev {
    from {
        opacity: 0.3;
        transform: scale(0.93) translateX(-30px);
    }

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

/* Hover lift only on active card on desktop */
.tour-card.is-active:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--color-gold);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.22), 0 4px 24px rgba(0, 0, 0, 0.3);
}

.tour-img-wrap {
    position: relative;
    overflow: hidden;
    height: 260px;
    flex-shrink: 0;
}

.tour-img-wrap img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease);
}

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

.tour-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: #1A0F0A;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

.sunset-badge {
    background: linear-gradient(135deg, var(--color-orange), var(--color-red));
    color: #fff;
}

.tour-body {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 12px;
    font-size: 0.76rem;
    color: var(--color-text-muted);
}

.tour-meta i {
    color: var(--color-gold);
    margin-right: 5px;
}

.tour-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.tour-desc {
    font-size: 0.88rem;
    color: #d5c5ae;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 22px;
}

.tour-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.04) 0%, transparent 100%);
    border-radius: 0 0 16px 16px;
    margin: 0 -24px -26px;
}

.tour-price {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    width: 100%;
}

/* Full-width book button */
.tour-footer .btn {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 13px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
}

.price-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    text-align: center;
}

.price-type {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.price-amount {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--color-gold);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.price-per {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.price-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.3), transparent);
    flex-shrink: 0;
    margin: 0 8px;
}

/* ============================================================
   GALLERY  (Light / White section)
   ============================================================ */
.gallery {
    background: var(--color-bg-light-alt);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.gallery .section-eyebrow {
    color: var(--color-orange);
}

.gallery .section-title {
    color: var(--color-text-dark);
}

.gallery .section-subtitle {
    color: var(--color-text-dark-muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 15, 10, 0.85) 0%, transparent 55%);
    display: flex;
    align-items: flex-end;
    padding: 18px;
    opacity: 0;
    transition: opacity var(--dur);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-gold);
    font-style: italic;
}

/* ============================================================
   CTA BANNER / CONTACT
   ============================================================ */
.cta-banner {
    position: relative;
    background: url('https://images.unsplash.com/photo-1473496169904-658ba7574b0d?auto=format&fit=crop&w=1920&q=80') center 60% / cover no-repeat;
    padding: 120px 0;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 15, 10, 0.92), rgba(139, 0, 0, 0.75));
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 18px;
}

.cta-sub {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 52px;
}

.contact-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(42, 26, 16, 0.85);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px 28px;
    min-width: 220px;
    transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
}

.contact-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.18);
}

.contact-card i {
    font-size: 1.6rem;
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-card div {
    text-align: left;
}

.cc-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 3px;
}

.cc-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
}

/* Zalo custom icon badge */
.zalo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: rgba(42, 26, 16, 0.85);
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
    font-size: 1rem;
    font-weight: 800;
    font-family: var(--font-sans);
    flex-shrink: 0;
    line-height: 1;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    padding-top: 0;
    border-top: none;
}

.footer-top-bar {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-gold) 30%, var(--color-gold-light) 50%, var(--color-gold) 70%, transparent 100%);
    margin-bottom: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1.4fr;
    gap: 60px;
    padding-bottom: 56px;
}

/* ── Brand column ── */
.footer-logo-link {
    display: block;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-gold);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.25);
    flex-shrink: 0;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1.1;
}

.footer-logo-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.06em;
}

.footer-logo-sub {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    color: var(--color-gold);
    font-weight: 500;
    text-transform: uppercase;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--color-gold), transparent);
    margin-bottom: 18px;
    width: 80%;
    opacity: 0.4;
}

.footer-brand p {
    font-size: 0.87rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: all var(--dur);
}

.social-links a:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

/* ── Columns ── */
.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    border-radius: 2px;
}

.footer-col ul li+li {
    margin-top: 11px;
}

.footer-col ul a {
    font-size: 0.87rem;
    color: var(--color-text-muted);
    transition: color var(--dur), padding-left var(--dur);
    display: inline-block;
}

.footer-col ul a:hover {
    color: var(--color-gold);
    padding-left: 6px;
}

/* ── Contact col ── */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.86rem;
    color: var(--color-text-muted);
    line-height: 1.55;
}

.footer-contact li+li {
    margin-top: 14px;
}

.footer-contact li i {
    color: var(--color-gold);
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.footer-contact a {
    color: var(--color-text-muted);
    transition: color var(--dur);
}

.footer-contact a:hover {
    color: var(--color-gold);
}

/* ── Bottom bar ── */
.footer-bottom {
    text-align: center;
    padding: 22px 24px;
    border-top: 1px solid var(--color-border);
    font-size: 0.78rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: #1A0F0A;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 888;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity var(--dur), transform var(--dur);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE – TABLET
   ============================================================ */
@media (max-width: 960px) {
    :root {
        --section-py: 72px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

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

/* ============================================================
   RESPONSIVE – MOBILE
   ============================================================ */
@media (max-width: 680px) {
    :root {
        --section-py: 56px;
    }

    /* Navbar mobile */
    .nav-links {
        position: fixed;
        inset: 0;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 80px 40px 200px calc(30% + 20px);
        padding-left: 185px;
        gap: 28px;
        background: linear-gradient(to right,
                rgba(10, 5, 2, 0.65) 0%,
                rgba(10, 5, 2, 0.65) 30%,
                rgba(15, 8, 3, 0.97) 30%,
                rgba(15, 8, 3, 0.97) 100%);
        backdrop-filter: blur(12px);
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        z-index: 1000;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    /* KEY FIX: backdrop-filter on .navbar creates a new containing block,
       breaking position:fixed on child .nav-links (clips to navbar height).
       Remove it when menu is open to restore viewport as containing block. */
    .navbar:has(.nav-links.open) {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Mobile nav logo */
    .nav-mobile-logo-item {
        display: flex;
        justify-content: center;
        margin-bottom: 12px;
    }

    .nav-mobile-logo {
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid var(--color-gold);
        box-shadow: 0 0 24px rgba(212, 175, 55, 0.3);
    }

    .nav-link {
        font-size: 1rem;
        color: var(--color-text);
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Reset navbar size for mobile */
    .navbar {
        padding: 12px 0;
    }

    .navbar.scrolled {
        padding: 10px 0;
    }

    .nav-logo-img {
        height: 55px;
        width: 55px;
    }

    .navbar.scrolled .nav-logo-img {
        height: 44px;
        width: 44px;
    }

    /* Mobile nav layout: CSS Grid — logo LEFT, controls RIGHT */
    .nav-container {
        position: static;
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        /* col1=logo | col2=spacer | col3=lang | col4=hamburger */
        align-items: center;
    }

    .nav-logo {
        grid-column: 1;
        grid-row: 1;
        position: static;
        transform: none;
    }

    .nav-links {
        grid-column: 1 / -1;
        /* Hidden but keeps it in grid flow cleanly */
        grid-row: 1;
    }

    .lang-switcher {
        grid-column: 3;
        grid-row: 1;
        margin-left: 0;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        grid-column: 4;
        grid-row: 1;
    }

    /* Hero */
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    /* Tours – mobile horizontal slider */
    .tours-slider-wrapper {
        position: relative;
        /* Do NOT set overflow:hidden — it breaks child scroll */
    }

    .tours-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
        padding: 0;
        /* Contain horizontal scroll inside slider; allow vertical page scroll */
        overscroll-behavior-x: contain;
        touch-action: pan-x pan-y;
    }

    .tours-grid::-webkit-scrollbar {
        display: none;
    }

    .tour-card {
        flex: 0 0 calc(100vw - 48px);
        width: calc(100vw - 48px);
        scroll-snap-align: start;
        max-width: 420px;
        margin: 0 8px;
        overflow: hidden;
        box-sizing: border-box;
        overscroll-behavior-x: contain;
    }

    .tour-body {
        overflow: hidden;
        touch-action: pan-x pan-y;
    }

    /* Fix image overflow inside slider card */
    .tour-img-wrap {
        overflow: hidden;
        width: 100%;
    }

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

    /* Make Book Now button full-width on mobile */
    .tour-footer {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        padding: 14px 0 0;
        margin: 0;
        background: none;
        border-radius: 0;
    }

    .tour-footer .btn-gold {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 14px;
        font-size: 0.95rem;
        letter-spacing: 0.12em;
    }

    .tour-price {
        justify-content: center;
    }

    /* Tours: mobile card = 100% so exactly 1 card shows, no peeking */
    .tour-card {
        flex: 0 0 100%;
    }

    /* Remove desktop side padding; keep overflow clipping */
    .tours-slider-wrapper {
        padding: 0;
    }

    /* Smaller image on mobile */
    .tour-img-wrap {
        height: 200px;
    }

    /* Arrow centered over mobile image */
    .tours-arrow {
        top: 300px;
    }


    /* Gallery */
    .gallery-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 24px;
        /* Space for shadow/scroll */
        overscroll-behavior-x: contain;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-grid .gallery-item {
        flex: 0 0 85%;
        max-width: 380px;
        scroll-snap-align: center;
        margin: 0;
        aspect-ratio: 4/3;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }


    /* Contact cards */
    .contact-cards {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 340px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto;
    }

    /* Language switcher: always visible, smaller on mobile */
    .lang-switcher {
        order: -1;
        /* move before hamburger */
    }

    .lang-code {
        display: none;
    }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
    position: relative;
    z-index: 1002;
}

/* Trigger button */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    cursor: pointer;
    transition: background var(--dur), border-color var(--dur);
    color: var(--color-text);
    font-family: var(--font-sans);
}

.lang-btn:hover,
.lang-btn.open {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--color-gold);
}

/* Flag image inside button & options */
.lang-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    flex-shrink: 0;
}

/* Language code text */
.lang-code {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text);
}

/* Chevron arrow */
.lang-arrow {
    font-size: 0.6rem;
    transition: transform var(--dur) var(--ease);
}

.lang-arrow.rotated {
    transform: rotate(180deg);
}

/* Dropdown panel */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(26, 15, 10, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 6px;
    list-style: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
    /* Hidden state */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease),
        transform 0.25s var(--ease);
}

.lang-dropdown.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Each option row */
.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background var(--dur);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.lang-option:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-text);
}

.lang-option.active {
    background: rgba(212, 175, 55, 0.14);
    color: var(--color-gold);
    font-weight: 600;
}

/* Gold dot indicator for active language */
.lang-option.active::after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gold);
    margin-left: auto;
    flex-shrink: 0;
}

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.booking-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}

@media (min-width: 600px) {
    .booking-overlay {
        align-items: center;
    }
}

@media (max-width: 599px) {
    .booking-overlay {
        padding: 20px 16px;
        align-items: center;
    }

    .booking-modal {
        width: 100%;
        max-width: 100%;
        max-height: 85vh;
        border-radius: 15px;
        transform: translateY(20px) scale(0.98);
    }

    .booking-overlay.open .booking-modal {
        transform: translateY(0) scale(1);
    }

    .booking-header {
        padding: 16px 16px 10px;
    }

    .booking-title {
        font-size: 1.2rem;
        margin-bottom: 2px;
    }

    .booking-tour-name {
        font-size: 0.8rem;
    }

    .booking-price-bar {
        padding: 10px 16px;
    }

    .booking-body {
        padding: 14px 16px 24px !important;
        gap: 10px !important;
    }

    .bf-group {
        gap: 5px !important;
    }

    .bf-label {
        font-size: 0.76rem;
    }

    .bf-input {
        padding: 9px 12px;
        font-size: 0.85rem;
    }

    .bf-hotel-input-row {
        padding: 9px 12px;
    }

    .bf-toggle {
        padding: 9px 10px;
        font-size: 0.82rem;
    }
}

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

.booking-modal {
    background: linear-gradient(160deg, #1C0F06 0%, #150A03 100%);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 20px;
    width: 100%;
    max-width: 430px;
    max-height: 92vh;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(212, 175, 55, 0.1);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s var(--ease);
}

.booking-modal::-webkit-scrollbar {
    display: none;
}

.booking-overlay.open .booking-modal {
    transform: translateY(0) scale(1);
}

/* ── Close ── */
.booking-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--dur), color var(--dur);
    z-index: 10;
    cursor: pointer;
    border: none;
}

.booking-close:hover {
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-gold);
}

/* ── Header ── */
.booking-header {
    padding: 30px 24px 16px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    position: sticky;
    top: 0;
    z-index: 5;
    background: linear-gradient(160deg, #1C0F06 0%, #150A03 100%);
    flex-shrink: 0;
}

.booking-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: 6px;
}

.booking-tour-name {
    font-size: 0.9rem;
    color: var(--color-gold-light);
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ── Price bar ── */
.booking-price-bar {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(212, 175, 55, 0.05);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    padding: 14px 24px;
}

/* ── Scrollable form body ── */
.booking-body {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

.booking-body::-webkit-scrollbar {
    display: none;
}


.bpb-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.bpb-label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.bpb-val {
    font-size: 1rem;
    color: var(--color-gold);
    font-weight: 700;
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
}

.bpb-per {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-muted);
    padding-left: 2px;
}

#bpbGroup {
    padding-left: 22px;
}

.bpb-divider {
    width: 1px;
    height: 40px;
    background: rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
}

/* ── Form body ── */
.booking-body {
    padding: 20px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bf-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.bf-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: 0.04em;
}

.bf-req {
    color: var(--color-gold);
}

.bf-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 11px 14px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-family: var(--font-sans);
    transition: border-color var(--dur), box-shadow var(--dur);
    box-sizing: border-box;
}

.bf-input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.bf-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Validation Error Style */
.bf-error {
    border-color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.05) !important;
    animation: bfPulseError 1s ease 3;
}

@keyframes bfPulseError {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(231, 76, 60, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

/* ── Hotel Autocomplete ── */
.bf-hotel-wrap {
    position: relative;
}

.bf-hotel-input-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 11px 14px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bf-hotel-input-row:hover,
.bf-hotel-wrap.open .bf-hotel-input-row {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.bf-hotel-icon {
    color: var(--color-gold);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.bf-hotel-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    cursor: pointer;
    color: var(--color-text);
    font-size: 0.9rem;
}

.bf-hotel-input.has-value {
    color: var(--color-text);
    cursor: default;
}

.bf-hotel-arrow {
    color: var(--color-gold);
    font-size: 0.75rem;
    transition: transform 0.25s;
    flex-shrink: 0;
}

.bf-hotel-wrap.open .bf-hotel-arrow {
    transform: rotate(180deg);
}

.bf-hotel-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #1e0e06;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 9999;
    padding: 6px 0;
    list-style: none;
    margin: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}

.bf-hotel-wrap.open .bf-hotel-dropdown {
    display: block;
    animation: dtFadeIn 0.18s ease;
}

.bf-hotel-dropdown::-webkit-scrollbar {
    width: 5px;
}

.bf-hotel-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.bf-hotel-dropdown::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 3px;
}

.bf-hotel-opt {
    padding: 9px 16px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border-bottom: 1px solid rgba(212, 175, 55, 0.07);
}

.bf-hotel-opt:last-child {
    border-bottom: none;
}

.bf-hotel-opt:hover,
.bf-hotel-opt.focused {
    background: rgba(212, 175, 55, 0.1);
}

.bf-hotel-opt:hover .bf-hotel-opt-name,
.bf-hotel-opt.focused .bf-hotel-opt-name {
    color: var(--color-gold);
}

.bf-hotel-opt-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text);
    display: block;
}

.bf-hotel-opt-addr {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.45);
    display: block;
    margin-top: 2px;
}

.bf-hotel-opt.is-other .bf-hotel-opt-name {
    color: var(--color-gold);
    font-style: italic;
}

.bf-hotel-search-wrap {
    padding: 8px 10px 4px;
    position: sticky;
    top: 0;
    background: #1e0e06;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.bf-hotel-search {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 7px;
    padding: 6px 10px 6px 30px;
    color: var(--color-text);
    font-size: 0.84rem;
    outline: none;
}

.bf-hotel-search::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.bf-hotel-search:focus {
    border-color: var(--color-gold);
}

.bf-hotel-search-wrap .fa-search {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.78rem;
    pointer-events: none;
}

.bf-hotel-no-result {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.84rem;
    text-align: center;
}

#bfHotelAddress {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.6);
}

#bfHotelAddress:not([readonly]) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

.bf-dt-wrap {
    position: relative;
}

.bf-dt-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.bf-dt-trigger:hover {
    border-color: var(--color-gold);
}

.bf-dt-trigger span {
    flex: 1;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
    transition: color var(--dur);
}

.bf-dt-trigger.has-value span {
    color: var(--color-text);
}

.bf-dt-arrow {
    font-size: 0.65rem;
    color: var(--color-gold);
    transition: transform 0.25s;
    flex-shrink: 0;
}

.bf-dt-wrap.open .bf-dt-arrow {
    transform: rotate(180deg);
}

/* Panel */
.bf-dt-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #1A0A02;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.25s;
    z-index: 200;
    box-shadow: 0 16px 60px rgba(0, 0, 0, 0.7);
}

.bf-dt-wrap.open .bf-dt-panel {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

/* Calendar header */
.bf-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.bf-cal-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.04em;
}

.bf-cal-nav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--color-gold);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--dur), transform var(--dur);
}

.bf-cal-nav:hover {
    background: rgba(212, 175, 55, 0.18);
    transform: scale(1.05);
}

/* Calendar grid */
.bf-cal-grid {
    padding: 8px 12px 14px;
}

.bf-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 6px;
}

.bf-cal-weekdays span {
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    padding: 4px 0;
}

.bf-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.bf-cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    color: var(--color-text);
    cursor: pointer;
    transition: background var(--dur), color var(--dur), transform 0.15s;
    position: relative;
}

.bf-cal-day:hover:not(.disabled):not(.selected) {
    background: rgba(212, 175, 55, 0.12);
    color: var(--color-gold);
    transform: scale(1.1);
}

.bf-cal-day.today:not(.selected) {
    border: 1.5px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 600;
}

.bf-cal-day.selected {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: #1A0A02;
    font-weight: 700;
    transform: scale(1.1);
}

.bf-cal-day.disabled {
    color: rgba(255, 255, 255, 0.18);
    cursor: default;
}

.bf-cal-day.other-month {
    color: rgba(255, 255, 255, 0.2);
}

/* ── Time drum picker ── */
.bf-tp-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px 10px;
}

.bf-tp-block {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 2.4rem;
    font-weight: 800;
    font-family: var(--font-serif);
    color: var(--color-gold);
    min-width: 72px;
    text-align: center;
    letter-spacing: 0.04em;
    transition: all 0.15s;
}

.bf-tp-block--min {
    opacity: 0.65;
}

.bf-tp-block--min.active {
    opacity: 1;
}

.bf-tp-sep {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-gold);
    opacity: 0.5;
}

/* ── Time display (top HH:MM) ── */
.bf-tp-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px 4px;
}

.bf-tp-block {
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-serif);
    min-width: 72px;
    text-align: center;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s;
    /* Inactive = dim */
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.12);
    color: rgba(212, 175, 55, 0.45);
}

.bf-tp-block.bf-tp-active {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    border-color: var(--color-gold);
    color: #1A0A02;
}

.bf-tp-block:hover:not(.bf-tp-active) {
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
}

.bf-tp-sep {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(212, 175, 55, 0.4);
    user-select: none;
}

.bf-tp-mode-hint {
    text-align: center;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: var(--color-text-muted);
    margin: 0 0 4px;
}

/* ── Time slot picker (Bình Minh / Hoàng Hôn) ── */
.bf-ts-wrap {
    padding: 12px 16px 20px;
}

.bf-ts-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    color: var(--color-text-muted);
    font-weight: 700;
    margin: 0 0 14px;
}

.bf-ts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bf-ts-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(212, 175, 55, 0.2);
    cursor: pointer;
    transition: all 0.22s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.bf-ts-card:focus,
.bf-ts-card:focus-visible {
    outline: none;
    box-shadow: none;
}

.bf-ts-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.06);
}

/* Disabled / past slot — same grey look as past calendar days */
.bf-ts-card:disabled,
.bf-ts-card[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(1);
}

.bf-ts-card.selected {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.08));
    border-color: var(--color-gold);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.15);
}

.bf-ts-icon {
    font-size: 2rem;
    color: var(--color-gold);
    filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
    transition: transform 0.22s;
}

.bf-ts-card:hover .bf-ts-icon,
.bf-ts-card.selected .bf-ts-icon {
    transform: scale(1.12);
}

.bf-ts-name {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

.bf-ts-card.selected .bf-ts-name {
    color: var(--color-gold);
}

.bf-ts-time {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-family: var(--font-serif);
}

.bf-ts-card.selected .bf-ts-time {
    color: var(--color-gold);
    opacity: 0.85;
}


.bf-clock-svg {
    width: 100%;
    max-width: 260px;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    overflow: visible;
}

/* SVG clock elements */
.bf-clock-face {
    fill: rgba(212, 175, 55, 0.04);
    stroke: rgba(212, 175, 55, 0.15);
    stroke-width: 1;
}

.bf-clock-hand {
    stroke: var(--color-gold);
    stroke-width: 2;
    stroke-linecap: round;
    transition: x2 0.2s, y2 0.2s;
}

.bf-clock-sel-dot {
    fill: var(--color-gold);
    transition: cx 0.2s, cy 0.2s;
}

.bf-clock-center-dot {
    fill: var(--color-gold);
}

/* SVG text numbers — added by JS */
.bf-clock-num {
    font-family: var(--font-sans);
    font-size: 13px;
    fill: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    user-select: none;
    transition: fill 0.15s;
}

.bf-clock-num:hover {
    fill: rgba(255, 255, 255, 0.9);
}

.bf-clock-num.bf-clock-active {
    fill: #1A0A02;
    font-weight: 700;
}

.bf-clock-sel-ring {
    fill: var(--color-gold);
    transition: cx 0.2s, cy 0.2s;
}

/* Confirm button */
.bf-tp-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 32px);
    margin: 0 16px 16px;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: #1A0A02;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-sans);
    cursor: pointer;
    border: none;
    transition: filter var(--dur), transform var(--dur);
}

.bf-tp-confirm:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.bf-textarea {
    resize: none;
    line-height: 1.5;
}

/* ─── Confirm Modal Wrap ─── */
.bf-confirm-wrap {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
}

.bf-confirm-wrap.open {
    opacity: 1;
    /* Guaranteed visibility */
    pointer-events: auto;
}

.bf-confirm-card {
    background: #110905;
    border: 1.5px solid var(--color-gold);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bf-confirm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    background: linear-gradient(to bottom, rgba(212, 175, 55, 0.08), transparent);
    position: relative;
}

.bf-confirm-header h3 {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-gold);
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    flex: 1;
}

.bf-confirm-header .booking-close {
    position: absolute;
    right: 20px;
    top: 22px;
}

.bf-confirm-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    max-height: 70vh;
    overflow-y: auto;
}

.bf-confirm-body::-webkit-scrollbar {
    width: 6px;
}

.bf-confirm-body::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

.bf-confirm-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bf-confirm-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}

.bf-confirm-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.bf-confirm-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
    margin-top: 2px;
}

/* Icon Colors matching the vibe of the image */
.ci-user {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.15);
}

.ci-phone {
    color: #2ecc71;
    background: rgba(46, 204, 113, 0.15);
}

.ci-truck {
    color: #e67e22;
    background: rgba(230, 126, 34, 0.15);
}

.ci-hotel {
    color: #3498db;
    background: rgba(52, 152, 219, 0.15);
}

.ci-pin {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.15);
}

.ci-jeep {
    color: #9b59b6;
    background: rgba(155, 89, 182, 0.15);
}

.ci-date {
    color: #3498db;
    background: rgba(52, 152, 219, 0.15);
}

.ci-time {
    color: #3498db;
    background: rgba(52, 152, 219, 0.15);
}

.ci-addon {
    color: #1abc9c;
    background: rgba(26, 188, 156, 0.15);
}

.ci-money {
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.15);
}

.bf-confirm-route-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bf-route-pill-sm {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--color-gold);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
}

.bf-route-arrow-sm {
    color: rgba(212, 175, 55, 0.5);
    font-size: 0.85rem;
}

.bf-confirm-label {
    color: var(--color-text-muted);
    min-width: 80px;
    max-width: 90px;
    font-size: 0.85rem;
    padding-top: 6px;
}

.bf-confirm-val {
    color: #fff;
    font-weight: 600;
    flex: 1;
    word-break: break-word;
    font-size: 0.9rem;
    padding-top: 5px;
}

.bf-confirm-footer {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    background: rgba(0, 0, 0, 0.2);
}

.bf-btn-outline,
.bf-btn-gold,
.goldx {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
    font-family: var(--font-sans);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-route-ok-row {
    display: flex;
    justify-content: center;
    margin-top: 12px;
}

.bf-route-ok-btn {
    background: linear-gradient(135deg, var(--color-gold), #b8860b);
    color: var(--color-bg-dark);
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.bf-route-ok-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

.bf-route-ok-btn:active {
    transform: translateY(0);
}

.goldx {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    border: none;
    color: #1A0A02;
}

.goldx:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

#bfCountdownNum {
    display: inline-block;
    min-width: 2ch;
    text-align: center;
}

.bf-btn-outline {
    background: transparent;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    color: var(--color-gold);
}

.bf-btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--color-gold);
}

.bf-btn-gold {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    border: none;
    color: #1A0A02;
}

.bf-btn-gold:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* Phone row */
.bf-phone-row {
    display: flex;
    gap: 8px;
}

.bf-phone-code-wrap {
    position: relative;
    flex-shrink: 0;
}

.bf-phone-code {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 0 12px;
    height: 44px;
    white-space: nowrap;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: border-color var(--dur), background var(--dur);
    font-family: var(--font-sans);
}

.bf-phone-code-input {
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    width: 38px;
    padding: 0;
    margin: 0;
    outline: none;
    text-align: center;
}

.bf-phone-code-input.custom-active {
    color: var(--color-text);
}

.bf-phone-code:hover {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.06);
}

.bf-code-arrow {
    font-size: 0.65rem;
    color: var(--color-gold);
    transition: transform 0.25s;
}

.bf-phone-code-wrap.open .bf-code-arrow {
    transform: rotate(180deg);
}

/* Dropdown list */
.bf-phone-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #1C0F06;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    min-width: 180px;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.bf-phone-dropdown.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.bf-phone-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: 0.87rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: background var(--dur), color var(--dur);
}

.bf-phone-opt:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--color-text);
}

.bf-phone-opt.active {
    color: var(--color-gold);
    background: rgba(212, 175, 55, 0.06);
}

.bf-phone-opt span {
    margin-left: auto;
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.82rem;
}

.bf-flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.bf-phone-input {
    flex: 1;
}

/* Tour type toggle */
.bf-toggle-row {
    display: flex;
    gap: 10px;
}

.bf-toggle {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.18);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all var(--dur);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bf-toggle:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.bf-toggle.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.08));
    border-color: var(--color-gold);
    color: var(--color-gold);
    font-weight: 600;
}

/* Optional badge next to label */
.bf-opt {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Addon toggle button */
.bf-addon-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px dashed rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    font-family: var(--font-sans);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

.bf-addon-toggle:hover {
    border-color: rgba(212, 175, 55, 0.5);
    color: var(--color-text);
}

.bf-addon-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.65rem;
    color: transparent;
    transition: all 0.3s var(--ease);
}

.bf-addon-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.bf-addon-text {
    flex: 1;
    line-height: 1.4;
}

/* Selected state */
.bf-addon-toggle.selected {
    border-color: var(--color-gold);
    border-style: solid;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.05));
    color: var(--color-gold);
}

.bf-addon-toggle.selected .bf-addon-check {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #1A0F0A;
}

/* ── Addon sub-counter (sand dune vehicles) ── */
.bf-addon-sub {
    margin-top: 12px;
    padding: 14px 16px;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 10px;
    animation: bfFadeIn 0.3s ease;
}

.bf-label-sm {
    font-size: 0.82rem !important;
    margin-bottom: 8px !important;
    display: flex;
    align-items: center;
}

/* ── Itinerary section ─────────────────────────────── */
.bf-itinerary-group {
    animation: bfFadeIn 0.35s ease;
}

@keyframes bfFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.bf-route-default {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 4px;
}

.bf-route-pill {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.06));
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--color-gold);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    max-width: 100%;
}

.bf-route-arrow {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.bf-route-customize-btn {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    background: transparent;
    border: 1px dashed rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
}

.bf-route-customize-btn:hover,
.bf-route-customize-btn.open {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.bf-route-dropdowns {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bf-route-drop-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bf-route-drop-label {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Custom styled route dropdown */
.bf-custom-select {
    position: relative;
    flex: 1;
}

.bf-custom-select-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-sans);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.3s, background 0.3s;
}

.bf-custom-select-trigger:hover,
.bf-custom-select.open .bf-custom-select-trigger {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.06);
}

.bf-custom-select-val {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bf-custom-select-arrow {
    font-size: 0.7rem;
    color: var(--color-gold);
    flex-shrink: 0;
    transition: transform 0.25s;
}

.bf-custom-select.open .bf-custom-select-arrow {
    transform: rotate(180deg);
}

.bf-custom-select-list {
    display: none;
    position: absolute;
    z-index: 9999;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #1e0e06;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    overflow: hidden;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

.bf-custom-select.open .bf-custom-select-list {
    display: block;
    animation: bfFadeIn 0.18s ease;
}

.bf-custom-select-list li {
    padding: 9px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.bf-custom-select-list li:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
}

.bf-custom-select-list li.is-active {
    background: rgba(212, 175, 55, 0.18);
    color: var(--color-gold);
}

/* Guest counter */
.bf-counter-row {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    overflow: hidden;
    width: fit-content;
}

.bf-counter-btn {
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--color-gold);
    font-size: 1.3rem;
    cursor: pointer;
    transition: background var(--dur);
    font-family: var(--font-sans);
}

.bf-counter-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.bf-counter-val {
    min-width: 48px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text);
    border-left: 1px solid rgba(212, 175, 55, 0.15);
    border-right: 1px solid rgba(212, 175, 55, 0.15);
    line-height: 44px;
}

/* Total */
.bf-total-row {
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bf-unit-row,
.bf-final-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.bf-final-row {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 600;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    padding-top: 8px;
}

.bf-total-num {
    font-size: 1.2rem;
    color: var(--color-gold);
    font-weight: 700;
}

/* Action buttons */
.bf-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-sans);
    transition: transform var(--dur), box-shadow var(--dur), filter var(--dur);
    text-decoration: none;
    cursor: pointer;
}

.bf-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

.bf-btn-wa {
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}

.bf-btn-zalo {
    background: #0068FF;
    color: #fff;
    box-shadow: 0 6px 24px rgba(0, 104, 255, 0.3);

}

.bf-btn-call {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: #1A0F0A;
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
}

.bf-or {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-align: center;
}

.bf-or::before,
.bf-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(212, 175, 55, 0.15);
}

/* ============================================================
   HERO VIDEO BACKGROUND
   ============================================================ */

/* Video element – fills the entire hero section */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 0;
}

/* ── Video Play/Pause Toggle Button ─────────────────────────── */
.hero-video-toggle {
    position: absolute;
    bottom: 40px;
    right: 32px;
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(212, 175, 55, 0.5);
    background: rgba(26, 15, 10, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-gold);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.35),
        0 0 0 0 rgba(212, 175, 55, 0);
}

.hero-video-toggle:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(212, 175, 55, 0.15);
    transform: scale(1.08);
}

.hero-video-toggle:active {
    transform: scale(0.95);
}

.hvt-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Play icon slight right offset for optical centering */
.hvt-icon--play i {
    margin-left: 2px;
}

/* Pulse animation when video is playing */
@keyframes hvtPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 0 0 0 rgba(212,175,55,0.25); }
    50% { box-shadow: 0 4px 20px rgba(0,0,0,0.35), 0 0 0 8px rgba(212,175,55,0); }
}

.hero-video-toggle.is-playing {
    animation: hvtPulse 2.5s ease infinite;
}

/* ── Mobile Responsive Video ──────────────────────────────── */
@media (max-width: 680px) {
    /* On mobile: use object-fit cover with full viewport fill.
       The video fills 100% width and height, cropping as needed
       to match the device's native aspect ratio. */
    .hero-video {
        width: 100%;
        height: 100%;
        min-width: unset;
        min-height: unset;
        top: 0;
        left: 0;
        transform: none;
        object-fit: cover;
        /* The video will automatically scale to cover the
           viewport's aspect ratio, whether it's 9:16 (standard),
           9:19.5 (iPhone), 9:22 (Z Flip5), or any other ratio */
    }

    /* Move button to bottom-left on mobile to avoid
       overlapping with the centered scroll hint */
    .hero-video-toggle {
        bottom: 36px;
        right: 20px;
        left: auto;
        width: 42px;
        height: 42px;
        font-size: 0.85rem;
    }
}

/* ── Very tall phones (e.g., Z Flip5 9:22, foldables) ─────── */
@media (max-width: 480px) and (min-aspect-ratio: 1/2.2) {
    .hero-video {
        object-position: center center;
    }
}

/* ── Landscape mobile: ensure video still covers properly ──── */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-video {
        width: auto;
        height: 100%;
        min-width: 100%;
    }

    .hero-video-toggle {
        bottom: 16px;
        right: 24px;
        left: auto;
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
}
