/* ============================================================
   SORARA TRAVEL — main.css  v3.0
   Luxury Dark · Gold Accent · Permanent Dark Mode
   Inspired by Robinhood Gold + TrumpCard.gov aesthetic
   ============================================================ */

/* ── Kill injected ghost nav from previous code snippet ── */
.sorara-site-nav { display: none !important; }

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Color tokens (overridden in functions.php <style> block) ── */
:root {
    /* ── Light palette (TrumpCard-inspired: white + gold) ── */
    --bg:         #FAFAF8;      /* warm near-white */
    --surface:    #FFFFFF;      /* pure white — cards, panels */
    --surface-2:  #FEF7E5;     /* warm cream — TrumpCard --white-cream */
    --border:     rgba(201,168,76,.22);

    /* ── GOLD ACCENT SYSTEM ── */
    --gold:        #C9A84C;
    --gold-bright: #D4B44A;     /* TrumpCard --gold-dark */
    --gold-light:  #FFE399;     /* TrumpCard --gold-light */
    --gold-dim:    rgba(201,168,76,.10);
    --gold-border: rgba(201,168,76,.28);
    --gold-hover:  #D4B44A;
    --gold-gradient: linear-gradient(to top, #f0c94f 0%, #cfae44 60%);

    /* Text — dark on light */
    --text:       #1A1409;      /* warm dark */
    --muted:      rgba(26,20,9,.45);

    /* Divider on light bg */
    --divider:    rgba(26,20,9,.08);

    /* Functional */
    --radius:      14px;
    --font-serif:  'Playfair Display', Georgia, serif;
    --font-sans:   'Inter', system-ui, sans-serif;

    /* Legacy aliases so old var() refs keep working */
    --amber:      #C9A84C;
    --lime:       #C9A84C;
    --pink:       #C9A84C;
    --blue:       #C9A84C;
    --violet:     #C9A84C;
    --font-pixel: 'Playfair Display', Georgia, serif;
    --font-mono:  'Inter', system-ui, sans-serif;
}

/* ════════════════════════════════════════════════
   DARK THEME TOKEN OVERRIDES
   Applied when <html data-theme="dark">
   All other selectors stay unchanged — they use
   var() so they automatically pick up the new values.
   ════════════════════════════════════════════════ */
html[data-theme="dark"] {
    --bg:         #090909;
    --surface:    #111111;
    --surface-2:  #161616;
    --border:     rgba(201,168,76,.15);

    --gold-bright: #E8C96A;
    --gold-dim:    rgba(201,168,76,.08);
    --gold-border: rgba(201,168,76,.18);
    --gold-hover:  #E8C96A;
    --gold-gradient: linear-gradient(to top, #E8C96A 0%, #C9A84C 60%);

    --text:       #F0EBE0;
    --muted:      rgba(240,235,224,.45);
    --divider:    rgba(255,255,255,.07);
}

/* Navbar: dark mode frosted-dark bg */
html[data-theme="dark"] .navbar {
    background: rgba(9,9,9,.96);
    border-bottom-color: rgba(201,168,76,.12);
}

/* Search bar: slightly less shadow on dark */
html[data-theme="dark"] .search-bar {
    border-color: rgba(201,168,76,.2);
    box-shadow: 0 0 40px rgba(201,168,76,.04);
}
html[data-theme="dark"] .search-bar:focus-within {
    border-color: rgba(201,168,76,.45);
    box-shadow: 0 0 60px rgba(201,168,76,.08);
}

/* Guest picker shadow: heavier on dark */
html[data-theme="dark"] .guests-panel {
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
html[data-theme="dark"] .guests-panel.is-above {
    box-shadow: 0 -16px 48px rgba(0,0,0,.55);
}

/* Hero grid: darker lines on dark bg */
html[data-theme="dark"] .hero__grid-bg {
    background-image:
        linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
}
html[data-theme="dark"] .hero__grid-bg::after {
    background: radial-gradient(ellipse 70% 55% at 65% 40%, rgba(201,168,76,.06) 0%, transparent 65%);
}

/* Status items: warm white muted on dark */
html[data-theme="dark"] .status-item--pink,
html[data-theme="dark"] .status-item--blue { color: rgba(240,235,224,.5); }
html[data-theme="dark"] .status-sep        { color: rgba(255,255,255,.12); }

/* Globe: night texture (JS toggles via data-theme change event) */

/* Primary button: flat gold on dark */
html[data-theme="dark"] .btn--lime,
html[data-theme="dark"] .btn--gold {
    background: var(--gold);
    color: #090909;
    border-color: var(--gold);
    box-shadow: none;
}
html[data-theme="dark"] .btn--lime:hover,
html[data-theme="dark"] .btn--gold:hover {
    background: var(--gold-bright);
    border-color: var(--gold-bright);
    box-shadow: 0 6px 24px rgba(201,168,76,.25);
}

/* Ghost button: light text on dark */
html[data-theme="dark"] .btn--ghost,
html[data-theme="dark"] .btn--pink {
    color: rgba(240,235,224,.7);
    border-color: rgba(201,168,76,.3);
}

/* ── Theme toggle button ───────────────────────── */
/* Base: sits between lang and Book Now */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
    flex-shrink: 0;
}
.theme-toggle:hover {
    background: rgba(201,168,76,.18);
    border-color: var(--gold);
    transform: rotate(20deg);
}
/* Light mode: show moon (to switch to dark), hide sun */
.theme-icon--light { display: none; }
.theme-icon--dark  { display: block; }
/* Dark mode: show sun (to switch to light), hide moon */
html[data-theme="dark"] .theme-icon--light { display: block; }
html[data-theme="dark"] .theme-icon--dark  { display: none; }

/* ── Base ────────────────────────────────────────────────── */
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
}

/* Scanline overlay — hidden in v3 luxury theme */
.scanline { display: none; }

/* ── Container ───────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.01em;
}
.section-title {
    font-family: var(--font-sans);
    font-size: .6rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: .22em;
}
.page-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 700;
}
.pixel-text { font-family: var(--font-serif); }

/* ── Status / Live badge ─────────────────────────────────── */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-sans);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    padding: .25rem .6rem;
    border-radius: 50px;
}
.live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.15} }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .7rem 1.75rem;
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    border: 1px solid transparent;
    border-radius: 50px;
    transition: all .2s;
    cursor: pointer;
    white-space: nowrap;
}
/* Primary gold button — TrumpCard gradient style */
.btn--lime,
.btn--gold {
    background: var(--gold-gradient);
    color: #1A1409;
    border-color: transparent;
    box-shadow: 0 1px 0 rgba(255,255,255,.3) inset;
}
.btn--lime:hover,
.btn--gold:hover {
    background: linear-gradient(to top, #e8b83a 0%, #c9a030 60%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201,168,76,.35), 0 1px 0 rgba(255,255,255,.2) inset;
}
/* Ghost / outline button */
.btn--ghost,
.btn--pink {
    background: transparent;
    color: var(--text);
    border-color: rgba(201,168,76,.4);
}
.btn--ghost:hover,
.btn--pink:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--gold-dim);
}
.btn--sm   { padding: .5rem 1.25rem; font-size: .65rem; }
.btn--lg   { padding: .9rem 2.25rem; font-size: .78rem; }
.btn--full { width: 100%; justify-content: center; }

/* ── Section spacing ─────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

/* ════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250,250,248,.94);
    border-bottom: 1px solid rgba(201,168,76,.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.navbar__inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    height: 68px;
    padding: 0 24px;
    max-width: 1280px;
    margin: 0 auto;
}

/* Logo */
.navbar__logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.logo-pixel {
    font-family: 'Mulish', var(--font-sans);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: .18em;
    text-transform: uppercase;
}
.logo-pixel span { display: none; } /* wordmark is SORARA only */
.logo-sub   { font-family: var(--font-sans); font-size: .6rem; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }

/* Nav */
.navbar__nav { flex: 1; }
.nav-list { display: flex; gap: 2rem; }
.nav-list a {
    font-family: var(--font-sans);
    font-size: .7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--muted);
    transition: color .2s;
    position: relative;
    padding: .25rem 0;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width .2s;
}
.nav-list a:hover, .nav-list .current-menu-item a { color: var(--text); }
.nav-list a:hover::after, .nav-list .current-menu-item a::after { width: 100%; }

/* Controls */
.navbar__controls { display: flex; align-items: center; gap: .75rem; margin-left: auto; }

/* Language switcher */
.lang-switcher ul,
.lang-switcher .post-lang-choice {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
}
.lang-switcher li.lang-item { display: flex; align-items: center; }
.lang-switcher li.lang-item + li.lang-item::before {
    content: '/';
    color: var(--muted);
    font-size: .6rem;
    margin: 0 1px;
    line-height: 1;
}
.lang-switcher .lang-item a {
    font-family: var(--font-sans);
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    padding: .25rem .4rem;
    white-space: nowrap;
    transition: color .2s;
}
.lang-switcher .lang-item a:hover { color: var(--text); }
.lang-switcher .current-lang a   { color: var(--gold); font-weight: 600; }
.lang-btn {
    font-family: var(--font-sans);
    font-size: .65rem;
    font-weight: 500;
    letter-spacing: .1em;
    color: var(--muted);
    padding: .3rem .6rem;
    border: 1px solid rgba(201,168,76,.2);
    border-radius: 50px;
    transition: all .2s;
}
.lang-btn:hover { color: var(--gold); border-color: rgba(201,168,76,.5); }

/* Theme toggle — restored in v3.2 (light/dark switchable) */
/* Styles live in the token block above */

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
    border: 1px solid rgba(201,168,76,.2);
    border-radius: 8px;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav { background: var(--surface); border-top: 1px solid rgba(201,168,76,.1); padding: 1.5rem 24px; }
.mobile-nav.is-open { display: block; }
.mobile-nav__list { display: flex; flex-direction: column; gap: .75rem; }
.mobile-nav__list a {
    font-family: var(--font-sans);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--text);
    padding: .75rem 0;
    border-bottom: 1px solid rgba(26,20,9,.06);
    display: block;
    transition: color .2s;
}
.mobile-nav__list a:hover { color: var(--gold); }
.mobile-nav__footer { margin-top: 1.5rem; }

/* ════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    overflow: visible; /* guest panel must be able to escape hero bounds */
    padding: 4rem 0;
}

/* Subtle grid bg — very light on white */
.hero__grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(201,168,76,.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,168,76,.09) 1px, transparent 1px);
    background-size: 72px 72px;
}
/* Warm cream radial wash from center-right */
.hero__grid-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 60% at 65% 40%, rgba(254,247,229,.85) 0%, transparent 70%);
}

/* ── 3D Globe background ─────────────────────────────────── */
.hero__globe {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    width: clamp(400px, 55vw, 820px);
    height: clamp(400px, 55vw, 820px);
    pointer-events: none;      /* globe is purely visual — don't block clicks */
    z-index: 0;
    opacity: .82;
    /* fade edges to blend into light bg */
    -webkit-mask-image: radial-gradient(ellipse 78% 78% at 58% 50%, black 40%, transparent 75%);
            mask-image: radial-gradient(ellipse 78% 78% at 58% 50%, black 40%, transparent 75%);
}
/* on mobile: smaller, centered behind text */
@media (max-width: 768px) {
    .hero__globe {
        right: 50%;
        transform: translate(50%, -50%);
        width: 90vw;
        height: 90vw;
        opacity: .3;
    }
}

.hero__inner { position: relative; z-index: 1; width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Status bar */
.hero__status {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    font-family: var(--font-sans);
}
.status-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-sans);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.status-item--live  { color: var(--gold); }
.status-item--pink  { color: var(--muted); }
.status-item--blue  { color: var(--muted); }
.status-sep { color: rgba(26,20,9,.2); font-size: .7rem; }

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    line-height: 1.08;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.75rem;
    max-width: 18ch;
    letter-spacing: -.02em;
}
.hero__title .accent-lime  { color: var(--gold); font-style: italic; }
.hero__title .accent-pink  { color: var(--text); }
.hero__title .accent-amber { color: var(--gold); }

.hero__classified {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-sans);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-dim);
    border: 1px solid var(--gold-border);
    padding: .3rem .85rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero__sub {
    font-family: var(--font-sans);
    font-size: clamp(.9rem, 1.4vw, 1.05rem);
    font-weight: 300;
    color: var(--muted);
    max-width: 52ch;
    line-height: 1.85;
    margin-bottom: 2.75rem;
}
.hero__sub strong { color: var(--text); font-weight: 500; }

/* Stats */
.hero__stats { display: flex; gap: 3rem; margin-top: 3.5rem; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: .25rem; }
.stat__num { font-family: var(--font-serif); font-size: clamp(1.5rem, 2.5vw, 2.2rem); font-weight: 700; color: var(--text); }
.stat__num--lime  { color: var(--text); }
.stat__num--pink  { color: var(--text); }
.stat__num--blue  { color: var(--text); }
.stat__label { font-family: var(--font-sans); font-size: .58rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ════════════════════════════════════════════════
   SEARCH BAR
   ════════════════════════════════════════════════ */
/* ── Unified search bar (Fora-style) ─────────────────────────
   One pill container, fields separated by hairline dividers,
   icon search button flush to the right end.
   ──────────────────────────────────────────────────────────── */
.search-bar {
    display: flex;
    align-items: stretch;
    background: var(--surface);
    border: 1.5px solid rgba(201,168,76,.32);
    border-radius: 16px;
    overflow: visible;
    max-width: 980px;
    width: 100%;
    box-shadow: 0 4px 24px rgba(201,168,76,.10), 0 1px 4px rgba(26,20,9,.06);
    transition: border-color .2s, box-shadow .2s;
}
.search-bar:focus-within {
    border-color: rgba(201,168,76,.60);
    box-shadow: 0 4px 32px rgba(201,168,76,.18), 0 1px 4px rgba(26,20,9,.06);
}

/* Individual field */
.search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: .9rem 1.25rem;
    position: relative;
    border-right: 1px solid var(--border);
    transition: background .18s;
    min-width: 0;
}
.search-field:last-of-type { border-right: none; }
.search-field:hover,
.search-field:focus-within { background: rgba(201,168,76,.04); }

/* Field sizing */
.search-field--where { flex: 2.2; border-radius: 15px 0 0 15px; }
.search-field--date  { flex: 1.2; }
.search-field--guests { flex: 1.3; }

/* Label */
.search-field__label {
    font-family: var(--font-sans);
    font-size: .55rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .28rem;
    display: block;
    pointer-events: none;
}

/* Input */
.search-field__input {
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: .88rem;
    font-weight: 300;
    color: var(--text);
    width: 100%;
    padding: 0;
}
.search-field__input::placeholder { color: var(--muted); }
.search-field__input::-webkit-calendar-picker-indicator { filter: opacity(.5) sepia(1) saturate(.6); cursor: pointer; }
.search-field__input option { background: var(--surface); color: var(--text); }

/* ── Search icon button ─── */
.search-bar__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    background: var(--gold);
    color: #090909;
    border: none;
    border-radius: 0 15px 15px 0;
    cursor: pointer;
    transition: background .2s;
}
.search-bar__submit:hover { background: var(--gold-bright); }

/* legacy — keep .btn inside .search-bar working if used elsewhere */
.search-bar .btn { border-radius: 0; padding: .8rem 2rem; align-self: stretch; border: none; flex-shrink: 0; }

/* ════════════════════════════════════════════════
   MARQUEE / TICKER
   ════════════════════════════════════════════════ */
.marquee-strip { background: var(--lime); color: #000; padding: .55rem 0; overflow: hidden; }
.marquee-track { display: flex; animation: marquee 30s linear infinite; white-space: nowrap; }
.marquee-item { font-family: var(--font-sans); font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; padding: 0 2rem; flex-shrink: 0; font-weight: 700; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-33.333%)} }

/* Footer ticker */
.footer-ticker { background: var(--surface-2); overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ticker-track { animation: marquee 38s linear infinite; display: flex; padding: .5rem 0; }
.ticker-item { font-family: var(--font-sans); font-size: .6rem; color: var(--muted); padding: 0 2rem; flex-shrink: 0; letter-spacing: .08em; }

/* ════════════════════════════════════════════════
   PERKS / ACCESS INTEL STRIP
   ════════════════════════════════════════════════ */
.perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid rgba(201,168,76,.15);
    border-radius: var(--radius);
    overflow: hidden;
}
.perk-card {
    background: var(--surface);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: background .25s;
    position: relative;
}
.perk-card:hover { background: var(--surface-2); }
.perk-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity .25s;
}
.perk-card:nth-child(1)::before,
.perk-card:nth-child(2)::before,
.perk-card:nth-child(3)::before,
.perk-card:nth-child(4)::before { background: var(--gold); }
.perk-card:hover::before { opacity: 1; }
.perk-card__icon { font-size: 2rem; margin-bottom: 1rem; }
.perk-card__title { font-family: var(--font-sans); font-size: .65rem; font-weight: 600; margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.perk-card__desc { font-size: .82rem; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ════════════════════════════════════════════════
   HOTEL CARDS
   ════════════════════════════════════════════════ */
.hotels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hotels-grid--featured { grid-template-columns: repeat(3, 1fr); }
.hotels-grid--featured .hotel-card--featured { grid-column: span 2; grid-row: span 2; }
.hotels-grid--featured .hotel-card--featured .hotel-card { height: 100%; }
.hotels-grid--featured .hotel-card--featured .hotel-card__img-wrap { height: 380px; }

.hotel-card {
    background: var(--surface);
    border: 1px solid rgba(26,20,9,.07);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.hotel-card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,.3); box-shadow: 0 8px 32px rgba(201,168,76,.07); }

.hotel-card__img-wrap { position: relative; overflow: hidden; height: 200px; background: var(--surface-2); }
.hotel-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hotel-card:hover .hotel-card__img { transform: scale(1.05); }

/* Program badge colors */
.hotel-card__badge {
    position: absolute;
    top: 10px; left: 10px;
    font-family: var(--font-sans);
    font-size: .55rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .25rem .55rem;
    border-radius: 2px;
    font-weight: 700;
}
/* All program badges use gold palette */
.hotel-card__badge,
.hotel-card__badge.badge--marriott-luminous,
.hotel-card__badge.badge--luminous,
.hotel-card__badge.badge--preferred-platinum,
.hotel-card__badge.badge--preferred-hotels,
.hotel-card__badge.badge--ihg-destined,
.hotel-card__badge.badge--destined,
.hotel-card__badge.badge--virtuoso,
.hotel-card__badge.badge--slh,
.hotel-card__badge.badge--amex-fhr,
.hotel-card__badge.badge--amex { background: rgba(201,168,76,.1); color: var(--gold); border: 1px solid rgba(201,168,76,.28); border-radius: 4px; }

.hotel-card__body { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.hotel-card__location { font-family: var(--font-sans); font-size: .6rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hotel-card__name { font-family: var(--font-serif); font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--text); }
.hotel-card__name a:hover { color: var(--gold); }
.hotel-card__name-zh { font-size: .82rem; color: var(--muted); font-family: var(--font-sans); font-weight: 300; }

.hotel-card__perks { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: auto; padding-top: .5rem; }
.perk-tag,
.perk-tag--breakfast,
.perk-tag--upgrade,
.perk-tag--credit {
    font-size: .58rem;
    font-family: var(--font-sans);
    font-weight: 500;
    padding: .22rem .55rem;
    border-radius: 4px;
    letter-spacing: .06em;
    background: rgba(26,20,9,.06);
    color: var(--muted);
    border: 1px solid rgba(26,20,9,.09);
}

.hotel-card__cta { display: block; margin-top: .75rem; font-family: var(--font-sans); font-size: .65rem; font-weight: 600; letter-spacing: .1em; color: var(--gold); text-transform: uppercase; transition: opacity .2s; }
.hotel-card__cta:hover { opacity: .75; text-decoration: none; }

.hotels-empty { grid-column: 1/-1; text-align: center; padding: 4rem 0; color: var(--muted); }

/* ════════════════════════════════════════════════
   DESTINATIONS GRID
   ════════════════════════════════════════════════ */
.dest-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.dest-tile {
    background: var(--surface);
    border: 1px solid rgba(26,20,9,.07);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    display: flex; flex-direction: column; align-items: center; gap: .75rem;
    text-align: center;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}
.dest-tile::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transition: transform .2s;
    transform-origin: center;
}
.dest-tile:hover { border-color: rgba(201,168,76,.25); background: var(--surface-2); }
.dest-tile:hover::after { transform: scaleX(1); }
.dest-tile__flag { font-size: 2rem; }
.dest-tile__name { font-family: var(--font-sans); font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.dest-tile:hover .dest-tile__name { color: var(--lime); }

/* ════════════════════════════════════════════════
   HOW IT WORKS / PROTOCOL
   ════════════════════════════════════════════════ */
.how-it-works { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps-row { display: flex; align-items: flex-start; gap: 1rem; }
.step {
    flex: 1;
    padding: 1.75rem;
    border-radius: var(--radius);
    transition: background .2s;
}
.step:hover { background: var(--surface-2); }
.step__num { font-family: var(--font-serif); font-size: 3.5rem; font-weight: 700; color: rgba(201,168,76,.15); margin-bottom: 1rem; display: block; line-height: 1; }
.step__title { font-family: var(--font-sans); font-size: .65rem; font-weight: 600; color: var(--gold); margin-bottom: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.step__desc { font-size: .85rem; font-weight: 300; color: var(--muted); line-height: 1.75; }
.step__arrow { font-size: 1.2rem; color: rgba(201,168,76,.2); padding-top: 2.5rem; flex-shrink: 0; }

/* ════════════════════════════════════════════════
   CTA BAND
   ════════════════════════════════════════════════ */
.cta-band {
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 6rem 0;
    text-align: center;
}
/* Multi-color glow */
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 20% 50%, rgba(201,168,76,.06) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 80% 50%, rgba(201,168,76,.06) 0%, transparent 60%);
    pointer-events: none;
}
.cta-band__watermark {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    font-family: var(--font-serif);
    font-size: clamp(5rem, 15vw, 14rem);
    color: rgba(201,168,76,.03);
    white-space: nowrap; pointer-events: none; user-select: none;
}
.cta-band__inner { position: relative; z-index: 1; }
.cta-band__title { font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2.8rem); font-weight: 700; color: var(--text); margin-bottom: 1rem; letter-spacing: -.01em; }
.cta-band__sub { font-size: 1rem; font-weight: 300; color: var(--muted); margin-bottom: 2.5rem; }

/* ════════════════════════════════════════════════
   PAGE HEADER
   ════════════════════════════════════════════════ */
.page-header { background: var(--surface); border-bottom: 1px solid var(--border); padding: 3rem 0 2rem; }
.page-sub { color: var(--muted); margin-top: .5rem; font-size: .85rem; }

/* ════════════════════════════════════════════════
   HOTEL ARCHIVE LAYOUT
   ════════════════════════════════════════════════ */
.hotels-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; padding-top: 2.5rem; padding-bottom: 4rem; align-items: start; }
.filters-sidebar__inner {
    background: var(--surface);
    border: 1px solid rgba(26,20,9,.08);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky; top: 80px;
}
.filters-sidebar__title { font-family: var(--font-serif); font-size: .6rem; color: var(--lime); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.5rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.filter-group { margin-bottom: 1.5rem; }
.filter-label { display: block; font-family: var(--font-sans); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: .5rem; }
.filter-select, .filter-input {
    width: 100%;
    background: var(--bg);
    border: 1px solid rgba(26,20,9,.09);
    border-radius: var(--radius);
    padding: .6rem .75rem;
    font-family: var(--font-sans);
    font-size: .8rem;
    color: var(--text);
    outline: none;
    transition: border-color .2s;
}
.filter-select:focus, .filter-input:focus { border-color: rgba(201,168,76,.4); }
.filter-select option { background: var(--surface); }
.filter-reset { display: block; text-align: center; font-size: .65rem; color: var(--muted); margin-top: .75rem; text-decoration: underline; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; font-size: .8rem; color: var(--muted); }

/* Pagination */
.pagination { margin-top: 3rem; display: flex; justify-content: center; }
.pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 .5rem; margin: 0 2px;
    border: 1px solid rgba(26,20,9,.09); border-radius: var(--radius);
    font-family: var(--font-sans); font-size: .75rem; color: var(--muted); transition: all .2s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--lime); color: #000; border-color: var(--lime); }

/* ════════════════════════════════════════════════
   SINGLE HOTEL
   ════════════════════════════════════════════════ */
.hotel-hero {
    min-height: 55vh;
    background-size: cover; background-position: center;
    position: relative; display: flex; align-items: flex-end;
}
.hotel-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(7,7,15,.95) 0%, rgba(7,7,15,.4) 55%, transparent 100%);
}
.hotel-hero__content { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 3rem 24px; width: 100%; }
.hotel-hero--no-img { background: var(--surface); border-bottom: 1px solid var(--border); padding: 4rem 0; min-height: auto; display: block; }
.hotel-hero__title { font-family: var(--font-serif); font-size: clamp(1rem, 3vw, 2.2rem); color: #fff; margin-bottom: .75rem; line-height: 1.35; max-width: 24ch; }
.hotel-hero__name-zh { font-size: 1.1rem; color: rgba(255,255,255,.6); margin-bottom: .25rem; }
.hotel-hero__name-local { font-size: .85rem; color: rgba(255,255,255,.4); }
.hotel-hero__location { font-family: var(--font-sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-top: .5rem; }
.badge.badge--program { display: inline-block; font-family: var(--font-sans); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(201,168,76,.1); color: var(--lime); border: 1px solid rgba(201,168,76,.35); padding: .3rem .7rem; border-radius: 2px; margin-bottom: 1rem; }

.hotel-body { display: grid; grid-template-columns: 1fr 340px; gap: 3rem; padding-top: 3rem; padding-bottom: 5rem; align-items: start; }
.hotel-section { margin-bottom: 3rem; }
.hotel-section__title { font-family: var(--font-serif); font-size: .65rem; color: var(--lime); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.hotel-desc { font-size: .9rem; line-height: 1.8; color: var(--muted); }
.hotel-desc p { margin-bottom: 1em; }
.hotel-desc--zh { margin-top: 1.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }

/* Benefits */
.benefits-list { display: flex; flex-direction: column; gap: .75rem; }
.benefits-list__item { display: flex; align-items: flex-start; gap: .75rem; font-size: .9rem; color: var(--text); line-height: 1.55; }
.benefits-list__check { color: var(--lime); font-size: .75rem; flex-shrink: 0; margin-top: .1rem; }

/* Booking card */
.booking-card { background: var(--surface); border: 1px solid rgba(201,168,76,.25); border-radius: var(--radius); padding: 1.75rem; position: sticky; top: 80px; }
.booking-card__label { font-family: var(--font-sans); font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: .75rem; }
.booking-card__hotel { font-family: var(--font-serif); font-size: .62rem; color: var(--text); line-height: 1.4; margin-bottom: .5rem; }
.booking-card__program { font-size: .75rem; color: var(--muted); margin-bottom: 1.25rem; }
.booking-card__perks { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.perk-chip { font-size: .58rem; font-family: var(--font-sans); background: rgba(201,168,76,.08); color: var(--lime); border: 1px solid rgba(201,168,76,.2); padding: .25rem .5rem; border-radius: 2px; }
.booking-card__note { font-size: .62rem; color: var(--muted); text-align: center; margin-top: .75rem; }
.location-card { background: var(--surface); border: 1px solid rgba(26,20,9,.08); border-radius: var(--radius); padding: 1.25rem; margin-top: 1rem; }
.location-card__title { font-family: var(--font-serif); font-size: .58rem; color: var(--lime); text-transform: uppercase; margin-bottom: .5rem; }

/* ════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════ */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); }
.footer__inner { max-width: 1280px; margin: 0 auto; padding: 4rem 24px 3rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
.footer__logo { display: block; margin-bottom: 1rem; }
.footer__tagline { font-size: .8rem; color: var(--muted); line-height: 1.65; max-width: 28ch; margin-bottom: 1.5rem; }
.footer__copy { font-size: .65rem; color: var(--muted); }
.footer__heading { font-family: var(--font-sans); font-size: .58rem; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: .2em; margin-bottom: 1.25rem; }
.footer__list { display: flex; flex-direction: column; gap: .75rem; }
.footer__list a { font-size: .8rem; font-weight: 300; color: var(--muted); transition: color .2s; }
.footer__list a:hover { color: var(--text); }

/* Classified footer bar — simplified in v3 */
.footer__classified {
    background: var(--surface-2);
    border-top: 1px solid rgba(26,20,9,.05);
    padding: .75rem 24px;
    text-align: center;
    font-family: var(--font-sans);
    font-size: .58rem;
    letter-spacing: .1em;
    color: var(--muted);
    opacity: .5;
}

/* Generic page */
.page-content { padding: 4rem 0; max-width: 800px; }
.entry-content { font-size: .95rem; line-height: 1.8; color: var(--muted); }
.entry-content h2, .entry-content h3 { color: var(--gold); font-family: var(--font-serif); margin: 2rem 0 1rem; }
.entry-content p { margin-bottom: 1em; }

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .perks-grid { grid-template-columns: repeat(2, 1fr); }
    .dest-grid  { grid-template-columns: repeat(4, 1fr); }
    .hotels-grid { grid-template-columns: repeat(2, 1fr); }
    .hotels-grid--featured .hotel-card--featured { grid-column: span 2; grid-row: span 1; }
    .hotels-grid--featured .hotel-card--featured .hotel-card__img-wrap { height: 280px; }
    .hotel-body { grid-template-columns: 1fr 300px; gap: 2rem; }
    .steps-row { flex-wrap: wrap; }
    .step { flex: 0 0 calc(50% - 1rem); }
    .step__arrow { display: none; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .navbar__nav { display: none; }
    .hamburger { display: flex; }
    .navbar__controls .btn--sm { display: none; }
    .hero { min-height: auto; padding: 3rem 0 2rem; }
    .hero__stats { gap: 1.5rem; }
    .search-bar { flex-direction: column; border-radius: 12px; overflow: hidden; }
    .search-field { border-right: none; border-bottom: 1px solid var(--border); border-radius: 0 !important; }
    .search-field:last-of-type { border-bottom: none; }
    .search-bar__submit { width: 100%; height: 52px; border-radius: 0 0 11px 11px; }
    .search-bar .btn { border-radius: 0 0 var(--radius) var(--radius); }
    .perks-grid { grid-template-columns: 1fr; }
    .hotels-grid, .hotels-grid--featured { grid-template-columns: 1fr; }
    .hotels-grid--featured .hotel-card--featured { grid-column: span 1; }
    .dest-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-row { flex-direction: column; }
    .step { flex: none; }
    .hotels-layout { grid-template-columns: 1fr; }
    .hotel-body { grid-template-columns: 1fr; }
    .booking-card { position: static; }
    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 390px) {
    .dest-grid { grid-template-columns: repeat(2, 1fr); }
    .hero__title { font-size: 1.6rem; }
    .hero__stats { gap: 1rem; }
}

/* Light theme overrides removed in v3 — dark mode is permanent */

/* ════════════════════════════════════════════════
   GUEST PICKER
   ════════════════════════════════════════════════ */
.search-field--guests { position: relative; min-width: 160px; }

/* Guest trigger — styled to match text inputs inside the unified bar */
.guests-trigger {
    background: none;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: .85rem;
    color: var(--text);
    width: 100%;
    text-align: left;
    cursor: pointer;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.guests-trigger.is-placeholder { color: rgba(232,227,255,.45); }

.guests-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 320px;
    background: var(--surface);
    border: 1px solid rgba(26,20,9,.12);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(26,20,9,.12), 0 2px 8px rgba(26,20,9,.06);
    z-index: 200;
    overflow: hidden;
}

.guests-panel[hidden] { display: none; }
/* Open upward when search bar is close to viewport bottom */
.guests-panel.is-above {
    top: auto;
    bottom: calc(100% + 8px);
    box-shadow: 0 -8px 32px rgba(26,20,9,.12), 0 -2px 8px rgba(26,20,9,.06);
}

/* Row: label + counter */
.gp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(26,20,9,.07);
}
.gp-row:last-of-type { border-bottom: none; }

.gp-label-group { display: flex; flex-direction: column; gap: .2rem; }
.gp-label {
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 700;
    color: var(--text);
}
.gp-sublabel {
    font-family: var(--font-sans);
    font-size: .68rem;
    color: var(--muted);
}

/* Counter */
.gp-counter {
    display: flex;
    align-items: center;
    gap: .75rem;
}
.gp-btn {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(26,20,9,.15);
    background: transparent;
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all .15s;
    font-family: var(--font-sans);
}
.gp-btn:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); }
.gp-btn:disabled { opacity: .3; cursor: default; }
.gp-count {
    font-family: var(--font-sans);
    font-size: .95rem;
    min-width: 18px;
    text-align: center;
    color: var(--text);
}

/* Rooms row */
.gp-rooms-row {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(26,20,9,.07);
}
.gp-rooms-title {
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .25rem;
}
.gp-rooms-note {
    font-family: var(--font-sans);
    font-size: .68rem;
    color: var(--muted);
}

/* Child age selects */
.gp-child-ages { padding: 0 1.25rem .5rem; display: flex; flex-direction: column; gap: .5rem; }
.gp-age-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}
.gp-age-label { font-family: var(--font-sans); font-size: .75rem; color: var(--muted); white-space: nowrap; }
.gp-age-select {
    background: var(--bg);
    border: 1px solid rgba(26,20,9,.12);
    border-radius: 6px;
    padding: .35rem .6rem;
    font-family: var(--font-sans);
    font-size: .75rem;
    color: var(--text);
    outline: none;
    cursor: pointer;
    min-width: 90px;
    transition: border-color .15s;
}
.gp-age-select:focus { border-color: var(--lime); }

/* Footer: Reset + Search */
.gp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem 1.25rem;
    border-top: 1px solid rgba(26,20,9,.07);
}
.gp-reset {
    font-family: var(--font-sans);
    font-size: .75rem;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}
.gp-reset:hover { color: var(--lime); }
.gp-search {
    background: var(--text);
    color: var(--bg);
    border: none;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: .8rem;
    font-weight: 700;
    padding: .55rem 1.25rem;
    cursor: pointer;
    transition: background .15s;
}
.gp-search:hover { background: var(--lime); color: #000; }

/* ════════════════════════════════════════════════
   GUEST PICKER — mobile bottom sheet (Fora-style)
   On mobile, JS portals the panel to document.body
   and applies .gp-bottom-sheet to pin it to the
   viewport bottom. A dim overlay sits behind it.
   Desktop keeps position:absolute (JS → fixed).
   ════════════════════════════════════════════════ */

/* Dim overlay behind the bottom sheet */
.gp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9998;
}
.gp-overlay[hidden] { display: none; }

/* Bottom sheet class applied by JS on mobile */
.gp-bottom-sheet {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    min-width: unset !important;
    width: 100% !important;
    border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 -8px 40px rgba(0,0,0,.5) !important;
    z-index: 9999 !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    overflow: hidden;
}
/* Drag handle on the bottom sheet */
.gp-bottom-sheet::before {
    content: '';
    display: block;
    width: 36px;
    height: 4px;
    background: rgba(26,20,9,.15);
    border-radius: 2px;
    margin: 12px auto 6px;
}

/* Guest picker inline inside search modal (mobile only)
   When modal is open, GP opens as a static panel — no portal needed */
.gp-inline {
    position: static !important;
    width: 100% !important;
    min-width: unset !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid var(--border) !important;
    z-index: auto !important;
    max-height: none !important;
}

/* ════════════════════════════════════════════════
   MOBILE SEARCH MODAL  (Fora-style)
   Desktop: .search-modal-wrap is transparent wrapper.
   Mobile:  compact trigger shows, modal wrap is
            hidden until .is-open, then fixed full-screen.
   ════════════════════════════════════════════════ */

/* ── Compact trigger — desktop: hidden ─────────── */
.search-compact {
    display: none;
}

/* ── Modal chrome (header/footer) — desktop: hidden */
.search-modal__bar,
.search-modal__foot {
    display: none;
}

@media (max-width: 768px) {

    /* 1. Hide the standard full-width search bar */
    .search-modal-wrap .search-bar {
        display: none;
    }
    /* Show it only when modal is open */
    .search-modal-wrap.is-open .search-bar {
        display: flex;
    }

    /* 2. Compact icon-only trigger (Fora-style: just a magnifier circle) */
    .search-compact {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--surface);
        border: 1px solid var(--gold-border);
        cursor: pointer;
        color: var(--gold);
        transition: border-color .15s, background .15s, box-shadow .15s;
        box-shadow: 0 0 0 0 rgba(201,168,76,0);
    }
    .search-compact:hover {
        border-color: var(--gold);
        background: var(--gold-dim);
        box-shadow: 0 0 16px rgba(201,168,76,.2);
    }
    .search-compact__icon { color: var(--gold); }
    /* Hide text labels — icon only */
    .search-compact__label,
    .search-compact__text,
    .search-compact__where,
    .search-compact__meta { display: none; }

    /* 3. Bottom-sheet dim scrim (sits behind the sheet) */
    .search-modal-wrap::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.55);
        z-index: -1;
        opacity: 0;
        transition: opacity .28s ease;
        pointer-events: none;
    }
    .search-modal-wrap.is-open::before {
        opacity: 1;
        pointer-events: auto;
    }

    /* 3. Bottom sheet (slides up from bottom, NOT full-screen) */
    .search-modal-wrap {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        max-height: 78vh;
        background: var(--surface);
        border-radius: 18px 18px 0 0;
        border-top: 1px solid var(--gold-border);
        z-index: 9999;
        display: flex;
        flex-direction: column;
        overflow: hidden;
        /* Slide-up animation */
        transform: translateY(100%);
        transition: transform .32s cubic-bezier(.32,1,.4,1);
        /* Drag handle */
    }
    .search-modal-wrap::after {
        content: '';
        display: block;
        width: 36px;
        height: 4px;
        background: rgba(26,20,9,.15);
        border-radius: 2px;
        margin: 10px auto 0;
        flex-shrink: 0;
        order: -1;
    }
    /* Hidden until triggered */
    .search-modal-wrap:not(.is-open) {
        pointer-events: none;
        visibility: hidden;
    }
    .search-modal-wrap.is-open {
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
    }

    /* 4. Modal header bar */
    .search-modal__bar {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: .9rem 1rem;
        border-bottom: 1px solid var(--border);
        flex-shrink: 0;
    }
    .search-modal__title {
        font-family: var(--font-sans);
        font-size: .78rem;
        letter-spacing: .06em;
        color: var(--text);
        text-transform: uppercase;
    }
    .search-modal__close {
        position: absolute;
        left: 1rem;
        background: none;
        border: none;
        color: var(--text);
        font-size: 1.1rem;
        cursor: pointer;
        padding: .25rem .5rem;
        line-height: 1;
    }
    .search-modal__close:hover { color: var(--lime); }

    /* 5. Form inside modal — fill remaining height, scrollable */
    .search-modal-wrap .search-bar {
        flex: 1;
        overflow-y: auto;
        flex-direction: column;
        border-radius: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    /* Each field full-width, taller touch target */
    .search-modal-wrap .search-field {
        border-right: none;
        border-bottom: 1px solid var(--border);
        border-radius: 0 !important;
        min-height: 64px;
    }
    .search-modal-wrap .search-field:last-of-type { border-bottom: none; }

    /* Hide the icon search button — footer button used instead */
    .search-modal-wrap .search-bar__submit { display: none; }

    /* Guest panel: inline within modal (position:static already set above) */

    /* 6. Modal footer */
    .search-modal__foot {
        display: block;
        padding: 1rem;
        border-top: 1px solid var(--border);
        flex-shrink: 0;
    }
    .search-modal__foot .btn--full {
        width: 100%;
        justify-content: center;
        border-radius: 10px;
        font-size: .9rem;
        padding: .9rem;
    }
}


/* ───────────────────────────────────────────────
   Hotel Gallery — v3.0
   ─────────────────────────────────────────────── */
.hotel-gallery {
    display: grid;
    gap: 0.75rem;
    border-radius: 12px;
    overflow: hidden;
}
.hotel-gallery--count-1 {
    grid-template-columns: 1fr;
}
.hotel-gallery--count-2 {
    grid-template-columns: 1fr 1fr;
}
.hotel-gallery--count-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}
.hotel-gallery--count-3 .hotel-gallery__item:first-child {
    grid-column: 1 / -1;
}
.hotel-gallery--count-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
}
.hotel-gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    line-height: 0;
}
.hotel-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
    transition: transform 0.4s ease;
}
.hotel-gallery__item:hover img {
    transform: scale(1.04);
}

/* Gallery responsive */
@media (max-width: 768px) {
    .hotel-gallery--count-2,
    .hotel-gallery--count-3,
    .hotel-gallery--count-4 {
        grid-template-columns: 1fr;
    }
    .hotel-gallery--count-3 .hotel-gallery__item:first-child {
        grid-column: auto;
    }
}

/* Booking card brand line */
.booking-card__brand {
    font-size: 0.85rem;
    color: var(--gold, #c9a96e);
    margin-bottom: 0.75rem;
    letter-spacing: 0.04em;
}
