/* ==========================================================================
   PRODUCTION BUILD & MINIFICATION READINESS:
   This stylesheet is structured for lossless production compression via cssnano
   or CleanCSS. Modular token variables, scoped selectors, and hardware-accelerated
   animations are production-optimized. Minification readiness confirmed.
   ========================================================================== */

/* ==========================================================================
   Rustic House & Café — Design System

   Desktop-first: the base rules below describe the full-width layout, and the
   max-width queries near the bottom step it down for tablets and phones.
   Type and spacing are fluid (clamp) so the scale never jumps at a breakpoint.
   ========================================================================== */

:root {
    /* --- Palette (wabi-sabi: warm wood, sand, charcoal) --- */
    --primary: #8C5A3C;
    --primary-hover: #70472F;
    --primary-soft: rgba(140, 90, 60, 0.12);
    --sand: #DBCDB4;
    --sand-deep: #C9B694;
    --ink: #2D2A26;
    --ink-soft: #4A4A4A;
    --ink-mute: #7A736B;
    --cream: #F8F5F0;
    --cream-warm: #F3EEE6;
    --white: #FFFFFF;
    --line: rgba(45, 42, 38, 0.10);
    --line-light: rgba(255, 255, 255, 0.14);
    --whatsapp: #25D366;

    /* Legacy aliases so older selectors keep working */
    --primary-color: var(--primary);
    --secondary-color: var(--sand);
    --dark-color: var(--ink);
    --light-color: var(--cream);
    --text-color: var(--ink-soft);

    /* --- Type --- */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --fs-eyebrow: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-body: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
    --fs-lead: clamp(1.02rem, 0.98rem + 0.28vw, 1.15rem);
    --fs-h3: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
    --fs-h2: clamp(1.85rem, 1.45rem + 1.8vw, 2.85rem);
    --fs-h1: clamp(2.3rem, 1.4rem + 4.2vw, 4.5rem);
    --fs-quote: clamp(1.25rem, 1rem + 1.2vw, 1.9rem);

    /* --- Spacing scale --- */
    --space-1: 0.5rem;
    --space-2: 0.75rem;
    --space-3: 1rem;
    --space-4: 1.5rem;
    --space-5: 2rem;
    --space-6: 2.5rem;
    --space-7: 3.5rem;
    --gutter: clamp(1.125rem, 4vw, 2.5rem);
    --section-y: clamp(4rem, 9vw, 7.5rem);
    --stack: clamp(2rem, 5vw, 3.5rem);

    /* --- Shape & depth --- */
    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-pill: 999px;
    --shadow-sm: 0 2px 8px rgba(45, 42, 38, 0.06);
    --shadow-md: 0 12px 32px -12px rgba(45, 42, 38, 0.18);
    --shadow-lg: 0 26px 60px -20px rgba(45, 42, 38, 0.28);

    /* --- Motion --- */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --t-fast: 180ms var(--ease-out);
    --t-base: 320ms var(--ease-out);
    --t-slow: 700ms var(--ease-out);

    --header-h: 68px;
    --maxw: 1200px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

* { margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

/* scroll-padding-top covers anchor jumps; scroll-margin-top is the
   per-target fallback for browsers that ignore it on the root. */
section[id], [id="location"], #booking-form {
    scroll-margin-top: calc(var(--header-h) + 12px);
}

section#home { scroll-margin-top: 0; }

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--ink-soft);
    line-height: 1.65;
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Prevent background scroll while the mobile drawer is open */
body.nav-open { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

p { text-wrap: pretty; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

::selection {
    background: var(--primary);
    color: var(--white);
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}
.bg-dark a:focus-visible,
.bg-dark button:focus-visible,
.bg-dark input:focus-visible,
.bg-dark textarea:focus-visible,
.hero a:focus-visible,
.showcase a:focus-visible {
    outline-color: var(--sand);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   Layout primitives
   ========================================================================== */

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

.section {
    padding-block: var(--section-y);
    position: relative;
}

.bg-light { background-color: var(--cream); }
.bg-dark  { background-color: var(--ink); color: rgba(255, 255, 255, 0.78); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }

.text-center { text-align: center; }
.text-white  { color: var(--white); }
.text-light  { color: rgba(255, 255, 255, 0.72); }

.mt-2 { margin-top: var(--space-3); }
.mt-3 { margin-top: var(--space-5); }
.mb-3 { margin-bottom: var(--space-5); }

/* Section header — centred, with a measured lead line */
.section-header {
    max-width: 46rem;
    margin-inline: auto;
    margin-bottom: var(--stack);
    text-align: center;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: var(--space-2);
}
.eyebrow--light { color: var(--sand); }

.bg-dark .eyebrow { color: var(--sand); }

.section-title {
    font-size: var(--fs-h2);
    margin-bottom: var(--space-3);
}

.section-lead {
    font-size: var(--fs-lead);
    color: var(--ink-mute);
    max-width: 42rem;
    margin-inline: auto;
}
.bg-dark .section-lead,
.showcase .section-lead { color: rgba(255, 255, 255, 0.72); }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 46px;
    padding: 0.75rem 1.6rem;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.975rem;
    line-height: 1.25;
    cursor: pointer;
    text-align: center;
    border: 1.5px solid transparent;
    transition: background-color var(--t-fast), color var(--t-fast),
                border-color var(--t-fast), transform var(--t-fast),
                box-shadow var(--t-fast);
    will-change: transform;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 18px -8px rgba(140, 90, 60, 0.9);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 14px 28px -12px rgba(140, 90, 60, 0.95);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* On photos / dark panels */
.btn-ghost {
    background-color: rgba(255, 255, 255, 0.10);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background-color: var(--white);
    color: var(--ink);
    border-color: var(--white);
}

.btn-sm {
    min-height: 40px;
    padding: 0.5rem 1.15rem;
    font-size: 0.9rem;
}

.btn-large {
    min-height: 54px;
    padding: 0.95rem 2.1rem;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding-block: 0.75rem;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color var(--t-base), box-shadow var(--t-base),
                border-color var(--t-base), padding var(--t-base);
}

/* Solid, frosted state once the hero has scrolled past */
.header.scrolled {
    background: rgba(248, 245, 240, 0.82);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom-color: var(--line);
    box-shadow: 0 4px 24px -12px rgba(45, 42, 38, 0.35);
    padding-block: 0.5rem;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
    min-height: 48px;
}

/* Language switch + mobile toggle share a slot so they never collide */
.nav-tools {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    order: 3;
}

/* A dropdown rather than a row of pills — four codes side by side would
   crowd the logo out on a phone. */
.lang-switch { position: relative; }

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0 0.7rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    transition: background-color var(--t-base), border-color var(--t-base),
                color var(--t-base);
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.24);
    color: var(--white);
}

.header.scrolled .lang-toggle {
    background: rgba(140, 90, 60, 0.10);
    border-color: rgba(140, 90, 60, 0.22);
    color: var(--primary);
}
.header.scrolled .lang-toggle:hover { background: rgba(140, 90, 60, 0.18); }

.lang-caret {
    font-size: 0.6rem;
    opacity: 0.7;
    transition: transform var(--t-fast);
}

.lang-toggle[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1200;
    min-width: 12rem;
    padding: 6px;
    border-radius: var(--r-md);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    min-height: 42px;
    padding: 0 0.7rem;
    border: none;
    border-radius: var(--r-sm);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast);
}

.lang-option:hover { background: var(--cream); }

.lang-option-code {
    flex: none;
    min-width: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
}

.lang-option.is-active {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}
.lang-option.is-active .lang-option-code { color: var(--primary); }

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
    font-weight: 600;
    color: var(--white);
    transition: color var(--t-base);
    white-space: nowrap;
}

.logo-mark {
    width: 26px;
    height: 26px;
    flex: none;
    border-radius: 7px;
    background: var(--primary);
    position: relative;
}
.logo-mark::after {
    content: '';
    position: absolute;
    inset: 7px;
    border-radius: 2px;
    background: var(--cream);
    clip-path: polygon(50% 0, 100% 45%, 85% 45%, 85% 100%, 15% 100%, 15% 45%, 0 45%);
}

.header.scrolled .logo { color: var(--primary); }

.nav {
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 1.7vw, 1.8rem);
    margin-left: auto;
    margin-right: var(--space-4);
}

.nav a:not(.btn) {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.92);
    position: relative;
    padding-block: 4px;
    transition: color var(--t-fast);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.header.scrolled .nav a:not(.btn) {
    color: var(--ink);
    text-shadow: none;
}

.nav a:not(.btn)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--t-base);
}

.nav a:not(.btn):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header.scrolled .nav a:not(.btn):hover { color: var(--primary); }

.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-right: -8px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: var(--r-pill);
    font-size: 1.2rem;
    color: var(--white);
    cursor: pointer;
    transition: background-color var(--t-fast), color var(--t-fast);
}

.header.scrolled .mobile-menu-btn {
    background: var(--primary-soft);
    color: var(--primary);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-block: calc(var(--header-h) + 2rem) clamp(5rem, 12vw, 8rem);
    overflow: hidden;
    isolation: isolate;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* A slow drift instead of background-attachment: fixed, which stutters
       on desktop and is silently ignored on iOS. */
    animation: hero-drift 26s var(--ease-out) infinite alternate;
}

@keyframes hero-drift {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to   { transform: scale(1.14) translate3d(0, -1.5%, 0); }
}

.hero-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(105deg, rgba(20, 17, 14, 0.82) 0%, rgba(20, 17, 14, 0.5) 45%, rgba(20, 17, 14, 0.18) 100%),
        linear-gradient(to top, rgba(20, 17, 14, 0.7) 0%, rgba(20, 17, 14, 0) 42%);
}

.hero-inner {
    position: relative;
    color: var(--white);
    max-width: 60rem;
}

.hero-eyebrow {
    font-size: var(--fs-eyebrow);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: var(--space-4);
}

.hero-title {
    color: var(--white);
    font-size: var(--fs-h1);
    font-weight: 500;
    line-height: 1.04;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-4);
    max-width: 18ch;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1rem + 0.5vw, 1.3rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 34rem;
    margin-bottom: var(--space-6);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.hero-ota-label {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2);
}

.ota-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.ota-btn {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    min-height: 40px;
    padding: 0.5rem 0.95rem;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--r-pill);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    transition: background-color var(--t-fast), color var(--t-fast),
                border-color var(--t-fast), transform var(--t-fast);
}

.ota-btn strong {
    font-weight: 700;
    color: var(--sand);
    transition: color var(--t-fast);
}

.ota-btn:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
    transform: translateY(-2px);
}
.ota-btn:hover strong { color: var(--primary); }

/* ==========================================================================
   Hero Direct Booking Conversion Badge (R2 Above-the-Fold)
   ========================================================================== */

.hero-direct-badge {
    margin-top: var(--space-2);
    margin-bottom: var(--space-4);
    max-width: 40rem;
}

.hero-direct-cta {
    display: inline-flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.85rem 1.35rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--r-md);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--white);
    text-decoration: none;
    transition: background-color var(--t-fast), border-color var(--t-fast),
                transform var(--t-fast), box-shadow var(--t-fast);
}

.hero-direct-cta:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: var(--sand);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.direct-badge-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    color: #FFFFFF;
}

.direct-badge-icon {
    font-size: 1.1rem;
}

.direct-badge-scores {
    font-size: 0.825rem;
    color: var(--sand);
    line-height: 1.4;
}

.direct-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFE3B3;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ==========================================================================
   Animated "Did You Know?" Ticker Bar (R1)
   ========================================================================== */

.ticker-bar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    background: linear-gradient(90deg, #C28B53 0%, #D8AA6A 50%, #C28B53 100%);
    color: #24190E;
    font-size: 0.875rem;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    border-bottom: 1px solid rgba(36, 25, 14, 0.15);
    box-shadow: 0 4px 16px rgba(45, 42, 38, 0.08);
    overflow: hidden;
}

.ticker-badge,
.ticker-prefix {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0 1.25rem;
    height: 100%;
    background: #70472F;
    color: #FFFFFF;
    font-size: 0.825rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.ticker-badge-sparkle {
    font-size: 1rem;
}

.ticker-viewport {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent, black 1.5rem, black calc(100% - 1.5rem), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 1.5rem, black calc(100% - 1.5rem), transparent);
}

.ticker-track {
    display: inline-flex;
    width: max-content;
    will-change: transform;
    animation: ticker-scroll 32s linear infinite;
}

.ticker-bar:hover .ticker-track,
.ticker-bar:focus-within .ticker-track {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

.ticker-group {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    padding-right: 1.5rem;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    letter-spacing: 0.01em;
}

.ticker-icon {
    font-size: 0.95rem;
}

.ticker-bullet {
    opacity: 0.45;
    font-size: 0.8rem;
}

/* Scroll cue */
.hero-cue {
    position: absolute;
    left: 50%;
    bottom: clamp(1.25rem, 3vw, 2.25rem);
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-cue-line {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85));
    transform-origin: bottom;
    animation: cue-pulse 2.4s var(--ease-out) infinite;
}

@keyframes cue-pulse {
    0%, 100% { transform: scaleY(0.35); opacity: 0.35; }
    50%      { transform: scaleY(1);    opacity: 1; }
}

/* ==========================================================================
   Philosophy band — a breath between hero and story, not a full screen
   ========================================================================== */

.philosophy {
    background-color: var(--sand);
    color: var(--ink);
    padding-block: clamp(3rem, 7vw, 5rem);
    text-align: center;
}

.quote-mark {
    display: block;
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 0.6;
    color: var(--primary);
    opacity: 0.35;
    margin-bottom: var(--space-3);
}

.philosophy-text {
    font-family: var(--font-heading);
    font-size: var(--fs-quote);
    font-style: italic;
    line-height: 1.45;
    color: var(--ink);
    max-width: 40rem;
    margin-inline: auto;
}

.divider {
    width: 56px;
    height: 2px;
    background-color: var(--primary);
    margin: var(--space-5) auto 0;
    opacity: 0.6;
}

/* ==========================================================================
   Showcase (About / Café) — full-bleed photo + glass panel
   ========================================================================== */

.showcase {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(88vh, 780px);
    padding-block: var(--section-y);
    overflow: hidden;
    isolation: isolate;
    color: rgba(255, 255, 255, 0.85);
}

.showcase-media {
    position: absolute;
    inset: -12% 0;
    z-index: -2;
}

.showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

.showcase-scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to right, rgba(18, 16, 14, 0.28), rgba(18, 16, 14, 0.72));
}
.showcase--left .showcase-scrim {
    background: linear-gradient(to left, rgba(18, 16, 14, 0.28), rgba(18, 16, 14, 0.72));
}

.showcase-inner {
    display: flex;
}
.showcase--right .showcase-inner { justify-content: flex-end; }
.showcase--left  .showcase-inner { justify-content: flex-start; }

.panel {
    max-width: 34rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border-radius: var(--r-lg);
    background: rgba(30, 27, 24, 0.72);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
    color: rgba(255, 255, 255, 0.86);
}

.panel h2, .panel h3 { color: var(--white); }
.panel .eyebrow { color: var(--sand); }
.panel p + p { margin-top: var(--space-3); }
.panel .section-title { margin-bottom: var(--space-4); }

/* Keeps the old .glass-box markup working if it reappears anywhere */
.glass-box {
    max-width: 34rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
}
.glass-box.dark {
    background: rgba(30, 27, 24, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
}
.glass-box.dark h2, .glass-box.dark h3 { color: var(--white); }

.features-list {
    margin-top: var(--space-5);
    display: grid;
    gap: var(--space-3);
}

.features-list li {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    align-items: start;
    gap: var(--space-2);
    font-size: 1rem;
    line-height: 1.5;
}

.features-list i {
    color: var(--sand);
    font-size: 0.85rem;
    margin-top: 0.45em;
}

/* ==========================================================================
   Story timeline
   ========================================================================== */

.story { background-color: var(--white); }

.story-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

/* The intro holds its place while the milestones scroll past it */
.story-intro {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
}

.story-lead {
    font-size: var(--fs-lead);
    color: var(--ink-mute);
    margin-bottom: var(--space-5);
}

.story-cta { margin-top: var(--space-2); }

.timeline {
    position: relative;
    display: grid;
    gap: clamp(1.75rem, 3.5vw, 2.75rem);
    padding-left: var(--space-6);
}

/* The connecting line, drawn behind the dots */
.timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--sand) 0%,
        var(--sand) 85%,
        rgba(219, 205, 180, 0) 100%
    );
}

.milestone { position: relative; }

.milestone::before {
    content: '';
    position: absolute;
    left: calc(var(--space-6) * -1);
    top: 0.55rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 4px var(--white);
}

.milestone-year {
    display: inline-block;
    margin-bottom: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary);
}

.milestone-body h3 {
    font-size: var(--fs-h3);
    margin-bottom: var(--space-2);
}

.milestone-body p {
    color: var(--ink-mute);
    max-width: 34rem;
}

/* Empty-slot state */
.milestone.is-empty::before {
    border-color: var(--sand-deep);
    border-style: dashed;
}

.milestone.is-empty .milestone-year,
.milestone.is-empty .milestone-body h3 {
    color: var(--ink-mute);
    opacity: 0.7;
}

.milestone.is-empty .milestone-body p {
    font-style: italic;
    opacity: 0.6;
}

/* ==========================================================================
   Rooms
   ========================================================================== */

/* Four rooms sit as a balanced 2 x 2 — auto-fit would leave an orphan row */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.room-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base),
                border-color var(--t-base);
}

.room-card:hover {
    transform: translateY(-6px);
    border-color: rgba(140, 90, 60, 0.28);
    box-shadow: var(--shadow-lg);
}

.room-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--cream-warm);
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms var(--ease-out);
}

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

.room-index {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
    padding-inline: 0.6rem;
    border-radius: var(--r-pill);
    background: rgba(20, 17, 14, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--white);
}

/* Flex column so every card's CTA lines up on the same baseline */
.room-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(1.25rem, 3vw, 1.9rem);
}

.room-info h3 {
    font-size: var(--fs-h3);
    margin-bottom: var(--space-2);
}

.room-info > p {
    color: var(--ink-mute);
    font-size: 0.975rem;
    margin-bottom: var(--space-4);
}

.room-amenities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
    gap: 0.6rem var(--space-3);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--line);
}

.room-amenities > span {
    display: grid;
    grid-template-columns: 1.1rem 1fr;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.35;
}

.room-amenities i {
    color: var(--primary);
    font-size: 0.85rem;
    justify-self: center;
}

/* Pins the CTA to the bottom of a card no matter how long the copy runs */
.room-cta { margin-top: auto; }

.rooms-footer {
    margin-top: var(--stack);
    text-align: center;
}

.rooms-note {
    font-size: var(--fs-sm);
    font-style: italic;
    color: var(--ink-mute);
    max-width: 40rem;
    margin: 0 auto var(--space-4);
}

/* ==========================================================================
   Special offers — a dark band so the commercial moment stands apart from
   the cream Rooms section above it
   ========================================================================== */

.offers {
    background-color: var(--ink);
    color: rgba(255, 255, 255, 0.78);
}

.offers .section-title { color: var(--white); }
.offers .section-lead { color: rgba(255, 255, 255, 0.7); }

.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.package {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-light);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform var(--t-base), border-color var(--t-base),
                box-shadow var(--t-base);
}

.package:hover {
    transform: translateY(-6px);
    border-color: rgba(219, 205, 180, 0.45);
    box-shadow: var(--shadow-lg);
}

.package-photo {
    position: relative;
    aspect-ratio: 3 / 2;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.package-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms var(--ease-out);
}

.package:hover .package-photo img { transform: scale(1.05); }

.package-photo > i {
    font-size: 2.25rem;
    color: var(--sand);
    opacity: 0.55;
}

.package-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    z-index: 1;
    padding: 0.3rem 0.75rem;
    border-radius: var(--r-pill);
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.8);
}

.package-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(1.25rem, 3vw, 1.9rem);
}

.package-body h3 {
    font-size: var(--fs-h3);
    color: var(--white);
    margin-bottom: var(--space-2);
}

.package-desc {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.975rem;
    margin-bottom: var(--space-4);
}

.package-includes {
    display: grid;
    gap: 0.6rem;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--line-light);
}

.package-includes li {
    display: grid;
    grid-template-columns: 1.1rem 1fr;
    align-items: start;
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.package-includes i {
    color: var(--sand);
    font-size: 0.85rem;
    margin-top: 0.3em;
}

/* Empty-slot state — dashed and muted until the real content replaces it */
.package.is-empty {
    background: transparent;
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.22);
}

.package.is-empty:hover {
    transform: none;
    box-shadow: none;
}

.package-includes.is-empty li {
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
}

.package-includes.is-empty i { color: rgba(255, 255, 255, 0.25); }

/* Pins every CTA to the same baseline regardless of copy length */
.package-cta { margin-top: auto; }

.offers-note {
    margin-top: var(--stack);
    text-align: center;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Amenities & services
   ========================================================================== */

.amenities {
    background:
        radial-gradient(120% 60% at 50% 0%, var(--cream-warm) 0%, var(--white) 62%);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.amenity-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: var(--space-3);
    padding: clamp(1.1rem, 2.2vw, 1.6rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base),
                border-color var(--t-base);
}

.amenity-card:hover {
    transform: translateY(-4px);
    border-color: rgba(140, 90, 60, 0.28);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: var(--r-md);
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.15rem;
}

/* Font Awesome 6.0 lacks a few newer glyph names; the fallback shows only
   when the primary icon renders no glyph. */
.amenity-icon .amenity-icon-fallback { display: none; }

.amenity-body h3 {
    font-size: 1.02rem;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.005em;
    margin-bottom: 0.3rem;
}

.amenity-body p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--ink-mute);
}

.tag {
    flex: none;
    align-self: start;
    padding: 0.2rem 0.6rem;
    border-radius: var(--r-pill);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.tag--free {
    background: rgba(46, 125, 80, 0.10);
    color: #2E7D32;
}

.tag--paid {
    background: rgba(140, 90, 60, 0.12);
    color: var(--primary);
}

.tag--neutral {
    background: rgba(45, 42, 38, 0.08);
    color: var(--ink);
}

/* Full-width feature card — keeps the row count even and gives one
   distinctive amenity room to breathe. */
.amenity-card--feature {
    grid-column: 1 / -1;
    align-items: center;
    gap: var(--space-4);
    background:
        linear-gradient(110deg, var(--sand) 0%, var(--cream-warm) 55%, var(--white) 100%);
    border-color: rgba(140, 90, 60, 0.22);
}

.amenity-card--feature .amenity-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.amenity-card--feature .amenity-body h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-h3);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
}

.amenity-card--feature .amenity-body p {
    font-size: 0.95rem;
    color: var(--ink-soft);
    max-width: 46rem;
}

.amenity-card--feature .tag { align-self: center; }

/* ==========================================================================
   Team / About us
   ========================================================================== */

/* White here so it reads as a distinct band against the cream Reviews
   section that follows it. */
.team { background-color: var(--white); }

.team-grid {
    display: grid;
    /* auto-fit so adding or removing a member keeps the row balanced */
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.member {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base),
                border-color var(--t-base);
}

.member:hover {
    transform: translateY(-6px);
    border-color: rgba(140, 90, 60, 0.28);
    box-shadow: var(--shadow-lg);
}

.member-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    display: grid;
    place-items: center;
    background: var(--cream-warm);
    overflow: hidden;
}

.member-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 900ms var(--ease-out);
}

.member:hover .member-photo img { transform: scale(1.05); }

/* Empty-slot placeholder */
.member-photo i {
    font-size: 2rem;
    color: var(--sand-deep);
    opacity: 0.7;
}

.member.is-empty {
    background: transparent;
    border-style: dashed;
    border-color: rgba(140, 90, 60, 0.28);
    box-shadow: none;
}

.member.is-empty:hover {
    transform: none;
    box-shadow: none;
}

.member.is-empty .member-photo {
    background: rgba(219, 205, 180, 0.28);
}

.member.is-empty .member-body h3,
.member.is-empty .member-role {
    color: var(--ink-mute);
    opacity: 0.75;
}

.member-body {
    padding: var(--space-3) var(--space-4) var(--space-4);
}

.member-body h3 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.member-role {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
}

.member-note {
    margin-top: var(--space-2);
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--ink-mute);
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.ota-rating-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--stack);
}

.ota-rating-badge {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    color: inherit;
    transition: transform var(--t-base), box-shadow var(--t-base),
                border-color var(--t-base);
}

.ota-rating-badge:hover {
    transform: translateY(-4px);
    border-color: rgba(140, 90, 60, 0.3);
    box-shadow: var(--shadow-md);
}

.ota-score {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    flex: none;
}

.ota-score-max {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--ink-mute);
}

.ota-platform {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--ink);
}
.ota-platform i { color: var(--primary); margin-right: 0.35rem; }

.ota-verdict {
    display: block;
    font-size: 0.775rem;
    color: var(--ink-mute);
    line-height: 1.4;
}

/* ==========================================================================
   Reviews Section Direct Booking Trust Banner (R2)
   ========================================================================== */

.direct-booking-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    background: linear-gradient(135deg, var(--cream-warm) 0%, #EFE7DA 100%);
    border: 1px solid rgba(140, 90, 60, 0.25);
    border-radius: var(--r-lg);
    padding: var(--space-4) var(--space-5);
    margin-top: var(--space-4);
    margin-bottom: var(--stack);
    box-shadow: var(--shadow-sm);
}

.direct-banner-content {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.direct-banner-icon-wrap {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--r-pill);
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.4rem;
}

.direct-banner-title {
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.direct-banner-desc {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 0;
}

.direct-banner-cta {
    flex: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.review-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--white);
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.review-card::after {
    content: '\201D';
    position: absolute;
    right: 1.25rem;
    bottom: 0.25rem;
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.07;
    pointer-events: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.stars {
    color: #E0A928;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.review-badge-score {
    flex: none;
    background-color: var(--primary-soft);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.25rem 0.7rem;
    border-radius: var(--r-pill);
}

.review-text {
    flex: 1;
    font-size: 0.975rem;
    font-style: italic;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: var(--space-4);
}

.reviewer {
    padding-top: var(--space-3);
    border-top: 1px solid var(--line);
}

.reviewer strong {
    display: block;
    font-weight: 600;
    color: var(--ink);
}

.reviewer span {
    font-size: 0.78rem;
    color: var(--ink-mute);
    line-height: 1.4;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: start;
}

.contact-info-title {
    font-size: var(--fs-h3);
    color: var(--white);
    margin-bottom: var(--space-3);
}

.contact-info-lead {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-5);
    max-width: 34rem;
}

.contact-list {
    display: grid;
    gap: var(--space-4);
}

.contact-list li {
    display: grid;
    grid-template-columns: 2.25rem 1fr;
    align-items: start;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.contact-list i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.07);
    color: var(--sand);
    font-size: 0.9rem;
}

.contact-list a {
    color: var(--white);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    transition: color var(--t-fast), border-color var(--t-fast);
}
.contact-list a:hover {
    color: var(--sand);
    border-bottom-color: var(--sand);
}

.social-links {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-5);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line-light);
    color: var(--white);
    border-radius: var(--r-pill);
    transition: background-color var(--t-fast), transform var(--t-fast),
                border-color var(--t-fast);
}

.social-icon:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Form */
.form {
    background-color: var(--white);
    padding: clamp(1.35rem, 3.5vw, 2.5rem);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    color: var(--ink-soft);
}

.form-title {
    font-size: var(--fs-h3);
    margin-bottom: var(--space-4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--space-3);
}

.form-group { margin-bottom: var(--space-4); }

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.825rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--ink);
}

.form-control {
    width: 100%;
    /* 16px keeps iOS Safari from zooming the viewport on focus */
    font-size: 16px;
    font-family: var(--font-body);
    padding: 0.85rem 1rem;
    color: var(--ink);
    background: var(--cream);
    border: 1.5px solid transparent;
    border-radius: var(--r-sm);
    transition: border-color var(--t-fast), background-color var(--t-fast),
                box-shadow var(--t-fast);
}

.form-control::placeholder { color: var(--ink-mute); opacity: 0.75; }

.form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
}

textarea.form-control { resize: vertical; min-height: 7rem; }

.form-feedback {
    margin-top: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--r-sm);
    font-size: 0.925rem;
    line-height: 1.55;
}

.form-feedback.success {
    background-color: #F0FDF4;
    border: 1px solid #BBF7D0;
    color: #166534;
}

.form-feedback a { color: #166534; }

.form-feedback-title {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.form-feedback-body { margin-bottom: var(--space-3); }

.btn-whatsapp {
    background-color: var(--whatsapp);
    border-color: var(--whatsapp);
    color: var(--white);
}
.btn-whatsapp:hover {
    background-color: #12A150;
    border-color: #12A150;
    color: var(--white);
}

/* Map */
.map-container {
    margin-top: var(--stack);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line-light);
    box-shadow: var(--shadow-lg);
    line-height: 0;
}

.map-container iframe {
    width: 100%;
    aspect-ratio: 21 / 7;
    border: 0;
    filter: grayscale(0.25) contrast(1.05);
    transition: filter var(--t-base);
}
.map-container:hover iframe { filter: none; }

/* ==========================================================================
   Staff area — internal, sits between the guest page and the footer
   ========================================================================== */

.staff {
    background: #23201D;
    color: rgba(255, 255, 255, 0.6);
    padding-block: clamp(2.25rem, 5vw, 3.5rem);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.staff-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.staff-title {
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
    color: var(--white);
    margin-bottom: 0.3rem;
}

.staff-lead {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 42rem;
}

.staff-panel {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.staff-card {
    display: grid;
    grid-template-columns: 2rem 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0.15rem var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--r-md);
    transition: background-color var(--t-fast), border-color var(--t-fast),
                transform var(--t-fast);
}

.staff-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(219, 205, 180, 0.35);
    transform: translateY(-2px);
}

.staff-card i {
    grid-row: 1 / 3;
    justify-self: center;
    font-size: 1.05rem;
    color: var(--sand);
}

.staff-card strong {
    color: var(--white);
    font-size: 0.925rem;
    font-weight: 600;
    line-height: 1.35;
}

.staff-card span {
    font-size: 0.775rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

.staff .btn-ghost {
    flex: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background-color: #1A1816;
    color: rgba(255, 255, 255, 0.55);
    padding-block: clamp(3rem, 6vw, 4.5rem) var(--space-4);
    font-size: 0.925rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: var(--space-6);
}

.footer-logo {
    color: var(--white);
    margin-bottom: var(--space-3);
}

.footer-brand p { max-width: 22rem; }

.footer-title {
    color: var(--white);
    margin-bottom: var(--space-3);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 0.65rem;
}

.footer-links a {
    display: inline-block;
    transition: color var(--t-fast), transform var(--t-fast);
}

.footer-links a:hover {
    color: var(--sand);
    transform: translateX(4px);
}

.footer-links--plain a { border-bottom: 1px solid rgba(255, 255, 255, 0.18); }

.footer-bottom {
    margin-top: clamp(2rem, 5vw, 3rem);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    text-align: center;
    font-size: 0.825rem;
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */

@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    position: fixed;
    right: max(var(--space-3), env(safe-area-inset-right));
    bottom: max(var(--space-3), env(safe-area-inset-bottom));
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--r-pill);
    background-color: var(--whatsapp);
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.45);
    transition: transform var(--t-base), background-color var(--t-base);
    animation: pulse-green 2.8s infinite;
}

.whatsapp-float:hover {
    background-color: #12A150;
    transform: scale(1.08);
    color: var(--white);
}

/* ==========================================================================
   Sticky Direct Booking Pill (R2 Floating Conversion)
   ========================================================================== */

.sticky-book-badge {
    position: fixed;
    left: max(var(--space-4), env(safe-area-inset-left));
    bottom: max(var(--space-4), env(safe-area-inset-bottom));
    z-index: 998;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--r-pill);
    box-shadow: 0 8px 24px -4px rgba(45, 42, 38, 0.35);
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity var(--t-base), transform var(--t-base), background-color var(--t-fast);
}

.sticky-book-badge.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.sticky-book-badge:hover {
    background: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(45, 42, 38, 0.45);
}

/* ==========================================================================
   Motion — entrance animations
   ========================================================================== */

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--t-slow), transform var(--t-slow);
}

.fade-up.visible {
    opacity: 1;
    transform: none;
}

/* Stagger children of a grid as they come into view */
.rooms-grid .fade-up:nth-child(2),
.reviews-grid .fade-up:nth-child(2) { transition-delay: 80ms; }
.rooms-grid .fade-up:nth-child(3),
.reviews-grid .fade-up:nth-child(3) { transition-delay: 160ms; }
.rooms-grid .fade-up:nth-child(4),
.reviews-grid .fade-up:nth-child(4) { transition-delay: 240ms; }

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* Hero copy animates on load, not on scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    animation: reveal-up 900ms var(--ease-out) forwards;
    animation-delay: calc(140ms * var(--i, 0) + 120ms);
}

@keyframes reveal-up {
    to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Breakpoints — the desktop layout above steps down from here
   ========================================================================== */

/* --- Narrow laptops: relieve the widest rows first --- */
@media (max-width: 1180px) {
    .amenities-grid { grid-template-columns: repeat(2, 1fr); }

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

    /* Seven links plus a CTA need tighter spacing before the drawer kicks in */
    .nav {
        gap: 0.85rem;
        margin-right: var(--space-3);
    }
    .nav a:not(.btn) { font-size: 0.875rem; }
}

@media (max-width: 1000px) {
    .story-layout { grid-template-columns: 1fr; }

    /* Sticky makes no sense once the intro sits above the timeline */
    .story-intro { position: static; }
}

@media (max-width: 1080px) {
    .ota-rating-summary { grid-template-columns: repeat(2, 1fr); }

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

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

/* ==========================================================================
   Tablet & mobile: drawer navigation and layout compression (<= 900px)
   ========================================================================== */

@media (max-width: 900px) {
    :root { --header-h: 60px; }

    .mobile-menu-btn { display: flex; }

    .nav {
        position: fixed;
        inset: 0 0 0 auto;
        /* Reset the desktop margins or the fixed drawer sits off its edge */
        margin: 0;
        width: min(84vw, 340px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: var(--space-1);
        padding: calc(var(--header-h) + 1.75rem) var(--space-5) calc(2rem + env(safe-area-inset-bottom));
        background: var(--cream);
        box-shadow: -18px 0 50px -20px rgba(0, 0, 0, 0.5);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform var(--t-base), visibility var(--t-base);
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 1100;
    }

    .nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    /* Dimmer behind the drawer. A real element, not a pseudo-element of
       .nav, so a tap on it is not reported as a click inside the nav and
       the "click outside closes the menu" check actually fires. */
    .nav-scrim {
        position: fixed;
        inset: 0;
        z-index: 1050;
        background: rgba(20, 17, 14, 0.5);
        opacity: 0;
        transition: opacity var(--t-base);
    }
    .nav-scrim.active { opacity: 1; }

    .nav a:not(.btn),
    .header.scrolled .nav a:not(.btn) {
        color: var(--ink);
        font-size: 1.05rem;
        /* Comfortable 48px tap targets */
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--line);
        text-shadow: none;
    }

    .nav a:not(.btn)::after { display: none; }

    .nav .nav-cta {
        margin-top: var(--space-4);
        width: 100%;
        min-height: 50px;
        font-size: 1rem;
    }

    /* The mobile toggle sits above the drawer so it can close it */
    .mobile-menu-btn { position: relative; z-index: 1200; }
    body.nav-open .mobile-menu-btn {
        background: var(--primary-soft);
        color: var(--primary);
    }

    /* Header gets its solid treatment as soon as the drawer opens */
    body.nav-open .header {
        background: rgba(248, 245, 240, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    body.nav-open .logo { color: var(--primary); }

    /* Panels go full-width; the side-scrim gradient becomes bottom-up */
    .showcase { min-height: 0; }
    .showcase-inner { justify-content: stretch; }
    .panel { max-width: none; width: 100%; }

    .showcase-scrim,
    .showcase--left .showcase-scrim {
        background: linear-gradient(to bottom, rgba(18, 16, 14, 0.55), rgba(18, 16, 14, 0.78));
    }

    .showcase-media { inset: 0; }

    /* Stack the wide desktop rows */
    .rooms-grid { grid-template-columns: 1fr; }

    .offers-grid { grid-template-columns: 1fr; }

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

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

    .map-container iframe { aspect-ratio: 16 / 9; }

    .staff-head { align-items: flex-start; }
}

/* --- Phones --- */
@media (max-width: 600px) {
    .hero {
        padding-block: calc(var(--header-h) + 1.5rem) 5.5rem;
        min-height: 92svh;
    }

    .hero-title { max-width: none; }

    .hero-subtitle { margin-bottom: var(--space-5); }

    /* Stacked full-width CTAs are easier to hit one-handed */
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-2);
    }
    .hero-actions .btn { width: 100%; }

    /* Horizontal swipe row keeps the four OTA pills on one line */
    .ota-logos {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        padding-bottom: 0.35rem;
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        scroll-snap-type: x proximity;
    }
    .ota-logos::-webkit-scrollbar { display: none; }
    .ota-btn { flex: none; scroll-snap-align: start; }

    .hero-cue { display: none; }

    .section-header { text-align: left; }
    .section-lead { margin-inline: 0; }

    .room-amenities { grid-template-columns: 1fr 1fr; }

    .amenities-grid { grid-template-columns: 1fr; }

    .ota-rating-summary { grid-template-columns: 1fr; }

    .reviews-grid { grid-template-columns: 1fr; }

    .review-header { flex-wrap: wrap; }

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

    .rooms-footer .btn { width: 100%; }

    .story-cta { width: 100%; }

    /* Tighter gutter so milestone text keeps a usable measure on a phone */
    .timeline { padding-left: var(--space-5); }
    .milestone::before { left: calc(var(--space-5) * -1); }

    .map-container iframe { aspect-ratio: 4 / 3; }

    .footer-grid { grid-template-columns: 1fr; gap: var(--space-5); }

    /* Staff area collapses to a single stacked column */
    .staff-head { flex-direction: column; align-items: stretch; }
    .staff-head .btn { width: 100%; }
    .staff-grid { grid-template-columns: 1fr; }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }

    /* Responsive conversions & ticker */
    .direct-booking-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: left;
        padding: var(--space-4);
    }
    .direct-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }
    .direct-banner-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .ticker-bar { height: 42px; font-size: 0.8rem; }
    .ticker-badge, .ticker-prefix { padding: 0 0.85rem; font-size: 0.75rem; }
    .sticky-book-badge { font-size: 0.8rem; padding: 0.55rem 0.95rem; }
}

/* Very narrow phones — keep logo, language switch and menu on one row */
@media (max-width: 400px) {
    .lang-toggle { padding: 0 0.5rem; gap: 0.3rem; }
    .lang-caret { display: none; }

    .mobile-menu-btn { width: 42px; height: 42px; }

    .room-amenities { grid-template-columns: 1fr; }
    .ota-rating-badge { padding: var(--space-3); }
    .amenity-card { grid-template-columns: auto 1fr; }
    .amenity-card .tag { grid-column: 2; justify-self: start; }
    .amenity-card--feature { align-items: start; }
    .amenity-card--feature .tag { align-self: start; }
}

/* Short landscape phones — stop the hero from swallowing the screen */
@media (max-height: 560px) and (orientation: landscape) {
    .hero { min-height: 0; padding-block: calc(var(--header-h) + 2rem) 3rem; }
    .hero-media img { animation: none; transform: scale(1.05); }
    .hero-cue { display: none; }
}


/* ==========================================================================
   Le Guide du Routard — recognition strip
   ========================================================================== */

.routard-band {
    background-color: var(--cream-warm);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding-block: clamp(1.75rem, 4vw, 2.5rem);
}

.routard-inner {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.routard-mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--sand-deep);
    color: var(--primary);
    font-size: 1rem;
    opacity: 0.75;
}

.routard-body {
    flex: 1;
    border-left: 2px solid var(--sand-deep);
    padding-left: clamp(1rem, 2.5vw, 1.5rem);
}

.routard-quote {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
}

.routard-guide {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1rem, 0.92rem + 0.4vw, 1.15rem);
    color: var(--ink);
    letter-spacing: 0.01em;
}

.routard-sep {
    color: var(--sand-deep);
    font-size: 0.85rem;
}

.routard-location {
    font-family: var(--font-body);
    font-size: var(--fs-eyebrow);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    opacity: 0.8;
}

.routard-desc {
    font-size: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);
    color: var(--ink-mute);
    line-height: 1.6;
    max-width: 58rem;
}

@media (max-width: 540px) {
    .routard-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .routard-mark { display: none; }
    .routard-body { border-left: none; padding-left: 0; border-top: 2px solid var(--sand-deep); padding-top: 1rem; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ticker-track { animation: none !important; }
    .ticker-viewport { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
    .sticky-book-badge { transition: none !important; }
    .fade-up { opacity: 1; transform: none; }
    .reveal { opacity: 1; transform: none; animation: none; }
    .hero-media img { animation: none; transform: none; }
    .whatsapp-float { animation: none; }
    .btn:hover, .room-card:hover, .review-card:hover,
    .ota-rating-badge:hover, .social-icon:hover { transform: none; }
}

/* Hover-specific polish only where a real pointer exists */
@media (hover: none) {
    .btn:hover, .room-card:hover, .review-card:hover,
    .ota-rating-badge:hover, .social-icon:hover, .ota-btn:hover {
        transform: none;
    }
    .map-container iframe { filter: none; }
}
