/* =====================================================================
   I am Baku Travel — Design System
   Palette extracted from the brand logo:
     deep navy-blue   #0B3C8D   (wordmark "I am")
     brand blue       #1273D4   (wordmark "Baku", ribbon)
     sky / cyan       #28B6F0   (Flame Towers, waves)
     light aqua       #7FD8F7   (highlights)
     sun gold         #F6B819   (the sun — accent / CTA)
   ===================================================================== */

:root {
    /* Brand */
    --navy-900: #06255C;
    --navy-800: #0B3C8D;
    --navy-700: #0E4CA8;
    --blue-600: #1273D4;
    --blue-500: #2D8FE8;
    --sky-500: #28B6F0;
    --sky-400: #55C7F5;
    --aqua-300: #7FD8F7;
    --aqua-100: #D6F1FD;
    --gold-500: #F6B819;
    --gold-600: #E0A408;
    --gold-100: #FEF3D6;

    /* Semantic */
    --primary: var(--navy-800);
    --primary-dark: var(--navy-900);
    --primary-light: var(--blue-600);
    --accent: var(--sky-500);
    --gold: var(--gold-500);

    /* Neutrals */
    --ink-900: #0A1B33;
    --ink-700: #2B3A4F;
    --ink-500: #5A6B82;
    --ink-400: #8494A8;
    --ink-300: #B9C4D1;
    --line: #E3E9F0;
    --line-soft: #EFF3F8;
    --surface: #FFFFFF;
    --surface-alt: #F6F9FC;
    --surface-tint: #EEF6FD;

    /* Status */
    --success: #12855C;
    --success-bg: #E4F6EE;
    --warning: #B5760A;
    --warning-bg: #FDF2DC;
    --danger: #C32C3C;
    --danger-bg: #FBE8EA;
    --info: #0E6FA8;
    --info-bg: #E2F1FB;

    /* Type */
    --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

    /* Shape */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 18px;
    --r-xl: 24px;
    --r-pill: 999px;

    /* Elevation — soft, blue-tinted */
    --sh-xs: 0 1px 2px rgba(10, 27, 51, .06);
    --sh-sm: 0 2px 8px rgba(10, 27, 51, .07);
    --sh-md: 0 8px 24px rgba(10, 27, 51, .09);
    --sh-lg: 0 18px 48px rgba(10, 27, 51, .13);
    --sh-brand: 0 12px 32px rgba(11, 60, 141, .22);

    --header-h: 88px;
    --container: 1400px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ------------------------------------------------------------ Reset */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-700);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink-900);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.02em;
    margin: 0 0 .5em;
    overflow-wrap: break-word;
}

h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p { margin: 0 0 1rem; }
a { color: var(--blue-600); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--navy-800); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
small { font-size: .85em; }
strong, b { font-weight: 600; color: var(--ink-900); }

:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 2px; border-radius: 4px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 10000;
    background: var(--navy-800); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------ Layout */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}
.container-narrow { max-width: 860px; }
.container-mid { max-width: 1060px; }

.section { padding: clamp(48px, 6vw, 88px) 0; }
.section-sm { padding: clamp(36px, 4vw, 56px) 0; }
.section-alt { background: var(--surface-alt); }
.section-tint { background: linear-gradient(180deg, var(--surface-tint) 0%, var(--surface) 100%); }

/* Grid and flex children default to min-width:auto, which lets long words,
   wide tables and nowrap rows blow the layout out horizontally. */
.grid > *, .listing-layout > *, .detail-layout > *, .checkout-layout > *,
.account-layout > *, .admin-form-grid > * { min-width: 0; }

.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.g-auto { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.g-auto-sm { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }

/* Two-column splits that collapse to a single column on tablets and phones */
.split { display: grid; gap: 24px; align-items: start; grid-template-columns: 1fr 1fr; }
.split > * { min-width: 0; }
.split-wide { grid-template-columns: 1.7fr 1fr; }
.split-main { grid-template-columns: 1.6fr 1fr; }
.split-side { grid-template-columns: 1fr 380px; }
.split-list { grid-template-columns: 330px 1fr; }
.split-upload { grid-template-columns: 1fr 220px; }
@media (max-width: 992px) {
    .split, .split-wide, .split-main, .split-side, .split-list, .split-upload { grid-template-columns: 1fr; }
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }
.wrap { flex-wrap: wrap; }
.ml-auto { margin-left: auto; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-end { text-align: right; }
.text-muted { color: var(--ink-500); }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .8rem; }
.text-gold { color: var(--gold-600); }
.text-primary { color: var(--navy-800); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.w-100 { width: 100%; }
.nowrap { white-space: nowrap; }

/* Responsive display utilities — pair `.d-none` with a breakpoint class,
   e.g. `class="d-none d-lg-inline-flex"` shows the element from 992px up. */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-flex { display: flex !important; }

@media (min-width: 576px) {
    .d-sm-block { display: block !important; }
    .d-sm-inline { display: inline !important; }
    .d-sm-inline-flex { display: inline-flex !important; }
    .d-sm-flex { display: flex !important; }
    .d-sm-none { display: none !important; }
}
@media (min-width: 768px) {
    .d-md-block { display: block !important; }
    .d-md-inline { display: inline !important; }
    .d-md-inline-flex { display: inline-flex !important; }
    .d-md-flex { display: flex !important; }
    .d-md-none { display: none !important; }
}
@media (min-width: 992px) {
    .d-lg-block { display: block !important; }
    .d-lg-inline { display: inline !important; }
    .d-lg-inline-flex { display: inline-flex !important; }
    .d-lg-flex { display: flex !important; }
    .d-lg-none { display: none !important; }
}
@media (min-width: 1200px) {
    .d-xl-block { display: block !important; }
    .d-xl-inline-flex { display: inline-flex !important; }
    .d-xl-none { display: none !important; }
}

/* ------------------------------------------------------------ Section head */
.section-head { margin-bottom: 36px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.center { justify-content: center; text-align: center; flex-direction: column; align-items: center; gap: 8px; }
.section-head h2 { margin-bottom: 6px; }
.section-head p { color: var(--ink-500); margin: 0; max-width: 62ch; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--blue-600); margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: var(--gold-500); border-radius: 2px; }

/* ------------------------------------------------------------ Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-sans); font-size: .95rem; font-weight: 600; line-height: 1;
    padding: 14px 26px; border-radius: var(--r-pill); border: 1.5px solid transparent;
    cursor: pointer; text-align: center; white-space: nowrap;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }

.btn-primary { background: var(--navy-800); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { background: var(--navy-900); color: #fff; box-shadow: 0 16px 40px rgba(11, 60, 141, .3); }

.btn-accent { background: linear-gradient(135deg, var(--blue-600), var(--sky-500)); color: #fff; box-shadow: 0 12px 30px rgba(18, 115, 212, .3); }
.btn-accent:hover { color: #fff; box-shadow: 0 16px 38px rgba(18, 115, 212, .38); }

.btn-gold { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 12px 28px rgba(246, 184, 25, .32); }
.btn-gold:hover { background: var(--gold-600); color: var(--navy-900); }

.btn-outline { background: transparent; border-color: var(--line); color: var(--ink-900); }
.btn-outline:hover { border-color: var(--navy-800); color: var(--navy-800); background: var(--surface-tint); }

.btn-light { background: #fff; color: var(--navy-800); box-shadow: var(--sh-sm); }
.btn-light:hover { color: var(--navy-900); box-shadow: var(--sh-md); }

.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .24); color: #fff; }

.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { color: #fff; filter: brightness(.92); }

.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-icon { padding: 0; width: 42px; height: 42px; border-radius: 50%; }

.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ------------------------------------------------------------ Header */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--sh-sm); }

.topbar {
    background: var(--navy-900); color: rgba(255, 255, 255, .82);
    font-size: .82rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: rgba(255, 255, 255, .88); }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-contact span, .topbar-contact a { display: inline-flex; align-items: center; gap: 7px; }
.topbar i { color: var(--sky-400); }

/* ---- Rotating announcement bar -------------------------------------
   Messages are stacked on top of each other and cross-faded, so the bar
   never changes height and the layout beside it cannot jump. */
.announce {
    position: relative; flex: 1 1 260px; min-width: 0;
    height: 24px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.announce-item {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%) translateY(7px);
    display: inline-flex; align-items: center; gap: 8px;
    max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    font-weight: 600; font-size: .82rem; letter-spacing: .01em;
    color: #FFE49B;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.announce-item.is-active {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translate(-50%, -50%) translateY(0);
}
.announce-item i { color: var(--gold-500); font-size: .9rem; flex-shrink: 0; }
a.announce-item:hover { color: #fff; }
a.announce-item:hover i { color: #FFD36B; }

/* Honour a reduced-motion preference: swap instantly, no slide. */
@media (prefers-reduced-motion: reduce) {
    .announce-item { transition: none; transform: translate(-50%, -50%); }
    .announce-item.is-active { transform: translate(-50%, -50%); }
}

/* Below 1024px the rest of the top bar is hidden, but a campaign message is
   worth keeping on phones, so the strip survives on its own there. */
@media (max-width: 1024px) {
    .topbar.has-announce .container { justify-content: center; min-height: 34px; gap: 0; }
    .announce { flex: 1 1 100%; height: 34px; }
    .announce-item { font-size: .78rem; }
}

.header-main { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--navy-800); letter-spacing: -.02em; }
.brand-name em { font-style: normal; color: var(--blue-600); }
.brand-tag { font-size: .58rem; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-400); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: 6px; }
/* The list items live in .main-nav > ul.nav-list > li, so this must not be a
   direct-child selector — otherwise .has-dropdown is never positioned and the
   absolute dropdown anchors to the page instead of its menu item. */
.main-nav li { list-style: none; position: relative; }
.main-nav a {
    display: flex; align-items: center; gap: 5px;
    padding: 11px 15px; border-radius: var(--r-sm);
    font-size: .92rem; font-weight: 600; color: var(--ink-700);
    white-space: nowrap;   /* never let a label such as "About Us" wrap to two lines */
}
.main-nav a:hover, .main-nav a.active { color: var(--navy-800); background: var(--surface-tint); }
.main-nav .caret { font-size: .65rem; opacity: .6; transition: transform .2s var(--ease); }
.main-nav li:hover .caret { transform: rotate(180deg); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; }

.dropdown {
    position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
    max-width: calc(100vw - 32px); z-index: 120;
    background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
    box-shadow: var(--sh-lg); padding: 10px; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
/* Invisible bridge across the 10px gap, so moving the pointer from the menu
   item down to the panel does not close it. */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: 9px 12px; font-weight: 500; font-size: .9rem; border-radius: var(--r-sm); }
.dropdown a i { width: 18px; color: var(--sky-500); }
.dropdown-wide { min-width: 540px; display: grid; grid-template-columns: 1fr 1fr; }

.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.chip-select { position: relative; }
.chip-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--surface-alt); border: 1px solid var(--line);
    padding: 8px 13px; border-radius: var(--r-pill);
    font-size: .85rem; font-weight: 600; color: var(--ink-700); cursor: pointer;
    transition: border-color .18s var(--ease), background .18s var(--ease);
}
.chip-btn:hover { border-color: var(--sky-400); background: var(--surface-tint); }
.chip-menu {
    position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; max-height: 340px; overflow-y: auto;
    background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md);
    box-shadow: var(--sh-lg); padding: 7px; z-index: 1200; display: none;
}
.chip-menu.open { display: block; animation: dropIn .18s var(--ease); }
.chip-menu a {
    display: flex; align-items: center; gap: 9px; padding: 9px 11px;
    border-radius: var(--r-sm); font-size: .88rem; color: var(--ink-700); font-weight: 500;
}
.chip-menu a:hover { background: var(--surface-tint); color: var(--navy-800); }
.chip-menu a.active { background: var(--surface-tint); color: var(--navy-800); font-weight: 700; }
.chip-menu .cur-code { font-weight: 700; width: 36px; }

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

.icon-btn {
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink-700); cursor: pointer; font-size: 1.05rem; position: relative;
    transition: all .18s var(--ease);
}
.icon-btn:hover { border-color: var(--navy-800); color: var(--navy-800); }
.icon-btn .dot {
    position: absolute; top: 6px; right: 7px; width: 8px; height: 8px;
    background: var(--gold-500); border-radius: 50%; border: 2px solid #fff;
}

.burger { display: none; }

/* Mobile drawer */
.mobile-drawer {
    position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff;
    z-index: 2000; transform: translateX(100%);
    transition: transform .3s var(--ease), visibility .3s;
    display: flex; flex-direction: column; box-shadow: var(--sh-lg); overflow-y: auto;
    /* Keep the closed drawer out of the tab order, screen readers and scroll width */
    visibility: hidden;
}
.mobile-drawer.open { transform: translateX(0); visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line-soft); }
.drawer-body { padding: 14px 20px 30px; }
.drawer-nav { list-style: none; margin: 0 0 20px; padding: 0; }
.drawer-nav a { display: flex; align-items: center; gap: 11px; padding: 13px 4px; font-weight: 600; color: var(--ink-900); border-bottom: 1px solid var(--line-soft); }
.drawer-nav a i { color: var(--sky-500); width: 20px; }
.overlay { position: fixed; inset: 0; background: rgba(10, 27, 51, .5); z-index: 1500; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.overlay.open { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------ Hero */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
/* A tall phone viewport crops the wide artwork to a narrow vertical slice.
   Centring would show empty sky, so bias the slice towards the skyline. */
@media (max-width: 768px) {
    .hero-media img, .hero-media video { object-position: 70% center; }
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    /* One navy tint all the way across, heavy on the left where the headline
       sits and nearly clear on the right. Tinting the right with bright blue
       washed the artwork's warm tones out to pale grey. */
    background: linear-gradient(112deg, rgba(4, 22, 58, .94) 0%, rgba(6, 37, 92, .84) 36%, rgba(6, 37, 92, .46) 64%, rgba(6, 37, 92, .12) 100%);
}
.hero-inner { padding: clamp(68px, 9vw, 120px) 0 clamp(44px, 6vw, 72px); }
.hero h1 { color: #fff; max-width: 17ch; margin-bottom: 18px; text-shadow: 0 2px 20px rgba(6, 37, 92, .35); }
.hero h1 .accent { color: var(--gold-500); }
.hero-sub { font-size: clamp(1.02rem, .95rem + .4vw, 1.22rem); color: rgba(255, 255, 255, .92); max-width: 56ch; margin-bottom: 30px; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; }
.hero-badge { display: flex; align-items: center; gap: 11px; font-size: .9rem; color: rgba(255, 255, 255, .95); }
.hero-badge i { font-size: 1.25rem; color: var(--gold-500); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Search widget */
.search-widget {
    background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg);
    padding: 10px; margin-top: 42px; color: var(--ink-700);
}
.search-tabs { display: flex; gap: 4px; padding: 4px 4px 10px; overflow-x: auto; scrollbar-width: none; }
.search-tabs::-webkit-scrollbar { display: none; }
.search-tab {
    display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px;
    border-radius: var(--r-pill); font-size: .86rem; font-weight: 600;
    color: var(--ink-500); background: transparent; border: 0; cursor: pointer; white-space: nowrap;
    transition: all .18s var(--ease);
}
.search-tab:hover { background: var(--surface-alt); color: var(--navy-800); }
.search-tab.active { background: var(--navy-800); color: #fff; }

.search-form { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; }
.search-field { grid-column: span 3; position: relative; }
.search-field.wide { grid-column: span 4; }
.search-field.narrow { grid-column: span 2; }
.search-submit { grid-column: span 2; }
.search-field > label {
    display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--ink-400); margin-bottom: 3px; padding-left: 14px;
}
.search-field .control {
    display: flex; align-items: center; gap: 9px; background: var(--surface-alt);
    border: 1.5px solid transparent; border-radius: var(--r-md); padding: 0 14px; height: 50px;
    transition: border-color .18s var(--ease), background .18s var(--ease);
}
.search-field .control:focus-within { border-color: var(--sky-500); background: #fff; }
.search-field .control > i { color: var(--sky-500); font-size: 1.02rem; }
.search-field input, .search-field select {
    border: 0; background: transparent; font-family: inherit; font-size: .93rem;
    color: var(--ink-900); width: 100%; outline: none; font-weight: 500; padding: 0;
    appearance: none; cursor: pointer;
}
.search-field input { cursor: text; }
.search-field select { background-image: none; }

/* ------------------------------------------------------------ Forms */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink-900); margin-bottom: 7px; }
.form-label .req { color: var(--danger); }
.form-control, .form-select, textarea.form-control {
    width: 100%; font-family: inherit; font-size: .95rem; color: var(--ink-900);
    background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md);
    padding: 12px 15px; transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.form-control::placeholder { color: var(--ink-400); }
.form-control:focus, .form-select:focus {
    outline: 0; border-color: var(--sky-500); box-shadow: 0 0 0 4px rgba(40, 182, 240, .14);
}
.form-select {
    appearance: none; cursor: pointer; padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235A6B82'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
textarea.form-control { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--danger); background: #fffafa; }
.invalid-feedback { display: block; color: var(--danger); font-size: .82rem; margin-top: 5px; }
.form-hint { font-size: .82rem; color: var(--ink-500); margin-top: 5px; }
.input-group { display: flex; gap: 8px; }
.input-group .form-control { flex: 1; }

.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.form-check input[type="checkbox"], .form-check input[type="radio"] {
    width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--blue-600); cursor: pointer; flex-shrink: 0;
}
.form-check label { font-size: .91rem; cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Option card (payment methods, radio cards) */
.option-card {
    display: flex; align-items: flex-start; gap: 13px; padding: 16px;
    border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; background: #fff;
    transition: all .18s var(--ease); margin-bottom: 10px;
}
.option-card:hover { border-color: var(--sky-400); background: var(--surface-tint); }
.option-card.selected { border-color: var(--blue-600); background: var(--surface-tint); box-shadow: 0 0 0 3px rgba(18, 115, 212, .1); }
.option-card input { margin-top: 3px; accent-color: var(--blue-600); width: 19px; height: 19px; flex-shrink: 0; }
.option-card .oc-icon { font-size: 1.3rem; color: var(--blue-600); }
.option-card .oc-title { font-weight: 600; color: var(--ink-900); display: block; }
.option-card .oc-desc { font-size: .85rem; color: var(--ink-500); }
.option-card .oc-price { margin-left: auto; font-weight: 700; color: var(--navy-800); white-space: nowrap; }

/* Quantity stepper */
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button {
    width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line);
    background: #fff; color: var(--navy-800); cursor: pointer; font-size: 1rem;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .15s var(--ease);
}
.stepper button:hover:not(:disabled) { border-color: var(--navy-800); background: var(--surface-tint); }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper input {
    width: 46px; text-align: center; border: 0; font-size: 1rem; font-weight: 700;
    color: var(--ink-900); background: transparent; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.guest-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.guest-row:last-child { border-bottom: 0; }
.guest-row .gr-label { font-weight: 600; color: var(--ink-900); font-size: .92rem; }
.guest-row .gr-sub { font-size: .8rem; color: var(--ink-500); }

/* ------------------------------------------------------------ Cards */
.card {
    background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
    overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
    display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: transparent; }

.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-tint); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 45%;
    background: linear-gradient(to top, rgba(6, 37, 92, .5), transparent); opacity: 0;
    transition: opacity .3s var(--ease); pointer-events: none;
}
.card:hover .card-media::after { opacity: 1; }

.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.04rem; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
/* Hold two lines whether the title needs one or two, and cut off a third,
   so every card in the grid ends up the same height. */
.grid .card .card-title {
    min-height: calc(2 * 1.35em);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
/* The rating row carries either star ratings (24px) or a "New" badge (29px);
   reserve the taller of the two so neither card ends up shorter. */
.grid .card .rating-inline { min-height: 30px; align-items: center; }
.card-title a { color: var(--ink-900); }
.card-title a:hover { color: var(--blue-600); }
.card-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-500); margin-bottom: 10px; }
.card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.card-meta i { color: var(--sky-500); font-size: .9rem; }
/* Price on one line, a full-width button under it — always. Letting the two
   sit side by side made cards disagree with each other, because whether the
   button fitted depended on the price length and the language. */
.card-foot {
    margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft);
    display: flex; flex-direction: column; align-items: stretch; gap: 12px;
}
.card-foot .price-block { min-width: 0; }
.card-foot .btn { width: 100%; }
/* Give the "was" price its own line and reserve that line on every card,
   otherwise a discounted card is taller than the one beside it — and a long
   price pushes the old one onto a second line, taller again. */
.grid .card .price-old { display: block; margin-right: 0; }
.grid .card .price-block { min-height: 4.05rem; }

/* The list view has a wide content column, so there the two fit comfortably
   on one line and stacking would leave an over-long button. */
.tour-row .card-foot {
    flex-direction: row; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
}
.tour-row .card-foot > * { min-width: max-content; }
.tour-row .card-foot .btn { width: auto; flex: 0 1 auto; }

.tag {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: rgba(255, 255, 255, .95); color: var(--navy-800);
    font-size: .72rem; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill);
    box-shadow: var(--sh-xs); display: inline-flex; align-items: center; gap: 5px;
}
.tag-gold { background: var(--gold-500); color: var(--navy-900); }
.tag-blue { background: var(--blue-600); color: #fff; }
.tag-dark { background: rgba(6, 37, 92, .86); color: #fff; backdrop-filter: blur(4px); }
/* Discount ribbon. Sits bottom-left so it never collides with the bestseller
   tag (top-left) or the favourite button (top-right). */
.tag-sale {
    top: auto; bottom: 12px;
    background: var(--danger); color: #fff;
    font-size: .78rem; font-weight: 800; letter-spacing: .01em;
    box-shadow: var(--sh-sm);
}

.fav-btn {
    position: absolute; top: 10px; right: 10px; z-index: 3;
    width: 36px; height: 36px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, .94); color: var(--ink-500);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1rem; box-shadow: var(--sh-xs);
    transition: all .2s var(--ease);
}
.fav-btn:hover { color: var(--danger); transform: scale(1.12); }
.fav-btn.active { color: var(--danger); }
.fav-btn.active i::before { content: "\f415"; }

/* ---- Price calendar -------------------------------------------------
   Each day shows its real price, banded green / orange / red against the
   rest of the month. */
.pcal-wrap { position: relative; }
.pcal {
    position: absolute; z-index: 60; top: 6px; left: 0;
    width: min(360px, calc(100vw - 32px));
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 14px;
}
.pcal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pcal-head strong { font-size: .98rem; color: var(--navy-800); text-transform: capitalize; }
.pcal-nav {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--navy-800); font-size: 1.1rem; line-height: 1;
    cursor: pointer; transition: background .15s var(--ease);
}
.pcal-nav:hover:not(:disabled) { background: var(--surface-tint); }
.pcal-nav:disabled { opacity: .35; cursor: default; }

.pcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.pcal-dow {
    text-align: center; font-size: .68rem; font-weight: 700; color: var(--ink-400);
    text-transform: uppercase; padding-bottom: 6px;
}
.pcal-day {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    min-height: 46px; padding: 4px 2px; border: 1px solid transparent; border-radius: 9px;
    background: var(--surface-tint); cursor: pointer; font-family: inherit;
    transition: transform .12s var(--ease), border-color .12s var(--ease);
}
.pcal-day:hover:not(:disabled) { transform: translateY(-1px); border-color: var(--blue-600); }
.pcal-num { font-size: .86rem; font-weight: 700; color: var(--ink-900); line-height: 1.1; }
.pcal-price { font-size: .62rem; font-weight: 700; line-height: 1; white-space: nowrap; }

.pcal-day.tier-low  { background: #E8F7EE; }
.pcal-day.tier-low .pcal-price  { color: #137A3E; }
.pcal-day.tier-mid  { background: #FFF3E2; }
.pcal-day.tier-mid .pcal-price  { color: #B5640A; }
.pcal-day.tier-high { background: #FDEBEC; }
.pcal-day.tier-high .pcal-price { color: #C32C3C; }

.pcal-day.is-off {
    background: transparent; cursor: not-allowed; opacity: .38;
    text-decoration: line-through; text-decoration-thickness: 1px;
}
.pcal-day.is-selected {
    background: var(--navy-800); border-color: var(--navy-800);
}
.pcal-day.is-selected .pcal-num,
.pcal-day.is-selected .pcal-price { color: #fff; }

.pcal-legend {
    display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
    margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-soft);
    font-size: .72rem; color: var(--ink-500);
}
.pcal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pcal-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.pcal-legend i.tier-low  { background: #46B978; }
.pcal-legend i.tier-mid  { background: #F0A33C; }
.pcal-legend i.tier-high { background: #DF5667; }

.pcal-loading { height: 240px; border-radius: var(--r-md); background: var(--surface-tint); }

/* On a phone an overlay would hang off the right edge and add a horizontal
   scrollbar, so the calendar sits in the flow instead. */
@media (max-width: 767px) {
    .pcal {
        position: static; width: 100%; margin-top: 10px;
        box-shadow: none; padding: 12px;
    }
    .pcal-day { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .pcal-day, .pcal-nav { transition: none; }
    .pcal-day:hover:not(:disabled) { transform: none; }
}

.price-block { line-height: 1.15; }
.price-label { font-size: .72rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.price { font-size: 1.32rem; font-weight: 800; color: var(--navy-800); font-family: var(--font-display); letter-spacing: -.02em; }
.price-unit { font-size: .76rem; color: var(--ink-500); font-weight: 500; }
.price-old { font-size: .88rem; color: var(--ink-400); text-decoration: line-through; margin-right: 6px; }

.stars { color: var(--gold-500); font-size: .85rem; letter-spacing: 1px; display: inline-flex; gap: 1px; }
.rating-inline { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; }
.rating-score {
    background: var(--navy-800); color: #fff; font-weight: 700; font-size: .8rem;
    padding: 3px 8px; border-radius: 6px;
}

/* Destination card */
.dest-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 4; display: block; }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.dest-card:hover img { transform: scale(1.08); }
.dest-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(6, 37, 92, .88) 0%, rgba(6, 37, 92, .35) 45%, transparent 72%);
}
.dest-card-body { position: absolute; inset: auto 0 0 0; padding: 20px; z-index: 2; color: #fff; }
.dest-card-body h3 { color: #fff; font-size: 1.2rem; margin: 0 0 3px; }
.dest-card-body span { font-size: .83rem; color: rgba(255, 255, 255, .85); display: inline-flex; align-items: center; gap: 6px; }
.dest-card.wide { aspect-ratio: 16 / 10; }

/* Category tile */
.cat-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    padding: 26px 16px; background: #fff; border: 1px solid var(--line-soft);
    border-radius: var(--r-lg); text-align: center; height: 100%;
    transition: all .25s var(--ease);
}
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: transparent; }
.cat-tile .ct-icon {
    width: 58px; height: 58px; border-radius: 18px;
    background: linear-gradient(135deg, var(--surface-tint), var(--aqua-100));
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--blue-600);
    transition: all .25s var(--ease);
}
.cat-tile:hover .ct-icon { background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); color: #fff; transform: rotate(-6deg); }
.cat-tile .ct-name { font-weight: 700; color: var(--ink-900); font-size: .94rem; line-height: 1.3; }
.cat-tile .ct-count { font-size: .78rem; color: var(--ink-400); }

/* Feature / USP */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .f-icon {
    width: 50px; height: 50px; border-radius: 15px; flex-shrink: 0;
    background: var(--surface-tint); color: var(--blue-600);
    display: inline-flex; align-items: center; justify-content: center; font-size: 1.32rem;
}
.feature h4 { margin: 0 0 5px; font-size: 1.02rem; }
.feature p { margin: 0; font-size: .89rem; color: var(--ink-500); }

/* Review card */
.review-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 24px; height: 100%; display: flex; flex-direction: column; }
.review-card .quote { font-size: 1.9rem; color: var(--aqua-300); line-height: 1; margin-bottom: 10px; font-family: Georgia, serif; }
.review-card p { font-size: .93rem; color: var(--ink-700); flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.avatar-initials {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: .95rem;
}

/* ------------------------------------------------------------ Badges & alerts */
.badge-status {
    display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 700;
    padding: 5px 11px; border-radius: var(--r-pill); letter-spacing: .01em; white-space: nowrap;
}
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-primary { background: var(--surface-tint); color: var(--navy-800); }
.badge-secondary { background: var(--line-soft); color: var(--ink-500); }
.badge-dark { background: var(--ink-900); color: #fff; }

.alert {
    display: flex; align-items: flex-start; gap: 12px; padding: 15px 18px;
    border-radius: var(--r-md); font-size: .92rem; margin-bottom: 18px; border: 1px solid transparent;
}
.alert i { font-size: 1.1rem; margin-top: 1px; flex-shrink: 0; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: rgba(18, 133, 92, .18); }
.alert-danger { background: var(--danger-bg); color: var(--danger); border-color: rgba(195, 44, 60, .18); }
.alert-warning { background: var(--warning-bg); color: var(--warning); border-color: rgba(181, 118, 10, .18); }
.alert-info { background: var(--info-bg); color: var(--info); border-color: rgba(14, 111, 168, .18); }

.toast-wrap { position: fixed; top: 92px; right: 20px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.toast {
    background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-lg);
    padding: 14px 17px; display: flex; align-items: flex-start; gap: 11px;
    border-left: 4px solid var(--blue-600); font-size: .9rem;
    animation: toastIn .3s var(--ease);
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* ------------------------------------------------------------ Breadcrumbs */
.breadcrumbs { padding: 16px 0; font-size: .85rem; color: var(--ink-500); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; }
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: var(--ink-300); }
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs a:hover { color: var(--blue-600); }
.breadcrumbs li:last-child { color: var(--ink-900); font-weight: 600; }
.breadcrumbs.on-dark, .breadcrumbs.on-dark a { color: rgba(255, 255, 255, .8); }
.breadcrumbs.on-dark li:last-child { color: #fff; }
.breadcrumbs.on-dark li::after { color: rgba(255, 255, 255, .4); }

/* ------------------------------------------------------------ Page hero (inner pages) */
.page-hero { position: relative; color: #fff; padding: 52px 0 44px; isolation: isolate; }
.page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background: linear-gradient(130deg, var(--navy-900) 0%, var(--navy-800) 48%, var(--blue-600) 100%);
}
.page-hero.has-img::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(130deg, rgba(6, 37, 92, .92), rgba(18, 115, 212, .62));
}
.page-hero .bg-img { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255, 255, 255, .88); max-width: 66ch; margin: 0; }

/* ------------------------------------------------------------ Listing + filters */
.listing-layout { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; }

.filter-panel {
    background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
    padding: 22px; position: sticky; top: calc(var(--header-h) + 16px);
    max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto;
}
.filter-group { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.filter-group:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.filter-title {
    font-size: .87rem; font-weight: 700; color: var(--ink-900); margin-bottom: 12px;
    display: flex; align-items: center; justify-content: space-between; cursor: pointer;
}
.filter-title i { color: var(--ink-400); font-size: .8rem; transition: transform .2s var(--ease); }
.filter-group.collapsed .filter-body { display: none; }
.filter-group.collapsed .filter-title i { transform: rotate(-90deg); }
.filter-check { display: flex; align-items: center; gap: 9px; padding: 5px 0; font-size: .88rem; cursor: pointer; }
.filter-check input { width: 17px; height: 17px; accent-color: var(--blue-600); cursor: pointer; }
.filter-check .count { margin-left: auto; font-size: .78rem; color: var(--ink-400); }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs .form-control { padding: 9px 11px; font-size: .88rem; }

.listing-toolbar {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft);
}
.result-count { font-size: .92rem; color: var(--ink-500); }
.result-count strong { color: var(--ink-900); }
.sort-select { display: flex; align-items: center; gap: 9px; font-size: .88rem; }
.sort-select select { padding: 9px 36px 9px 14px; font-size: .88rem; border-radius: var(--r-pill); }

.active-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter-pill {
    display: inline-flex; align-items: center; gap: 7px; background: var(--surface-tint);
    color: var(--navy-800); font-size: .82rem; font-weight: 600;
    padding: 6px 13px; border-radius: var(--r-pill);
}
.filter-pill button { background: 0; border: 0; color: inherit; cursor: pointer; opacity: .6; padding: 0; display: inline-flex; }
.filter-pill button:hover { opacity: 1; }

.filter-toggle-mobile { display: none; }

/* List-view tour card */
.tour-row { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; transition: all .25s var(--ease); }
.tour-row:hover { box-shadow: var(--sh-md); border-color: transparent; }
.tour-row .card-media { aspect-ratio: auto; height: 100%; min-height: 220px; }

.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 3rem; color: var(--ink-300); margin-bottom: 16px; display: block; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--ink-500); max-width: 44ch; margin-inline: auto; }

/* Loading */
.skeleton { background: linear-gradient(90deg, var(--line-soft) 25%, #f8fafc 50%, var(--line-soft) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-md); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.is-loading { opacity: .5; pointer-events: none; transition: opacity .2s; }
.spinner {
    width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .35);
    border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block;
}
.spinner-dark { border-color: rgba(11, 60, 141, .2); border-top-color: var(--navy-800); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------ Pagination */
.pagination-wrap { margin-top: 36px; display: flex; justify-content: center; }
.pagination { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.page-link {
    min-width: 42px; height: 42px; border-radius: var(--r-md); border: 1px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .9rem; font-weight: 600; color: var(--ink-700); padding: 0 10px;
    transition: all .18s var(--ease);
}
.page-link:hover { border-color: var(--navy-800); color: var(--navy-800); }
.page-item.active .page-link { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

/* ------------------------------------------------------------ Product detail */
.detail-layout { display: grid; grid-template-columns: 1fr 390px; gap: 40px; align-items: start; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.gallery > a { position: relative; overflow: hidden; display: block; background: var(--surface-tint); }
.gallery > a:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery > a:hover img { transform: scale(1.05); }
.gallery .more-overlay {
    position: absolute; inset: 0; background: rgba(6, 37, 92, .62); color: #fff;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: 1rem; backdrop-filter: blur(2px);
}
.gallery-single { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; }
.gallery-single img { width: 100%; height: 100%; object-fit: cover; }

.detail-header { margin-bottom: 26px; }
.detail-header h1 { margin-bottom: 12px; }
.detail-meta { display: flex; gap: 20px; flex-wrap: wrap; font-size: .9rem; color: var(--ink-500); }
.detail-meta span { display: inline-flex; align-items: center; gap: 7px; }
.detail-meta i { color: var(--sky-500); }

.quick-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 30px; }
.quick-fact { background: #fff; padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.quick-fact i { font-size: 1.2rem; color: var(--blue-600); margin-top: 2px; }
.quick-fact .qf-label { font-size: .75rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.quick-fact .qf-value { font-weight: 600; color: var(--ink-900); font-size: .92rem; }

.detail-section { padding: 30px 0; border-top: 1px solid var(--line-soft); }
.detail-section:first-of-type { border-top: 0; padding-top: 0; }
.detail-section h2 { font-size: 1.42rem; margin-bottom: 18px; }
.rich-text { line-height: 1.75; color: var(--ink-700); }
.rich-text h2 { font-size: 1.3rem; margin: 1.6em 0 .6em; }
.rich-text h3 { font-size: 1.1rem; margin: 1.4em 0 .5em; }
.rich-text ul, .rich-text ol { padding-left: 1.3rem; }
.rich-text li { margin-bottom: 6px; }
.rich-text img { border-radius: var(--r-md); margin: 1.2em 0; }
.rich-text blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--sky-500); color: var(--ink-500); font-style: italic; }
.rich-text a { text-decoration: underline; }
.rich-text table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.rich-text th, .rich-text td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.rich-text th { background: var(--surface-alt); font-weight: 600; }

/* Itinerary timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--sky-400), var(--aqua-100)); border-radius: 2px; }
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: ""; position: absolute; left: -29px; top: 5px; width: 14px; height: 14px;
    border-radius: 50%; background: #fff; border: 3px solid var(--blue-600); box-shadow: 0 0 0 4px rgba(18, 115, 212, .12);
}
.timeline-time { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--blue-600); background: var(--surface-tint); padding: 3px 10px; border-radius: var(--r-pill); margin-bottom: 7px; }
.timeline-item h4 { margin: 0 0 6px; font-size: 1.02rem; }
.timeline-item p { margin: 0; font-size: .91rem; color: var(--ink-500); }
.day-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-800); margin: 22px 0 14px; display: flex; align-items: center; gap: 10px; }
.day-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Inclusions */
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.incl-list { list-style: none; margin: 0; padding: 0; }
.incl-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: .92rem; }
.incl-list li i { margin-top: 3px; flex-shrink: 0; }
.incl-list.yes li i { color: var(--success); }
.incl-list.no li i { color: var(--ink-300); }

/* Booking box (sticky) */
.booking-box {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
    box-shadow: var(--sh-md); padding: 24px; position: sticky; top: calc(var(--header-h) + 16px);
}
.booking-box .bb-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.booking-box .bb-price .price { font-size: 2rem; }
.booking-box .bb-note { font-size: .83rem; color: var(--ink-500); margin-bottom: 18px; }
.bb-divider { height: 1px; background: var(--line-soft); margin: 18px 0; }
.bb-total { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 700; }
.bb-total .label { color: var(--ink-900); }
.bb-total .value { font-size: 1.45rem; color: var(--navy-800); font-family: var(--font-display); }
.bb-line { display: flex; justify-content: space-between; font-size: .88rem; padding: 5px 0; color: var(--ink-500); }
.bb-line span:last-child { color: var(--ink-900); font-weight: 600; }
.bb-trust { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; font-size: .82rem; color: var(--ink-500); }
.bb-trust div { display: flex; align-items: center; gap: 8px; }
.bb-trust i { color: var(--success); }

.dropdown-panel { position: relative; }
.dropdown-panel .panel {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
    box-shadow: var(--sh-lg); padding: 14px; display: none;
}
.dropdown-panel.open .panel { display: block; animation: dropIn .18s var(--ease); }

/* Mobile sticky booking bar */
.mobile-book-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(10, 27, 51, .1);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); display: none;
    align-items: center; justify-content: space-between; gap: 14px;
}

/* Reviews */
.review-summary { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; padding: 24px; background: var(--surface-alt); border-radius: var(--r-lg); margin-bottom: 26px; }
.review-score { text-align: center; }
.review-score .num { font-size: 3rem; font-weight: 800; color: var(--navy-800); line-height: 1; font-family: var(--font-display); }
.rating-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 7px; font-size: .84rem; }
.rating-bar .track { flex: 1; height: 7px; background: var(--line); border-radius: 4px; overflow: hidden; }
.rating-bar .fill { height: 100%; background: var(--gold-500); border-radius: 4px; }
.review-item { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.review-item:last-child { border-bottom: 0; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.admin-reply { margin-top: 14px; padding: 14px 16px; background: var(--surface-tint); border-radius: var(--r-md); border-left: 3px solid var(--blue-600); font-size: .9rem; }

.facility-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.facility { display: flex; align-items: center; gap: 9px; font-size: .9rem; padding: 9px 0; }
.facility i { color: var(--blue-600); }

/* Room / vehicle row */
.room-row { display: grid; grid-template-columns: 220px 1fr 220px; gap: 20px; padding: 20px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); margin-bottom: 16px; align-items: center; transition: all .2s var(--ease); }
.room-row:hover { border-color: var(--sky-400); box-shadow: var(--sh-sm); }
.room-row img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); }
.room-price { text-align: right; }

/* Spec grid */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.spec {
    display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
    padding: 16px 12px; background: var(--surface-alt); border-radius: var(--r-md);
}
.spec i { font-size: 1.3rem; color: var(--blue-600); }
.spec .sp-label { font-size: .74rem; color: var(--ink-400); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.spec .sp-value { font-weight: 700; color: var(--ink-900); font-size: .92rem; }

/* ------------------------------------------------------------ Checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 36px; align-items: start; }
.checkout-steps { display: flex; gap: 0; margin-bottom: 32px; counter-reset: step; }
.checkout-step { flex: 1; position: relative; text-align: center; font-size: .82rem; color: var(--ink-400); font-weight: 600; padding-top: 38px; }
.checkout-step::before {
    counter-increment: step; content: counter(step);
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 30px; height: 30px; border-radius: 50%; background: var(--line-soft); color: var(--ink-400);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; z-index: 2;
}
.checkout-step::after { content: ""; position: absolute; top: 15px; left: 50%; width: 100%; height: 2px; background: var(--line-soft); z-index: 1; }
.checkout-step:last-child::after { display: none; }
.checkout-step.done::before, .checkout-step.active::before { background: var(--navy-800); color: #fff; }
.checkout-step.done::after { background: var(--navy-800); }
.checkout-step.active, .checkout-step.done { color: var(--navy-800); }

.panel {
    background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg);
    padding: 26px; margin-bottom: 22px;
}
.panel-title { font-size: 1.1rem; font-weight: 700; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.panel-title i { color: var(--blue-600); }

.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--sh-md); overflow: hidden; position: sticky; top: calc(var(--header-h) + 16px); }
.summary-media { aspect-ratio: 16/9; overflow: hidden; }
.summary-media img { width: 100%; height: 100%; object-fit: cover; }
.summary-body { padding: 22px; }
.summary-list { list-style: none; margin: 0 0 18px; padding: 0; }
.summary-list li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; font-size: .88rem; border-bottom: 1px dashed var(--line-soft); }
.summary-list li:last-child { border-bottom: 0; }
.summary-list .lbl { color: var(--ink-500); }
.summary-list .val { font-weight: 600; color: var(--ink-900); text-align: right; }

.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form .form-control { font-size: .88rem; text-transform: uppercase; }

/* Confirmation */
.confirm-hero { text-align: center; padding: 48px 20px 36px; }
.confirm-icon {
    width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 22px;
    background: var(--success-bg); color: var(--success);
    display: flex; align-items: center; justify-content: center; font-size: 2.6rem;
    animation: pop .5s var(--ease);
}
.confirm-icon.pending { background: var(--warning-bg); color: var(--warning); }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.booking-ref {
    display: inline-flex; align-items: center; gap: 10px; background: var(--surface-tint);
    border: 1px dashed var(--sky-400); border-radius: var(--r-md); padding: 12px 22px;
    font-size: 1.12rem; font-weight: 800; color: var(--navy-800); letter-spacing: .04em; font-family: var(--font-display);
}

.payment-instructions { background: var(--surface-alt); border-radius: var(--r-md); padding: 18px; font-size: .9rem; }
.payment-instructions h4 { margin: 0 0 10px; font-size: .98rem; }
.payment-instructions pre { white-space: pre-wrap; font-family: inherit; margin: 0; line-height: 1.7; }

/* ------------------------------------------------------------ Account dashboard */
.account-layout { display: grid; grid-template-columns: 265px 1fr; gap: 32px; align-items: start; }
.account-nav { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 10px; position: sticky; top: calc(var(--header-h) + 16px); }
.account-user { padding: 20px 14px; text-align: center; border-bottom: 1px solid var(--line-soft); margin-bottom: 10px; }
.account-user img, .account-user .avatar-initials { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 11px; object-fit: cover; font-size: 1.4rem; }
.account-user .name { font-weight: 700; color: var(--ink-900); }
.account-user .email { font-size: .82rem; color: var(--ink-500); word-break: break-all; }
.account-nav a {
    display: flex; align-items: center; gap: 11px; padding: 11px 14px;
    border-radius: var(--r-md); font-size: .91rem; font-weight: 500; color: var(--ink-700);
    transition: all .16s var(--ease);
}
.account-nav a i { width: 19px; font-size: 1rem; color: var(--ink-400); }
.account-nav a:hover { background: var(--surface-alt); color: var(--navy-800); }
.account-nav a.active { background: var(--navy-800); color: #fff; }
.account-nav a.active i { color: #fff; }
.account-nav a .badge-count { margin-left: auto; background: var(--gold-500); color: var(--navy-900); font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; margin-bottom: 30px; }
.stat-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 22px; display: flex; gap: 15px; align-items: center; }
.stat-icon { width: 50px; height: 50px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-icon.blue { background: var(--surface-tint); color: var(--blue-600); }
.stat-icon.gold { background: var(--gold-100); color: var(--gold-600); }
.stat-icon.green { background: var(--success-bg); color: var(--success); }
.stat-icon.red { background: var(--danger-bg); color: var(--danger); }
.stat-value { font-size: 1.65rem; font-weight: 800; color: var(--ink-900); line-height: 1.1; font-family: var(--font-display); }
.stat-label { font-size: .83rem; color: var(--ink-500); }

.booking-card { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 18px; display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; margin-bottom: 14px; transition: all .2s var(--ease); }
.booking-card:hover { box-shadow: var(--sh-sm); border-color: var(--line); }
.booking-card img { width: 110px; height: 82px; object-fit: cover; border-radius: var(--r-md); }
.booking-card .bc-num { font-size: .78rem; color: var(--ink-400); font-weight: 600; letter-spacing: .03em; }
.booking-card .bc-title { font-weight: 700; color: var(--ink-900); margin: 2px 0 6px; }
.booking-card .bc-meta { font-size: .84rem; color: var(--ink-500); display: flex; gap: 16px; flex-wrap: wrap; }
.booking-card .bc-right { text-align: right; }

/* ------------------------------------------------------------ Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--r-lg); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
    text-align: left; padding: 14px 16px; background: var(--surface-alt);
    font-size: .78rem; font-weight: 700; color: var(--ink-500);
    text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
    border-bottom: 1px solid var(--line-soft);
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-alt); }
.table .nowrap { white-space: nowrap; }

/* ------------------------------------------------------------ Accordion / tabs */
.accordion-item { border: 1px solid var(--line-soft); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; background: #fff; }
.accordion-head {
    width: 100%; text-align: left; background: #fff; border: 0; cursor: pointer;
    padding: 17px 20px; font-size: .97rem; font-weight: 600; color: var(--ink-900);
    display: flex; align-items: center; justify-content: space-between; gap: 14px; font-family: inherit;
}
.accordion-head i { color: var(--blue-600); transition: transform .25s var(--ease); flex-shrink: 0; }
.accordion-item.open .accordion-head i { transform: rotate(180deg); }
.accordion-body { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease), padding .3s var(--ease); font-size: .92rem; color: var(--ink-700); }
.accordion-item.open .accordion-body { padding: 0 20px 20px; max-height: 900px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 24px; overflow-x: auto; }
.tab-btn {
    padding: 13px 20px; background: 0; border: 0; border-bottom: 2.5px solid transparent;
    font-family: inherit; font-size: .93rem; font-weight: 600; color: var(--ink-500);
    cursor: pointer; white-space: nowrap; transition: all .18s var(--ease);
}
.tab-btn:hover { color: var(--navy-800); }
.tab-btn.active { color: var(--navy-800); border-bottom-color: var(--navy-800); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn .25s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Sticky in-page nav */
.sticky-nav {
    position: sticky; top: var(--header-h); background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px); z-index: 90; border-bottom: 1px solid var(--line-soft);
    margin-bottom: 24px; max-width: 100%; overflow: hidden;
}
.sticky-nav ul {
    display: flex; gap: 2px; list-style: none; margin: 0; padding: 0;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.sticky-nav ul::-webkit-scrollbar { display: none; }
.sticky-nav li { flex: 0 0 auto; }
.sticky-nav a { display: block; padding: 15px 16px; font-size: .9rem; font-weight: 600; color: var(--ink-500); white-space: nowrap; border-bottom: 2.5px solid transparent; }
.sticky-nav a:hover, .sticky-nav a.active { color: var(--navy-800); border-bottom-color: var(--navy-800); }

/* ------------------------------------------------------------ CTA band */
.cta-band {
    position: relative; border-radius: var(--r-xl); overflow: hidden; color: #fff;
    padding: clamp(36px, 5vw, 60px); isolation: isolate;
    background: linear-gradient(130deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--blue-600) 100%);
}
.cta-band::before {
    content: ""; position: absolute; right: -70px; top: -70px; width: 320px; height: 320px;
    border-radius: 50%; background: radial-gradient(circle, rgba(246, 184, 25, .28), transparent 65%); z-index: -1;
}
.cta-band::after {
    content: ""; position: absolute; left: -60px; bottom: -110px; width: 300px; height: 300px;
    border-radius: 50%; background: radial-gradient(circle, rgba(40, 182, 240, .3), transparent 65%); z-index: -1;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 60ch; }

/* ------------------------------------------------------------ Footer */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); margin-top: auto; }
.footer-top { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.4fr; gap: 36px; }
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .01em; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255, 255, 255, .72); font-size: .89rem; transition: all .18s var(--ease); display: inline-block; }
.footer-links a:hover { color: var(--gold-500); transform: translateX(3px); }
.footer-contact { list-style: none; margin: 0 0 20px; padding: 0; font-size: .89rem; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 13px; align-items: flex-start; }
.footer-contact i { color: var(--sky-400); margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, .78); }
.footer-contact a:hover { color: #fff; }

.newsletter-form { display: flex; gap: 8px; margin-top: 14px; }
.newsletter-form input {
    flex: 1; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .17);
    color: #fff; border-radius: var(--r-pill); padding: 12px 18px; font-size: .88rem; font-family: inherit;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter-form input:focus { outline: 0; border-color: var(--sky-400); background: rgba(255, 255, 255, .13); }

.social-links { display: flex; gap: 10px; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .09);
    display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.05rem;
    transition: all .22s var(--ease);
}
.social-links a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    font-size: .85rem;
}
.footer-bottom a { color: rgba(255, 255, 255, .72); }
.footer-bottom a:hover { color: #fff; }
.payment-icons { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.payment-icons span {
    background: rgba(255, 255, 255, .1); border-radius: 6px; padding: 6px 11px;
    font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: rgba(255, 255, 255, .85);
}

/* WhatsApp float */
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 950;
    width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
    box-shadow: 0 8px 26px rgba(37, 211, 102, .42);
    transition: transform .22s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid #25D366; animation: pulse 2.2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

.back-to-top {
    position: fixed; right: 20px; bottom: 88px; z-index: 940;
    width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy-800); color: #fff;
    display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--sh-md);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ------------------------------------------------------------ Modal / lightbox */
.modal-backdrop {
    position: fixed; inset: 0; background: rgba(6, 37, 92, .72); backdrop-filter: blur(4px);
    z-index: 2500; display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-backdrop.open { display: flex; animation: fadeIn .2s var(--ease); }
.modal-box {
    background: #fff; border-radius: var(--r-xl); max-width: 560px; width: 100%;
    max-height: 90vh; overflow-y: auto; box-shadow: var(--sh-lg); animation: modalIn .25s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: scale(.95) translateY(14px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-head { padding: 22px 26px; border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; justify-content: space-between; }
.modal-head h3 { margin: 0; font-size: 1.15rem; }
.modal-body { padding: 26px; }
.modal-foot { padding: 18px 26px; border-top: 1px solid var(--line-soft); display: flex; gap: 10px; justify-content: flex-end; }
.modal-close { background: 0; border: 0; font-size: 1.4rem; color: var(--ink-400); cursor: pointer; line-height: 1; padding: 0; }
.modal-close:hover { color: var(--ink-900); }

.lightbox { position: fixed; inset: 0; background: rgba(6, 20, 40, .95); z-index: 3000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: var(--r-md); }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: rgba(255, 255, 255, .13); border: 0; color: #fff;
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255, 255, 255, .26); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.8); font-size: .88rem; }

/* ------------------------------------------------------------ Misc */
.divider-or { display: flex; align-items: center; gap: 14px; color: var(--ink-400); font-size: .85rem; margin: 20px 0; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.scroll-x { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.scroll-x > * { flex: 0 0 300px; scroll-snap-align: start; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].revealed { opacity: 1; transform: none; }

.lazy-img { background: var(--surface-tint); }

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
    .footer-grid > :nth-child(4) { display: none; }
    .detail-layout { grid-template-columns: 1fr 340px; gap: 28px; }
}

@media (max-width: 1024px) {
    .main-nav, .topbar { display: none; }
    /* …except when it carries a campaign message, where only the contact
       details are dropped and the announcement keeps the strip. */
    .topbar.has-announce { display: block; }
    .topbar.has-announce .topbar-contact { display: none; }
    .burger { display: inline-flex; }
    .listing-layout { grid-template-columns: 1fr; }
    .filter-panel { position: fixed; inset: 0 0 0 auto; width: min(360px, 90vw); z-index: 2000; border-radius: 0; max-height: none; transform: translateX(100%); transition: transform .3s var(--ease); }
    .filter-panel.open { transform: translateX(0); }
    .filter-toggle-mobile { display: inline-flex; }
    .detail-layout, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
    .booking-box { position: static; }
    .summary-card { position: static; order: -1; }
    .account-nav { position: static; }
    .search-field, .search-field.wide, .search-field.narrow, .search-submit { grid-column: span 6; }
    .tour-row { grid-template-columns: 240px 1fr; }
    .mobile-book-bar { display: flex; }
    body.has-book-bar { padding-bottom: 86px; }
    .wa-float { bottom: 92px; }
    .back-to-top { bottom: 160px; }
}

@media (max-width: 768px) {
    .g-4, .g-3 { grid-template-columns: repeat(2, 1fr); }
    .g-2 { grid-template-columns: 1fr; }
    .form-row, .form-row-3, .incl-grid, .review-summary { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :nth-child(4) { display: block; }
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 4/3; }
    .gallery > a:first-child { grid-column: span 2; grid-row: span 1; }
    .gallery > a:nth-child(n+4) { display: none; }
    .tour-row { grid-template-columns: 1fr; }
    .tour-row .card-media { min-height: 200px; aspect-ratio: 16/9; }
    .room-row { grid-template-columns: 1fr; }
    .room-price { text-align: left; }
    .booking-card { grid-template-columns: 80px 1fr; }
    .booking-card .bc-right { grid-column: span 2; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .booking-card img { width: 80px; height: 80px; }
    .review-summary { gap: 20px; }
    .checkout-step { font-size: 0; padding-top: 34px; }
    .search-field, .search-field.wide, .search-field.narrow, .search-submit { grid-column: span 12; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .hero-badges { gap: 16px; }
    .toast-wrap { left: 16px; right: 16px; max-width: none; }
}

@media (max-width: 520px) {
    .g-4, .g-3, .g-auto, .g-auto-sm { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .quick-facts { grid-template-columns: 1fr 1fr; }
    .spec-grid { grid-template-columns: 1fr 1fr; }
    .brand-tag { display: none; }
    .brand img { height: 40px; }
    .btn { padding: 13px 20px; }
    .container { padding-inline: 16px; }
}

@media print {
    .site-header, .site-footer, .wa-float, .back-to-top, .no-print, .mobile-book-bar { display: none !important; }
    body { background: #fff; }
    .panel, .card { box-shadow: none; border: 1px solid #ddd; }
    a { color: #000; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
