/* ==========================================================================
   Cubita Guest House - design system
   Palette taken from the logo: berry red, leaf green, on warm white.
   ========================================================================== */

:root {
    /* Berry - the primary brand colour: buttons, badges, active states */
    --red-500: #d9333f;
    --red-600: #c1272d;
    --red-700: #9c1d24;

    /* Leaf - the accent, used on dark surfaces and for growth/positive cues */
    --leaf-300: #b7de7e;
    --leaf-400: #9bd154;
    --leaf-500: #8cc63f;
    --leaf-600: #6daf32;

    /* Deep leaf - dark surfaces (header bar, footer, dark sections) */
    --green-600: #4a8a30;
    --green-700: #3d7a2a;
    --green-800: #2a5a1e;
    --green-900: #1b3c14;

    /* Sun - the logo's yellow sun, used for stars and highlights */
    --sun-400: #ffe066;
    --sun-500: #ffd21e;

    /* Water - the logo's pool blue, a cool accent */
    --sky-400: #55bce8;
    --sky-500: #29a8e0;

    /* Coconut - the logo's husk brown, for quote marks and warm accents */
    --coco-500: #c07a3e;
    --coco-600: #a9622f;

    /* Warm neutrals - the white the logo sits on */
    --sand-50:  #faf9f6;
    --sand-100: #f2f1ec;
    --sand-200: #e3e1d9;
    --ink-900:  #1b1b18;
    --ink-700:  #3d3d37;
    --ink-500:  #6b6b61;
    --white:    #ffffff;

    --success: #4a8a30;
    --warning: #b8791b;
    --danger:  #c1272d;
    --info:    #2b6690;

    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(20, 30, 15, .08);
    --shadow:    0 8px 24px rgba(20, 30, 15, .10);
    --shadow-lg: 0 20px 48px rgba(20, 30, 15, .16);

    --container: 1180px;
    /* Century Gothic everywhere - body and headings. Fallbacks keep the
       geometric look on systems without the font installed. */
    --font-sans: "Century Gothic", CenturyGothic, "AppleGothic", "URW Gothic", "Avant Garde", "ITC Avant Garde Gothic", Futura, "Trebuchet MS", Arial, sans-serif;
    --font-display: "Century Gothic", CenturyGothic, "AppleGothic", "URW Gothic", "Avant Garde", "ITC Avant Garde Gothic", Futura, "Trebuchet MS", Arial, sans-serif;
}

/* Reset ------------------------------------------------------------------ */

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

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-900);
    background: var(--sand-50);
    overflow-x: hidden; /* no sideways scroll on any screen */
}

/* Wide images and tables never force the page wider than the screen. */
img, svg, video { max-width: 100%; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--red-600); color: var(--white); padding: .6rem 1rem;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--red-600); outline-offset: 2px; }

/* Skeleton loaders ---------------------------------------------------------
   Grey placeholder blocks that shimmer while images stream in - applied to
   every media box site-wide (cards, galleries, room slides, avatars).
   The animation stops once the page reports itself ready. */
@keyframes skeleton-shimmer {
    0%   { background-position: -300px 0; }
    100% { background-position: 300px 0; }
}

/* Photo frames shimmer while their image loads. The brand mark is not
   included: the logo PNG is transparent and a beige tile behind it reads
   as a square box in the nav. */
.dish__media,
.room-card__media,
.gallery-grid img,
.venue-showcase__media,
.say-avatar {
    position: relative;
    background-color: #e6e4dd;
    background-image: linear-gradient(90deg, #e6e4dd 0%, #f4f3ee 50%, #e6e4dd 100%);
    background-size: 300px 100%;
    background-repeat: no-repeat;
    animation: skeleton-shimmer 1.4s linear infinite;
}

/* The image itself reveals over the shimmer as it decodes. */
.dish__media img,
.gallery-grid img,
.venue-showcase__media img {
    position: relative;
    z-index: 1;
}

/* Stop the shimmer once everything has loaded, and for reduced motion. */
html.is-ready .dish__media,
html.is-ready .room-card__media,
html.is-ready .gallery-grid img,
html.is-ready .venue-showcase__media,
html.is-ready .say-avatar {
    animation: none;
    background-image: none;
}

@media (prefers-reduced-motion: reduce) {
    .dish__media,
    .room-card__media,
    .gallery-grid img,
    .venue-showcase__media,
    .say-avatar {
        animation: none;
        background-image: none;
    }
}

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

/* Buttons ---------------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .7rem 1.3rem; border: 1px solid transparent; border-radius: 6px;
    font: inherit; font-weight: 600; cursor: pointer; background: var(--sand-200);
    color: var(--ink-900); transition: transform .12s ease, background .15s ease, color .15s ease;
    text-align: center;
}
.btn:hover { color: var(--ink-900); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--red-600); color: var(--white); }
.btn--primary:hover { background: var(--red-700); color: var(--white); }
.btn--dark { background: var(--green-800); color: var(--sand-50); }
.btn--dark:hover { background: var(--green-700); color: var(--white); }
.btn--outline { background: transparent; border-color: var(--green-700); color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: var(--sand-50); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.4); color: inherit; }
.btn--danger { background: var(--danger); color: #fff; }
/* The logo's pool blue - used for Book a room on the home hero. */
.btn--sky { background: var(--sky-500); color: var(--white); }
.btn--sky:hover { background: #1e8fc4; color: var(--white); }
.btn--sm { padding: .45rem .9rem; font-size: .875rem; }
.btn--lg { padding: .95rem 1.9rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--link { background: none; border: 0; padding: 0; color: var(--green-700); text-decoration: underline; }

/* Header -----------------------------------------------------------------
   A quiet white bar: logo left, uppercase section links beside it, utility
   links right. Nothing competes with the page below it.
   ------------------------------------------------------------------------ */

.site-header {
    position: sticky; top: 0; z-index: 40;
    background: var(--white); color: var(--ink-900);
    border-bottom: 1px solid var(--sand-200);
}

.nav { display: flex; align-items: center; gap: clamp(.6rem, 1.2vw, 1.2rem); padding: .45rem 0; min-width: 0; }

.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink-900); flex: none; margin-inline-end: .3rem; min-width: 0; }
.brand:hover { color: var(--ink-900); }
.brand__mark { width: 38px; height: 38px; display: grid; place-items: center; flex: none; }
.logo-mark { width: 100%; height: 100%; display: block; }
/* Header: the full logo (mark + name + tagline) as one image. */
.brand--full { flex: none; }
.brand__logo { display: block; height: 58px; width: auto; }
@media (max-width: 1180px) { .brand__logo { height: 50px; } }
@media (max-width: 480px)  { .brand__logo { height: 42px; } }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand__text strong {
    font-family: var(--font-display); font-size: clamp(.82rem, 1.1vw, 1.05rem); font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; /* brand never pushes the bar wide */
}
.brand__text small {
    font-size: .62rem; color: var(--ink-500); letter-spacing: .16em;
    text-transform: uppercase; white-space: nowrap; font-weight: 700;
}

.nav__list { display: flex; align-items: center; gap: clamp(.55rem, 1.15vw, 1.3rem); margin-inline-start: clamp(.6rem, 1.4vw, 1.6rem); flex-wrap: nowrap; min-width: 0; flex: none; }
.nav__list > li { flex: none; }
.nav__link {
    position: relative; display: block; padding: .35rem 0;
    color: var(--ink-700); font-size: clamp(.66rem, .78vw, .76rem); font-weight: 600;
    letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.nav__link:hover { color: var(--red-600); }
.nav__link.active { color: var(--red-600); }
.nav__link.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; background: var(--red-600);
}

/* Nav CTA button - the logo's pool blue (currently on Specials) */
.nav__link--cta {
    display: inline-block; padding: .45rem clamp(.6rem, .9vw, 1rem) !important;
    background: var(--sky-500); color: var(--white) !important;
    border-radius: 4px; font-size: .6rem !important;
    letter-spacing: .08em; text-transform: uppercase;
    transition: background .2s; flex-shrink: 0;
}
.nav__link--cta:hover { background: #1e8fc4; color: var(--white) !important; }
.nav__link--cta.active { background: #1e8fc4; color: var(--white) !important; }
.nav__link--cta.active::after { display: none; }

/* The utility cluster (language, cart, socials) - plain, free-standing
   controls with no divider lines or shapes behind them. */
.nav__actions {
    display: flex; align-items: center; gap: clamp(.9rem, 1.2vw, 1.5rem);
    margin-inline-start: auto; flex: none;
    padding-inline-start: clamp(.5rem, .6vw, .7rem);
}

/* Search toggle on the left of the nav, right after the burger */
.nav__search { flex: none; }
.nav__search-toggle {
    display: inline-flex; align-items: center; justify-content: center; padding: .45rem;
    border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.nav__search-toggle:hover { color: var(--red-600); }
.nav__search-toggle svg { width: 19px; height: 19px; }
/* .dropdown .nav__search-menu: must outrank the generic .dropdown__menu
   rules further down (width, and their full-width transparent buttons). */
.dropdown .nav__search-menu { left: 0; right: auto; width: min(90vw, 420px); min-width: 0; padding: .55rem; }

.nav__search-form { display: flex; gap: .5rem; align-items: center; }
.nav__search-form input[type="search"] {
    flex: 1; min-width: 0; padding: .55rem .9rem .55rem 2.2rem;
    border: 1px solid var(--sand-200); border-radius: 999px;
    background: var(--sand-50)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6b61' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16.5 16.5 21 21'/%3E%3C/svg%3E")
        no-repeat .7rem center / 16px 16px;
    font: inherit; font-size: .88rem; color: var(--ink-900);
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    -webkit-appearance: none; appearance: none;
}
.nav__search-form input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.nav__search-form input[type="search"]::placeholder { color: var(--ink-500); }
.nav__search-form input[type="search"]:focus {
    outline: none; background-color: var(--white);
    border-color: var(--sky-500);
    box-shadow: 0 0 0 3px rgba(41, 168, 224, .18);
}
.dropdown__menu .nav__search-form .btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: auto; flex: none; padding: .6rem .8rem;
    border-radius: 999px; white-space: nowrap;
    background: var(--ink-900); color: var(--white);
}
.dropdown__menu .nav__search-form .btn:hover { background: var(--red-600); }

/* Social icons at the far right of the nav bar. */
.nav__socials { display: flex; align-items: center; }
.nav__socials .social-links { gap: .55rem; }
/* The glyph fills its box, so the icons read at full size without padding. */
.nav__socials .social-link { width: 22px; height: 22px; box-shadow: none; }
.nav__socials .social-link svg { width: 100%; height: 100%; }
@media (max-width: 1180px) { .nav__socials { display: none; } }

/* Utility cluster: currency, language, account, cart, search */
.nav__util {
    display: inline-flex; align-items: center; gap: .35rem; background: none; border: 0;
    padding: 0; font: inherit; cursor: pointer; color: var(--ink-700);
    font-size: .69rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    white-space: nowrap;
}
.nav__util:hover { color: var(--red-600); }
.nav__util svg { width: 14px; height: 14px; }
.nav__util--static { cursor: default; color: var(--ink-500); }
.nav__util--static:hover { color: var(--ink-500); }

/* Cart shows as a trolley icon, gaining a (2) only when it holds something. */
.cart-link { display: inline-flex; align-items: center; gap: .3rem; }
.nav__util .cart-link__icon { width: 22px; height: 22px; }
.cart-link__count { color: var(--red-600); font-weight: 700; }
.cart-link__count::before { content: "("; }
.cart-link__count::after { content: ")"; }
.cart-link__count[data-empty="1"] { display: none; }


.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav__bars, .nav__bars::before, .nav__bars::after {
    display: block; width: 22px; height: 2px; background: var(--ink-900); content: ""; position: relative;
}
.nav__bars::before { top: -7px; } .nav__bars::after { top: 5px; }

.dropdown { position: relative; }
.dropdown__menu {
    position: absolute; right: 0; top: calc(100% + .5rem); min-width: 190px; display: none;
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: .4rem; z-index: 50;
}
.dropdown.is-open .dropdown__menu { display: block; }
.dropdown__menu a, .dropdown__menu button {
    display: block; width: 100%; text-align: start; padding: .55rem .8rem; border: 0;
    background: none; font: inherit; color: var(--ink-900); border-radius: var(--radius-sm); cursor: pointer;
}
.dropdown__menu a:hover, .dropdown__menu button:hover { background: var(--sand-100); }

/* Desktop widths: the full link row (Home, About Us, Dining, ...) stays
   visible next to the utilities - the burger is only for true tablet and
   phone widths below 1181px. The content column never exceeds 1180px
   (--container), so this compact treatment applies at EVERY desktop
   width: type and spacing are sized so brand, links, search, language,
   cart and socials always share one row without wrapping, overlapping
   or spilling past the divider. */
@media (min-width: 1181px) {
    /* The header row gets a wider column than the page body so the larger
       type still fits on a single line. */
    .site-header .nav { width: min(100% - 2rem, 1400px); }
    .nav { gap: .9rem; padding: .7rem 0; flex-wrap: nowrap; }
    /* The brand yields space first (its name truncates) so the link row can
       never slide under the utility cluster's divider. */
    .brand { flex: 0 1 auto; min-width: 0; }
    .nav__list { gap: clamp(.6rem, 1vw, 1.1rem); margin-inline-start: .8rem; flex: none; }
    .nav__link { font-size: clamp(.68rem, .72vw, .8rem); letter-spacing: .04em; flex-shrink: 0; }
    .nav__link--cta { padding: .5rem .75rem !important; font-size: clamp(.64rem, .68vw, .74rem) !important; }
    .nav__actions { gap: 1.1rem; padding-inline-start: .5rem; }
    .brand { gap: .55rem; margin-inline-end: 0; }
    .brand__mark { width: 46px; height: 46px; }
    .brand__text strong { font-size: clamp(.82rem, .9vw, .98rem); letter-spacing: .07em; }
    .brand__text small { font-size: .6rem; letter-spacing: .12em; }
    .nav__util { font-size: clamp(.66rem, .7vw, .76rem); letter-spacing: .06em; }
    .nav__socials { display: flex; }
    .nav__search-toggle { padding: .4rem; }
    .nav__search-toggle svg { width: 19px; height: 19px; }
}

/* Mobile + tablet: burger row with brand, actions and the toggle.
   The burger takes over below 1181px, where the full link row would
   collide with the utility icons. */
@media (max-width: 1180px) {
    .nav { flex-wrap: wrap; }
    .nav__toggle { display: block; order: 3; margin-inline-start: auto; }
    .nav__list {
        order: 4; flex-basis: 100%; flex-direction: column; align-items: flex-start;
        gap: 0; margin-left: 0; display: none;
        border-top: 1px solid var(--sand-200); padding-top: .4rem; margin-top: .6rem;
    }
    .nav.is-open .nav__list { display: flex; }
    .nav__list .nav__link { padding: .7rem 0; width: 100%; font-size: .78rem; }    .nav__list .nav__link--cta { display: inline-block; width: auto; padding: .55rem 1.1rem !important; margin-top: .4rem; }
    .nav__actions { order: 2; margin-inline-start: auto; gap: .9rem; padding-inline-start: 0; }
    .nav__util--hide-sm { display: none; }
}

/* Phones: compress the brand so the actions row always fits. */
@media (max-width: 620px) {
    .brand { gap: .45rem; }
    .brand__mark { width: 32px; height: 32px; }
    .brand__text strong { font-size: .8rem; letter-spacing: .06em; }
    .brand__text small { display: none; }
    .nav__actions { gap: .8rem; }
    .nav__util { font-size: .64rem; }
    .nav__socials .social-link { width: 19px; height: 19px; }
}

/* Very narrow phones: the icon row keeps sign-in, cart and language; the
   social icons live in the footer, so they can step aside here. */
@media (max-width: 420px) {
    .nav__actions { gap: .65rem; }
    .nav__socials { display: none; }
}

/* Text the admin cleared renders as an empty tag: take it out of the layout
   so it leaves no gap behind. */
main :is(h1, h2, h3, h4, p, .eyebrow, .hero-strip__label):empty { display: none; }

/* Flash / alerts --------------------------------------------------------- */

.flash-stack { margin: 1.2rem auto 0; display: grid; gap: .6rem; }
.alert {
    padding: .85rem 1.1rem; border-radius: var(--radius); border-left: 4px solid;
    background: var(--white); box-shadow: var(--shadow-sm); font-size: .95rem;
}
.alert--success { border-color: var(--success); color: #2f6b1e; background: #f0f7e9; }
.alert--error   { border-color: var(--danger);  color: #8c1a20; background: #fdf1f1; }
.alert--info    { border-color: var(--info);    color: #1d4f6e; background: #eef5fa; }
.alert--warning { border-color: var(--warning); color: #7a5210; background: #fdf6e8; }
.alert__list { list-style: disc; padding-left: 1.2rem; }

/* Hero ------------------------------------------------------------------- */

/* A full-bleed photograph with the headline low-left. */
/* Hero + strip fill the screen below the sticky header (about 72px), so
   the green strip sits right on the bottom edge of the first view. */
.hero-bundle {
    display: flex; flex-direction: column;
    min-height: calc(100vh - 72px); min-height: calc(100svh - 72px);
}
.hero-bundle .hero { flex: 1; min-height: 0; }

.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 380px;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: var(--white); background: #1b3c14;
}

.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img,
.hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Fallback when no photograph has been uploaded yet. */
.hero__media--empty {
    background: linear-gradient(160deg, #1b3c14, #2a5a1e 70%);
}

.hero__scrim {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(27, 60, 20, .70) 0%,
        rgba(27, 60, 20, .30) 35%,
        rgba(27, 60, 20, .45) 65%,
        rgba(27, 60, 20, .80) 100%
    );
}

.hero__content {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: center; gap: 2rem;
    flex-wrap: wrap; padding: 0 2rem; min-height: 60vh;
    text-align: center;
}

.hero__title {
    font-family: var(--font-sans); font-weight: 800; letter-spacing: -.01em;
    -webkit-text-stroke: .025em currentColor; paint-order: stroke fill;
    font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.05;
    margin: 0; max-width: 22ch; color: var(--white);
    text-align: center;
}

.hero__lead { color: rgba(255, 255, 255, .85); max-width: 46ch; margin: 1rem 0 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; justify-content: center; }
.hero__actions .btn { border-radius: 6px; text-transform: uppercase; letter-spacing: .04em; }
.hero__actions .btn--lg { padding: .55rem 1.5rem; font-size: .95rem; }



/* Delivery strip directly under the hero */
.hero-strip { background: linear-gradient(90deg, var(--green-800), var(--green-900)); color: var(--sand-100); }
.hero-strip__inner {
    display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
    padding: .55rem 0; font-size: .8rem;
}
.hero-strip__label {
    font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--leaf-300);
}
.hero-strip__zone { display: inline-flex; gap: .45rem; align-items: baseline; }
.hero-strip__zone strong { color: var(--white); }
.hero-strip a { color: var(--leaf-300); margin-inline-start: auto; }
.hero-strip a:hover { color: var(--white); }
.hero-strip__visitors {
    display: inline-flex; align-items: center; gap: .35rem;
    margin-inline-start: auto; font-size: .74rem; color: rgba(255, 255, 255, .7);
    letter-spacing: .04em; white-space: nowrap;
}
.hero-strip__visitors svg { opacity: .7; }

@media (max-width: 760px) {
    .hero { min-height: 78vh; }
    .hero__content { flex-direction: column; align-items: center; padding: 0 1rem; }
    .hero-strip a { margin-inline-start: 0; }
}

/* Sections --------------------------------------------------------------- */

.section { padding: clamp(1.5rem, 3.5vw, 2.6rem) 0; }
.section--tint { background: var(--sand-100); }
.section--dark { background: var(--green-800); color: var(--sand-100); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.section__head p { color: var(--ink-500); margin: 0; max-width: 60ch; }
.section--dark .section__head p { color: var(--sand-200); }
.eyebrow { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--red-600); font-weight: 700; }

/* Panel heading: deep-green band with a blue brand keyline (the logo's
   pool blue) and a left accent bar, so every section opens with the same
   sharp signature. */
.page-head {
    position: relative; overflow: hidden;
    background:
        url("../images/palm-leaf-left.png") right top / auto 80% no-repeat,
        linear-gradient(100deg, var(--green-800) 0%, var(--green-700) 45%, var(--green-600) 100%);
    color: var(--sand-50);
    padding: clamp(1.6rem, 3.5vw, 2.6rem) 0;
}
.page-head::before {
    content: ""; position: absolute; top: 0; left: 0; bottom: 0;
    width: 6px; background: var(--sky-500); /* brand accent bar */
}

/* The frosted palm leaf sits small in the far right corner. Copy keeps
   to the left of it, so headings never run under the frond. */
.page-head .container { max-width: 72%; }

@media (max-width: 760px) {
    .page-head .container { max-width: 100%; }
    .page-head { background-size: auto 55%, auto; background-position: right -60px top -20px, 0 0; }
}
.page-head .container { position: relative; z-index: 1; }
.page-head h1 {
    color: var(--white); margin-bottom: .5rem;
    font-size: clamp(2.1rem, 4.2vw, 3rem); letter-spacing: .01em;
}
.page-head p { color: var(--sand-200); margin: 0; max-width: 62ch; }
/* Breakfast serving hours under the Breakfast Hub banner text. */
.page-head p.hub-hours { margin-top: .7rem; color: var(--white); font-weight: 600; font-size: .92rem; }
.breadcrumb { display: none; }

/* Venue showcase: photo left, details right - sharp corners only ---------- */

.venue-showcase { background: var(--sand-100); padding: 3.5rem 0 4rem; }
.venue-showcase .container {
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}
.venue-showcase__media {
    aspect-ratio: 1 / 1; /* square frame: every content photo is 1080x1080 */
    overflow: hidden;
    background: var(--sand-200);
    border-radius: 0;
}
.venue-showcase__media img {
    width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0;
}
.venue-showcase__body { padding: .5rem 0; }
.venue-showcase__kicker {
    font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--ink-700); margin: 0 0 .4rem;
}
.venue-showcase__body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 0 0 1.1rem; }
.venue-showcase__body ul {
    list-style: disc; padding-left: 1.3rem; margin: 0 0 1.4rem;
    display: grid; gap: .45rem; color: var(--ink-700); font-size: .93rem;
}
.venue-showcase__facts { margin-top: 1.4rem; }
.btn--gold {
    background: #8b7536; color: var(--white);
    border-radius: 0;
    text-transform: uppercase; letter-spacing: .08em; font-size: .8rem;
    padding: .8rem 1.6rem;
}
.btn--gold:hover { background: #6f5d2b; color: var(--white); }

@media (max-width: 860px) {
    .venue-showcase .container { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* About: split dark-panel hero with sharp diagonal photo edge -------------- */

.about-hero {
    display: flex;
    align-items: stretch;
    /* Same green as the panel, so the photo's slanted edge shows no dark wedge. */
    background: var(--green-600);
    color: var(--sand-100);
    overflow: hidden;
}
.about-hero__panel {
    flex: 0 0 58%;
    display: flex;
    align-items: center;
    /* Leaf green - lighter than the deep-leaf surfaces, still on brand. */
    background: var(--green-600);
    position: relative;
    z-index: 1;
}
.about-hero__panel-inner {
    padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1.4rem, 4vw, 3.4rem);
    max-width: none;
    /* The story is justified; hyphenation keeps the word gaps even. */
    text-align: justify;
    hyphens: auto;
}
.about-hero__panel-inner h1 {
    text-align: left;
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    margin: 0 0 1rem;
}
/* Compact type so the whole story fits inside the dark panel. */
.about-hero__panel-inner p { color: #f5ece0; margin: 0 0 .55rem; font-size: .88rem; line-height: 1.55; }
.about-hero__media {
    flex: 1 1 42%;
    min-height: 300px;
    position: relative;
    /* Sharp diagonal edge: the photo starts further right at the top,
       so the dark panel is wider at the top - as in the reference. */
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.about-hero__media img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; border-radius: 0;
}

@media (max-width: 860px) {
    .about-hero { flex-direction: column; }
    .about-hero__panel { flex: 1 1 auto; }
    .about-hero__media { min-height: 260px; clip-path: none; }
}

/* Milestones: horizontal scroller with a timeline line --------------------- */

.milestones { padding: 3.2rem 0 3.8rem; background: var(--white); }
.milestones__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 2.4rem;
}
.milestones__head h2 { margin: 0; }
.milestones__nav { display: flex; gap: .5rem; }
.milestones__arrow {
    width: 38px; height: 38px; border-radius: 0;
    border: 1px solid var(--sand-200); background: var(--white);
    color: var(--ink-700); font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.milestones__arrow:hover { background: var(--sand-100); }
.milestones__track {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(230px, 260px);
    gap: 1.6rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: .6rem;
    scrollbar-width: thin;
}
.milestone {
    position: relative;
    padding-bottom: 1.6rem;
    scroll-snap-align: start;
}
.milestone__year {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #8b7536;
    margin-bottom: .35rem;
}
.milestone:nth-child(even) .milestone__year { color: var(--red-600); }
.milestone__title { font-size: 1rem; margin: 0 0 .4rem; }
.milestone__text { font-size: .88rem; color: var(--ink-700); margin: 0; }
.milestone__dot {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 13px; height: 13px;
    background: var(--white);
    border: 3px solid var(--red-600);
}
.milestone__dot--ring { border-radius: 50%; }
.milestone__dot--diamond {
    border-radius: 0;
    transform: rotate(45deg) scale(.82);
    border-color: #8b7536;
}
/* Behind Cubita: team groups ----------------------------------------------- */
/* 2x2: Operations | Kitchen, then Accommodation | Maintenance. Each group has
   a fixed slot, so an empty (hidden) group leaves its space instead of the
   next group sliding into it. */
.team-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "operations    kitchen"
        "accommodation maintenance";
    gap: 2.5rem 2rem;
}
.team-group--operations    { grid-area: operations; }
.team-group--kitchen       { grid-area: kitchen; }
.team-group--accommodation { grid-area: accommodation; }
.team-group--maintenance   { grid-area: maintenance; }
.team-group__title {
    margin: 0 0 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--red-600);
    font-size: 1.15rem;
}
/* Always two card columns, so a one-person group keeps the same card size. */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
@media (max-width: 900px) {
    /* One column, in reading order; empty groups simply drop out. */
    .team-groups { grid-template-columns: 1fr; grid-template-areas: none; }
    .team-groups > .team-group { grid-area: auto; }
}
@media (max-width: 460px) {
    .team-grid { grid-template-columns: 1fr; }
}
.team-card {
    background: var(--white);
    border-radius: 0; /* sharp corners, like the rest of this page */
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(44, 36, 22, .08);
    display: flex;
    flex-direction: column;
}
.team-card__photo {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--sand-200);
}
.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.team-card__body { padding: 1.1rem 1.2rem 1.3rem; }
.team-card__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--ink-700);
}
.team-card__body h4 { margin: 0 0 .15rem; font-size: 1.05rem; }
.team-card__role {
    margin: 0 0 .55rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--red-600);
}
.team-card__bio { margin: 0; font-size: .88rem; color: var(--ink-700); line-height: 1.5; }

/* The timeline line itself, running under every card through the dots. */
.milestones__track::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    bottom: 5px;
    height: 1px;
    background: var(--sand-200);
}

/* Venue hero: full-width real photograph, sharp corners only --------------- */

.venue-hero {
    position: relative;
    min-height: clamp(280px, 42vw, 460px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--green-900);
}
.venue-hero img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; border-radius: 0;
}
.venue-hero__wash { position: absolute; inset: 0; background: var(--green-900); }
.venue-hero__scrim {
    position: absolute; inset: 0;
    background: linear-gradient(rgba(15, 30, 10, .55), rgba(15, 30, 10, .55));
}
.venue-hero__content {
    position: relative; z-index: 1; text-align: center; color: var(--white);
    padding-top: 2.5rem; padding-bottom: 2.5rem;
}
.venue-hero__content h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5.5vw, 3.8rem);
    margin: .2rem 0 .5rem;
}
.venue-hero__content p {
    color: var(--sand-100); margin: 0 auto; max-width: 62ch;
}
.venue-hero__kicker { color: var(--sun-400); }

/* Overlapping action bar under the hero - square edges, slight lift ------- */

.venue-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.2rem; flex-wrap: wrap;
    background: var(--white); color: var(--ink-900);
    border-radius: 0;
    padding: 1.3rem 1.6rem;
    margin-top: -2.2rem;
    position: relative; z-index: 2;
    box-shadow: var(--shadow);
}
.venue-bar h2 { margin: 0 0 .2rem; font-size: 1.25rem; }
.venue-bar p { margin: 0; color: var(--ink-500); }
.venue-bar__cta {
    border-radius: 0;
    text-transform: uppercase; letter-spacing: .08em; font-size: .8rem;
}

/* Grid helpers ----------------------------------------------------------- */

.grid { display: grid; gap: 1.1rem; }
/* minmax(0, 1fr) so cards shrink on narrow screens instead of overflowing. */
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
/* Dish grids: four fixed columns like the menu's section tiles, so a
   category with one or two dishes shows them at the same card size as a
   full row instead of stretching across the page. */
.grid--fill { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid--fill { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .grid--fill { grid-template-columns: minmax(0, 1fr); } }

.stack { display: grid; gap: 1rem; }
.cluster { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.text-muted { color: var(--ink-500); }
.text-right { text-align: end; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.6rem; }

/* Cards ------------------------------------------------------------------ */

.card {
    background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    padding: 1.4rem; border: 1px solid var(--sand-200);
}
.card--pad-lg { padding: 2rem; }
.card__title { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.card__title h2, .card__title h3 { margin: 0; }

.feature {
    background: var(--white); border-radius: var(--radius); padding: 1.6rem;
    border: 1px solid var(--sand-200); box-shadow: var(--shadow-sm); height: 100%;
}
.feature__icon { display: none; }

/* "While you stay" photo tiles on the accommodation page. The whole tile
   is the link; without a cover photo it falls back to a colour wash. */
.stay-tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stay-tile {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: flex-end;
    min-height: 340px; border-radius: var(--radius-lg);
    color: var(--white); box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.stay-tile--green { background: linear-gradient(150deg, var(--green-600), var(--green-900)); }
.stay-tile--coco  { background: linear-gradient(150deg, var(--coco-500), #5a3317); }
.stay-tile--red   { background: linear-gradient(150deg, var(--red-500), var(--red-700)); }
.stay-tile__img {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s ease;
}
.stay-tile::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(12, 18, 10, 0) 25%, rgba(12, 18, 10, .55) 60%, rgba(12, 18, 10, .88) 100%);
}
.stay-tile__body { padding: 1.6rem; }
.stay-tile h3 { margin: 0 0 .45rem; color: var(--white); font-size: 1.35rem; }
.stay-tile p { margin: 0 0 1.1rem; color: rgba(255, 255, 255, .86); font-size: .95rem; line-height: 1.55; }
.stay-tile__link {
    display: inline-flex; align-items: center; gap: .45rem;
    color: var(--white); font-weight: 700; font-size: .85rem;
    letter-spacing: .06em; text-transform: uppercase;
}
.stay-tile__link span { transition: transform .2s ease; }
/* Stretch the link over the whole tile. */
.stay-tile__link::after { content: ""; position: absolute; inset: 0; }
.stay-tile__link:focus-visible { outline: none; }
.stay-tile:has(.stay-tile__link:focus-visible) { outline: 3px solid var(--sun-500); outline-offset: 3px; }
.stay-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stay-tile:hover .stay-tile__img { transform: scale(1.06); }
.stay-tile:hover .stay-tile__link span { transform: translateX(4px); }
@media (max-width: 620px) { .stay-tile { min-height: 280px; } }
@media (prefers-reduced-motion: reduce) {
    .stay-tile, .stay-tile__img, .stay-tile__link span { transition: none; }
    .stay-tile:hover { transform: none; }
    .stay-tile:hover .stay-tile__img { transform: none; }
}

/* Dish cards ------------------------------------------------------------- */

.dish {
    background: var(--white); border: 1px solid var(--sand-200); border-radius: 6px;
    overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
    transition: transform .15s ease, box-shadow .15s ease;
}
.dish:hover { box-shadow: var(--shadow); }
.dish__media { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand-100); }
/* cover, not contain: the photo must fill the 4:3 card shape instead of
   letterboxing inside it with empty bands on every side. */
.dish__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dish__badge, .dish__sold-out {
    position: absolute; top: .6rem; left: .6rem; padding: .2rem .6rem; border-radius: 3px;
    font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.dish__badge { background: var(--red-600); color: var(--white); }
.dish__sold-out { background: var(--danger); color: #fff; }
.dish__body { padding: 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.dish__name { margin: 0; font-size: 1.05rem; }
.dish__desc { font-size: .88rem; color: var(--ink-500); margin: 0; flex: 1; }
.dish__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .6rem; }
.dish__price { font-weight: 700; color: var(--green-700); font-size: 1.05rem; }
/* Home specials: promo code and "valid until" under the price. */
.dish__promo-meta { margin: 0; font-size: .8rem; color: var(--ink-500); }

/* Venue-area cards: capacity line under the description. */
.area-capacity {
    display: inline-flex; align-items: center; gap: .4rem;
    margin: 0; padding: .22rem .7rem; align-self: flex-start;
    background: var(--sand-100); border: 1px solid var(--sand-200); border-radius: 999px;
    font-size: .78rem; font-weight: 600; color: var(--ink-700);
}
.area-capacity svg { color: var(--green-700); flex: none; }

/* Sold-out area: the Reserve control is disabled, not a link. */
.area-reserve--full { opacity: .55; cursor: not-allowed; pointer-events: none; }

/* Menu category groups --------------------------------------------------- */

.menu-toolbar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
    padding: .4rem .9rem; border-radius: 4px; background: var(--white);
    border: 1px solid var(--sand-200); font-size: .87rem; color: var(--ink-700);
}
.chip:hover { border-color: var(--green-600); color: var(--green-700); }
.chip.active { background: var(--green-800); border-color: var(--green-800); color: var(--sand-50); }

.menu-group { margin-bottom: 2.6rem; }
.menu-group__head { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.2rem; }
.menu-group__head h2 { margin: 0; }
.menu-group__rule { flex: 1; height: 1px; background: var(--sand-200); }

/* Small cover photo beside a category heading on the menu page, set by the
   admin on the category itself. */
.menu-group__thumb {
    width: 52px; height: 52px; flex: none;
    object-fit: cover; border-radius: var(--radius-sm);
    background: var(--sand-100);
    align-self: center;
}

/* Board sections: numbered blocks like the printed board. Each section is a
   collapsible panel - the cover photo + name + description stay visible, and
   the items/prices appear when the section is clicked open. */
.board-section { margin-bottom: 1.4rem; }

.board-section > summary {
    list-style: none;
    cursor: pointer;
}
.board-section > summary::-webkit-details-marker { display: none; }
.board-section > summary:focus-visible {
    outline: 3px solid var(--red-600);
    outline-offset: 4px;
}

.board-section__head {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.board-section__media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--sand-200);
    border-radius: 6px;
}
.board-section__media img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .35s ease;
}


.board-section__body h3 {
    margin: 0 0 .45rem;
    font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}
.board-section__body p { margin: 0 0 .5rem; color: var(--ink-500); max-width: 55ch; }
.board-section__count {
    display: inline-block; font-size: .78rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: var(--green-700);
}

/* View items / Hide items - the open state swaps the two labels. */
.board-section__toggle {
    display: inline-flex; align-items: center; gap: .4rem;
    margin-left: 1rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--red-600);
}
.board-section__toggle .when-open { display: none; }
.board-section[open] .board-section__toggle .when-closed { display: none; }
.board-section[open] .board-section__toggle .when-open { display: inline; }

.board-section__items {
    margin: .4rem 0 1.6rem;
    padding: 1.2rem;
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: 6px;
}

@media (max-width: 760px) {
    .board-section__head { grid-template-columns: 1fr; gap: 1rem; margin-bottom: .8rem; }
    .board-section__media { aspect-ratio: 1 / 1; } /* stays square at every width */
    .board-section__toggle { display: block; margin-left: 0; margin-top: .3rem; }
    .board-section__items { padding: .8rem; }
}

/* Restaurant board: category rule + dotted price leader lines, like the
   printed menu board. Sections sit in a four-across card grid; opening one
   expands it to full width so the price list has room. */
.board-category {
    margin: 2.6rem 0 1.4rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--sand-200);
}
.board-section .board-category { margin-top: 0; }

.board-sections {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: start;
}

/* Collapsed: a compact cover card - photo on top, name and description
   below, like a menu tile. */
.board-sections .board-section { margin-bottom: 0; }

.board-sections .board-section > summary {
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s ease, transform .15s ease;
    height: 100%;
}
.board-sections .board-section > summary:hover {
    box-shadow: var(--shadow);
}

.board-sections .board-section__head {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
}
.board-sections .board-section__media { border-radius: 0; }
.board-sections .board-section__body { padding: 1rem 1.1rem 1.2rem; }
.board-sections .board-section__body h3 { font-size: 1.15rem; }
.board-sections .board-section__body p { font-size: .88rem; }
.board-sections .board-section__toggle { display: none; }

.board-sections .board-section > summary:hover .board-section__body h3 {
    color: var(--red-600);
}

/* Open: span the whole row so the price list breathes, and flip back to the
   wide photo-left layout. */
.board-sections .board-section[open] { grid-column: 1 / -1; }

.board-sections .board-section[open] > summary {
    background: none;
    border: 0;
    box-shadow: none;
}
.board-sections .board-section[open] > summary:hover { transform: none; }
.board-sections .board-section[open] .board-section__head {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 1rem;
    align-items: start;
}
/* With the section open the cover photo steps aside: the items the
   customer just revealed take the whole row, not a strip beside a
   duplicate picture. */
.board-sections .board-section[open] .board-section__media { display: none; }
.board-sections .board-section[open] .board-section__head { grid-template-columns: minmax(0, 1fr); }
.board-sections .board-section[open] .board-section__body { padding: 0; }
.board-sections .board-section[open] .board-section__body h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.board-sections .board-section[open] .board-section__toggle { display: inline-flex; }
.board-sections .board-section[open] .board-section__items { margin-top: 0; }

.board-prices { margin: .6rem 0 0; display: grid; gap: .3rem; }
.board-prices li {
    display: flex; align-items: baseline; gap: .6rem;
    font-size: .95rem;
}
.board-prices__name { color: var(--ink-900); font-weight: 600; }
.board-prices__dots {
    flex: 1; border-bottom: 2px dotted var(--sand-200);
    transform: translateY(-4px); min-width: 2rem;
}
.board-prices__value { font-weight: 700; color: var(--green-700); white-space: nowrap; }

@media (max-width: 1024px) {
    .board-sections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .board-sections { grid-template-columns: 1fr; }
}

/* Tables ----------------------------------------------------------------- */

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--sand-200); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.table th, .table td { padding: .8rem 1rem; text-align: start; border-bottom: 1px solid var(--sand-200); vertical-align: middle; }
.table th { background: var(--sand-100); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-500); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--sand-50); }

.badge {
    display: inline-block; padding: .22rem .65rem; border-radius: 999px; font-size: .74rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.badge--success { background: #eaf5e0; color: #2f6b1e; }
.badge--warning { background: #fdf1dc; color: #8a5d13; }
.badge--danger  { background: #fbe7e8; color: #9c1d24; }
.badge--info    { background: #e6f0f7; color: #1f5273; }
.badge--accent  { background: #f3f7e6; color: #4a7c1f; }
.badge--muted   { background: var(--sand-200); color: var(--ink-700); }

/* Forms ------------------------------------------------------------------ */

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.field { display: grid; gap: .35rem; min-width: 0; }
.field > label, .label { font-size: .85rem; font-weight: 600; color: var(--ink-700); }
.field small { color: var(--ink-500); font-size: .8rem; }

input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="date"], input[type="time"], input[type="datetime-local"],
input[type="search"], input[type="url"], select, textarea {
    width: 100%; padding: .7rem .9rem; border: 1px solid var(--sand-200); border-radius: var(--radius-sm);
    font: inherit; background: var(--white); color: var(--ink-900);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green-600); outline: none; box-shadow: 0 0 0 3px rgba(58,92,44,.15); }
input[type="file"] { font-size: .9rem; }

.check { display: flex; align-items: center; gap: .5rem; font-size: .92rem; }
.check input { width: auto; }

.field--error input, .field--error select, .field--error textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .82rem; }
.proof-field input[type="file"] { padding: .55rem; background: #fff; cursor: pointer; }
.proof-field.is-disabled label, .proof-field.is-disabled input[type="file"] { opacity: .5; }
.proof-field.is-disabled input[type="file"] { cursor: not-allowed; }

.radio-cards { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.radio-card {
    border: 1px solid var(--sand-200); border-radius: var(--radius); padding: .9rem 1rem;
    background: var(--white); cursor: pointer; display: flex; gap: .6rem; align-items: flex-start;
}
.radio-card:has(input:checked) { border-color: var(--green-700); box-shadow: 0 0 0 2px rgba(58,92,44,.15); }
.radio-card input { margin-top: .25rem; width: auto; }
.radio-card strong { display: block; }
.radio-card small { color: var(--ink-500); }

/* Cart / checkout -------------------------------------------------------- */

.cart-layout { display: grid; gap: 1.6rem; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }

.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--sand-200); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cart-line__img { width: 84px; height: 68px; object-fit: contain; border-radius: var(--radius-sm); background: var(--sand-100); }
.cart-line__name { font-weight: 600; }
.cart-line__meta { font-size: .84rem; color: var(--ink-500); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--sand-200); border-radius: 999px; overflow: hidden; background: var(--white); }
.qty button { border: 0; background: none; padding: .35rem .7rem; cursor: pointer; font-size: 1rem; font-weight: 700; color: var(--green-700); }
.qty input { width: 46px; border: 0; text-align: center; padding: .35rem 0; }

/* Cart lines stack on phones so the name, qty and price never squeeze. */
@media (max-width: 620px) {
    .cart-line { grid-template-columns: 64px 1fr; }
    .cart-line__img { width: 64px; height: 56px; }
    .cart-line > .text-right { grid-column: 2; text-align: start; display: flex; align-items: center; gap: .8rem; }
}

.summary { position: sticky; top: 90px; }
@media (max-width: 900px) { .summary { position: static; } }
.summary__row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .95rem; }
.summary__row--total { border-top: 2px solid var(--sand-200); margin-top: .5rem; padding-top: .8rem; font-size: 1.15rem; font-weight: 700; color: var(--green-800); }

/* Order status timeline -------------------------------------------------- */

.timeline { display: grid; gap: 0; margin: 1.5rem 0; }
.timeline__step { display: grid; grid-template-columns: 32px 1fr; gap: .9rem; padding-bottom: 1.2rem; position: relative; }
.timeline__step::before { content: ""; position: absolute; left: 15px; top: 26px; bottom: 0; width: 2px; background: var(--sand-200); }
.timeline__step:last-child::before { display: none; }
.timeline__dot {
    width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center;
    background: var(--sand-200); color: var(--ink-500); font-size: .8rem; font-weight: 700;
}
.timeline__step.is-done .timeline__dot { background: var(--green-700); color: var(--leaf-300); }
.timeline__step.is-current .timeline__dot { background: var(--red-600); color: var(--white); box-shadow: 0 0 0 4px rgba(193,39,45,.22); }
.timeline__label { font-weight: 600; }
.timeline__meta { font-size: .84rem; color: var(--ink-500); }

/* Stats ------------------------------------------------------------------ */

.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.stat {
    background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius);
    padding: 1.2rem; box-shadow: var(--shadow-sm);
}
.stat__label { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); font-weight: 700; }
.stat__value { font-size: 1.9rem; font-family: var(--font-display); color: var(--green-800); line-height: 1.1; }
.stat__meta { font-size: .82rem; color: var(--ink-500); }

/* Bar chart (reports/dashboard) ------------------------------------------ */

.bars { display: flex; align-items: flex-end; gap: .35rem; height: 160px; padding-top: 1rem; }
.bars__col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: .3rem; }
.bars__bar { width: 100%; background: linear-gradient(var(--green-600), var(--green-800)); border-radius: 4px 4px 0 0; min-height: 3px; }
.bars__label { font-size: .64rem; color: var(--ink-500); writing-mode: vertical-rl; }

/* Gallery ---------------------------------------------------------------- */

.gallery-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* Reviews ---------------------------------------------------------------- */

.review { background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius); padding: 1.3rem; }
.stars { color: var(--sun-500); letter-spacing: .12em; }

/* Guest testimonials - "Guests say" ---------------------------------------
   Masonry wall of white cards with avatars, oversized quote marks and
   sun-yellow stars, in the brand palette. */

.say-grid { columns: 3 290px; column-gap: 1.4rem; }
.say-grid .say-card { break-inside: avoid; margin-bottom: 1.4rem; }

.say-card {
    position: relative; display: block; background: var(--white);
    border: 1px solid var(--sand-200); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm); padding: 1.5rem; margin: 0;
}
.say-card > p { margin: 0 0 1rem; color: var(--ink-700); }
.say-card > footer { display: flex; align-items: center; gap: .7rem; }

.say-card__mark {
    display: block; font-family: var(--font-display); font-size: 4rem;
    line-height: .55; color: var(--coco-600); margin-bottom: .9rem;
}
.say-card__mark--end {
    position: absolute; right: 1.1rem; bottom: .2rem; margin: 0;
    font-size: 3.4rem; color: var(--ink-900); opacity: .85;
}

.say-card--feature { text-align: center; padding-top: 3.6rem; }
.say-card--feature > footer { justify-content: center; }
.say-card__title { display: block; color: var(--ink-900); font-size: 1.12rem; margin-bottom: .5rem; }
.say-card--feature .stars { display: block; font-size: 1.1rem; margin-bottom: .7rem; }

.say-avatar {
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    display: grid; place-items: center; font-weight: 700;
    background: var(--sand-100); color: var(--ink-700); border: 2px solid var(--sand-200);
}
.say-avatar--sun  { border-color: var(--sun-500); }
.say-avatar--sky  { border-color: var(--sky-500); }
.say-avatar--leaf { border-color: var(--leaf-500); }
.say-avatar--coco { border-color: var(--coco-500); }
.say-avatar--lg {
    width: 68px; height: 68px; font-size: 1.35rem;
    margin: -3.6rem auto .9rem; border-width: 4px;
    box-shadow: var(--shadow-sm); background: var(--white);
}

.say-who { display: flex; flex-direction: column; line-height: 1.25; text-align: start; }
.say-who strong { color: var(--ink-900); font-size: .95rem; }
.say-who small { color: var(--ink-500); font-size: .8rem; }
.say-who--center { align-items: center; }

/* Chat widget ------------------------------------------------------------ */

.chat { position: fixed; right: 1.1rem; bottom: 5.6rem; z-index: 60; }
.chat__launcher {
    display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border: 0;
    border-radius: 999px; background: var(--green-800); color: var(--sand-50); font: inherit;
    font-weight: 600; cursor: pointer; box-shadow: var(--shadow);
}
.chat__launcher:hover { background: var(--green-700); }
.chat__panel {
    position: absolute; right: 0; bottom: calc(100% + .7rem); width: min(92vw, 350px);
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sand-200);
}
.chat__panel[hidden] { display: none; }
.chat__header {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    background: var(--green-800); color: var(--sand-50); padding: .8rem 1rem;
}
.chat__header small { display: block; font-size: .72rem; color: var(--sand-200); }
.chat__close { background: none; border: 0; color: var(--sand-100); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.chat__log { padding: 1rem; display: grid; gap: .6rem; max-height: 320px; overflow-y: auto; background: var(--sand-50); }
.chat__msg { padding: .6rem .85rem; border-radius: var(--radius); font-size: .9rem; max-width: 85%; }
.chat__msg--bot { background: var(--white); border: 1px solid var(--sand-200); }
.chat__msg--user { background: var(--green-800); color: var(--sand-50); margin-inline-start: auto; }
.chat__msg--typing { color: var(--ink-500); font-style: italic; }
.chat__suggestions { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 1rem .6rem; background: var(--sand-50); }
.chat__suggestion {
    border: 1px solid var(--sand-200); background: var(--white); border-radius: 999px;
    padding: .28rem .7rem; font-size: .78rem; cursor: pointer; font-family: inherit; color: var(--ink-700);
}
.chat__suggestion:hover { border-color: var(--green-600); color: var(--green-700); }
.chat__form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--sand-200); }
.chat__note { font-size: .7rem; color: var(--ink-500); margin: 0; padding: 0 .8rem .7rem; }

.whatsapp-fab {
    position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
    width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center;
    background: #25d366; color: #fff; box-shadow: var(--shadow);
}
.whatsapp-fab:hover { background: #1eb455; color: #fff; }

/* Ask-us floating button */
.ask-fab {
    position: fixed; right: 1.1rem; bottom: 4.5rem; z-index: 60;
    width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center;
    /* White disc with a light-green ring, so the logo reads on its own colours. */
    background: var(--white); color: var(--green-800); box-shadow: var(--shadow);
    font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    line-height: 1.1; text-align: center; cursor: pointer; border: 3px solid var(--leaf-400);
}
.ask-fab:hover { background: var(--white); color: var(--green-800); border-color: var(--leaf-600); }

/* Footer ----------------------------------------------------------------- */

.site-footer { background: var(--green-900); color: var(--sand-200); margin-top: 3rem; }
.footer__grid { display: grid; gap: 1.2rem 3rem; grid-template-columns: minmax(0, 1fr) auto; padding: 1.6rem 0 1.1rem; align-items: start; }
.site-footer h3 { color: var(--leaf-400); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.footer__links { display: grid; gap: .45rem; font-size: .9rem; }
.footer__links a { color: var(--sand-200); }
.footer__links a:hover { color: var(--leaf-400); }
.footer__blurb { font-size: .85rem; margin: .5rem 0 .4rem; }
/* On the dark footer the mark keeps its white ground. */
.brand--footer .brand__mark {
    width: 38px; height: 38px; background: var(--white); border-radius: 10px; padding: 4px;
}
.brand--footer .brand__text strong { color: var(--sand-50); }
.brand--footer .brand__text small { color: var(--sand-200); }
.footer__social { display: flex; gap: .6rem; margin-top: .5rem; font-size: .85rem; }

/* Language menu: many languages, so let it scroll instead of covering the page */
.dropdown__menu { max-height: 70vh; overflow-y: auto; }

/* Social media icons, monochrome - they take the neutral text colour of
   wherever they sit (dark ink in the header, pale sand in the footer). */

.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.social-link {
    width: var(--social-size, 44px);
    height: var(--social-size, 44px);
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: var(--ink-700);
    transition: transform .15s ease, color .15s ease;
}
.social-link svg { width: 55%; height: 55%; display: block; }
.social-link:hover { color: var(--red-600); }
.social-links--dark .social-link { color: var(--sand-200); }
.social-links--dark .social-link:hover { color: var(--white); }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; padding: .55rem 0; }
.footer__bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__bar a { color: var(--sand-200); }
/* Phone and email sit on the copyright line, in white and kept whole. */
.footer__bar a.footer__contact { color: var(--white); white-space: nowrap; }
/* A little breathing room between the copyright and the links. */
.footer__links-inline { margin-left: 1.25rem; }
.footer__visit { line-height: 1.7; margin: .2rem 0 0; }
/* Address, then hours - each on its own line (phone and email are in the bottom bar). */
.footer__visit-line { display: block; white-space: nowrap; }
.footer__visit a { white-space: nowrap; } /* keep the email and number whole */
/* Follow us + the icon row sit inline with the copyright in the bottom bar. */
.footer__social-inline { display: inline-flex; align-items: center; gap: .6rem; }
.footer__social-inline strong { color: var(--leaf-400); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.footer__social-inline .footer__social { display: inline-flex; margin-top: 0; }

@media (max-width: 860px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* Pagination ------------------------------------------------------------- */

.pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.6rem; font-size: .9rem; }
.pagination__link { padding: .45rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--sand-200); }
.pagination__status { color: var(--ink-500); }

/* Empty state ------------------------------------------------------------ */

.empty { text-align: center; padding: 3rem 1rem; color: var(--ink-500); }
.empty__icon { display: none; }

/* Filter bar ------------------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; margin-bottom: 1.2rem; }
.filters .field { min-width: 150px; }

/* Print (kitchen tickets) ------------------------------------------------ */

@media print {
    .site-header, .site-footer, .chat, .whatsapp-fab, .no-print { display: none !important; }
    body { background: #fff; }
    .card { box-shadow: none; border: 1px solid #ccc; }
}

/* Accommodation ----------------------------------------------------------
   Photo with a corner ribbon and slide arrows; a white body that overlaps
   the image and carries the title, specs, price and book button.
   ------------------------------------------------------------------------ */

.room-grid { display: grid; gap: 1.6rem 1.4rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1200px) { .room-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .room-grid { grid-template-columns: repeat(2, 1fr); } }

.room-card { display: flex; flex-direction: column; }

.room-card__media {
    position: relative; aspect-ratio: 4 / 3; background: var(--sand-200); overflow: hidden;
}
.room-card__slide { margin: 0; position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.room-card__slide.is-active { opacity: 1; }
.room-card__slide img { width: 100%; height: 100%; object-fit: cover; }

.room-card__ribbon {
    position: absolute; left: 0; top: 0; z-index: 2;
    padding: .45rem 1rem; background: rgba(12, 22, 12, .72); color: var(--white);
    font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.room-card__ribbon--out { background: var(--red-700); left: auto; right: 0; }
.room-card__ribbon--request { background: var(--coco-600); left: auto; right: 0; }

.room-card__nav {
    position: absolute; right: .7rem; bottom: .6rem; z-index: 2;
    display: flex; align-items: center; gap: .5rem;
    color: var(--white); font-size: .78rem;
}
.room-card__nav button {
    width: 26px; height: 26px; display: grid; place-items: center;
    border: 0; border-radius: 999px; background: rgba(0, 0, 0, .35); color: var(--white);
    font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.room-card__nav button:hover { background: rgba(0, 0, 0, .6); }

.room-card__body {
    position: relative; z-index: 3; margin: -1.4rem .8rem 0; padding: 1rem 1.1rem 1.1rem;
    background: var(--white); border: 1px solid var(--sand-200); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: .55rem; flex: 1;
}

.room-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.room-card__title {
    margin: 0; font-family: var(--font-sans); font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.room-card__details {
    display: grid; place-items: center; flex: none;
    width: 30px; height: 30px;
    border: 1px solid var(--sand-200); border-radius: 50%;
    color: var(--ink-700);
}
.room-card__details:hover { color: var(--red-600); border-color: currentColor; }
.room-card__details svg { width: 16px; height: 16px; }

.room-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .9rem; }

/* Availability pill: Available / Fully booked / N rooms left, driven by the
   admin's booking-status and rooms-left settings. */
.room-card__status {
    display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
    font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.room-card__status::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor;
}
.room-card__status--open    { color: #2f6b1e; }
.room-card__status--full    { color: #9c1d24; }
.room-card__status--request { color: #8a5d13; }

/* Friendly availability sentence: "4 rooms still available" /
   "No more rooms available", driven by the admin's unit settings. */
.room-card__availability {
    margin: 0;
    font-size: .87rem; font-weight: 600; color: var(--green-700);
}
.room-card__availability--warn { color: #8a5d13; }
.room-card__availability--full { color: #9c1d24; }

.room-card__summary {
    margin: 0; font-size: .84rem; color: var(--ink-700); line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.room-card__occupancy {
    margin: 0; flex: none; font-size: .68rem; font-weight: 600; letter-spacing: .06em;
    text-transform: uppercase; color: var(--ink-500); white-space: nowrap;
}

/* Amenity icons: wifi, fridge, aircon, TV, shower, parking. */
.room-card__amenities {
    display: flex; flex-wrap: wrap; gap: .3rem .9rem;
    margin: .15rem 0 0; padding: .55rem 0 0;
    border-top: 1px dashed var(--sand-200);
    list-style: none;
}
.room-card__amenities li {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .78rem; color: var(--ink-700);
}
.room-card__amenities svg { width: 17px; height: 17px; color: var(--green-700); flex: none; }
.room-card__amenities--page {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: .55rem 1rem;
    border-top: 0; padding: 0; margin: 0;
}
.room-card__amenities--page li { font-size: .88rem; }
.room-card__amenities--page svg { width: 19px; height: 19px; }

.room-card__foot {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    margin-top: auto; padding-top: .3rem;
}
.room-card__price { display: flex; flex-direction: column; line-height: 1.3; }
.room-card__price-row { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.room-card__price-row + .room-card__price-row { margin-top: .3rem; }
.room-card__from { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); }
.room-card__price strong { font-size: 1.45rem; font-weight: 600; color: var(--ink-900); }
.room-card__price strong.room-card__price--single { font-size: 1.15rem; color: var(--ink-700); }
.room-card__unit { font-size: .78rem; color: var(--ink-500); }
.room-card__stock { font-size: .76rem; color: var(--green-700); font-weight: 600; }

/* Card rates: both prices on one compact block, "per night" said once. */
.room-card__foot:has(.room-card__pricing) {
    flex-direction: column; align-items: stretch; gap: .7rem;
    padding-top: .65rem; border-top: 1px solid var(--sand-200);
}
.room-card__pricing { display: flex; flex-direction: column; gap: .1rem; }
.room-card__rates { display: grid; gap: .1rem; margin: 0; }
.room-card__rates > div { display: flex; align-items: baseline; gap: .45rem; }
.room-card__rates dt {
    min-width: 4.6rem;
    font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500);
}
.room-card__rates dd { margin: 0; font-size: 1.02rem; font-weight: 700; color: var(--ink-700); white-space: nowrap; }
.room-card__rates > div:first-child dd { font-size: 1.22rem; color: var(--ink-900); }
/* The admin's standard rate, struck through beside the current price. */
.room-card__was { margin-inline-end: .35rem; font-size: .8em; font-weight: 500; color: var(--ink-500); }
.room-card__pricing .room-card__unit { font-size: .72rem; }
.room-card__foot:has(.room-card__pricing) .room-card__actions { align-items: stretch; }
.room-card__foot:has(.room-card__pricing) .room-card__actions > .btn { width: 100%; padding: .6rem 1rem; }
.room-card__foot:has(.room-card__pricing) .room-card__hint { text-align: center; }

.room-card__actions { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; }
.room-card__book {
    border-radius: 0; padding: .7rem 1.4rem; letter-spacing: .06em;
    text-transform: uppercase; font-size: .8rem; white-space: nowrap;
}
.room-card__hint { font-size: .74rem; color: var(--ink-500); }
.room-card__hint a { text-decoration: underline; }

/* Availability bar above the grid */
.stay-bar {
    display: flex; align-items: flex-end; gap: 1rem; flex-wrap: wrap;
    background: var(--white); border: 1px solid var(--sand-200);
    border-radius: 0; padding: 1.1rem 1.3rem; margin-bottom: 2.2rem;
}
.stay-bar .field { min-width: 170px; }
.stay-bar .field input { border-radius: 0; }
.stay-bar__summary { margin-inline-start: auto; font-size: .86rem; color: var(--ink-500); }
.stay-bar .btn { border-radius: 0; }

/* Availability results after "Check availability". */
.stay-results { scroll-margin-top: 6rem; }
.stay-results__error { margin: 0 0 1.5rem; }
.stay-results__summary {
    margin: 0 0 1.4rem; padding: .85rem 1.1rem;
    border-left: 4px solid var(--green-600); background: #eef6e8;
    font-weight: 600; color: var(--green-900);
}
.stay-results__summary--none { border-left-color: var(--red-600); background: #fbe9ea; color: var(--red-700); }
.stay-results__head { margin: 0 0 1rem; font-size: 1.3rem; }
.stay-results__head--muted { margin-top: 2.5rem; color: var(--ink-500); }
/* Rooms that are not free stay visible but step back. */
.stay-results__unavailable .room-card { opacity: .55; filter: grayscale(.6); }
.stay-results__reason { margin: 0 0 .5rem; font-size: .85rem; font-weight: 600; color: var(--red-700); }

@media (max-width: 620px) {
    .room-grid { grid-template-columns: 1fr; }
    .room-card__body { margin-inline: .6rem; padding: 1.1rem; }
    .room-card__meta, .room-card__foot { flex-direction: column; align-items: flex-start; gap: .7rem; }
    .room-card__actions { align-items: flex-start; width: 100%; }
    .room-card__book { width: 100%; }
}

/* Stay receipt -----------------------------------------------------------
   The running summary shown beside the room booking form: dark property
   header, a section bar, the room line, the money, then anything settled at
   the property.
   ------------------------------------------------------------------------ */

.receipt {
    background: var(--white); border: 1px solid var(--sand-200);
    box-shadow: var(--shadow-sm); overflow: hidden; position: sticky; top: 72px;
}
.receipt[hidden] { display: none; }

.receipt__head {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: var(--ink-900); color: var(--white); padding: .95rem 1.1rem;
    font-size: 1.02rem; font-weight: 700;
}
.receipt__toggle {
    background: none; border: 0; color: var(--white); cursor: pointer;
    font-size: 1.6rem; line-height: 1; padding: 0 .2rem; transition: transform .2s ease;
}
.receipt.is-collapsed .receipt__toggle { transform: rotate(90deg); }
.receipt.is-collapsed .receipt__body { display: none; }

.receipt__section {
    display: flex; align-items: center; gap: .55rem;
    background: var(--leaf-500); color: var(--green-900); padding: .55rem 1.1rem;
    font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.receipt__section svg { width: 18px; height: 18px; }

.receipt__body { padding: 1.1rem; }

.receipt__item { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.receipt__room { margin: 0; font-size: 1.12rem; font-weight: 700; font-family: var(--font-sans); }

.receipt__details {
    background: none; border: 0; padding: .25rem 0 0; cursor: pointer;
    font: inherit; font-size: .68rem; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ink-500);
}
.receipt__details:hover { color: var(--red-600); }

.receipt__remove {
    background: none; border: 0; cursor: pointer; color: var(--red-600); padding: .2rem; flex: none;
}
.receipt__remove:hover { color: var(--red-700); }
.receipt__remove svg { width: 22px; height: 22px; }

.receipt__facts { margin: .9rem 0 0; display: grid; gap: .3rem; font-size: .85rem; }
.receipt__facts[hidden] { display: none; }
.receipt__facts > div { display: flex; justify-content: space-between; gap: 1rem; }
.receipt__facts dt { color: var(--ink-500); }
.receipt__facts dd { margin: 0; font-weight: 600; }

.receipt__dates {
    display: flex; align-items: center; gap: .5rem; margin-top: .8rem;
    font-size: .85rem; color: var(--ink-500);
}
.receipt__dates[hidden] { display: none; }

.receipt__lines { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--sand-200); }
.receipt__line { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .2rem 0; }
.receipt__line--muted { font-size: .88rem; color: var(--ink-500); }
.receipt__label { font-size: 1.05rem; font-weight: 700; }
.receipt__value { font-size: 1.05rem; font-weight: 700; }

.receipt__total {
    display: flex; flex-direction: column; align-items: flex-end; text-align: end;
    margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--sand-200);
}
.receipt__total-label {
    align-self: flex-start; font-size: .95rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase; margin-bottom: .4rem;
}
.receipt__was { color: var(--ink-500); text-decoration: line-through; font-size: 1.05rem; }
.receipt__was[hidden] { display: none; }
.receipt__amount { font-size: 2rem; font-weight: 700; line-height: 1.15; }
.receipt__note { font-size: .82rem; color: var(--ink-500); }
.receipt__saving { margin-top: .35rem; font-size: .82rem; font-weight: 700; color: var(--green-700); }
.receipt__saving[hidden] { display: none; }

.receipt__extras { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--sand-200); }
.receipt__extras[hidden] { display: none; }
.receipt__extras-head { display: flex; gap: .6rem; margin: 0 0 .5rem; font-size: .88rem; }
.receipt__extras-head svg { width: 20px; height: 20px; flex: none; color: var(--ink-500); margin-top: .1rem; }
.receipt__extras-head small { display: block; color: var(--ink-500); font-size: .78rem; }

.receipt__empty { margin: 1rem 0 0; font-size: .86rem; color: var(--ink-500); }
.receipt__empty[hidden] { display: none; }

@media (max-width: 900px) { .receipt { position: static; } }

/* ==========================================================================
   Page covers: the admin's photo sits inside the green page-head banner.
   A left-to-right green scrim (with the palm frond) overlays the photo so
   the copy stays readable whatever picture is behind it.
   ========================================================================== */

.page-head--photo {
    color: var(--sand-50);
}

/* The photo itself, filling the banner. */
.page-head__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Green scrim + palm frond, painted over the photo. Copy stays above it. */
.page-head--photo::after {
    content: ""; position: absolute; inset: 0;
    background:
        url("../images/palm-leaf-left.png") right top / auto 80% no-repeat,
        linear-gradient(100deg, rgba(42, 90, 30, .94) 0%, rgba(61, 122, 42, .86) 45%, rgba(74, 138, 48, .62) 100%);
    pointer-events: none;
}

/* The brand accent bar must stay visible over the photo. */
.page-head--photo::before { z-index: 1; background: var(--sky-500); }

.page-head--photo .container { z-index: 1; }

/* Live update bar: shown when the admin changed this page while the visitor
   was busy (typing, chat open, mid-booking), offering a refresh. */
.live-update {
    position: fixed; left: 50%; bottom: 1.2rem; z-index: 90;
    transform: translateX(-50%);
    display: flex; align-items: center; gap: .8rem;
    max-width: calc(100vw - 2rem);
    padding: .6rem .7rem .6rem 1.1rem;
    background: var(--green-900); color: var(--sand-50);
    border-radius: 999px; box-shadow: var(--shadow-lg);
    font-size: .9rem;
}
.live-update[hidden] { display: none; }
.live-update__btn {
    border: 0; border-radius: 999px; padding: .4rem 1rem;
    background: var(--leaf-400); color: var(--green-900);
    font: inherit; font-weight: 700; cursor: pointer;
}
.live-update__btn:hover { background: var(--leaf-300); }
.live-update__close {
    border: 0; background: none; color: inherit; opacity: .7;
    font-size: 1.2rem; line-height: 1; cursor: pointer; padding: 0 .3rem;
}
.live-update__close:hover { opacity: 1; }

/* Specials: promotion cards with a picture on top - the admin's photo with
   an offer tag, or a brand graphic showing the offer when there is none. */
.promo-grid {
    display: grid; gap: 1.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1024px) { .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .promo-grid { grid-template-columns: minmax(0, 1fr); } }

.promo-card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--sand-200);
    border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-sm);
}

.promo-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--sand-200); overflow: hidden; }
.promo-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.promo-card__tag {
    position: absolute; left: 0; top: 1rem;
    padding: .45rem 1rem;
    background: var(--red-600); color: var(--white);
    font-weight: 800; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase;
}

.promo-card__art {
    position: relative; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background:
        url("../images/palm-leaf-left.png") right -30px top -20px / auto 75% no-repeat,
        linear-gradient(135deg, var(--green-700), var(--green-900));
    color: var(--white); text-align: center; overflow: hidden;
}
.promo-card__art strong {
    position: relative; z-index: 1;
    font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem);
    line-height: 1; letter-spacing: -.02em;
}
.promo-card__art small {
    position: relative; z-index: 1; margin-top: .3rem;
    font-size: .95rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
    color: var(--leaf-300);
}
.promo-card__sun {
    position: absolute; left: -40px; bottom: -40px;
    width: 150px; height: 150px; border-radius: 50%;
    background: var(--sun-500); opacity: .9;
}

.promo-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem 1.2rem 1.3rem; flex: 1; }
.promo-card__body h3 { margin: 0; font-size: 1.12rem; }
.promo-card__desc { margin: 0; font-size: .9rem; color: var(--ink-700); }
.promo-card__facts {
    display: flex; flex-wrap: wrap; gap: .3rem 1rem;
    margin-top: auto; padding-top: .7rem;
    border-top: 1px dashed var(--sand-200);
    font-size: .8rem; color: var(--ink-500);
}
.promo-card__facts code {
    padding: .1rem .4rem; border-radius: 4px;
    background: var(--sand-100); color: var(--green-800); font-weight: 700;
}

/* Phones: four across --------------------------------------------------------
   Every card list on the public pages - dishes, rooms, venue areas, specials,
   menu sections, team and galleries - shows four compact cards per row, not
   just the pictures. Each card keeps its photo, name, price and main button;
   longer text (descriptions, amenities, bios) steps aside until the guest
   opens the item. Text-only info boxes (.feature) keep their full width.
   ------------------------------------------------------------------------ */
@media (max-width: 620px) {
    .grid--fill, .grid--4, .grid--3:not(:has(> .feature)),
    .promo-grid, .board-sections, .gallery-grid, .team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .45rem;
    }
    /* Rooms: three per row on phones. */
    .room-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
    .team-groups { gap: 1.4rem; }
    .gallery-grid img { border-radius: var(--radius-sm); }

    /* Dish and venue-area cards */
    .dish { border-radius: var(--radius-sm); }
    .dish__body { padding: .4rem; gap: .25rem; }
    .dish__name {
        font-size: .68rem; line-height: 1.25; min-height: 2.5em;
        display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    }
    .dish__desc { display: none; }
    .dish__foot { flex-direction: column; align-items: stretch; gap: .3rem; margin-top: auto; }
    .dish__price { font-size: .7rem; }
    .dish__promo-meta { font-size: .56rem; }
    .dish__foot form { margin: 0; }
    .dish__foot .btn { width: 100%; padding: .3rem .2rem; font-size: .62rem; white-space: normal; line-height: 1.15; }
    .dish__badge, .dish__sold-out { top: .25rem; left: .25rem; padding: .1rem .3rem; font-size: .5rem; letter-spacing: .02em; }
    .area-capacity { padding: .1rem .35rem; gap: .2rem; font-size: .56rem; }
    .area-capacity svg { width: 9px; height: 9px; }

    /* Room cards */
    .room-card__body { margin: -.5rem .2rem 0; padding: .4rem; gap: .3rem; }
    .room-card__title { font-size: .68rem; min-height: 2.5em; }
    .room-card__head { gap: .2rem; }
    .room-card__details { width: 18px; height: 18px; }
    .room-card__details svg { width: 11px; height: 11px; }
    .room-card__ribbon { padding: .15rem .3rem; font-size: .48rem; letter-spacing: .04em; }
    .room-card__nav { right: .2rem; bottom: .2rem; gap: .15rem; font-size: 0; }
    .room-card__nav button { width: 16px; height: 16px; font-size: .75rem; }
    .room-card__meta { gap: .2rem; }
    /* Amenities stay visible as a row of small icons; the names step aside. */
    .room-card__amenities:not(.room-card__amenities--page) { gap: .25rem .35rem; padding-top: .3rem; }
    .room-card__amenities:not(.room-card__amenities--page) svg { width: 13px; height: 13px; }
    .room-card__status { font-size: .56rem; }
    .room-card__occupancy, .room-card__summary, .room-card__amenities:not(.room-card__amenities--page) span,
    .room-card__hint, .room-card__rates dt, .room-card__was { display: none; }
    .room-card__foot:has(.room-card__pricing) { gap: .3rem; padding-top: .3rem; }
    .room-card__rates dd, .room-card__rates > div:first-child dd { font-size: .66rem; white-space: normal; }
    .room-card__pricing .room-card__unit { font-size: .52rem; }
    .room-card__foot:has(.room-card__pricing) .room-card__actions > .btn,
    .room-card__book {
        padding: .3rem .15rem; font-size: .52rem; letter-spacing: .02em;
        white-space: normal; line-height: 1.15;
    }

    /* Specials */
    .promo-card { border-radius: var(--radius-sm); }
    .promo-card__media { aspect-ratio: 1; }
    .promo-card__tag { top: .3rem; padding: .1rem .3rem; font-size: .55rem; }
    .promo-card__art strong { font-size: 1rem; }
    .promo-card__art small { font-size: .45rem; letter-spacing: .1em; }
    .promo-card__sun { width: 40px; height: 40px; left: -12px; bottom: -12px; }
    .promo-card__body { padding: .4rem; gap: .25rem; }
    .promo-card__body h3 { font-size: .68rem; line-height: 1.25; }
    .promo-card__desc, .promo-card__facts { display: none; }
    .promo-card__body .btn { width: 100%; padding: .3rem .15rem; font-size: .58rem; white-space: normal; }

    /* Home specials: plain cards in the three-up grid */
    .grid--3 > .card { padding: .4rem; border-radius: var(--radius-sm); }
    .grid--3 > .card .dish__media { margin-bottom: .35rem !important; }
    .grid--3 > .card h3 { margin: 0 0 .25rem; font-size: .68rem; line-height: 1.25; }
    .grid--3 > .card .text-muted { display: none; }
    .grid--3 > .card p { margin: 0 0 .25rem; font-size: .62rem; }
    .grid--3 > .card strong { font-size: .72rem !important; }
    .grid--3 > .card .btn { width: 100%; padding: .3rem .15rem; font-size: .58rem; white-space: normal; }

    /* Menu section tiles while collapsed; an opened section spans the row */
    .board-sections .board-section > summary { border-radius: var(--radius-sm); }
    .board-sections .board-section:not([open]) .board-section__body { padding: .4rem; }
    .board-sections .board-section:not([open]) .board-section__body h3 { margin: 0; font-size: .68rem; line-height: 1.25; }
    .board-sections .board-section:not([open]) .board-section__body p,
    .board-sections .board-section:not([open]) .board-section__count { display: none; }

    /* Team */
    .team-card__body { padding: .4rem; }
    .team-card__body h4 { font-size: .66rem; line-height: 1.25; }
    .team-card__role { margin: 0; font-size: .5rem; letter-spacing: .02em; }
    .team-card__bio { display: none; }
    .team-card__initial { font-size: 1.4rem; }
}

/* Phones: the hero headline and each footer line stay on one line, the
   type scaling with the screen width instead of wrapping. */
@media (max-width: 760px) {
    .hero__title { white-space: nowrap; max-width: none; font-size: clamp(1.5rem, 10vw, 3.4rem); }

    /* Order food and Book a room sit side by side on one line. */
    .hero__actions { flex-wrap: nowrap; gap: .55rem; }
    .hero__actions .btn--lg {
        flex: 0 1 auto; white-space: nowrap;
        padding: .55rem clamp(.7rem, 3.5vw, 1.5rem); font-size: min(.95rem, 3.6vw);
    }

    .footer__visit { line-height: 1.6; }
    .footer__visit-line { white-space: nowrap; font-size: min(1rem, 2.85vw); }
    .footer__legal { display: flex; flex-direction: column; gap: .15rem; }
    .footer__copy, .footer__links-inline { white-space: nowrap; font-size: min(.78rem, 3vw); }
    .footer__links-inline { margin-left: 0; }
    .footer__links-inline > .footer__sep:first-child { display: none; }
    .footer__social-inline { white-space: nowrap; }
}

/* Order placed ------------------------------------------------------------
   The order number is the one thing the customer must leave with.
   ------------------------------------------------------------------------ */
.order-done { max-width: 560px; }
.order-done__label { margin: 0; color: var(--ink-500); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.order-done__number { margin: .3rem 0 .8rem; color: var(--green-800); font-size: clamp(1.2rem, 5.6vw, 2.6rem); font-weight: 800; letter-spacing: .02em; white-space: nowrap; user-select: all; }
@media (max-width: 480px) { .order-done .card--pad-lg { padding: 1.5rem 1rem; } }
.order-done__keep { margin: 1.4rem 0; padding: .9rem 1rem; border: 1px solid var(--sun-500); border-left-width: 4px; border-radius: 10px; background: #fff8e6; text-align: left; font-size: .92rem; }
.order-done__keep strong { display: block; margin-bottom: .2rem; }
.order-done__total { margin: 0 0 1rem; }
