/* ============================================================
   Lunes Travel Services - Main Stylesheet
   Design language: Modern Travel / Aurora (ocean-sky + sunset orange)
   Breakpoints: Mobile <768px | Tablet 768-1024px | Desktop >1024px
   ============================================================ */

:root {
    --brand: #0ea5e9;
    --brand-dark: #0369a1;
    --brand-deep: #0c4a6e;
    --brand-light: #e0f2fe;
    --brand-soft: #f0f9ff;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --accent-light: #ffedd5;
    --ink: #0f172a;
    --ink-soft: #475569;
    --muted: #94a3b8;
    --line: #e2e8f0;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-alt: #f0f9ff;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #2563eb;
    --radius: 18px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --shadow: 0 6px 20px rgba(15, 23, 42, .06);
    --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, .22);
    --shadow-brand: 0 10px 26px -8px rgba(14, 165, 233, .45);
    --shadow-accent: 0 10px 26px -8px rgba(249, 115, 22, .5);
    --grad-brand: linear-gradient(135deg, #0ea5e9, #0369a1);
    --grad-brand-deep: linear-gradient(135deg, #0369a1, #0c4a6e);
    --grad-accent: linear-gradient(135deg, #f97316, #ea580c);
    --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --header-h: 82px;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
html, body { max-width: 100%; }
body.menu-open { overflow: hidden; touch-action: none; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-dark); }
ul { list-style: none; }

:focus-visible {
    outline: 3px solid rgba(14, 165, 233, .55);
    outline-offset: 2px;
    border-radius: 4px;
}
button { font-family: var(--font); cursor: pointer; }

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 22px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--brand-dark);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 12px 0;
    font-weight: 700;
    z-index: 400;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .18s var(--ease-out), box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    font-family: var(--font);
    touch-action: manipulation;
}
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline-offset: 3px; }

.btn-primary {
    background: var(--grad-brand);
    color: #fff;
    box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--grad-brand-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(14, 165, 233, .55); }

.btn-accent {
    background: var(--grad-accent);
    color: #fff;
    box-shadow: var(--shadow-accent);
}
.btn-accent:hover { background: linear-gradient(135deg, #ea580c, #c2410c); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(249, 115, 22, .6); }

.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand-light); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--brand-dark); box-shadow: 0 6px 16px rgba(255, 255, 255, .25); }
.btn-light:hover { background: var(--brand-light); transform: translateY(-2px); }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #b91c1c; opacity: 1; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #15803d; color: #fff; transform: translateY(-2px); }

.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .15); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    color: var(--ink);
    letter-spacing: -.5px;
    line-height: 1.2;
}
.section-head p { color: var(--ink-soft); margin-top: 10px; font-size: 15.5px; }
.section-head .kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--accent-dark);
    background: var(--accent-light);
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}
.section-head .kicker i { color: var(--accent); }
.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 11.5px;
    font-weight: 800;
    color: var(--accent-dark);
    background: var(--accent-light);
    padding: 7px 16px;
    border-radius: var(--radius-pill);
}
.kicker i { color: var(--accent); }

/* ---------- Header ---------- */
.nav-backdrop {
    display: none;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 140;
    background: rgba(255, 255, 255, .85);
    border-bottom: 1px solid rgba(226, 232, 240, .7);
    transition: box-shadow .3s ease, background .3s ease;
}
/* Frosted-glass blur on a pseudo-element so it does NOT become the
   containing block for fixed/absolute descendants (which would break
   the mobile menu + dropdown positioning). */
.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: -1;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .14);
}
.site-header.scrolled::before { background: rgba(255, 255, 255, .97); }

.admin-bar {
    background: var(--ink);
    color: #fff;
    font-size: 13px;
    padding: 6px 16px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}
.admin-bar a { color: #fbbf24; }

.header-inner {
    height: var(--header-h);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(14px, 1.6vw, 24px);
}

/* The header bar is allowed to be wider than the page container so the logo,
   nav and actions never collide on large screens. */
.site-header .container { max-width: 1440px; }

/* Zone 1: brand is auto-sized and never shrinks. */
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { height: 52px; width: auto; max-width: 240px; object-fit: contain; flex-shrink: 0; }
.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--grad-brand);
    color: #fff;
    font-size: 21px;
    border-radius: 14px;
    box-shadow: var(--shadow-brand);
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; overflow: hidden; }
.brand-text strong { color: var(--ink); font-size: 17px; letter-spacing: -.3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Zone 2: nav is the flexible middle; it centers itself in the leftover
   space and its gap/font scale smoothly so links never crowd the edges. */
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 1.7vw, 26px); min-width: 0; }
.main-nav > a, .main-nav > .nav-item > .nav-trigger {
    color: var(--ink-soft);
    font-weight: 600;
    font-size: clamp(13.5px, 1.05vw, 15px);
    position: relative;
    padding: 12px 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}
.main-nav > a > i:not(.nav-caret),
.main-nav > .nav-item > .nav-trigger > i:not(.nav-caret) { display: none; }
.main-nav a.nav-auth { display: none; }
.main-nav > a::after, .main-nav > .nav-item > .nav-trigger::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2.5px;
    border-radius: 2px;
    background: var(--grad-accent);
    transition: width .22s var(--ease-out);
}
.main-nav > a:hover, .main-nav > a.active,
.main-nav > .nav-item > .nav-trigger:hover,
.main-nav > .nav-item > .nav-trigger.active { color: var(--ink); }
.main-nav > a.active::after, .main-nav > a:hover::after,
.main-nav > .nav-item > .nav-trigger.active::after,
.main-nav > .nav-item > .nav-trigger:hover::after { width: 100%; }

/* ---------- Mega menu (e.g. Tour Packages dropdown) ---------- */
.main-nav .nav-item { position: relative; }
.main-nav a .nav-caret {
    display: inline-block !important;
    width: auto !important;
    font-size: 11px;
    margin-left: 4px;
    color: var(--muted);
    transition: transform .22s var(--ease-out);
}
.nav-item.mega-open .nav-caret { transform: rotate(180deg); }

.mega-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: max-content;
    min-width: 680px;
    max-width: min(880px, calc(100vw - 48px));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility .2s;
    z-index: 130;
}
/* Transparent bridge over the gap between the trigger and the panel so the
   hover state is not lost while the pointer travels into the dropdown. */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu,
.nav-item.mega-open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-inner { display: flex; flex-direction: column; max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; }
.mega-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 26px 30px;
    text-align: left;
}
.mega-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
}
.mega-col-title i { color: var(--brand); }
.mega-col-title a { color: var(--ink); }
.mega-col-title a:hover { color: var(--brand-dark); }
.mega-links { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.mega-links a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 7px 0;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}
.mega-links a:hover { color: var(--brand-dark); padding-left: 4px; }
.mega-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-dark);
}
.mega-all:hover { color: var(--brand); }
.mega-empty { color: var(--muted); font-size: 13px; margin: 0 0 10px; }
.mega-foot {
    padding: 14px 30px;
    border-top: 1px solid var(--line);
    background: var(--bg-soft);
    border-radius: 0 0 var(--radius) var(--radius);
    text-align: center;
}

/* ---------- Category tabs & badges ---------- */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 26px; }
.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--ink-soft);
    font-weight: 700;
    font-size: 13.5px;
    transition: all .18s ease;
}
.cat-tab:hover { border-color: var(--brand); color: var(--brand-dark); }
.cat-tab.active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-brand); }
.cat-tab .count { font-weight: 600; opacity: .85; font-size: 12px; }
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 26px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    background: var(--brand-soft);
    border: 1px solid var(--brand-light);
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 600;
}
.filter-chip a { color: var(--brand-dark); }
.filter-chip a:hover { color: var(--danger); }

.card-badge.badge-cat {
    top: auto;
    bottom: 14px;
    left: 14px;
    background: rgba(15, 23, 42, .78);
    backdrop-filter: blur(8px);
    box-shadow: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

/* Zone 3: actions are auto-sized and never shrink. */
.header-actions { display: flex; align-items: center; gap: clamp(10px, 1.2vw, 16px); }
.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 14px;
}
.header-phone i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: var(--brand-light);
    color: var(--brand-dark);
    border-radius: 50%;
}
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 18px;
    color: var(--ink);
    cursor: pointer;
    touch-action: manipulation;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 84px 0 70px;
    min-height: 540px;
    display: flex;
    flex-direction: column;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(2, 6, 23, .05) 0%, rgba(2, 6, 23, .05) 45%, rgba(2, 6, 23, .05) 100%),
        linear-gradient(90deg, rgba(2, 6, 23, .05) 0%, transparent 55%);
}
/* Homepage hero background slider */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background: center/cover no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slider-nav {
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
}
.hero-slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background .18s ease, transform .18s ease;
}
.hero-slider-arrow:hover { background: rgba(255, 255, 255, .28); transform: scale(1.06); }
.hero-slider-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 64px;
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hero-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: background .2s ease, width .2s ease;
}
.hero-slider-dot.active { background: #fb923c; width: 26px; }
.hero .container { flex: 1; display: flex; flex-direction: column; position: relative; z-index: 2; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-bottom: 22px;
    backdrop-filter: blur(6px);
}
.hero-eyebrow i { color: #fb923c; }

.hero-title { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; margin-bottom: 16px; max-width: 800px; font-weight: 800; letter-spacing: -.5px; }
.hero-title span { color: #fdba74; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .hero-title span {
        background: linear-gradient(120deg, #fb923c, #f97316);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}
.hero-sub { font-size: 1.1rem; opacity: .94; max-width: 700px; margin-bottom: 30px; font-weight: 400; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-cta .btn { padding: 14px 28px; font-size: 15px; }

.hero-stats { display: flex; gap: 28px; margin-bottom: 24px; flex-wrap: wrap; }
.hero-stats .stat {
    display: flex;
    flex-direction: column;
    padding-right: 28px;
    border-right: 1px solid rgba(255, 255, 255, .22);
}
.hero-stats .stat:last-child { border-right: none; padding-right: 0; }
.hero-stats .stat strong { font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.hero-stats .stat span { font-size: .86rem; opacity: .85; font-weight: 500; }

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 600;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .22);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust i { color: #fb923c; }

.hero + .hero-search { margin-top: -52px; }
.listing-results { padding-top: 56px; }

/* ---------- Hero Search ---------- */
.hero-search {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 24px 24px;
    margin-top: 28px;
    position: relative;
    z-index: 5;
    border: 1px solid rgba(226, 232, 240, .8);
}
.search-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.search-tabs::-webkit-scrollbar { display: none; }
.search-tab {
    border: none;
    background: none;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-soft);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-family: var(--font);
    border-radius: 10px 10px 0 0;
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 0;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.search-tab i { margin-right: 0; color: var(--brand); }
.search-tab:hover { color: var(--brand); background: var(--bg-soft); }
.search-tab.active { color: var(--brand-dark); border-bottom-color: var(--accent); }

.search-form { display: none; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.search-form.active { display: grid; }
.search-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--ink-soft);
    margin-bottom: 7px;
}
.search-field input,
.search-field select {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-family: var(--font);
    background: var(--bg-soft);
    color: var(--ink);
    outline: none;
    transition: border .15s, box-shadow .15s, background .15s;
}
.search-field input:focus, .search-field select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .14);
    background: #fff;
}
.search-submit { align-self: end; height: 48px; }

/* ---------- Cards ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
}
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .22s var(--ease-out), box-shadow .22s ease, border-color .22s ease;
    display: flex;
    flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
    .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(14, 165, 233, .3); }
    .card:hover .card-img-wrap img { transform: scale(1.06); }
}
@media (hover: none) {
    .card:hover { transform: none; }
}
.card-img-wrap { position: relative; overflow: hidden; height: 220px; background: var(--bg-alt); }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-out); }
.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--grad-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 12px rgba(249, 115, 22, .4);
    z-index: 2;
}
.card-badge.badge-featured {
    top: 14px;
    background: var(--grad-brand);
    box-shadow: 0 4px 12px rgba(37, 99, 235, .4);
}
.card-badge + .card-badge.badge-featured {
    top: 48px;
}
.card-price {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, .82);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 14px;
    z-index: 2;
}
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--ink); line-height: 1.35; letter-spacing: -.2px; }
.card-body h3 a { color: inherit; }
.card-body h3 a:hover { color: var(--brand); }
.card-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.card-meta i { color: var(--brand); margin-right: 4px; }
.card-desc { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; flex-wrap: wrap; }
.card-foot .btn { flex-shrink: 0; }
.card-foot .price-block { display: flex; flex-direction: column; }
.card-foot .price-block strong { color: var(--brand-dark); font-size: 1.2rem; font-weight: 800; }
.card-foot .price-block small { color: var(--muted); font-size: 12px; }

/* ---------- Destinations ---------- */
.dest-card .card-img-wrap { height: 235px; }
.dest-card .card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .02) 45%, rgba(15, 23, 42, .05));
    pointer-events: none;
    z-index: 1;
    transition: opacity .3s ease;
}
.dest-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.dest-body h3 { font-size: 1.25rem; color: var(--ink); letter-spacing: -.3px; }
.dest-body h3 a { color: inherit; }
.dest-body > p { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.dest-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ink-soft);
    border-top: 1px dashed var(--line);
    padding-top: 13px;
}
.dest-meta i { color: var(--brand); margin-right: 4px; }
.dest-meta strong { color: var(--brand-dark); }
.dest-body .btn { align-self: flex-start; }

/* ---------- Feature strip ---------- */
.feature-strip { background: linear-gradient(180deg, #f0f9ff, #f8fafc 60%, #fff); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.feature {
    background: #fff;
    border-radius: var(--radius);
    padding: 26px 22px;
    text-align: center;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: transform .22s var(--ease-out), box-shadow .22s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature i {
    font-size: 28px;
    width: 62px;
    height: 62px;
    line-height: 62px;
    border-radius: 18px;
    background: var(--brand-light);
    color: var(--brand-dark);
    margin-bottom: 14px;
    display: inline-block;
}
.feature h4 { margin-bottom: 5px; font-size: 1.02rem; letter-spacing: -.2px; }
.feature p { font-size: 13px; color: var(--ink-soft); }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 24px 28px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow);
    transition: transform .22s var(--ease-out), box-shadow .22s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-tag {
    display: inline-block;
    background: var(--brand-light);
    color: var(--brand-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}
.step-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 26px;
    box-shadow: var(--shadow-brand);
}
.step h4 { margin-bottom: 7px; font-size: 1.06rem; color: var(--ink); letter-spacing: -.2px; }
.step p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testi-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    transition: transform .22s var(--ease-out), box-shadow .22s ease;
}
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testi-card::before {
    content: '\201C';
    position: absolute;
    top: 4px;
    right: 22px;
    font-size: 64px;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--brand-light);
}
.testi-stars { color: var(--accent); font-size: 14px; display: flex; gap: 3px; }
.testi-card blockquote { font-size: 14.5px; color: var(--ink-soft); font-style: italic; flex: 1; position: relative; z-index: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); }
.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: var(--shadow-brand);
}
.testi-author strong { display: block; font-size: 14px; color: var(--ink); }
.testi-author span { font-size: 12.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--grad-brand-deep);
    background-image: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, .35), transparent 50%),
                      radial-gradient(circle at 10% 90%, rgba(249, 115, 22, .3), transparent 50%),
                      linear-gradient(135deg, #0369a1, #0c4a6e);
    color: #fff;
    border-radius: var(--radius);
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; letter-spacing: -.4px; }
.cta-band p { opacity: .9; font-size: 15px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Detail page ---------- */
.detail-hero { position: relative; height: 400px; overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 35%, rgba(2, 6, 23, .8));
    display: flex;
    align-items: flex-end;
}
.detail-hero-overlay .container { padding-bottom: 30px; color: #fff; }
.detail-hero-overlay h1 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); letter-spacing: -.5px; margin-bottom: 4px; }
.detail-hero-overlay .sub { opacity: .92; font-size: 15px; }

.breadcrumb { padding: 18px 0; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-dark); }
.breadcrumb i { font-size: 10px; margin: 0 8px; color: var(--muted); }

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 30px;
    align-items: start;
}
.detail-layout--wide { grid-template-columns: minmax(0, 1fr) 360px; }
.detail-main { min-width: 0; }
.prose { color: var(--ink-soft); font-size: 15px; }
.prose h3 { color: var(--ink); margin: 28px 0 12px; font-size: 1.2rem; letter-spacing: -.3px; }
.prose p { margin-bottom: 12px; }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: 12px; }
.prose li { margin-bottom: 6px; }

.info-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: calc(var(--header-h) + 20px);
    box-shadow: var(--shadow);
}
.info-panel h3 { color: var(--ink); }
.info-panel .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.info-panel .row:last-child { border-bottom: none; }
.info-panel .row span { color: var(--ink-soft); }
.info-panel .row strong { color: var(--ink); }
.total-price { display: flex; justify-content: space-between; align-items: center; background: var(--brand-soft); border: 1px solid var(--brand-light); padding: 15px; border-radius: var(--radius-sm); margin: 16px 0; }
.total-price span { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.total-price strong { color: var(--brand-dark); font-size: 1.45rem; font-weight: 800; }
.total-price.is-amount {
    background: transparent;
    border: 0;
    padding: 8px 2px 4px;
    margin: 8px 0 12px;
    justify-content: center;
    gap: 8px;
}
.total-price.is-amount span { color: var(--ink); font-size: 16px; font-weight: 800; }
.total-price.is-amount strong { color: var(--ink); font-size: 1.2rem; }

.qty-stack { margin: 10px 0 4px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
}
.qty-row.is-child { background: var(--bg-soft); }
.qty-copy { min-width: 0; }
.qty-label { display: block; font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.2px; }
.qty-line { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); font-weight: 600; min-height: 16px; }
.qty-stepper { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-soft);
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    box-shadow: none;
}
.qty-btn:hover { border-color: var(--brand); color: var(--brand); }
.qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.qty-btn-plus { background: var(--brand); border-color: var(--brand); color: #fff; }
.qty-btn-plus:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.qty-value { min-width: 18px; text-align: center; font-weight: 800; color: var(--ink); font-size: 15px; }

.inclusion-list { list-style: none; }
.inclusion-list li { padding: 8px 0 8px 28px; position: relative; font-size: 14px; color: var(--ink-soft); }
.inclusion-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    background: #f0fdf4;
    color: var(--success);
    font-size: 11px;
}
.exclusion-list li::before { content: '\f00d'; background: #fef2f2; color: var(--danger); }

.itinerary-day {
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin-bottom: 12px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.itinerary-day:hover { border-left-color: var(--accent); box-shadow: var(--shadow); }
.itinerary-day h4 { color: var(--brand-dark); font-size: 14px; margin-bottom: 6px; font-weight: 800; }
.itinerary-day p { font-size: 14px; color: var(--ink-soft); white-space: pre-line; }

/* ---------- Detail head ---------- */
.detail-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    padding: 4px 0 22px;
}
.detail-head-info { min-width: 0; flex: 1 1 420px; }
.detail-head-info .kicker { margin-bottom: 6px; }
.detail-head-info h1 { font-size: clamp(1.55rem, 3.4vw, 2.25rem); letter-spacing: -.5px; margin: 10px 0 12px; line-height: 1.2; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.meta-chip i { color: var(--brand); }
a.meta-chip { color: var(--ink-soft); }
a.meta-chip:hover { color: var(--brand-dark); border-color: var(--brand); }
.meta-chip .fa-star, .meta-chip .fa-star-half-stroke, .meta-chip .fa-star-half-alt { color: #fbbf24; }
.detail-head-price {
    text-align: right;
    background: var(--brand-soft);
    border: 1px solid var(--brand-light);
    padding: 14px 24px;
    border-radius: var(--radius);
    white-space: nowrap;
    box-shadow: var(--shadow);
}
.detail-head-price .price-label { font-size: 12px; color: var(--ink-soft); font-weight: 600; display: block; }
.detail-head-price .price { display: block; font-size: 1.7rem; font-weight: 800; color: var(--brand-dark); letter-spacing: -.5px; }
.detail-head-price .price small { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.detail-head-price .price-note { font-size: 12px; color: var(--muted); }

/* ---------- Photo gallery ---------- */
.gallery { margin-bottom: 30px; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #e2e8f0; }
.gallery-track { display: flex; transition: transform .5s var(--ease-out); }
.gallery-slide { flex: 0 0 100%; min-width: 100%; aspect-ratio: 16 / 9; max-height: 560px; position: relative; }
.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform .6s var(--ease-out);
}
.gallery-slide:not(.is-active) img { transform: scale(1.03); }
.gallery-hero-img { width: 100%; aspect-ratio: 16 / 9; max-height: 560px; object-fit: cover; cursor: zoom-in; }
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(2, 6, 23, .5);
    color: #fff;
    font-size: 16px;
    display: grid;
    place-items: center;
    transition: background .2s ease, transform .2s ease, opacity .2s ease;
    z-index: 3;
    opacity: .9;
}
.gallery-nav:hover { background: var(--accent); transform: translateY(-50%) scale(1.06); }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-count {
    position: absolute;
    right: 18px;
    bottom: 16px;
    background: rgba(2, 6, 23, .62);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
    backdrop-filter: blur(4px);
}
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; scrollbar-color: var(--brand-light) transparent; }
.gallery-thumb {
    flex: 0 0 auto;
    width: 116px;
    height: 76px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--line);
    padding: 0;
    background: #e2e8f0;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(249, 115, 22, .22); }

/* ---------- Detail highlights / spec grid ---------- */
.section-title { color: var(--ink); font-size: 1.2rem; letter-spacing: -.3px; }
.ride-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 10px; }
.ride-feat {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ride-feat i { color: var(--accent); font-size: 18px; flex-shrink: 0; }
.ride-feat:hover { transform: translateY(-2px); border-color: var(--accent-light); box-shadow: var(--shadow); }
.addr-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    background: var(--brand-soft);
    border: 1px dashed var(--brand-light);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 13.5px;
    color: var(--ink-soft);
}
.addr-note i { color: var(--brand); }

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin: 20px 0;
}
.spec-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 14px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.spec-card:hover { transform: translateY(-3px); border-color: var(--brand-light); box-shadow: var(--shadow-lg); }
.spec-card i { font-size: 22px; color: var(--brand); margin-bottom: 8px; }
.spec-card span { display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; font-weight: 600; }
.spec-card strong { display: block; font-size: 14.5px; color: var(--ink); margin-top: 3px; }

.tour-highlights { margin-top: 8px; }
.tour-highlights-lead { color: var(--ink-soft); font-size: 14.5px; margin: 6px 0 14px; }
.bullet-list {
    margin: 0;
    padding: 0 0 0 22px;
    list-style: disc;
}
.bullet-list li {
    padding: 5px 0;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.55;
}
.bullet-list li::marker { color: var(--brand); }

/* ---------- Inclusions / exclusions split ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 6px; }
.split-col {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow);
}
.split-col h4 { font-size: 15px; letter-spacing: -.2px; margin-bottom: 4px; }
.split-col > p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.split-col .inclusion-list li { font-size: 13.5px; padding: 7px 0 7px 28px; }
.split-col.is-exclude h4 { color: var(--danger); }
.split-col.is-exclude .inclusion-list li::before { content: '\f00d'; background: #fef2f2; color: var(--danger); }

/* ---------- Day-by-day itinerary ---------- */
.itinerary-board { margin-top: 8px; }
.itinerary-board .section-title { margin: 30px 0 14px; }
.itin-days { display: flex; flex-direction: column; gap: 4px; }
.itin-day {
    border-top: 1px solid var(--line);
    padding: 4px 0;
}
.itin-day:first-child { border-top: none; }
.itin-day-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    list-style: none;
    cursor: pointer;
    padding: 14px 4px;
}
.itin-day-summary::-webkit-details-marker { display: none; }
.itin-day-badge {
    display: inline-flex;
    align-items: center;
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-top: 2px;
    white-space: nowrap;
}
.itin-day-copy { min-width: 0; }
.itin-day-title {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.2px;
    line-height: 1.35;
}
.itin-day-count {
    display: block;
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 14px;
}
.itin-day-chevron {
    color: var(--muted);
    margin-top: 8px;
    transition: transform .2s ease;
}
.itin-day[open] .itin-day-chevron { transform: rotate(180deg); }
.itin-day-body { padding: 4px 4px 18px; }
.itin-stops {
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
}
.itin-stops::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 12px;
    bottom: 18px;
    width: 2px;
    background: #d1d5db;
}
.itin-stop {
    position: relative;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin: 0 0 22px;
}
.itin-stop:last-child { margin-bottom: 0; }
.itin-marker {
    position: relative;
    z-index: 1;
    width: 28px;
    display: flex;
    justify-content: center;
    padding-top: 2px;
}
.itin-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: grid;
    place-items: center;
}
.itin-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #111827;
    margin-top: 8px;
}
.itin-stop-body h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.35;
}
.itin-copy {
    margin: 0;
    color: var(--ink-soft);
    font-size: 14.5px;
    line-height: 1.65;
}
.itin-copy.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.itin-more {
    display: inline;
    margin-left: 4px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.itin-meta {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13.5px;
}
.itin-extras {
    margin-top: 18px;
    padding-top: 4px;
    color: var(--ink);
    font-size: 14.5px;
    line-height: 1.6;
}
.itin-extras p { margin: 0 0 8px; }
.itin-extras p:last-child { margin-bottom: 0; }

.tour-map-section { margin-top: 28px; }
.tour-map-lead { color: var(--ink-soft); font-size: 14.5px; margin: 6px 0 14px; }
.tour-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--bg-soft);
}
.tour-map-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.tour-map-open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 13.5px;
    font-weight: 700;
}
.cancel-policy {
    margin-top: 32px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}
.cancel-policy-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.cancel-policy-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--accent-light);
    color: var(--accent-dark);
    font-size: 18px;
}
.cancel-policy-list { list-style: none; }
.cancel-policy-list li {
    position: relative;
    padding: 9px 0 9px 28px;
    font-size: 14.5px;
    color: var(--ink-soft);
    border-bottom: 1px dashed var(--line);
    line-height: 1.55;
}
.cancel-policy-list li:last-child { border-bottom: none; padding-bottom: 0; }
.cancel-policy-list li::before {
    content: '\f05a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 11px;
    color: var(--accent);
    font-size: 13px;
}
.extra-info {
    margin-top: 32px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}
.extra-info-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.extra-info-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 18px;
}
.extra-info .bullet-list { margin-top: 2px; }

/* ---------- Hotel amenities ---------- */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; margin-top: 4px; }
.amenity-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 13px 15px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.amenity-chip i { color: var(--brand); font-size: 15px; flex-shrink: 0; }
.amenity-chip:hover { transform: translateY(-2px); border-color: var(--brand-light); box-shadow: var(--shadow); }

/* ---------- Booking info panel head ---------- */
.info-panel { padding: 0; overflow: hidden; }
.info-panel-head {
    background: var(--grad-brand);
    color: #fff;
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
}
.info-panel-head::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -50px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}
.info-panel-head .p-kicker { font-size: 11.5px; text-transform: uppercase; letter-spacing: .6px; opacity: .85; font-weight: 700; display: block; margin-bottom: 2px; }
.info-panel-head .p-title { font-size: 16px; font-weight: 800; letter-spacing: -.2px; }
.info-panel-head .p-price { margin-top: 8px; font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.info-panel-head .p-price small { font-size: 12.5px; font-weight: 600; opacity: .9; }
.info-panel-body { padding: 18px 22px 24px; }
.info-panel-body .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.info-panel-body .row:last-of-type { border-bottom: none; }
.info-panel-body .row span { color: var(--ink-soft); flex-shrink: 0; }
.info-panel-body .row strong { color: var(--ink); text-align: right; max-width: 64%; word-break: break-word; line-height: 1.4; }
.info-panel .trust-row { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.info-panel .trust-row li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.info-panel .trust-row li i { color: var(--success); font-size: 13px; }

/* Per-person package price schedule (tour detail / checkout) */
.person-price-list {
    margin: 14px 0 2px; padding: 12px 14px; border-radius: var(--radius-sm);
    background: var(--bg-soft); border: 1px solid var(--line);
}
.person-price-title {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 700; letter-spacing: .3px;
    text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px;
}
.person-price-title i { color: var(--brand); }
.person-price-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 13.5px;
}
.person-price-row:first-of-type { border-top: none; padding-top: 0; }
.person-price-row span { color: var(--ink-soft); }
.person-price-row strong { color: var(--brand-dark); font-weight: 800; }
.person-price-row strong small { font-size: 11px; font-weight: 600; color: var(--muted); }

/* Checkout booking summary */
.booking-summary .info-panel-head .p-title { display: block; line-height: 1.35; }
.booking-summary .summary-thumb {
    width: 100%;
    height: 148px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--line);
}
.booking-summary .info-panel-body { padding-top: 16px; }
.booking-summary .total-price { margin: 16px 0 12px; }
.booking-summary-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin: 0 0 10px;
    line-height: 1.5;
}
.booking-summary-note i { margin-right: 4px; color: var(--success); }
.booking-summary .btn { margin-top: 4px; }

/* ---------- Forms ---------- */
.form-card {
    max-width: 480px;
    margin: 40px auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 34px;
}
.form-card.wide { max-width: 760px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 7px; color: var(--ink); }
.form-group label .social-img-icon { width: 16px; height: 16px; object-fit: contain; display: inline-block; vertical-align: -3px; margin-right: 2px; }
.form-group .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg-soft);
    outline: none;
    transition: border .15s, box-shadow .15s, background .15s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, .14);
    background: #fff;
}
.form-group textarea { min-height: 110px; resize: vertical; }
.rich-mark {
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 0 .18em;
    border-radius: 3px;
    font-weight: 700;
}
.rich-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 8px;
}
.rich-toolbar button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}
.rich-toolbar button:hover { border-color: var(--brand); color: var(--brand-dark); }
.rich-toolbar .rich-tip { font-size: 11px; color: var(--muted); font-weight: 600; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }

.flash { margin-top: 14px; padding: 13px 18px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; display: flex; align-items: flex-start; gap: 10px; word-break: break-word; }
.flash-success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.flash-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.flash-warning { background: #fffbeb; color: var(--warning); border: 1px solid #fde68a; }
.flash-info { background: #eff6ff; color: var(--info); border: 1px solid #bfdbfe; }

/* ---------- Checkout ---------- */
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0; }
.payment-option {
    border: 2px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
    cursor: pointer;
    transition: border .15s, background .15s, box-shadow .15s;
    background: #fff;
}
.payment-option:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.payment-option.selected { border-color: var(--brand); background: var(--brand-soft); }
.payment-option .radio { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.payment-option p { font-size: 13px; color: var(--ink-soft); }

.plan-options { display: grid; gap: 12px; }
.plan-option {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    cursor: pointer;
    transition: border .15s, background .15s, box-shadow .15s;
    background: #fff;
}
.plan-option:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.plan-option.selected { border-color: var(--brand); background: var(--brand-soft); }
.plan-option input { position: absolute; opacity: 0; pointer-events: none; }
.plan-option .plan-mark { color: var(--line); font-size: 20px; flex: 0 0 auto; }
.plan-option.selected .plan-mark { color: var(--brand); }
.plan-option .plan-copy { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.plan-option .plan-name { font-weight: 800; color: var(--ink); }
.plan-option .plan-sub { font-size: 12px; color: var(--ink-soft); }
.plan-option .plan-amount { font-weight: 800; color: var(--brand-dark); white-space: nowrap; }
.plan-due { margin-top: 10px; text-align: center; }

.bank-details { background: var(--bg-soft); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 16px; margin: 14px 0; }
.bank-details .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.bank-details .row:last-child { border-bottom: none; }
.qr-box { text-align: center; margin: 14px 0; }
.qr-box img { max-width: 190px; margin: 0 auto; border: 1px solid var(--line); border-radius: 12px; }

.summary-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.summary-box .row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.summary-box .row:last-child { border-bottom: none; }
.summary-box .row.total { font-weight: 800; color: var(--brand-dark); font-size: 1.15rem; }

/* ---------- Success / Confirmation ---------- */
.success-hero { text-align: center; padding: 60px 20px 20px; }
.success-icon { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; font-size: 42px; color: #fff; box-shadow: var(--shadow-lg); }
.success-icon.good { background: var(--grad-brand); }
.success-icon.warn { background: var(--grad-accent); }
.success-hero h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -.5px; }
.success-hero p { color: var(--ink-soft); margin-top: 8px; max-width: 560px; margin-inline: auto; }

.voucher {
    max-width: 780px;
    margin: 30px auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.voucher-head {
    background: var(--grad-brand-deep);
    color: #fff;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.voucher-head .status-pill { background: #fff; color: var(--brand-dark); }
.voucher-body { padding: 26px 28px; }
.voucher-body h3 { margin-bottom: 14px; color: var(--ink); }
.voucher-table { width: 100%; border-collapse: collapse; }
.voucher-table th, .voucher-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); font-size: 14px; }
.voucher-table th { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.voucher-foot { display: flex; justify-content: space-between; gap: 12px; padding: 0 28px 26px; flex-wrap: wrap; }
.itinerary-snap { margin: 8px 0 0; padding-left: 18px; }
.itinerary-snap li { margin: 6px 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.itinerary-snap ul { margin: 6px 0 0; padding-left: 16px; list-style: disc; }
.itinerary-snap ul li { margin: 3px 0; }
.summary-itinerary { margin: 12px 0 4px; padding-top: 12px; border-top: 1px dashed var(--line); }
.summary-itinerary > span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); margin-bottom: 6px; }
.summary-itinerary .itinerary-snap { font-size: 13px; max-height: 220px; overflow: auto; }

.status-pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.status-pending { background: #fffbeb; color: var(--warning); }
.status-partial { background: #fff7ed; color: #c2410c; }
.status-confirmed { background: #f0fdf4; color: var(--success); }
.status-cancelled { background: #fef2f2; color: var(--danger); }
.status-completed { background: #eff6ff; color: var(--info); }
.status-failed { background: #fef2f2; color: var(--danger); }
.status-available { background: #f0fdf4; color: var(--success); }
.status-booked { background: #eff6ff; color: var(--info); }
.status-maintenance { background: #fffbeb; color: var(--warning); }
.status-active { background: #f0fdf4; color: var(--success); }
.status-inactive { background: #f1f5f9; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; box-shadow: var(--shadow); transition: transform .2s ease; }
.contact-card:hover { transform: translateY(-3px); }
.contact-card i { font-size: 20px; color: var(--brand-dark); margin-top: 3px; width: 28px; text-align: center; }
.contact-card h4 { font-size: 14px; margin-bottom: 2px; color: var(--ink); }
.contact-card p { font-size: 13px; color: var(--ink-soft); }
.contact-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand-dark);
    display: grid;
    place-items: center;
    font-size: 16px;
    box-shadow: var(--shadow);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.contact-social a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); }

/* ---------- Footer ---------- */
.site-footer {
    background: #0b1220;
    color: #94a3b8;
    margin-top: 90px;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9, #f97316, #0ea5e9);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 34px; padding: 60px 20px 40px; }
.footer-col h4 { color: #fff; margin-bottom: 18px; font-size: 15px; font-weight: 700; letter-spacing: -.2px; }
.footer-col h4 i { color: var(--accent); margin-right: 8px; }
.footer-logo { height: 38px; width: auto; max-width: 200px; object-fit: contain; display: block; margin-bottom: 12px; }
.footer-col p { font-size: 14px; margin-bottom: 10px; }
.footer-col ul li { margin-bottom: 10px; font-size: 14px; }
.footer-col ul li a { color: #94a3b8; }
.footer-col ul li a:hover { color: #fff; padding-left: 4px; }
.footer-col ul li a { transition: color .18s ease, padding-left .18s ease; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: 4px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #cbd5e1;
    display: grid;
    place-items: center;
    font-size: 16px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--grad-accent); color: #fff; transform: translateY(-3px); }
.footer-social .social-img-icon,
.contact-social .social-img-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}
.contact-social a:hover .social-img-icon,
.footer-social a:hover .social-img-icon {
    filter: brightness(0) invert(1);
}
.footer-bottom { border-top: 1px solid #1e293b; padding: 18px 0; font-size: 13px; color: #64748b; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-legal-inline { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; }
.footer-legal-inline a { color: #94a3b8; }
.footer-legal-inline a:hover { color: #fff; }

.legal-page { padding-top: 36px; }
.legal-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.legal-prose { max-width: 46rem; }
.legal-prose h3 { margin-top: 32px; }
.legal-prose a { font-weight: 600; }
.legal-toc {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
}
.legal-toc-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.legal-toc ul { list-style: none; padding: 0; margin: 0; }
.legal-toc li { margin: 0; }
.legal-toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
}
.legal-toc a i { color: var(--brand); width: 16px; }
.legal-toc a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.legal-toc li.is-active a { background: var(--brand-soft); color: var(--brand-dark); }
.legal-grievance {
    margin-top: 32px;
    padding: 20px 22px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
}
.legal-grievance h3 { margin-top: 0; }
.legal-aside { margin-top: 0; }

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: calc(24px + env(safe-area-inset-bottom));
    z-index: 120;
    max-width: 720px;
    margin: 0 auto;
    background: #0b1220;
    color: #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.5; }
.cookie-banner a { color: #7dd3fc; font-weight: 600; }
.cookie-banner a:hover { color: #fff; }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner .btn { flex-shrink: 0; }

.legal-consent { margin-top: 8px; }
.legal-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-soft);
    font-weight: 500;
    cursor: pointer;
}
.legal-consent-label input { margin-top: 3px; flex-shrink: 0; }
.legal-contact-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom));
    right: calc(24px + env(safe-area-inset-right));
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 30px;
    box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
    z-index: 90;
    transition: transform .2s var(--ease-out), box-shadow .2s ease;
}
body.menu-open .whatsapp-float { visibility: hidden; pointer-events: none; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); color: #fff; box-shadow: 0 12px 28px rgba(37, 211, 102, .55); }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, .88);
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 24px;
    animation: fadeIn .2s ease;
}
body.lightbox-open { overflow: hidden; }
.lightbox img { max-width: 92%; max-height: 88vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    color: #fff;
    font-size: 34px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, .12); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Auth pages ---------- */
.auth-section { min-height: 70vh; display: flex; align-items: flex-start; }
.auth-card {
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 38px 34px;
    width: 100%;
}
.auth-head { text-align: center; margin-bottom: 24px; }
.auth-head h2 { font-size: 1.5rem; margin-bottom: 6px; letter-spacing: -.3px; }
.auth-head p { color: var(--ink-soft); font-size: 14px; }
.auth-alt { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.auth-alt span { font-size: 13px; color: var(--muted); }

/* ---------- User menu ---------- */
.auth-links { display: flex; align-items: center; gap: 8px; }
.user-menu { position: relative; }
.user-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    padding: 6px 14px 6px 6px;
    cursor: pointer;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.user-menu-btn:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
}
.user-menu-btn .fa-chevron-down { font-size: 11px; color: var(--muted); margin-left: 2px; }
.user-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    max-width: calc(100vw - 24px);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all .2s var(--ease-out);
    z-index: 120;
    pointer-events: none;
}
.user-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.user-dropdown-head { padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.user-dropdown-head strong { display: block; font-size: 14px; color: var(--ink); }
.user-dropdown-head small { color: var(--muted); font-size: 12px; word-break: break-all; }
.user-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
}
.user-dropdown a:hover { background: var(--bg-soft); color: var(--brand); }
.user-dropdown a i { width: 18px; text-align: center; color: var(--brand); }
.user-dropdown a.danger, .user-dropdown a.danger i { color: var(--danger); }
.user-dropdown a.danger:hover { background: #fef2f2; }

/* ---------- My Bookings ---------- */
.bookings-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; justify-content: center; }
.bookings-tab {
    padding: 10px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    background: #fff;
    transition: all .18s ease;
}
.bookings-tab:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.bookings-tab.active { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand); }
.booking-list { display: flex; flex-direction: column; gap: 16px; }
.booking-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow);
    transition: transform .2s var(--ease-out), box-shadow .2s ease;
}
.booking-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.booking-item-icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    border-radius: 14px;
    background: var(--brand-light);
    color: var(--brand-dark);
    display: grid;
    place-items: center;
    font-size: 22px;
}
.booking-item-main { flex: 1; min-width: 0; }
.booking-item-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.booking-item-top h3 { font-size: 1.05rem; color: var(--ink); overflow-wrap: anywhere; }
.booking-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink-soft); }
.booking-meta i { color: var(--brand); margin-right: 4px; }
.booking-item-side { text-align: right; flex-shrink: 0; }
.booking-amount { font-size: 1.25rem; font-weight: 800; color: var(--brand-dark); }
.booking-number { color: var(--muted); font-size: 11px; display: block; margin: 2px 0 8px; }
.booking-actions { display: flex; gap: 6px; justify-content: flex-end; }

/* ---------- Hotel / Cab detail facts ---------- */
.hotel-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 18px; }
.hotel-fact {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 18px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .2s var(--ease-out), box-shadow .2s ease;
}
.hotel-fact:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.hotel-fact i { font-size: 22px; color: var(--brand); margin-bottom: 6px; display: block; }
.hotel-fact span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.hotel-fact strong { display: block; font-size: 14px; color: var(--ink); margin-top: 3px; }
.driver-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px;
    max-width: 360px;
    box-shadow: var(--shadow);
}
.driver-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
}

.readonly-field {
    background: #f1f5f9 !important;
    color: #475569 !important;
    cursor: not-allowed;
}

.admin-badge {
    background: var(--danger);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    padding: 1px 8px;
    margin-left: auto;
}

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state i { font-size: 48px; margin-bottom: 14px; opacity: .5; color: var(--brand); }
.empty-state h3 { color: var(--ink-soft); margin-bottom: 6px; }
.empty-state a.btn { margin-top: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s ease var(--d, 0ms), transform .6s var(--ease-out) var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }
.reduce-motion .reveal { opacity: 1; transform: none; transition: none; }

/* ---------- Admin ---------- */
.admin-shell { display: flex; min-height: 100vh; background: var(--bg-soft); }
.admin-sidebar {
    width: 240px;
    background: #0b1220;
    color: #94a3b8;
    flex-shrink: 0;
    padding: 20px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.admin-brand { display: flex; align-items: center; gap: 10px; padding: 6px 20px 22px; color: #fff; font-weight: 700; border-bottom: 1px solid #1e293b; margin-bottom: 16px; }
.admin-brand i { color: var(--accent); }
.admin-brand-logo { height: 34px; width: auto; max-width: 180px; object-fit: contain; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s, color .15s;
    border-left: 3px solid transparent;
}
.admin-nav a i { width: 20px; text-align: center; color: #64748b; }
.admin-nav a:hover, .admin-nav a.active { background: #1e293b; color: #fff; }
.admin-nav a.active { border-left-color: var(--accent); }
.admin-nav a.active i { color: var(--accent); }

.admin-main { flex: 1; padding: 30px; min-width: 0; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; gap: 12px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 1.5rem; letter-spacing: -.3px; }

.metric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 28px; }
.metric {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
    transition: transform .2s var(--ease-out), box-shadow .2s ease;
}
.metric:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.metric .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: #fff; }
.metric .icon.teal { background: var(--grad-brand); }
.metric .icon.amber { background: var(--grad-accent); }
.metric .icon.orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.metric .icon.green { background: var(--success); }
.metric .icon.blue { background: var(--info); }
.metric .icon.red { background: var(--danger); }
.metric .label { font-size: 13px; color: var(--muted); }
.metric .value { font-size: 1.45rem; font-weight: 800; color: var(--ink); }

.table-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; -webkit-overflow-scrolling: touch; box-shadow: var(--shadow); }
.table-toolbar { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); gap: 12px; flex-wrap: wrap; }
.table-toolbar h2 { font-size: 1.05rem; }
.table-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.table-filters select, .table-filters input {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: var(--font);
    background: var(--bg-soft);
    outline: none;
}
.table-filters select:focus, .table-filters input:focus { border-color: var(--brand); }
.table-filters input { min-width: 180px; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 12px 16px; font-size: 13px; border-bottom: 1px solid var(--line); }
.data-table th { background: var(--bg-soft); color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .6px; }
.data-table tbody tr { transition: background .15s ease; }
.data-table tbody tr:hover { background: #f8fafc; }
.data-table td .thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.data-table .actions { display: flex; gap: 6px; }
.data-table .actions .btn { padding: 6px 11px; font-size: 12px; }

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, .65);
    backdrop-filter: blur(3px);
    z-index: 150;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 16px;
    overflow-y: auto;
}
.modal.open { display: flex; animation: fadeIn .18s ease; }
.modal-card { background: #fff; border-radius: var(--radius); max-width: 620px; width: 100%; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 1.1rem; }
.modal-close { background: none; border: none; font-size: 24px; cursor: pointer; color: var(--muted); width: 44px; height: 44px; border-radius: 50%; transition: background .18s ease; }
.modal-close:hover { background: var(--bg-soft); color: var(--ink); }
.modal-body { padding: 22px; }
.modal-body .kv { display: flex; gap: 14px; margin-bottom: 12px; font-size: 14px; }
.modal-body .kv .k { min-width: 130px; color: var(--muted); font-weight: 600; }
.modal-body .kv .v { color: var(--ink); word-break: break-word; }
.receipt-preview { max-width: 100%; max-height: 320px; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0 16px; cursor: zoom-in; }

.chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.chart-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.chart-card h3 { font-size: 1rem; margin-bottom: 14px; }
.social-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.social-settings-grid .form-group label { display: flex; align-items: center; gap: 8px; }
.social-settings-grid .form-group label i { width: 16px; text-align: center; color: var(--brand, #0f766e); }
.home-admin-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.home-admin-jump a { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-soft); text-decoration: none; }
.home-admin-jump a:hover { background: var(--brand-soft, #ccfbf1); color: var(--brand, #0f766e); }
.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 13px; }
.bar-row .bar-label { width: 90px; color: var(--ink-soft); font-weight: 600; }
.bar-row .bar-track { flex: 1; background: var(--bg-soft); border-radius: 6px; height: 22px; overflow: hidden; }
.bar-row .bar-fill { height: 100%; background: var(--grad-brand); border-radius: 6px; display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; color: #fff; font-size: 11px; font-weight: 700; min-width: 34px; }

.login-bg {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 15% 15%, rgba(56, 189, 248, .5), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(249, 115, 22, .4), transparent 45%),
        linear-gradient(135deg, #0369a1, #0c4a6e);
    padding: 20px;
}

/* ---------- About page ---------- */
.about-hero .detail-hero-overlay {
    background: linear-gradient(180deg, rgba(2, 6, 23, .6) 0%, rgba(2, 6, 23, .18) 42%, rgba(2, 6, 23, .84) 100%);
}
.about-hero .detail-hero-overlay .kicker {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    margin-bottom: 14px;
}
.about-hero .detail-hero-overlay .kicker i { color: #fb923c; }
.about-hero .detail-hero-overlay h1 { margin-bottom: 6px; }
.about-hero .detail-hero-overlay .sub { max-width: 720px; }

.about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 44px;
    align-items: center;
}
.about-intro-media img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.about-prose { font-size: 15.5px; line-height: 1.85; }
.about-prose p { margin-bottom: 14px; }

.stats-band {
    background:
        radial-gradient(circle at 15% 20%, rgba(56, 189, 248, .32), transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(249, 115, 22, .26), transparent 42%),
        linear-gradient(135deg, #0c4a6e, #075985);
    color: #fff;
    padding: 44px 0;
}
.about-stats { justify-content: center; gap: 44px; margin-bottom: 0; }
.about-stats .stat { padding: 0 34px; }
.about-stats .stat:last-child { padding-right: 0; }

.about-mvv { gap: 26px; }
.about-mvv-card { text-align: left; }
.about-mvv-card i {
    background: var(--grad-brand);
    color: #fff;
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 16px;
    margin-bottom: 16px;
}
.about-mvv-card h4 { font-size: 1.1rem; }
.about-mvv-card p { font-size: 14px; line-height: 1.8; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}
.team-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform .22s var(--ease-out), box-shadow .22s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--grad-brand);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 14px;
}
.team-card h4 { margin-bottom: 4px; font-size: 1.05rem; }
.team-role {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-dark);
    background: var(--brand-light);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 10px;
}
.team-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }

@media (max-width: 900px) {
    .about-hero { height: auto; min-height: 300px; }
    .about-hero .detail-hero-overlay { align-items: center; }
    .about-hero .detail-hero-overlay .container { padding: 28px 0; }
    .about-intro { grid-template-columns: 1fr; gap: 28px; }
    .about-intro-media img { height: 300px; }
}

/* ---------- Responsive ---------- */
/* Nav gap/font now scale via clamp(), so only the phone chip and the mobile
   drawer need explicit tiers below. */

@media (max-width: 1280px) {
    .header-phone span { display: none; }
}

/* Medium desktop: drop the phone chip and tighten the nav gap so links never
   crowd the edges of the header. */
@media (max-width: 1160px) {
    .header-phone { display: none; }
    .main-nav { gap: clamp(11px, 1.5vw, 16px); }
    .mega-menu { min-width: 620px; }
}

/* Very narrow desktop: collapse the gap fully to keep links off the edges. */
@media (max-width: 1050px) and (min-width: 1025px) {
    .main-nav { gap: 8px; }
}

@media (max-width: 1024px) {
    .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
    .header-actions { gap: 10px; }
    .header-phone i { width: 40px; height: 40px; font-size: 16px; }
    .auth-links { display: none; }
    .user-name { display: none; }
    .user-menu-btn .fa-chevron-down { display: none; }
    /* The fixed drawer leaves the grid; pin brand/actions to the outer edges. */
    .header-inner { grid-template-columns: auto minmax(0, 1fr); }
    .brand { grid-column: 1; }
    .header-actions { grid-column: 2; justify-self: end; }

    .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, .46);
        z-index: 110;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .28s ease, visibility .28s ease;
    }
    .nav-backdrop.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: auto;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 8px 16px calc(22px + env(safe-area-inset-bottom));
        box-shadow: 0 24px 48px -12px rgba(15, 23, 42, .28);
        transform: translateY(-16px);
        transition: transform .28s var(--ease-out), opacity .28s ease, visibility .28s ease;
        border-bottom: 1px solid var(--line);
        z-index: 120;
        overflow-y: auto;
        max-height: calc(100vh - var(--header-h));
        max-height: calc(100dvh - var(--header-h));
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        -webkit-overflow-scrolling: touch;
    }
    .main-nav.open {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
    .main-nav > a, .main-nav > .nav-item > .nav-trigger {
        padding: 15px 12px;
        border-bottom: 1px solid var(--line);
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        border-radius: 10px;
        white-space: normal;
        flex-shrink: 1;
    }
    .main-nav > a::after, .main-nav > .nav-item > .nav-trigger::after { display: none; }
    .main-nav > a > i:not(.nav-caret),
    .main-nav > .nav-item > .nav-trigger > i:not(.nav-caret) {
        display: inline-block;
        width: 20px;
        text-align: center;
        color: var(--brand);
        flex-shrink: 0;
    }
    .main-nav > a.active, .main-nav > a:hover,
    .main-nav > .nav-item > .nav-trigger.active, .main-nav > .nav-item > .nav-trigger:hover { color: var(--brand-dark); background: var(--brand-soft); }
    .main-nav > a:last-child { border-bottom: none; }

    .main-nav .nav-item:hover .mega-menu,
    .main-nav .nav-item:focus-within .mega-menu { display: none; }
    .main-nav .nav-item.mega-open .mega-menu,
    .main-nav .nav-item.mega-open:hover .mega-menu,
    .main-nav .nav-item.mega-open:focus-within .mega-menu { display: block; }

    .main-nav > a.nav-auth { display: flex; margin-top: 8px; border: 1.5px solid var(--line); justify-content: center; font-weight: 700; }
    .main-nav > a.nav-auth-register { border: none; background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); }
    .main-nav > a.nav-auth-register i { color: #fff; }
    .main-nav > a.nav-auth-register:hover { background: var(--grad-brand-deep); color: #fff; }
    .main-nav > a.nav-auth-login { color: var(--brand-dark); }
    .main-nav > a.nav-auth-login i { color: var(--brand); }
    .main-nav > a.nav-auth-login:hover { background: var(--brand-soft); color: var(--brand-dark); }

    /* Mobile mega menu: collapsed accordion panel below the trigger */
    .main-nav .nav-item { width: 100%; }
    .main-nav .nav-trigger { width: 100%; }
    .main-nav .nav-trigger .nav-caret { margin-left: auto; }
    .mega-menu {
        position: static;
        width: 100%;
        min-width: 0;
        max-width: none;
        max-height: none;
        transform: none;
        box-shadow: none;
        border: 1px solid var(--line);
        border-radius: var(--radius-sm);
        margin: 4px 0 10px;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    .mega-menu::before { display: none; }
    .nav-item.mega-open .mega-menu { display: block; }
    .mega-inner { max-height: none; overflow: visible; }
    .mega-cols { grid-template-columns: 1fr; gap: 16px; padding: 14px 16px; }
    .mega-col-title { margin: 0 0 6px; padding: 2px 4px 8px; font-size: 14px; }
    .mega-links { margin: 0 0 8px; }
    .mega-links a { padding: 9px 4px 9px 18px; font-size: 14px; border-radius: 8px; }
    .mega-links a:hover { padding-left: 22px; background: var(--brand-soft); }
    .mega-all { padding: 4px 4px 6px; }
    .mega-empty { padding: 0 4px; }
    .mega-foot { padding: 12px 16px; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }

    .detail-layout, .detail-layout--wide { grid-template-columns: 1fr; }
    .info-panel { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .legal-layout { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; align-items: flex-start; left: 12px; right: 12px; }
    .chart-row { grid-template-columns: 1fr; }
    .social-settings-grid { grid-template-columns: 1fr; }
    .admin-sidebar { width: 200px; }
    .booking-item { flex-wrap: wrap; }
    .booking-item-side { text-align: left; width: 100%; }
    .booking-actions { justify-content: flex-start; flex-wrap: wrap; }
    .search-tab { padding: 12px 14px; font-size: 14px; }
    .user-dropdown { right: 0; left: auto; min-width: 240px; }
    .plan-option { flex-wrap: wrap; }
    .plan-option .plan-amount { width: 100%; text-align: left; padding-left: 32px; }
    .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    :root { --header-h: 70px; }
    .section { padding: 54px 0; }
    .hero { padding: 44px 0 56px; min-height: auto; }
    .hero + .hero-search { margin-top: -36px; }
    .listing-results { padding-top: 36px; }
    .hero-cta { margin-bottom: 26px; }
    .hero-stats { gap: 16px 24px; margin-bottom: 22px; }
    .hero-stats .stat { padding-right: 20px; }
    .hero-trust { gap: 14px; }
    .hero-slider-nav { display: none; }
    .hero-slider-dots { bottom: 70px; }
    .dest-card .card-img-wrap { height: 210px; }
    .cta-band { padding: 34px 24px; }
    .detail-hero { height: 250px; }
    .search-tab { padding: 10px 8px; font-size: 13.5px; }
    .grid-2 { grid-template-columns: 1fr; }
    .header-inner { height: var(--header-h); }
    .brand-logo { height: 44px; max-width: 180px; }
    .site-footer { margin-top: 48px; }
    .footer-bottom { padding-bottom: 88px; }
    .cookie-banner { bottom: calc(92px + env(safe-area-inset-bottom)); }

    /* Prevent iOS auto-zoom on focused inputs */
    input, select, textarea { font-size: 16px; }

    .payment-methods { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .bank-details .row { flex-wrap: wrap; row-gap: 4px; }
    .bank-details .row strong { text-align: right; }
    .contact-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; padding: 44px 20px; }
    .search-form { grid-template-columns: 1fr; }
    .search-submit { width: 100%; height: 48px; }
    .hero-search { padding: 0 16px 18px; }

    .info-panel { position: static; }
    .table-wrap { overflow-x: auto; }
    .data-table { min-width: 640px; }

    .modal { padding: 16px 10px; }
    .modal-body .kv { flex-direction: column; gap: 2px; }
    .modal-body .kv .k { min-width: 0; }
    .voucher-body { overflow-x: auto; }
    .voucher-table { min-width: 520px; }

    .admin-shell { flex-direction: column; }
    .admin-sidebar { width: 100%; height: auto; position: static; padding: 10px 0; }
    .admin-brand { padding: 8px 16px 12px; }
    .admin-nav { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .admin-nav a { white-space: nowrap; padding: 10px 14px; border-left: none; border-bottom: 3px solid transparent; }
    .admin-nav a.active { border-bottom-color: var(--accent); }
    .admin-main { padding: 18px 14px; }
    .data-table { font-size: 12px; }
    .table-filters { width: 100%; }
    .table-filters input { flex: 1; min-width: 0; }

    .auth-card { padding: 28px 22px; }
    .booking-item { padding: 16px; gap: 14px; }
    .booking-item-icon { width: 46px; height: 46px; font-size: 18px; }
    .booking-item-side { text-align: left; }
    .booking-actions { justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .metric-grid { grid-template-columns: 1fr; }
    .grid, .grid-3 { grid-template-columns: 1fr; }
    .voucher-head { flex-direction: column; align-items: flex-start; }
    .bookings-tab { padding: 8px 14px; font-size: 12px; }
    .brand { gap: 10px; }
    .brand-text { max-width: 42vw; }
    .brand-text small { display: none; }
    .brand-text strong { font-size: 16px; }
    .brand-mark { height: 42px; width: 42px; border-radius: 12px; }
    .brand-logo { height: 40px; width: auto; max-width: 48vw; }
    .header-inner { gap: 12px; }
    .hero-eyebrow { max-width: 100%; }
    .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    .hero-stats .stat { padding-right: 0; border-right: none; }
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; }
    .search-field input, .search-field select { padding: 12px; }
    .card-img-wrap { height: 200px; }
    .detail-hero { height: 210px; }
    .whatsapp-float { width: 54px; height: 54px; font-size: 26px; bottom: calc(18px + env(safe-area-inset-bottom)); right: calc(18px + env(safe-area-inset-right)); }
    .form-actions .btn, .booking-actions .btn, .info-panel .btn, .modal-body .btn { width: 100%; }
    .table-filters .btn { width: auto; }
    .hero-title { font-size: clamp(1.8rem, 7vw, 2.3rem); }
    .hero-sub { font-size: 1rem; }
    .section-head .kicker { letter-spacing: 1.4px; }
    .container { padding: 0 16px; }
    .hero-slider-dots { bottom: 56px; }
    .card-foot { flex-direction: column; align-items: stretch; }
    .card-foot .btn { width: 100%; }
    .dest-body .btn { width: 100%; align-self: stretch; }
    .voucher-foot { padding: 0 16px 20px; }
    .voucher-body { padding: 20px 16px; }
    .auth-card { padding: 24px 18px; }
}

@media (max-width: 380px) {
    .header-phone { display: none; }
    .brand-text { max-width: 38vw; }
    .brand-text strong { font-size: 14px; }
    .brand-mark { height: 36px; width: 36px; border-radius: 10px; }
    .brand-logo { height: 34px; width: auto; max-width: 42vw; }
    .search-tab { font-size: 13px; padding: 10px 6px; }
    .search-tab i { display: none; }
}

@media print {
    .site-header, .site-footer, .whatsapp-float, .nav-toggle, .nav-backdrop, .admin-bar, .skip-link { display: none !important; }
    body { background: #fff; }
    .section { padding: 16px 0; }
    a { color: inherit; }
}

/* ---------- Detail page responsive refinements ---------- */
@media (max-width: 1024px) {
    .gallery-slide, .gallery-hero-img { max-height: 460px; }
}

@media (max-width: 768px) {
    .detail-head { align-items: flex-start; }
    .detail-head-price { display: none; }
    .split-grid { grid-template-columns: 1fr; }
    .breadcrumb { overflow-wrap: anywhere; }
    .gallery-slide, .gallery-hero-img { aspect-ratio: 4 / 3; max-height: 420px; }
    .gallery-thumb { width: 96px; height: 66px; }
    .gallery-nav { width: 40px; height: 40px; font-size: 14px; }
    .gallery-prev { left: 12px; }
    .gallery-next { right: 12px; }
    .itin-day-summary { grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; padding: 12px 0; }
    .itin-day-title { font-size: 16px; }
    .itin-stops::before { left: 11px; }
    .itin-stop { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
    .itin-num { width: 24px; height: 24px; font-size: 12px; }
    .tour-map-frame { min-height: 240px; aspect-ratio: 4 / 3; }
    .cancel-policy { padding: 16px 16px 18px; }
}

@media (max-width: 480px) {
    .detail-meta { gap: 8px; }
    .meta-chip { padding: 7px 11px; font-size: 12px; }
    .gallery-slide, .gallery-hero-img { aspect-ratio: 16 / 10; max-height: 320px; }
    .spec-grid { grid-template-columns: 1fr 1fr; }
    .amenity-grid { grid-template-columns: 1fr; }
    .info-panel-body { padding: 16px 16px 20px; }
    .info-panel-head { padding: 16px 16px; }
    .ride-features { grid-template-columns: 1fr; }
}

/* ---------- Admin: gallery management ---------- */
.thumb-stack { position: relative; width: fit-content; }
.thumb-stack .thumb-count {
    position: absolute;
    right: -6px;
    bottom: -6px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    border: 2px solid #fff;
    line-height: 1.2;
}
.gallery-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.gallery-manage .g-item { position: relative; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.gallery-manage .g-item img { width: 100%; height: 86px; object-fit: cover; display: block; }
.gallery-manage .g-item .g-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 11px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-soft);
}
.gallery-manage .g-item .g-check input { width: auto; margin: 0; }
.gallery-manage .g-item .g-check .g-url { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gallery-manage .g-item.is-main { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-light); }
.gallery-manage .g-item .g-main-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--grad-brand);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    z-index: 2;
}


/* ============================================================
   FAQ section (tour detail)
   ============================================================ */
.faq-section { margin-top: 36px; }
.faq-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.faq-head-icon {
    flex: 0 0 auto; width: 50px; height: 50px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; font-size: 21px;
    box-shadow: 0 10px 22px rgba(14, 165, 233, .28);
}
.faq-head-text .faq-kicker {
    display: inline-block; font-size: 11.5px; font-weight: 800;
    letter-spacing: 1.2px; text-transform: uppercase; color: var(--accent);
    margin-bottom: 4px;
}
.faq-head-text .faq-title { font-size: 1.35rem; line-height: 1.25; color: var(--ink); margin: 0; letter-spacing: -.4px; }
.faq-head-text .faq-sub { margin: 6px 0 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    position: relative; border: 1px solid var(--line); border-radius: 16px;
    background: #fff; overflow: hidden;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.faq-item::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(180deg, var(--brand), var(--accent));
    opacity: 0; transition: opacity .22s ease; z-index: 1;
}
.faq-item:hover { border-color: #cbd5e1; transform: translateY(-1px); box-shadow: var(--shadow); }
.faq-item.is-open { border-color: var(--brand); box-shadow: 0 12px 30px rgba(14, 165, 233, .12); }
.faq-item.is-open::before { opacity: 1; }

.faq-q {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 14px; width: 100%;
    padding: 17px 20px; background: none; border: 0; cursor: pointer;
    font: inherit; text-align: left; color: var(--ink);
    -webkit-tap-highlight-color: transparent;
}
.faq-q:focus-visible { outline: 2px solid var(--brand); outline-offset: -2px; }
.faq-q:hover { background: var(--bg-soft); }
.faq-item.is-open .faq-q { background: var(--brand-soft); }

.faq-q-icon {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--brand-light); color: var(--brand-dark); font-size: 14px;
    transition: background .22s ease, color .22s ease, transform .28s ease;
}
.faq-item.is-open .faq-q-icon { background: var(--brand); color: #fff; }

.faq-q-text { flex: 1 1 auto; font-weight: 700; font-size: 15px; line-height: 1.45; color: var(--ink); }

.faq-q-chevron {
    flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--bg-soft); color: var(--brand-dark); font-size: 13px;
    transition: transform .3s ease, background .22s ease, color .22s ease;
}
.faq-item.is-open .faq-q-chevron { transform: rotate(180deg); background: var(--brand); color: #fff; }

.faq-a {
    display: grid; grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows .35s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .35s;
}
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a-inner p {
    margin: 0; padding: 4px 22px 22px 68px;
    color: var(--ink-soft); line-height: 1.75; font-size: 14.5px;
}
.faq-item.is-open .faq-a {
    grid-template-rows: 1fr;
    visibility: visible;
    transition: grid-template-rows .35s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 0s;
}
.reduce-motion .faq-a { transition: none; }

.faq-help {
    margin-top: 20px; padding: 18px 20px; border-radius: 16px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    background: linear-gradient(120deg, var(--bg-alt), var(--brand-soft));
    border: 1px solid var(--brand-light);
}
.faq-help-icon {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    background: #fff; color: var(--brand-dark); font-size: 19px;
    box-shadow: var(--shadow);
}
.faq-help-text { flex: 1 1 auto; min-width: 200px; }
.faq-help-text strong { display: block; color: var(--ink); font-size: 15px; }
.faq-help-text span { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 13.5px; }
.faq-help-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 768px) {
    .faq-a-inner p { padding-left: 20px; padding-right: 20px; }
    .faq-help { padding: 16px; }
    .faq-help-actions { width: 100%; }
    .faq-help-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* FAQ repeater rows (admin tour form) */
.faq-row { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; background: var(--bg-soft); }
.faq-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.faq-index { font-size: 11.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--brand); }

/* Per-person price tier repeater rows (admin tour form) */
.tier-row { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; background: var(--bg-soft); }
.tier-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.spec-row { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; background: var(--bg-soft); }
.spec-row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.itin-admin-day { border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin-bottom: 16px; background: #fff; }
.itin-admin-day-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.itin-admin-stops { display: flex; flex-direction: column; gap: 12px; margin: 0 0 12px; }
.itin-admin-stop { border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; background: var(--bg-soft); }
.itin-admin-stop-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }

.star-row { color: var(--accent); display: inline-flex; gap: 2px; font-size: 13px; vertical-align: middle; }
.card-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; }

.reviews-section { margin-top: 36px; scroll-margin-top: 96px; }
.review-form-card, .review-login-prompt, .review-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.review-form-card h4, .review-card h4 { margin: 0 0 10px; font-size: 1.05rem; }
.review-form-note { font-size: 13.5px; color: var(--ink-soft); margin: 0 0 14px; }
.review-login-prompt { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.review-login-prompt p { margin: 0; color: var(--ink-soft); }
.review-list { display: flex; flex-direction: column; gap: 14px; }
.review-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-card-head time { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.review-card p { margin: 0; color: var(--ink-soft); line-height: 1.7; font-size: 14.5px; }
.review-reply {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(120deg, var(--bg-alt), var(--brand-soft));
    border: 1px solid var(--brand-light);
}
.review-reply strong { display: block; font-size: 13px; color: var(--brand-dark); margin-bottom: 6px; }
.review-reply p { color: var(--ink); }
.review-reply time { display: block; margin-top: 8px; font-size: 12px; color: var(--muted); }

.rating-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.rating-input label { cursor: pointer; color: #cbd5e1; font-size: 22px; transition: color .15s ease, transform .15s ease; }
.rating-input label:hover, .rating-input label:hover ~ label,
.rating-input input:checked ~ label, .rating-input input:focus-visible + label { color: var(--accent); }
.rating-input label:hover { transform: scale(1.08); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.blog-search {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin: 0 0 8px;
}
.blog-search input[type="search"] {
    flex: 1 1 240px;
    min-width: 0;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 0 14px;
    font: inherit;
    background: #fff;
}
.blog-card-excerpt {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-article { padding-bottom: 56px; }
.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
}
.blog-detail-main { min-width: 0; }
.blog-detail-head { padding: 4px 0 8px; }
.blog-detail-head .kicker { margin-bottom: 8px; }
.blog-detail-head h1 {
    font-size: clamp(1.7rem, 4vw, 2.45rem);
    letter-spacing: -.6px;
    line-height: 1.18;
    margin: 0 0 12px;
    color: var(--ink);
}
.blog-lede {
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0 0 18px;
    max-width: 46rem;
}
.blog-byline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0 4px;
    border-top: 1px solid var(--line);
}
.blog-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad-brand);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .4px;
    flex-shrink: 0;
    box-shadow: var(--shadow-brand);
}
.blog-byline-text { min-width: 0; flex: 1 1 auto; }
.blog-byline-text strong { display: block; font-size: 14px; color: var(--ink); }
.blog-byline-text span { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.blog-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--muted);
    display: inline-block;
}
.blog-cover {
    margin: 20px 0 12px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--bg-alt);
}
.blog-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}
.blog-prose { margin-top: 6px; max-width: 46rem; }
.blog-prose p {
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--ink-soft);
    margin-bottom: 1.15em;
}
.blog-prose p:first-child::first-letter {
    font-size: 2.4em;
    font-weight: 800;
    line-height: .85;
    float: left;
    padding-right: 10px;
    color: var(--brand-dark);
}
.blog-photo-grid-wrap { margin: 0 0 28px; }
.blog-photo-grid {
    column-count: 4;
    column-gap: 8px;
}
.blog-photo {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 0 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-alt);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    cursor: zoom-in;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    aspect-ratio: 4 / 5;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.blog-photo:nth-child(5n+1) { aspect-ratio: 3 / 4; }
.blog-photo:nth-child(5n+2) { aspect-ratio: 1 / 1; }
.blog-photo:nth-child(5n+3) { aspect-ratio: 4 / 3; }
.blog-photo:nth-child(5n+4) { aspect-ratio: 2 / 3; }
.blog-photo:nth-child(5n+5) { aspect-ratio: 5 / 4; }
.blog-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.blog-photo:hover { transform: translateY(-2px); border-color: var(--brand-light); box-shadow: var(--shadow); }
.blog-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}
.blog-share > span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--ink-soft);
}
.blog-share-links { display: flex; gap: 8px; }
.blog-share-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--bg-soft);
    color: var(--ink);
    border: 1px solid var(--line);
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.blog-share-links a:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    transform: translateY(-2px);
}
.blog-aside-copy {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0 0 16px;
}
.blog-related { margin-top: 56px; padding-top: 8px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
    .blog-detail-layout { grid-template-columns: 1fr; gap: 28px; }
    .blog-detail-aside .info-panel { position: static; }
    .blog-photo-grid { column-count: 3; }
}

@media (max-width: 700px) {
    .blog-photo-grid { column-count: 2; column-gap: 6px; }
    .blog-photo { margin-bottom: 6px; }
    .blog-detail-head h1 { font-size: 1.65rem; }
    .blog-lede { font-size: 1rem; }
    .blog-prose p { font-size: 15.5px; }
    .blog-prose p:first-child::first-letter {
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
        float: none;
        padding-right: 0;
        color: inherit;
    }
}

/* ---------- Guest reviews (Tripadvisor + Google) ---------- */
.reviews-section { background: linear-gradient(180deg, #f8fafc, #fff 55%); }
.reviews-platforms {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}
.reviews-platforms-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.reviews-platform {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.reviews-platform-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.reviews-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.reviews-brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}
.reviews-brand strong { display: block; font-size: 15px; color: var(--ink); }
.reviews-brand span { display: block; font-size: 12.5px; color: var(--muted); }
.reviews-score { display: flex; align-items: center; gap: 10px; }
.reviews-score-num {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -.6px;
    color: var(--ink);
    line-height: 1;
}
.reviews-count { display: block; font-size: 12.5px; color: var(--muted); }
.reviews-snippet-list { display: grid; gap: 14px; }
.reviews-carousel {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-top: 4px;
}
.reviews-quote {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}
.reviews-carousel .reviews-quote.ta-card {
    flex: 0 0 min(300px, 82%);
    min-height: 210px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.reviews-quote p {
    font-size: 14px;
    color: var(--ink-soft);
    font-style: italic;
    margin: 8px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.reviews-quote footer,
.reviews-quote time {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    font-size: 12.5px;
    color: var(--muted);
    font-style: normal;
}
.reviews-quote cite { font-style: normal; font-weight: 700; color: var(--ink); }
.reviews-quote-top { display: flex; align-items: center; gap: 10px; }
.reviews-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.reviews-avatar-fallback {
    width: 40px;
    height: 40px;
    font-size: 13px;
}
.reviews-cta { align-self: flex-start; }
.reviews-fallback { font-size: 14px; color: var(--ink-soft); margin: 0; }
.reviews-attr { font-size: 11.5px; color: var(--muted); margin: 0; }
.reviews-attr a { color: var(--muted); text-decoration: underline; }

.reviews-google { margin-top: 28px; }
@media (max-width: 900px) {
    .reviews-platforms-2 { grid-template-columns: 1fr; }
    .reviews-carousel { grid-template-columns: 32px minmax(0, 1fr) 32px; }
}
@media (max-width: 480px) {
    .reviews-platform { padding: 22px 18px; }
    .reviews-score-num { font-size: 1.7rem; }
    .reviews-carousel { grid-template-columns: 32px minmax(0, 1fr) 32px; }
    .reviews-carousel .reviews-quote.ta-card { flex-basis: min(260px, 84%); }
}

.ta-widget {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 18px 28px 28px;
    box-shadow: var(--shadow);
}
.ta-summary {
    text-align: center;
    padding: 8px 10px;
}
.ta-label {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 10px;
}
.ta-bubbles {
    display: inline-flex;
    gap: 4px;
    vertical-align: middle;
}
.ta-bubble {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d6d6d6;
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.ta-bubble.is-full { background: #00aa6c; }
.ta-bubble.is-half {
    background: linear-gradient(90deg, #00aa6c 50%, #d6d6d6 50%);
}
.ta-based {
    margin: 10px 0 14px;
    font-size: 13px;
    color: var(--ink-soft);
}
.ta-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
    font-size: 15px;
}
.ta-brand img { width: 22px; height: 22px; object-fit: contain; }
.ta-brand:hover { color: #00aa6c; }
.ta-carousel {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.ta-track-wrap {
    overflow: hidden;
    min-width: 0;
}
.ta-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 4px 2px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ta-track::-webkit-scrollbar { display: none; }
.ta-card {
    flex: 0 0 min(280px, 78%);
    scroll-snap-align: start;
    background: #f4f7f8;
    border-radius: 16px;
    padding: 18px 18px 16px;
    min-height: 230px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ta-card-top { display: flex; align-items: center; gap: 10px; }
.ta-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #cfe8e0;
    color: #0f766e;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}
.ta-card-who { min-width: 0; }
.ta-card-who strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ta-card-who span { display: block; font-size: 12px; color: var(--muted); }
.ta-card-title {
    font-size: 14.5px;
    line-height: 1.35;
    color: var(--ink);
    margin: 2px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ta-card-text {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.ta-readmore {
    font-size: 13px;
    font-weight: 700;
    color: #00aa6c;
    margin-top: auto;
}
.ta-readmore:hover { color: #067e52; }
.ta-nav {
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 50%;
    color: var(--ink-soft);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}
.ta-nav:hover { color: var(--ink); border-color: var(--brand); }
.ta-nav[disabled] { opacity: .35; cursor: default; box-shadow: none; }
.ta-nav[hidden] { display: none; }
.ta-widget-cta { text-align: center; margin: 18px 0 8px; }

@media (max-width: 900px) {
    .ta-widget { grid-template-columns: 1fr; padding: 24px 16px; }
    .ta-summary { padding-bottom: 8px; }
    .ta-carousel { grid-template-columns: 32px minmax(0, 1fr) 32px; }
    .ta-card { flex-basis: min(260px, 84%); }
}
@media (max-width: 480px) {
    .ta-nav { width: 32px; height: 32px; }
    .ta-label { font-size: 1.15rem; }
}
