:root {
    /* Apple/Stripe-style dark glass palette. --charcoal stays a dark tone
       (it's also used as a background for dark accent panels, e.g. nav/
       footer/buttons) — every "color: var(--charcoal)" heading usage was
       swapped file-wide to "color: var(--text-dark)" instead, since that's
       the var that actually needs to flip light for legibility. --gold
       stays the brand accent unchanged; --cream/--white (page background /
       raised surface) and --text-dark/--text-light (body copy) invert. */
    --charcoal: #14161f;
    --charcoal-soft: #1d202c;
    --gold: #c6a15b;
    --gold-soft: #e0c48a;
    --cream: #0B0F1A;
    --white: #111827;
    --text-dark: #eef0f4;
    --text-light: #9aa0ae;
    /* Dark text specifically for content sitting on a gold background/badge
       (nav CTA, buttons, badges) — --text-dark went light for body copy on
       the dark page, but gold buttons still need dark text for contrast. */
    --on-gold: #14161f;
    --radius: 4px;
    --radius-lg: 6px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.5);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --hair: rgba(255, 255, 255, 0.08);
    --gold-glow: rgba(198, 161, 91, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', Georgia, serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--cream);
    font-weight: 400;
}

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Mixed serif/italic emphasis for a headline's key word or phrase — used
   sparingly (hero + the two most visited sections) rather than on every
   heading, so it reads as a deliberate editorial accent, not decoration
   applied blanket-wide. */
h1 em, h2 em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold-soft);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

h2 {
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin-bottom: 16px;
    color: var(--text-dark);
}

h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto 44px;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.about-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
.about-grid > .reveal:nth-child(3) { transition-delay: 0.2s; }
.about-grid > .reveal:nth-child(4) { transition-delay: 0.3s; }

.gallery-grid > .reveal:nth-child(1) { transition-delay: 0s; }
.gallery-grid > .reveal:nth-child(2) { transition-delay: 0.12s; }
.gallery-grid > .reveal:nth-child(3) { transition-delay: 0.24s; }
.gallery-grid > .reveal:nth-child(4) { transition-delay: 0.36s; }
.gallery-grid > .reveal:nth-child(5) { transition-delay: 0.48s; }

.fade-in-up {
    animation: fadeInUp 0.7s ease both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section headings rise in with their gold rule drawing outward from centre,
   so a section announces itself as you reach it rather than being fully
   painted before it enters view. */
.reveal-title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

section h2::after,
.section-title::after {
    transition: width 0.7s ease 0.25s;
}

.reveal-title:not(.is-visible)::after { width: 0; }

/* Cards rendered from data (rooms, facilities, projects) can't use the static
   nth-child delays above, so they get their stagger from an inline custom
   property set at render time. */
.reveal-stagger {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--stagger, 0s);
}

.reveal-stagger.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reading-progress rail — a thin, quiet indicator of how far through the
   page you are. Fixed above the navbar so it stays visible over any section. */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    z-index: 1200;
    pointer-events: none;
}

/* Motion here is decoration, never information — anyone who has asked their
   system to reduce motion gets the same content with the movement removed
   rather than a degraded page. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-title,
    .reveal-stagger,
    .hero-in {
        opacity: 1 !important;
        transform: none !important;
    }

    .scroll-progress { display: none; }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    padding: 8px 0;
}

.navbar.scrolled {
    background: rgba(20, 22, 31, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
}

.nav-brand i {
    color: var(--gold);
}

.nav-logo {
    height: 34px;
    width: auto;
    display: block;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--gold-soft);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* The one nav item that should read as an action, not a destination. */
.nav-menu a.nav-cta {
    background: var(--gold);
    color: var(--on-gold);
    padding: 9px 20px;
    border-radius: 3px;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nav-menu a.nav-cta::after { display: none; }

.nav-menu a.nav-cta:hover {
    background: var(--gold-soft);
    color: var(--on-gold);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(198, 161, 91, 0.35);
}

.kiosk-nav-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

.kiosk-nav-btn:hover {
    color: var(--gold-soft);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text-dark);
}

/* Offers banner — sits above the fixed navbar, which shifts down to make room */
.offers-banner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gold);
    color: var(--on-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 9px 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    min-height: 38px;
    box-sizing: border-box;
}

body.has-offer {
    padding-top: 38px;
}

body.has-offer .navbar {
    top: 38px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -20px;
    background: url('images/hero.jpg') center/cover no-repeat;
    animation: kenBurns 24s ease-in-out infinite alternate;
    z-index: 0;
    will-change: transform;
}

@keyframes kenBurns {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(-1%, -1%, 0); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15, 16, 22, 0.55), rgba(15, 16, 22, 0.35));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-dark);
    padding: 0 20px;
}

.hero-in {
    opacity: 0;
    transform: translateY(22px);
    animation: heroFadeIn 0.9s ease both;
}

.hero-in-1 { animation-delay: 0.2s; }
.hero-in-2 { animation-delay: 0.45s; }
.hero-in-3 { animation-delay: 0.7s; }
.hero-in-4 { animation-delay: 0.95s; }
.hero-in-5 { animation-delay: 1.15s; }

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.8rem;
    color: var(--gold-soft);
    margin-bottom: 22px;
    font-weight: 400;
}

.hero-content h1 {
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.88;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--gold);
    border-radius: 999px;
    padding: 15px 38px;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition), letter-spacing var(--transition), padding var(--transition), box-shadow var(--transition), transform var(--transition);
}

.cta-button::after {
    content: '\2192';
    display: inline-block;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--transition), transform var(--transition);
}

.cta-button:hover {
    background: var(--gold);
    color: var(--on-gold);
    letter-spacing: 0.18em;
    box-shadow: 0 8px 32px var(--gold-glow);
    transform: scale(1.03);
}

.cta-button:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Hero availability search ---------- */
.hero-search {
    display: flex;
    align-items: flex-end;
    gap: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 14px;
    max-width: 780px;
    margin: 0 auto;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 18px;
    text-align: left;
    border-right: 1px solid rgba(20, 22, 31, 0.12);
}

.hero-search-field:last-of-type { border-right: none; }

/* Guests needs less room than a date — keep the three fields visually balanced. */
.hero-search-field:has(select) { flex: 0.65; }

.hero-search-field label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-light);
    font-weight: 600;
}

.hero-search-field input,
.hero-search-field select {
    border: none;
    background: none;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 2px 0;
    width: 100%;
    cursor: pointer;
}

.hero-search-field input:focus,
.hero-search-field select:focus {
    outline: none;
    color: var(--gold);
}

.hero-search-btn {
    background: var(--charcoal);
    color: var(--text-dark);
    border: none;
    font-family: inherit;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 16px 30px;
    margin-left: 14px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.hero-search-btn:hover {
    background: var(--gold);
    color: var(--on-gold);
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 8px 28px var(--gold-glow);
}

.hero-secondary-link {
    display: inline-block;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    transition: color var(--transition);
}

.hero-secondary-link:hover { color: var(--gold-soft); }

@media (max-width: 760px) {
    .hero-search {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 18px;
    }
    .hero-search-field {
        border-right: none;
        border-bottom: 1px solid rgba(20, 22, 31, 0.12);
        padding: 12px 4px;
    }
    .hero-search-field:last-of-type { border-bottom: none; }
    .hero-search-btn { margin-left: 0; margin-top: 10px; width: 100%; }
}

.scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-soft);
    font-size: 1.1rem;
    z-index: 2;
    animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* About */
.about {
    padding: 120px 0 100px;
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 36px;
}

.about-card {
    text-align: center;
    padding: 48px 26px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.about-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg), 0 0 40px var(--gold-glow);
    border-color: rgba(255, 255, 255, 0.2);
}

.about-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 22px;
}

.about-card h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
    font-size: 1.15rem;
}

.about-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Rooms */
.rooms {
    padding: 100px 0;
    background: var(--white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.rooms-carousel-dots {
    display: none;
}

/* Below 768px the side-by-side grid becomes a swipeable, scroll-snapped
   carousel — one room per "page" with a peek of the next so it reads as
   swipeable at a glance, instead of a long vertical scroll through three
   full-height cards. Desktop is untouched: three cards already fit
   comfortably side by side there, so a carousel would only add complexity
   with no real benefit. */
@media (max-width: 768px) {
    .rooms-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        margin: 0 -32px;
        padding: 4px 32px 12px;
    }

    .rooms-grid > .room-card {
        flex: 0 0 82vw;
        scroll-snap-align: center;
    }

    .rooms-carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 4px;
    }

    .rooms-carousel-dots button {
        width: 8px;
        height: 8px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: var(--hair);
        cursor: pointer;
        transition: background 0.25s ease, transform 0.25s ease;
    }

    .rooms-carousel-dots button.active {
        background: var(--gold);
        transform: scale(1.3);
    }
}

.loading-text,
.error-text {
    text-align: center;
    color: var(--text-light);
    grid-column: 1 / -1;
}

.room-card.skeleton {
    height: 500px;
    box-shadow: none;
    background: linear-gradient(90deg, rgba(198, 161, 91, 0.08) 0%, rgba(198, 161, 91, 0.15) 50%, rgba(198, 161, 91, 0.08) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.6s ease-in-out infinite;
}

@keyframes shimmer {
    from { background-position: 150% 0; }
    to { background-position: -50% 0; }
}

.room-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.room-card:hover {
    box-shadow: var(--shadow-lg), 0 0 40px var(--gold-glow);
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.2);
}

.room-card.featured {
    box-shadow: 0 0 0 1px var(--gold), var(--shadow-lg);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: var(--on-gold);
    padding: 6px 16px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

.room-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.room-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 22, 31, 0.35), transparent 55%);
    pointer-events: none;
}

.room-card .room-image {
    transition: transform 1s ease;
    background-size: cover;
    background-position: center;
}

.room-card:hover .room-image {
    transform: scale(1.06);
}

.room-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-content h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.room-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.room-features {
    list-style: none;
    margin-bottom: 24px;
}

.room-features li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.room-features i {
    color: var(--gold);
    margin-right: 10px;
}

.room-pricing {
    margin-bottom: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--hair);
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.per-night {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-left: 4px;
}

.book-btn {
    display: block;
    text-align: center;
    background: var(--charcoal);
    color: var(--text-dark);
    padding: 14px;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: auto;
    transition: background var(--transition), color var(--transition);
}

.book-btn:hover {
    background: var(--gold);
    color: var(--on-gold);
}

.book-btn.primary {
    background: var(--gold);
    color: var(--on-gold);
}

.book-btn.primary:hover {
    background: var(--charcoal);
    color: var(--text-dark);
}

.availability-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.availability-badge.available {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
}

.availability-badge.unavailable {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
}

/* Room photo gallery / slider */
.room-gallery {
    background: var(--charcoal);
}

.gallery-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.gallery-slide.active {
    opacity: 1;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(20, 22, 31, 0.55);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    font-size: 0.8rem;
    transition: background var(--transition);
}

.gallery-arrow:hover {
    background: var(--gold);
    color: var(--on-gold);
}

.gallery-arrow.prev {
    left: 12px;
}

.gallery-arrow.next {
    right: 12px;
}

.gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 2;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), transform var(--transition);
}

.gallery-dot.active {
    background: var(--gold);
    transform: scale(1.25);
}

/* Occupancy-based pricing tiers */
.pricing-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 10px;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.pricing-tier {
    text-align: center;
    padding: 10px 4px;
    border: 1px solid var(--hair);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-tier.tier-highlight {
    border-color: var(--gold);
    background: rgba(198, 161, 91, 0.12);
}

.tier-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-light);
}

.tier-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mattress-note {
    font-size: 0.82rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.mattress-note i {
    color: var(--gold);
}

/* Gallery */
.gallery {
    padding: 100px 0;
    background: var(--charcoal);
}

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

.gallery-intro {
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: -20px auto 44px;
    font-size: 0.98rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 240px);
    grid-template-areas:
        "lounge lounge tree meet"
        "fire   patio  tree meet";
    gap: 18px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-lounge { grid-area: lounge; }
.gallery-tree { grid-area: tree; }
.gallery-meet { grid-area: meet; }
.gallery-fire { grid-area: fire; }
.gallery-patio { grid-area: patio; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.1s ease, filter 0.8s ease;
    filter: contrast(1.08) saturate(1.12) brightness(1.04);
}

.gallery-lounge img { object-position: center 60%; }
.gallery-tree img { object-position: center 20%; }
.gallery-meet img { object-position: center; }
.gallery-fire img { object-position: center 55%; }
.gallery-patio img { object-position: center 40%; }

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 1;
    transition: box-shadow var(--transition);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 16, 22, 0.85) 0%, rgba(15, 16, 22, 0) 45%);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}

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

.gallery-item:hover::before {
    box-shadow: inset 0 0 0 1px var(--gold), inset 0 0 60px rgba(0, 0, 0, 0.3);
}

.gallery-item {
    transition: box-shadow var(--transition), transform var(--transition);
}

.gallery-item:hover {
    box-shadow: 0 20px 50px var(--gold-glow);
    transform: translateY(-2px);
}

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

.gallery-caption {
    position: absolute;
    left: 22px;
    bottom: 18px;
    z-index: 2;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Play-button overlay — only rendered (by script.js) for a .gallery-item
   that carries a data-video attribute, so a plain photo never shows an
   affordance for a video it doesn't have. */
.gallery-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    z-index: 2;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), background var(--transition), border-color var(--transition);
}

.gallery-item:hover .gallery-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    background: rgba(198, 161, 91, 0.55);
    border-color: var(--gold);
}

/* ---- Gallery / video preview lightbox ---- */
.media-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(5, 5, 8, 0.92);
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.media-lightbox-overlay.active {
    display: flex;
}

.media-lightbox-content {
    max-width: 1000px;
    width: 100%;
}

.media-lightbox-content img,
.media-lightbox-content video {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    box-shadow: var(--shadow-lg);
}

.media-lightbox-caption {
    text-align: center;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-top: 16px;
}

.media-lightbox-close {
    position: fixed;
    top: 24px;
    right: 28px;
    z-index: 4001;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.media-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.08);
}

@media (max-width: 640px) {
    .media-lightbox-close {
        top: 14px;
        right: 14px;
        width: 38px;
        height: 38px;
    }
}

/* Booking & Contact forms */
.booking,
.contact {
    padding: 100px 0;
}

.booking {
    background: var(--cream);
}

.contact {
    background: var(--white);
}

.booking-form-wrapper,
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow);
}

.contact-form {
    margin: 28px 0 0;
    max-width: none;
    padding: 32px;
    box-shadow: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-row-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.form-group label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 13px 4px;
    border: none;
    border-bottom: 1px solid var(--hair);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    color: var(--text-dark);
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-fieldset {
    border: none;
    padding: 0;
    margin: 0 0 36px;
}

.form-fieldset legend {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hair);
    width: 100%;
}

.payment-instructions {
    background: var(--cream);
    border-left: 2px solid var(--gold);
    padding: 14px 18px;
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 4px;
}

.payment-security-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
    padding: 12px 16px;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-top: 10px;
}

.payment-security-note i {
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-box {
    max-height: 200px;
    overflow-y: auto;
    background: var(--cream);
    border: 1px solid var(--hair);
    padding: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

.terms-box p {
    margin-bottom: 12px;
}

.terms-box p:last-child {
    margin-bottom: 0;
}

.terms-box strong {
    color: var(--text-dark);
}

.checkbox-group {
    margin-top: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--gold);
    flex-shrink: 0;
}

.submit-btn {
    width: 100%;
    background: var(--charcoal);
    color: var(--text-dark);
    border: none;
    border-radius: 999px;
    padding: 16px;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.submit-btn:hover {
    background: var(--gold);
    color: var(--on-gold);
    box-shadow: 0 8px 28px var(--gold-glow);
    transform: scale(1.01);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 16px;
    font-weight: 500;
    text-align: center;
    min-height: 1.4em;
    font-size: 0.9rem;
}

.form-message.success {
    color: #6ee7b7;
}

.form-message.error {
    color: #f87171;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.info-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.info-item i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-top: 4px;
    width: 20px;
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 4px;
    font-size: 1rem;
    font-weight: 600;
}

.info-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.map-container {
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    filter: grayscale(0.3) contrast(1.05);
    display: block;
}

.map-directions-link {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--charcoal);
    color: var(--text-dark);
    text-align: center;
    justify-content: center;
    padding: 14px;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.map-directions-link:hover {
    background: var(--gold);
    color: var(--on-gold);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--text-dark);
    padding: 70px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 36px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 0.04em;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-section ul a {
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition);
}

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

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: background var(--transition), border-color var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--on-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

/* Admin */
.admin-page {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.admin-page h1 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.admin-section {
    margin-top: 44px;
}

.admin-section h2 {
    text-align: left;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.admin-section h2::after {
    margin: 14px 0 0;
}

table.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
}

table.admin-table th,
table.admin-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--hair);
    font-size: 0.88rem;
}

table.admin-table th {
    background: var(--charcoal);
    color: var(--gold-soft);
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.status-pill {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-pill.confirmed,
.status-pill.paid {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
}

.status-pill.cancelled {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
}

.status-pill.pending,
.status-pill.unpaid {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.status-pill.checked_in {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
}

.status-pill.checked_out {
    background: rgba(167, 139, 250, 0.12);
    color: #c4b5fd;
}

.action-btn {
    display: inline-block;
    padding: 7px 14px;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 6px;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.action-btn.confirm {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
}

.action-btn.cancel {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
}

.action-btn.details-toggle {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dark);
}

.payment-method-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 6px;
}

.status-select {
    padding: 8px 10px;
    border: 1px solid var(--hair);
    background: var(--white);
    font-family: inherit;
    font-size: 0.82rem;
    cursor: pointer;
    color: var(--text-dark);
}

.detail-row td {
    background: var(--cream);
    padding: 20px 24px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px 24px;
}

/* .detail-grid's auto-fit columns size against the *table's* full
   scrollable width (900px+, driven by the data columns), not the mobile
   viewport, since it lives in a colspan cell inside that same table — so
   on a phone it still renders 3-4 columns side by side, requiring a
   horizontal scroll just to read a guest's detail fields. Force a single
   column below the width where that stops being readable, independent of
   how wide the table around it actually is. */
@media (max-width: 700px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Shared wrapper for any wide data table (bookings, guests, transactions,
   etc.) so it scrolls horizontally within itself instead of forcing the
   whole page to overflow. */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.detail-field {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.detail-field strong {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 3px;
}

.status-pill.partial {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

/* Admin dashboard: header + notification bell */
.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.bell-btn {
    position: relative;
    background: var(--white);
    border: 1px solid var(--hair);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gold);
    color: var(--on-gold);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

/* Admin tabs */
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 28px 0 30px;
    border-bottom: 1px solid var(--hair);
}

.admin-tab {
    background: none;
    border: none;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.admin-tab:hover {
    color: var(--text-dark);
}

.admin-tab.active {
    color: var(--text-dark);
    border-bottom-color: var(--gold);
    font-weight: 600;
}

.admin-panel {
    animation: fadeInUp 0.4s ease both;
}

.panel-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.panel-toolbar input,
.panel-toolbar select {
    padding: 10px 14px;
    border: 1px solid var(--hair);
    background: var(--white);
    font-family: inherit;
    font-size: 0.88rem;
}

.panel-toolbar input {
    flex: 1;
    min-width: 220px;
}

/* Inline forms (rate rules, expenses, staff, payments, edit booking) */
.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.inline-form input,
.inline-form select,
.inline-form textarea {
    padding: 10px 12px;
    border: 1px solid var(--hair);
    background: var(--white);
    font-family: inherit;
    font-size: 0.88rem;
    flex: 1;
    min-width: 140px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.media-item {
    background: var(--white);
    border: 1px solid var(--hair);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.media-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    background: rgba(255, 255, 255, 0.04);
}

.media-item-body {
    padding: 8px 10px;
    font-size: 0.75rem;
    color: var(--text-light);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.media-item-name {
    font-size: 0.78rem;
    color: var(--text-dark);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-item-actions {
    display: flex;
    gap: 6px;
}

.media-item-actions .action-btn {
    flex: 1;
    text-align: center;
    padding: 5px 6px;
    font-size: 0.68rem;
}

.room-photo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}

.room-photo-thumb {
    position: relative;
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--hair);
}

.room-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.room-photo-thumb button {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(20, 22, 31, 0.75);
    color: #fff;
    border: none;
    font-size: 0.65rem;
    line-height: 1;
    cursor: pointer;
}

.room-photo-thumb .cover-badge {
    position: absolute;
    bottom: 2px;
    left: 2px;
    background: var(--gold);
    color: var(--on-gold);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    text-transform: uppercase;
}

.detail-subsection {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--hair);
}

.verify-banner {
    background: rgba(251, 191, 36, 0.12);
    border-left: 3px solid #fbbf24;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #fde68a;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.verify-banner i {
    color: #fbbf24;
}

.verify-banner .verify-btn {
    margin-left: auto;
}

.detail-subsection h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.mini-table {
    box-shadow: none;
    border: 1px solid var(--hair);
    margin-bottom: 12px;
}

.mini-table th {
    background: var(--cream);
    color: var(--text-light);
}

.discount-row td {
    color: #6ee7b7;
}

.overdue-row {
    background: rgba(248, 113, 113, 0.06);
}

.overdue-row:hover {
    background: rgba(248, 113, 113, 0.1);
}

/* Availability calendar */
.calendar-grid {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-weekdays div {
    text-align: center;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    padding-bottom: 8px;
}

.calendar-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.78rem;
}

.calendar-cell.empty {
    background: none;
}

.calendar-cell.low {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
}

.calendar-cell.mid {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

.calendar-cell.full {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
}

.cal-day {
    font-weight: 700;
}

.cal-count {
    font-size: 0.68rem;
}

.calendar-legend {
    margin-top: 14px;
    font-size: 0.82rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-left: 10px;
}

.legend-swatch.legend-low { background: rgba(16, 185, 129, 0.12); }
.legend-swatch.legend-mid { background: rgba(251, 191, 36, 0.12); }
.legend-swatch.legend-full { background: rgba(248, 113, 113, 0.12); }

/* Room settings cards */
.room-edit-card {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 20px;
}

/* Reports */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

.summary-card {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-card span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
}

.summary-card strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--text-dark);
}

.summary-card.clickable {
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    border: none;
    text-align: left;
    font: inherit;
}

.summary-card.clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.summary-card.attention strong {
    color: #f87171;
}

.quick-launch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
}

.quick-launch-card {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.quick-launch-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--on-gold);
    font-size: 1.05rem;
    flex-shrink: 0;
}

.quick-launch-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.quick-launch-text strong {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--text-dark);
}

.quick-launch-text span {
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-light);
}

.overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.overview-list li {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
}

.overview-list .empty-row {
    color: var(--text-light);
    font-style: italic;
    box-shadow: none;
    background: transparent;
    padding: 8px 16px;
}

/* Info banner (used for the locked-ledger notice, investor dashboard, etc.) */
.investor-note {
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--gold);
    padding: 12px 18px;
    font-size: 0.88rem;
    color: var(--text-light);
}

.investor-note i {
    color: var(--gold);
    margin-right: 8px;
}

.investor-note.danger-note {
    border-left-color: #f87171;
}

.investor-note.danger-note i {
    color: #f87171;
}

/* Simple, human-readable vertical list (Daily Summary / Handover / Cash In-Out) */
.simple-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    background: var(--white);
    box-shadow: var(--shadow);
}

.simple-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--hair);
    font-size: 0.98rem;
}

.simple-list li:last-child {
    border-bottom: none;
}

.simple-list .item-label {
    color: var(--text-dark);
}

.simple-list .item-meta {
    color: var(--text-light);
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
}

.simple-list .item-amount {
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    white-space: nowrap;
}

.simple-list .item-amount.negative {
    color: #f87171;
}

.simple-list .empty-row {
    color: var(--text-light);
    font-style: italic;
    justify-content: center;
}

.simple-total {
    background: var(--charcoal);
    color: var(--text-dark);
    padding: 22px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.simple-total .label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-soft);
}

.simple-total .value {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
}

.status-pill.handed-over {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
}

.status-pill.active-pending {
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 22, 31, 0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-box {
    background: var(--white);
    max-width: 460px;
    width: 100%;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-box .form-group {
    margin-bottom: 14px;
}

.modal-summary {
    background: rgba(255, 255, 255, 0.04);
    padding: 16px 18px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-summary div {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
}

.modal-summary .grand {
    border-top: 1px solid var(--hair);
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
}

/* Room status board */
.room-status-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 10px;
}

.room-status-card {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 18px;
    border-top: 4px solid rgba(255, 255, 255, 0.15);
}

.room-status-card.available {
    border-top-color: #6ee7b7;
}

.room-status-card.occupied {
    border-top-color: #f87171;
}

.room-status-card.booked {
    border-top-color: var(--gold);
}

.room-status-card h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--text-dark);
}

.room-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.room-status-badge.available { color: #6ee7b7; }
.room-status-badge.occupied { color: #f87171; }
.room-status-badge.booked { color: #fbbf24; }

.room-status-dates {
    font-size: 0.82rem;
    color: var(--text-light);
}

.advance-paid-tag {
    display: inline-block;
    background: var(--gold);
    color: var(--on-gold);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    margin-top: 8px;
}

.report-controls {
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.report-controls select {
    padding: 6px 10px;
    border: 1px solid var(--hair);
    font-family: inherit;
}

.chart-card {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.chart-card h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--charcoal);
        flex-direction: column;
        align-items: center;
        padding: 24px 0;
        display: none;
        gap: 22px;
    }

    .nav-menu.active {
        display: flex;
    }

    /* A handful of utility pages (admin, front desk, investor, gift
       voucher, manage booking) force this menu to stay a static horizontal
       row via inline style, opting out of the hamburger collapse above —
       but with no wrap and no width limit, their small utility nav links
       crush together and overlap the logo on narrow screens. Inline style
       doesn't set flex-wrap, gap, or font-size, so these still apply. */
    .nav-container {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .navbar .nav-menu[style*="position: static"] {
        flex-wrap: wrap;
        justify-content: flex-end;
        row-gap: 6px;
        gap: 12px !important;
    }

    .navbar .nav-menu[style*="position: static"] a {
        font-size: 0.78rem;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .booking-form-wrapper,
    .contact-form {
        padding: 28px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-template-areas: none;
        grid-auto-rows: 220px;
    }

    .gallery-lounge, .gallery-tree, .gallery-meet, .gallery-fire, .gallery-patio {
        grid-area: auto;
    }
}

/* ---------------- Front Desk Kiosk ---------------- */
/* Front Desk Kiosk — dark obsidian theme, matching Admin/Room Management */
.kiosk-body {
    background: #0a0b0e;
    min-height: 100vh;
}

.kiosk-page {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    z-index: 1;
}

.kiosk-signed-in {
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 20px;
}

.kiosk-signed-in a {
    color: #d4af37;
    text-decoration: underline;
}

.kiosk-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 48px;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.kiosk-center {
    text-align: center;
}

.kiosk-center h1 {
    font-size: 1.7rem;
    margin: 16px 0 6px;
    color: #ffffff;
}

.kiosk-center h2 {
    font-size: 1.5rem;
    margin: 12px 0 6px;
    text-align: center;
    color: #ffffff;
}

.kiosk-card h2::after {
    display: none;
}

.kiosk-card h1,
.kiosk-card h2 {
    color: #ffffff;
}

.kiosk-card .form-fieldset legend {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.kiosk-icon {
    font-size: 2.6rem;
    color: #d4af37;
}

.kiosk-icon-success {
    color: #10b981;
}

.kiosk-sub {
    color: #9ca3af;
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.kiosk-id-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kiosk-input {
    padding: 18px 16px;
    font-size: 1.3rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    letter-spacing: 0.04em;
}

.kiosk-input::placeholder {
    color: #6b7280;
}

.kiosk-input:focus {
    outline: none;
    border-color: #d4af37;
}

.kiosk-btn-lg {
    width: 100%;
    padding: 18px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.kiosk-btn-lg:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.kiosk-btn-gold {
    background: #d4af37;
    color: #0a0b0e;
}

.kiosk-btn-gold:hover {
    background: #e8c874;
    transform: translateY(-2px);
}

.kiosk-btn-dark {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.kiosk-btn-dark:hover {
    background: rgba(255, 255, 255, 0.14);
}

.kiosk-back-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 0;
}

.kiosk-back-btn:hover {
    color: #d4af37;
}

.kiosk-guest-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.kiosk-guest-summary div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kiosk-guest-summary .label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.kiosk-guest-summary strong {
    font-size: 1.05rem;
    color: #ffffff;
}

.kiosk-request-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 16px 20px;
    color: #ffffff;
}

.kiosk-form .form-group {
    margin-bottom: 18px;
}

.kiosk-form label {
    color: #9ca3af;
}

.kiosk-form input,
.kiosk-form select,
.kiosk-form textarea {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.kiosk-form input::placeholder {
    color: #6b7280;
}

/* ==================================================================
   Crescent Grove investor/event zone — a deliberately dark, glassy
   "premium feature" zone distinct from the rest of the (light, warm)
   guest site, matching the Admin/Investor Dashboard's obsidian theme.
   Scoped entirely under .crescent-zone so nothing here leaks into the
   surrounding light-themed sections.
   ================================================================== */
.crescent-zone {
    background: radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.08), transparent 45%),
                radial-gradient(circle at 85% 80%, rgba(16, 185, 129, 0.06), transparent 45%),
                #0a0b0e;
    color: #ffffff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.crescent-zone .container {
    position: relative;
    z-index: 1;
}

.crescent-zone h2 {
    color: #ffffff;
}

.crescent-zone .section-intro {
    color: #9ca3af;
    text-align: center;
    max-width: 620px;
    margin: 0 auto 50px;
    font-size: 1rem;
}

/* ---- Facility Showcase ---- */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 26px;
}

/* Entrance handled by the shared scroll-triggered .reveal-stagger system
   (see script.js staggerReveal) rather than a load-time animation — this
   section sits far down the page, so firing on load meant the cards had
   finished animating long before a guest ever scrolled to them. */
.facility-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.facility-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.facility-media {
    height: 190px;
    background: linear-gradient(135deg, #14151a, rgba(212, 175, 55, 0.18));
    background-size: cover;
    background-position: center;
    position: relative;
}

.facility-media .facility-buyout-chip {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #e8c874;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
}

.facility-body {
    padding: 22px 22px 26px;
}

.facility-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 0 0 6px;
    color: #ffffff;
}

.facility-body .facility-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 0.78rem;
    color: #9ca3af;
    margin-bottom: 12px;
}

.facility-body .facility-meta span i {
    color: #e8c874;
    margin-right: 4px;
}

.facility-body p {
    color: #9ca3af;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
}

.facility-rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 14px;
}

.facility-rate-row .facility-rate {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #e8c874;
    font-weight: 600;
}

.facility-rate-row .facility-rate span {
    font-size: 0.72rem;
    color: #9ca3af;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    display: block;
}

.facility-view-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #e8c874;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}
.facility-view-btn:hover {
    background: #d4af37;
    color: #0a0b0e;
}

/* ---- Facility detail modal ---- */
.facility-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.82);
    backdrop-filter: blur(6px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.facility-modal-box {
    background: #101115;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    max-width: 720px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    color: #ffffff;
    position: relative;
    animation: modalPop 0.3s ease;
}
@keyframes modalPop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: scale(1); } }

.facility-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 34px; height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.95rem;
}

.facility-modal-gallery {
    height: 280px;
    position: relative;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}
.facility-modal-gallery .fm-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.facility-modal-gallery .fm-slide.active { opacity: 1; }
.facility-modal-gallery .fm-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}
.facility-modal-gallery .fm-nav.prev { left: 14px; }
.facility-modal-gallery .fm-nav.next { right: 14px; }
.facility-modal-gallery .fm-dots {
    position: absolute; bottom: 12px; left: 0; right: 0;
    display: flex; justify-content: center; gap: 6px; z-index: 2;
}
.facility-modal-gallery .fm-dots span {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: background 0.2s ease;
}
.facility-modal-gallery .fm-dots span.active { background: #d4af37; }

.facility-modal-content { padding: 26px 28px 30px; }
.facility-modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.facility-modal-content .facility-modal-meta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 18px;
}
.facility-modal-content .facility-modal-meta span i { color: #e8c874; margin-right: 5px; }

.amenity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.amenity-tag {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: #e8c874;
    font-size: 0.76rem;
    padding: 6px 12px;
    border-radius: 999px;
}

.catering-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}
.catering-tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 0.76rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.catering-tab.active, .catering-tab:hover {
    background: #d4af37;
    border-color: #d4af37;
    color: #0a0b0e;
}
.catering-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.catering-item-row:last-child { border-bottom: none; }
.catering-item-row .ci-name { font-weight: 600; font-size: 0.9rem; color: #fff; }
.catering-item-row .ci-desc { font-size: 0.78rem; color: #9ca3af; margin-top: 2px; }
.catering-item-row .ci-price { color: #e8c874; font-weight: 700; white-space: nowrap; font-family: 'Playfair Display', serif; }

.facility-modal-cta {
    margin-top: 22px;
    display: inline-block;
    background: #d4af37;
    color: #0a0b0e;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}
.facility-modal-cta:hover { background: #e8c874; }

@media (max-width: 860px) {
    .facility-modal-content .facility-modal-meta { gap: 10px; }
}

@media (max-width: 640px) {
    .kiosk-page {
        padding: 24px 12px;
    }

    .kiosk-card {
        padding: 28px 20px;
    }

    .kiosk-guest-summary {
        grid-template-columns: 1fr;
    }
}

/* ---- Guest Reviews (public site) ---- */
.reviews-section {
    padding: 100px 0;
    background: var(--cream);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.review-card {
    background: var(--white);
    padding: 28px;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--gold);
}

.review-card .review-stars {
    color: var(--gold);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.review-card .review-comment {
    color: var(--text-dark);
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 16px;
    font-style: italic;
}

.review-card .review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-light);
    border-top: 1px solid var(--hair);
    padding-top: 12px;
}

.review-card .review-source {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.68rem;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 9px;
    border-radius: 999px;
}

.review-cta {
    text-align: center;
    margin-top: 10px;
}

.review-form {
    max-width: 520px;
    margin: 30px auto 0;
    background: var(--white);
    padding: 32px;
    box-shadow: var(--shadow);
}

.star-picker {
    font-size: 1.6rem;
    color: var(--text-light);
    display: flex;
    gap: 8px;
    cursor: pointer;
}

.star-picker i.active {
    color: var(--gold);
}

/* ---- Manage My Booking (guest self-service) ---- */
.booking-result-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    background: var(--cream);
    padding: 20px;
    margin-bottom: 16px;
}

.booking-result-summary div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.booking-result-summary .label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.booking-result-summary strong {
    font-size: 1.05rem;
    color: var(--text-dark);
}

/* ---- Sales features: scarcity, add-ons, WhatsApp button, social proof ---- */
.scarcity-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(251, 191, 36, 0.12);
    color: #fbbf24;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    margin-top: 6px;
}

.addon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.addon-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--cream);
    padding: 12px 14px;
    cursor: pointer;
    font-size: 0.88rem;
    border: 1px solid var(--hair);
}

.addon-option input {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
}

.addon-option strong {
    display: block;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
}

.whatsapp-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    transition: transform 0.25s ease;
}

.whatsapp-float-btn:hover {
    transform: scale(1.08);
}

/* ---- Sticky booking CTA bar ----
   Hidden via transform (not display) so the slide-in/out actually
   transitions instead of snapping; off-screen at translateY(100%) is
   already unreachable to clicks/focus without needing pointer-events. */
.sticky-cta-bar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 950;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 28px;
    max-width: 620px;
    margin: 0 auto;
    background: rgba(10, 11, 14, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--hair);
    border-radius: 999px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px var(--gold-glow);
    transform: translateY(140%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-cta-price {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.sticky-cta-btn.cta-button {
    padding: 11px 30px;
    font-size: 0.78rem;
    background: var(--gold);
    color: var(--on-gold);
    white-space: nowrap;
    flex-shrink: 0;
}

.sticky-cta-btn.cta-button:hover {
    background: var(--gold-soft);
}

.sticky-cta-btn.cta-button::after {
    opacity: 1;
    transform: translateX(0);
}

/* Move the WhatsApp bubble above the sticky bar instead of letting the two
   fixed-position elements overlap at the bottom-right corner. */
body.has-sticky-cta .whatsapp-float-btn {
    bottom: 92px;
}

@media (max-width: 640px) {
    .sticky-cta-bar {
        padding: 12px 16px;
    }
    .sticky-cta-info {
        font-size: 0.72rem;
        gap: 4px;
    }
    .sticky-cta-price {
        font-size: 1rem;
    }
    .sticky-cta-btn.cta-button {
        padding: 10px 20px;
        font-size: 0.72rem;
    }
    body.has-sticky-cta .whatsapp-float-btn {
        bottom: 84px;
    }
}

.social-proof-bar {
    background: var(--charcoal);
    padding: 30px 0;
}

.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    text-align: center;
}

.social-proof-grid .stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    display: block;
}

.social-proof-grid .stat-label {
    color: #cfcac0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---- Exit-intent offer popup ---- */
.exit-intent-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(20, 22, 31, 0.75);
    z-index: 4000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.exit-intent-box {
    background: var(--white);
    max-width: 420px;
    width: 100%;
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

.exit-intent-box .exit-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-light);
}

.exit-intent-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.exit-intent-code {
    display: inline-block;
    background: var(--cream);
    border: 1px dashed var(--gold);
    padding: 10px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 16px 0;
    color: var(--text-dark);
}

.exit-intent-box .cta-button {
    color: var(--text-dark);
    margin-top: 16px;
}

.exit-intent-box .cta-button:hover {
    color: var(--text-dark);
}

@media (max-width: 640px) {
    .addon-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Mini Bar: sub-tabs, room POS grid, item buttons ---- */
.minibar-subtabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--hair);
}

.minibar-subtab {
    padding: 9px 18px;
    border: 1px solid var(--gold, #c6a15b);
    background: transparent;
    color: inherit;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.82rem;
    font-family: inherit;
    letter-spacing: 0.02em;
    transition: background var(--transition), color var(--transition);
}

.minibar-subtab.active {
    background: var(--gold, #c6a15b);
    color: #14151a;
    font-weight: 700;
}

.minibar-room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.minibar-room-card {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 18px 20px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition);
}

.minibar-room-card:hover {
    transform: translateY(-2px);
}

.minibar-room-card.selected {
    border-color: var(--gold, #c6a15b);
}

.minibar-room-card .room-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.minibar-room-card .room-meta {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 2px;
}

.minibar-room-card .room-guest {
    margin-top: 10px;
    font-size: 0.82rem;
}

.minibar-room-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    margin-right: 6px;
}

.minibar-room-dot.green { background: #6ee7b7; }
.minibar-room-dot.orange { background: #fbbf24; }
.minibar-room-dot.red { background: #f87171; }
.minibar-room-dot.grey { background: #8a8f98; }

.minibar-pos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.minibar-pos-item {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.minibar-pos-item .item-icon {
    font-size: 1.6rem;
}

.minibar-pos-item .item-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.minibar-pos-item .item-price {
    font-size: 0.82rem;
    color: var(--text-light);
}

.minibar-pos-item .item-stock {
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.minibar-pos-item .item-stock.green { color: #6ee7b7; }
.minibar-pos-item .item-stock.orange { color: #fbbf24; }
.minibar-pos-item .item-stock.red { color: #f87171; }

.minibar-pos-item .item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

.minibar-pos-item .item-controls .action-btn {
    white-space: nowrap;
}

.minibar-pos-item .item-controls input[type="number"] {
    width: 54px;
    text-align: center;
}

/* ============================================================
   Self-service check-in kiosk (public/kiosk.html)
   Sized for an unattended lobby tablet at arm's length: larger type and
   much larger touch targets than any of the staff-facing screens, and
   nothing that depends on hover.
   ============================================================ */
.kiosk-selfservice .ks-state {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.kiosk-selfservice .ks-idle-logo {
    width: 84px;
    margin-bottom: 26px;
    opacity: 0.95;
}

.kiosk-selfservice .ks-idle-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.1rem);
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
}

.kiosk-selfservice .ks-idle-sub {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 38px;
}

.kiosk-selfservice .ks-idle-help {
    margin-top: 30px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.45);
}

/* Deliberately oversized — this is pressed with a thumb, standing up,
   sometimes by someone who has been travelling all day. */
.kiosk-selfservice .ks-touch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 76px;
    padding: 0 54px;
    font-family: inherit;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--charcoal, #14161f);
    background: linear-gradient(135deg, #d4af37, #e8c874);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 14px 40px rgba(212, 175, 55, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kiosk-selfservice .ks-touch-btn:active {
    transform: scale(0.97);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.28);
}

.kiosk-selfservice .ks-touch-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.kiosk-selfservice .ks-touch-btn--quiet {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    margin-top: 34px;
}

.kiosk-selfservice .ks-panel {
    width: 100%;
    max-width: 620px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 44px 40px;
    backdrop-filter: blur(14px);
}

.kiosk-selfservice .ks-panel h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    color: #fff;
    margin-bottom: 8px;
}

.kiosk-selfservice .ks-panel-sub {
    color: rgba(255, 255, 255, 0.62);
    font-size: 1rem;
    margin-bottom: 30px;
}

.kiosk-selfservice .ks-field {
    text-align: left;
    margin-bottom: 22px;
}

.kiosk-selfservice .ks-field label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 10px;
    font-weight: 600;
}

.kiosk-selfservice .ks-input {
    width: 100%;
    min-height: 66px;
    padding: 0 20px;
    font-family: inherit;
    font-size: 1.25rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
}

.kiosk-selfservice .ks-input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.09);
}

.kiosk-selfservice .ks-details {
    text-align: left;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kiosk-selfservice .ks-details > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    padding: 15px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.kiosk-selfservice .ks-details dt {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
}

.kiosk-selfservice .ks-details dd {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: right;
}

.kiosk-selfservice .ks-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    margin-bottom: 26px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    text-align: left;
}

.kiosk-selfservice .ks-balance strong {
    color: #e8c874;
    font-size: 1.2rem;
}

.kiosk-selfservice .ks-back {
    position: absolute;
    top: 30px;
    left: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.75);
    font-family: inherit;
    font-size: 0.92rem;
    cursor: pointer;
}

.kiosk-selfservice .ks-tick {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin-bottom: 26px;
    background: rgba(16, 185, 129, 0.14);
    border: 2px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
}

.kiosk-selfservice .ks-tick--warn {
    background: rgba(212, 175, 55, 0.13);
    border-color: rgba(212, 175, 55, 0.5);
    color: #e8c874;
}

/* The room number is what the guest is here for — it should be readable
   from a step back, and is the largest thing on any kiosk screen. */
.kiosk-selfservice .ks-roomnum {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 4.5vw, 2.6rem);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 10px;
}

.kiosk-selfservice .ks-roomnum strong {
    color: #e8c874;
    font-size: 1.5em;
}

.kiosk-selfservice .ks-nextsteps {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.02rem;
}

.kiosk-selfservice .ks-nextsteps i {
    color: #e8c874;
    margin-right: 10px;
}

.kiosk-selfservice .ks-msg {
    margin-top: 18px;
    font-size: 1rem;
}

@media (max-width: 640px) {
    .kiosk-selfservice .ks-state { padding: 80px 20px 40px; }
    .kiosk-selfservice .ks-panel { padding: 32px 22px; }
    .kiosk-selfservice .ks-touch-btn { width: 100%; padding: 0 24px; }
    .kiosk-selfservice .ks-back { top: 18px; left: 18px; }
}
