/* ==========================================================================
   Professor AB Stuurman Nxuba BnB — front-end stylesheet
   ========================================================================== */

:root {
    --clay:        #7a3b12;
    --clay-dark:   #5c2b0c;
    --clay-light:  #a9552b;
    --gold:        #d89b3c;
    --gold-soft:   #f0d9ac;
    --ink:         #2b2118;
    --ink-soft:    #5e5044;
    --cream:       #f7f1e8;
    --cream-dark:  #ece2d3;
    --paper:       #ffffff;
    --green:       #2f6b4f;
    --red:         #b3341f;
    --amber:       #b07d12;
    --line:        #e3d7c5;
    --radius:      14px;
    --shadow:      0 6px 28px rgba(90, 60, 25, .10);
    --shadow-lg:   0 18px 50px rgba(90, 60, 25, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; line-height: 1.25; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
a  { color: var(--clay); text-decoration: none; }
a:hover { color: var(--clay-light); text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: min(1180px, 92vw); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #e8ded0; font-size: .82rem; }
.topbar a { color: #e8ded0; }
.topbar-inner { display: flex; gap: 24px; padding: 7px 0; flex-wrap: wrap; }
.topbar-addr { margin-left: auto; }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.header-inner { display: flex; align-items: center; gap: 20px; padding: 12px 0; flex-wrap: wrap; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark {
    width: 46px; height: 46px; flex: none; border-radius: 12px;
    background: linear-gradient(135deg, var(--clay), var(--gold));
    color: #fff; font-family: Georgia, serif; font-weight: 700; font-size: 1.1rem;
    display: grid; place-items: center; letter-spacing: .5px;
}
/*
 * Uploaded logo replaces the lettermark. Sized at 138px — 3x the original 46px.
 * object-fit + max-width guard against an unusually wide logo distorting or
 * shoving the navigation onto a second row.
 */
.brand-logo {
    height: 138px;
    width: auto;
    max-width: min(480px, 100%);
    object-fit: contain;
    flex: none;
}
.brand-has-logo .brand-text { display: none; }   /* a real logo already carries the name */

/*
 * At 3x the logo is ~387px wide, which no longer leaves room for the nav on the
 * same row. Rather than let it wrap by accident, give the logo its own row with
 * the nav beneath it, and stop pinning the header — a ~195px sticky bar would
 * cover a fifth of the screen on every scroll.
 */
.site-header-logo { position: static; }
.site-header-logo .header-inner { padding: 8px 0 0; }
.site-header-logo .site-nav {
    margin-left: 0;
    width: 100%;
    border-top: 1px solid var(--line);
    margin-top: 6px;
    padding: 2px 0;
}
.site-header-logo .nav-cta { margin-left: auto; }

/* Step down on narrower screens so the logo cannot swallow the viewport */
@media (max-width: 1180px) { .brand-logo { height: 112px; } }
@media (max-width: 940px)  { .brand-logo { height: 96px; } }
@media (max-width: 560px)  { .brand-logo { height: 72px; max-width: 74vw; } }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: Georgia, serif; font-size: 1.05rem; color: var(--ink); }
.brand-text em { font-style: normal; font-size: .78rem; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-nav a {
    padding: 9px 13px; border-radius: 8px; font-size: .93rem; font-weight: 500; color: var(--ink);
}
.site-nav a:hover { background: var(--cream); text-decoration: none; }
.site-nav a.active { color: var(--clay); background: var(--cream); font-weight: 600; }
.nav-secondary { color: var(--ink-soft) !important; font-size: .88rem !important; }
.nav-cta { color: #fff !important; }
.nav-cta:hover { background: var(--clay-dark) !important; }

.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: auto; padding: 8px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

@media (max-width: 940px) {
    .nav-burger { display: flex; }
    .site-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; margin-left: 0; }
    .nav-toggle:checked ~ .site-nav { display: flex; padding-bottom: 10px; }
    .site-nav a { padding: 11px 12px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .topbar-addr { margin-left: 0; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 600;
    padding: 13px 26px; border-radius: 10px; text-align: center; transition: .18s ease;
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-dark); color: #fff; }
.btn-gold { background: var(--gold); color: #3a2708; }
.btn-gold:hover { background: #c98c2e; color: #3a2708; }
.btn-outline { background: transparent; color: var(--clay); border: 2px solid var(--clay); }
.btn-outline:hover { background: var(--clay); color: #fff; }
.btn-ghost { background: var(--cream-dark); color: var(--ink); }
.btn-ghost:hover { background: var(--line); color: var(--ink); }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .88rem; }
.btn-block { display: block; width: 100%; }
.btn[disabled], .btn.disabled { opacity: .5; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; padding: 96px 0 84px;
    background:
        linear-gradient(rgba(43,33,24,.72), rgba(43,33,24,.62)),
        radial-gradient(circle at 20% 20%, #a9552b, transparent 60%),
        radial-gradient(circle at 80% 70%, #d89b3c, transparent 55%),
        linear-gradient(135deg, #5c2b0c, #2b2118);
    background-size: cover; background-position: center;
}
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 2; }

/*
 * Logo watermark centred in the hero. The radial mask dissolves the edges so a
 * rectangular JPG logo (one with its own background) blends in instead of
 * showing as a hard box.
 */
.hero-brandmark {
    position: absolute; z-index: 1; pointer-events: none;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: min(660px, 80%);
    /* aspect-ratio is set inline from the real image so the mask matches its box */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 26%, rgba(0,0,0,.35) 58%, transparent 78%);
            mask-image: radial-gradient(ellipse at center, #000 26%, rgba(0,0,0,.35) 58%, transparent 78%);
}
/* Give the headline more room to clear the watermark */
.hero-branded { padding: 110px 0 96px; }
.hero-branded h1, .hero-branded p.lead { text-shadow: 0 2px 24px rgba(0,0,0,.65); }

@media (max-width: 700px) {
    .hero-brandmark { background-size: 92% auto; }
}

.hero h1 { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero p.lead { font-size: 1.15rem; max-width: 640px; color: #f2e8db; }
.hero-eyebrow {
    display: inline-block; background: rgba(216,155,60,.22); border: 1px solid rgba(216,155,60,.55);
    color: var(--gold-soft); padding: 6px 15px; border-radius: 999px;
    font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Search / booking bar ---------- */
.searchbar {
    background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 20px; margin-top: -46px; position: relative; z-index: 5;
}
.searchbar h3 { margin: 0 0 14px; font-size: 1.05rem; }
.search-grid { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; }
@media (max-width: 860px) { .search-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .search-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
label, .label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft);
    text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=time],
input[type=number], input[type=password], input[type=datetime-local], input[type=search],
select, textarea {
    width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
    font: inherit; font-size: .95rem; background: var(--paper); color: var(--ink);
}
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--clay-light); box-shadow: 0 0 0 3px rgba(169,85,43,.14);
}
textarea { min-height: 110px; resize: vertical; }
input[type=file] { padding: 9px; background: var(--cream); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 640px) { .field-row, .field-row-3 { grid-template-columns: 1fr; } }
.hint { font-size: .8rem; color: var(--ink-soft); margin-top: 5px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: auto; margin-top: 4px; }
.check label { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .93rem; color: var(--ink); margin: 0; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 20px; }
legend { padding: 0 8px; font-family: Georgia, serif; font-size: 1.05rem; color: var(--clay); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-tight { padding: 44px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-inline: auto; }
.eyebrow { color: var(--clay-light); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }

.page-head {
    background: linear-gradient(135deg, var(--clay-dark), var(--clay-light));
    color: #fff; padding: 54px 0 46px;
}
.page-head h1 { color: #fff; margin-bottom: .25em; }
.page-head p { color: #f6e7d5; margin: 0; max-width: 700px; }
.crumbs { font-size: .82rem; color: #f0dcc2; margin-bottom: 10px; }
.crumbs a { color: #fff; opacity: .85; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-body { padding: 22px; }
.panel { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }

/* ---------- Room cards ---------- */
.room-card { display: flex; flex-direction: column; transition: .2s ease; }
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.room-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-dark); }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: .4s ease; }
.room-card:hover .room-media img { transform: scale(1.05); }
.room-letter {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    background: rgba(43,33,24,.85); color: #fff; font-family: Georgia, serif; font-weight: 700;
    width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; font-size: 1.2rem;
    backdrop-filter: blur(4px);
}
.room-status {
    position: absolute; top: 14px; right: 12px; z-index: 2; font-size: .72rem; font-weight: 700;
    padding: 5px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em;
}
.room-status.free { background: #e3f4ea; color: var(--green); }
.room-status.full { background: #fbe3de; color: var(--red); }
.room-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { margin-bottom: 4px; }
.room-meta { display: flex; gap: 14px; font-size: .84rem; color: var(--ink-soft); margin-bottom: 12px; flex-wrap: wrap; }
.room-rate { font-family: Georgia, serif; font-size: 1.6rem; color: var(--clay); font-weight: 700; }
.room-rate span { font-size: .8rem; color: var(--ink-soft); font-family: inherit; font-weight: 400; }
.room-foot { margin-top: auto; padding-top: 16px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

.placeholder-media {
    width: 100%; height: 100%; display: grid; place-items: center; text-align: center;
    background: repeating-linear-gradient(45deg, #ece2d3, #ece2d3 12px, #e4d8c5 12px, #e4d8c5 24px);
    color: var(--ink-soft); font-size: .82rem; padding: 20px;
}
.placeholder-media strong { display: block; font-family: Georgia, serif; font-size: 2rem; color: var(--clay-light); }

/* ---------- Amenity chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .8rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--cream-dark); aspect-ratio: 16/10; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4/3; }
.gallery-thumbs button.active { border-color: var(--clay); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Calendar ---------- */
.cal-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 820px) { .cal-wrap { grid-template-columns: 1fr; } }
.calendar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head h4 { margin: 0; font-size: 1.05rem; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav a { width: 32px; height: 32px; border-radius: 8px; background: var(--cream); display: grid; place-items: center; font-weight: 700; color: var(--ink); }
.cal-nav a:hover { background: var(--cream-dark); text-decoration: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: .7rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; padding-bottom: 6px; letter-spacing: .04em; }
.cal-day {
    aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; font-size: .85rem;
    background: #eef7f1; color: #1d5e3d; font-weight: 600; position: relative;
}
.cal-day.empty { background: transparent; }
.cal-day.past { background: #f4f1ec; color: #b6ac9e; font-weight: 400; }
.cal-day.booked { background: #fbe3de; color: var(--red); }
.cal-day.blocked { background: #efe7db; color: #8a7a63; }
.cal-day.today { outline: 2px solid var(--gold); outline-offset: -2px; }
.cal-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: .8rem; color: var(--ink-soft); }
.cal-legend span { display: flex; align-items: center; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.swatch.free { background: #eef7f1; border: 1px solid #cbe4d6; }
.swatch.booked { background: #fbe3de; border: 1px solid #f0c6bc; }
.swatch.blocked { background: #efe7db; border: 1px solid #ddd0bb; }
.swatch.past { background: #f4f1ec; border: 1px solid #e5e0d7; }

/* ---------- Availability matrix ---------- */
.matrix-scroll { overflow-x: auto; background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.matrix { border-collapse: collapse; width: 100%; min-width: 900px; font-size: .82rem; }
.matrix th, .matrix td { border: 1px solid var(--line); padding: 0; text-align: center; }
.matrix thead th { background: var(--cream); padding: 8px 4px; font-weight: 700; font-size: .72rem; color: var(--ink-soft); position: sticky; top: 0; }
.matrix thead th.weekend { background: var(--cream-dark); }
.matrix tbody th { text-align: left; padding: 10px 14px; background: var(--paper); font-weight: 600; white-space: nowrap; position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 0 var(--line); }
.matrix .cell { display: block; height: 34px; line-height: 34px; }
.matrix .cell.free { background: #eef7f1; }
.matrix .cell.booked { background: #f5b7a8; }
.matrix .cell.blocked { background: #e0d4bf; }
.matrix .cell.past { background: #f4f1ec; }
.matrix tbody th small { display: block; font-weight: 400; color: var(--ink-soft); }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--paper); }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: middle; }
.table th { background: var(--cream); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.table tbody tr:hover { background: #fbf8f3; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Badges & alerts ---------- */
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .03em; }
.badge-ok { background: #e3f4ea; color: var(--green); }
.badge-warn { background: #fdf0d8; color: var(--amber); }
.badge-bad { background: #fbe3de; color: var(--red); }
.badge-muted { background: var(--cream-dark); color: var(--ink-soft); }

.alert { padding: 14px 18px; border-radius: 10px; margin: 18px 0; border-left: 4px solid; font-size: .94rem; }
.alert-success { background: #e9f6ee; border-color: var(--green); color: #1c5236; }
.alert-error   { background: #fdecea; border-color: var(--red); color: #8a2718; }
.alert-warning { background: #fdf4e2; border-color: var(--gold); color: #7a5410; }
.alert-info    { background: #eef2f8; border-color: #3d6ea8; color: #22436b; }

/* ---------- Summary box ---------- */
.summary { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .93rem; }
.summary-row + .summary-row { border-top: 1px dashed var(--line); }
.summary-total { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 700; color: var(--clay); border-top: 2px solid var(--line) !important; padding-top: 14px !important; margin-top: 6px; }

/* ---------- Steps ---------- */
.steps { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.step { flex: 1; min-width: 150px; padding: 12px 16px; background: var(--paper); border-radius: 10px; border: 1px solid var(--line); font-size: .86rem; color: var(--ink-soft); }
.step.active { border-color: var(--clay); background: #fff6ee; color: var(--clay); font-weight: 600; }
.step.done { border-color: var(--green); color: var(--green); }
.step b { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }

/* ---------- Feature list ---------- */
.feature { text-align: center; padding: 26px 20px; }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--cream); display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.6rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Policy documents ---------- */
.policy-layout { display: grid; grid-template-columns: 270px 1fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .policy-layout { grid-template-columns: 1fr; } }

.policy-toc ol { padding-left: 20px; margin: 0; font-size: .88rem; }
.policy-toc li { margin-bottom: 7px; }
.policy-toc a { color: var(--ink-soft); }
.policy-toc a:hover { color: var(--clay); }
@media (max-width: 900px) { .policy-toc .sticky { position: static; } }

.policy-body { max-width: 78ch; }
.policy-body h2 {
    font-size: 1.3rem; margin-top: 34px; padding-top: 22px;
    border-top: 1px solid var(--line); scroll-margin-top: 90px;
}
.policy-body h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.policy-body h3 { font-size: 1.05rem; margin-top: 22px; }
.policy-body p { color: var(--ink-soft); }
.policy-list { padding-left: 22px; margin: 0 0 1rem; }
.policy-list li { margin-bottom: 8px; color: var(--ink-soft); line-height: 1.6; }
.policy-updated {
    display: inline-block; background: var(--cream); border-radius: 999px;
    padding: 5px 14px; font-size: .8rem; color: var(--ink-soft); margin-bottom: 22px;
}
.policy-contact h3 { margin-bottom: 8px; }

/* Tables inside a policy document */
.policy-table-wrap { overflow-x: auto; margin: 0 0 20px; }
.policy-table { border-collapse: collapse; width: 100%; font-size: .88rem; }
.policy-table th, .policy-table td {
    border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top;
}
.policy-table th { background: var(--cream); font-weight: 700; font-size: .8rem;
    text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.policy-table td { color: var(--ink-soft); }
.policy-table tbody tr:nth-child(even) { background: #fbf8f3; }

/* PAIA manual masthead */
.paia-header {
    border: 2px solid var(--clay); border-radius: 10px; padding: 16px 20px; margin-bottom: 26px;
    display: flex; flex-direction: column; gap: 3px;
}
.paia-header strong { font-family: Georgia, serif; font-size: 1.15rem; color: var(--clay); }
.paia-header span { font-size: .85rem; color: var(--ink-soft); }

@media print {
    .policy-toc { display: none; }
    .policy-layout { display: block; }
    .policy-body { box-shadow: none; max-width: none; }
    .policy-table { font-size: 10pt; }
    .policy-body h2 { page-break-after: avoid; }
}

/* Refund summary cards */
.refund-card { border-top: 4px solid var(--line); }
.refund-card .refund-when {
    display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em;
    color: var(--ink-soft); font-weight: 700; margin-bottom: 8px;
}
.refund-card strong { display: block; font-family: Georgia, serif; font-size: 1.35rem; margin-bottom: 8px; }
.refund-good { border-top-color: var(--green); }
.refund-good strong { color: var(--green); }
.refund-part { border-top-color: var(--gold); }
.refund-part strong { color: var(--amber); }
.refund-none { border-top-color: var(--red); }
.refund-none strong { color: var(--red); }

/* ---------- Map ---------- */
.map-frame { border: 0; width: 100%; height: 460px; border-radius: var(--radius); box-shadow: var(--shadow); }
.directions li { margin-bottom: 10px; }

/* ---------- Day room promotion on the home page ---------- */
.dayroom-promo { padding-top: 0; }
.dayroom-band {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: center;
    background: linear-gradient(135deg, #fdf6ec, #f7ead6);
    border: 1px solid var(--gold-soft); border-radius: var(--radius);
    padding: 32px 34px;
}
@media (max-width: 820px) { .dayroom-band { grid-template-columns: 1fr; gap: 24px; padding: 26px 22px; } }
.dayroom-copy h2 { margin-bottom: 10px; }
.dayroom-copy p { color: var(--ink-soft); margin-bottom: 18px; }

.dayroom-rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 400px) { .dayroom-rates { grid-template-columns: 1fr; } }
.dayroom-rate {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
    padding: 16px 8px; text-align: center; transition: .16s;
}
.dayroom-rate:hover {
    text-decoration: none; border-color: var(--clay); transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.dayroom-rate span {
    font-size: .72rem; text-transform: uppercase; letter-spacing: .07em;
    color: var(--ink-soft); font-weight: 700;
}
.dayroom-rate strong { font-family: Georgia, serif; font-size: 1.45rem; color: var(--clay); line-height: 1.15; }

/* ---------- Day rooms, sold by the hour ---------- */
.rate-card { text-align: center; border-top: 4px solid var(--gold); }
.rate-hours {
    display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em;
    color: var(--ink-soft); font-weight: 700; margin-bottom: 6px;
}
.rate-price { display: block; font-family: Georgia, serif; font-size: 2.1rem; color: var(--clay); line-height: 1.1; margin-bottom: 6px; }

.slot-group { margin-bottom: 22px; }
.slot-group h3 { font-size: 1rem; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }

.slot {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px;
    border: 2px solid var(--line); border-radius: 10px; padding: 10px 6px;
    cursor: pointer; background: var(--paper); transition: .15s;
    text-transform: none; letter-spacing: 0; font-weight: 400; margin: 0;
}
.slot:hover { border-color: var(--clay-light); }
.slot input { position: absolute; opacity: 0; width: 0; height: 0; }
.slot b { font-size: 1.05rem; color: var(--ink); }
.slot span { font-size: .72rem; color: var(--ink-soft); }
.slot em { font-style: normal; font-size: .66rem; text-transform: uppercase;
    letter-spacing: .06em; color: var(--red); font-weight: 700; }
.slot.is-chosen { border-color: var(--clay); background: #fff6ee; box-shadow: var(--shadow); }
.slot.is-taken { opacity: .45; cursor: not-allowed; background: var(--cream); border-style: dashed; }
.slot.is-taken:hover { border-color: var(--line); }

/* A day room holds the room for a few hours only — hatched, not solid, because
   the night behind it is still for sale. */
.cell.dayuse,
.cal-day.dayuse { background: repeating-linear-gradient(45deg, #f3d9a8, #f3d9a8 4px, #ecc987 4px, #ecc987 8px); }
.cal-day.dayuse { color: #7a5410; font-weight: 600; }
a.cell.dayuse:hover { outline: 2px solid var(--gold); outline-offset: -2px; }
.swatch.dayuse { background: repeating-linear-gradient(45deg, #f3d9a8, #f3d9a8 3px, #ecc987 3px, #ecc987 6px);
    border: 1px solid #dcb46a; }

/* ---------- Payment method picker ---------- */
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .pay-options { grid-template-columns: 1fr; } }
.pay-option { border: 2px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--paper); cursor: pointer; transition: .18s; display: block; }
.pay-option:hover { border-color: var(--clay-light); }
.pay-option input { position: absolute; opacity: 0; }
.pay-option.selected { border-color: var(--clay); background: #fff8f2; box-shadow: var(--shadow); }
.pay-option h4 { margin-bottom: 6px; }
.pay-option p { font-size: .88rem; color: var(--ink-soft); margin-bottom: 10px; }

.paycards { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.paycard { font-size: .72rem; font-weight: 800; letter-spacing: .06em; padding: 6px 12px; border-radius: 6px; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.paycard-visa { color: #1a1f71; border-color: #1a1f71; }
.paycard-mc { color: #cc4c02; border-color: #cc4c02; }

.bank-details { background: var(--cream); border-radius: 10px; padding: 18px; font-family: "Consolas", "Courier New", monospace; font-size: .92rem; }
.bank-details div { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.bank-details div:last-child { border-bottom: 0; }
.bank-details b { color: var(--clay); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #ded3c4; margin-top: 60px; padding-top: 54px; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: var(--gold-soft); }
.site-footer .muted { color: #ab9e8e; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 8px; }
.socials { display: flex; gap: 14px; }
.footer-bottom { border-top: 1px solid #40342a; padding: 18px 0; display: flex; justify-content: space-between; font-size: .82rem; color: #9c9083; flex-wrap: wrap; gap: 10px; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer address { font-style: normal; line-height: 1.7; }

/* ==========================================================================
   Home-page photo strip — scrolls right to left, pauses on hover,
   and enlarges the hovered photograph to 3x.
   ========================================================================== */
:root {
    --thumb-w: 290px;
    --thumb-h: 200px;
}

.gallery-band {
    background: linear-gradient(180deg, var(--ink) 0%, #3b2d21 100%);
    padding: 46px 0 44px;
    overflow: hidden;
}
.gallery-band h2 { color: #fff; }
.gallery-band .eyebrow { color: var(--gold); }

.marquee { position: relative; padding: 6px 0; overflow: hidden; }

/* Soften both ends so photos fade in and out rather than being sliced off */
.marquee::before,
.marquee::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 110px; z-index: 3; pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg,  #33261b, transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, #3b2d21, transparent); }

.marquee-track {
    display: flex;
    width: max-content;
    animation-name: marquee-scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}
.marquee-group { display: flex; }

/* The list is rendered twice, so -50% lands exactly on the seam.
   Each item carries its own right margin so both halves measure identically. */
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Pause on hover, and for keyboard users when a photo takes focus */
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

.marquee-item {
    position: relative; flex: none; display: block;
    width: var(--thumb-w); margin-right: 18px;
    border-radius: 13px; overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .38);
    outline-offset: 3px;
}
.marquee-item img {
    display: block; width: 100%; height: var(--thumb-h);
    object-fit: cover; background: #241b13;
    transition: transform .35s ease;
}
.marquee-item:hover img,
.marquee-item:focus-visible img { transform: scale(1.07); }
.marquee-item:hover { text-decoration: none; }

.marquee-cap {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 26px 13px 11px; color: #fff; font-size: .78rem; line-height: 1.35;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}
.marquee-cap b { display: block; font-family: Georgia, serif; font-size: .95rem; }

/* ---------- The 3x enlarged view ---------- */
.zoom-preview {
    position: fixed; inset: 0; z-index: 200; margin: 0;
    display: grid; place-items: center;
    pointer-events: none;                    /* never steals hover from the strip */
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}
.zoom-preview.is-open { opacity: 1; visibility: visible; }

.zoom-preview img {
    display: block;
    /* "up to 3x" the thumbnail, never larger than the window */
    max-width:  min(92vw, calc(var(--thumb-w) * 3));
    max-height: min(80vh, calc(var(--thumb-h) * 3));
    width: auto; height: auto;
    border-radius: 14px; background: #1b140e;
    border: 3px solid rgba(255, 255, 255, .9);
    box-shadow: 0 34px 90px rgba(0, 0, 0, .62);
    transform: scale(.88);
    transition: transform .24s cubic-bezier(.2, .8, .3, 1);
}
.zoom-preview.is-open img { transform: scale(1); }

.zoom-preview figcaption {
    margin-top: 14px; padding: 7px 16px; border-radius: 999px;
    background: rgba(27, 20, 14, .92); color: #fff; font-size: .88rem; text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}

@media (max-width: 700px) {
    :root { --thumb-w: 220px; --thumb-h: 155px; }
    .marquee::before, .marquee::after { width: 50px; }
}

/* Respect a reduced-motion preference: stop the animation and let the strip
   be swiped or scrolled by hand instead. */
@media (prefers-reduced-motion: reduce) {
    .marquee { overflow-x: auto; }
    .marquee-track { animation: none; }
    .marquee-group:nth-child(2) { display: none; }
    .zoom-preview img { transition: none; }
}

/* ---------- Testimonials ---------- */
.quote { background: var(--paper); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.quote p { font-style: italic; color: var(--ink-soft); }
.quote footer { font-style: normal; font-weight: 600; font-size: .88rem; color: var(--clay); margin-top: auto; }
.stars { color: var(--gold); letter-spacing: 2px; white-space: nowrap; }
.stars .star-empty { color: #ded3c0; }
.stars-number { font-weight: 700; color: var(--ink); font-size: .9rem; }

/* ---------- Rating summary ---------- */
.rating-summary {
    display: grid; grid-template-columns: minmax(190px, 240px) 1fr 1fr; gap: 32px;
    align-items: start; margin-bottom: 26px;
}
@media (max-width: 900px) { .rating-summary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .rating-summary { grid-template-columns: 1fr; } }

.rating-headline { text-align: center; border-right: 1px solid var(--line); padding-right: 24px; }
@media (max-width: 900px) { .rating-headline { border-right: 0; text-align: left; padding-right: 0; } }
.rating-big { font-family: Georgia, serif; font-size: 3.4rem; line-height: 1; color: var(--clay); font-weight: 700; }
.rating-big span { font-size: 1.1rem; color: var(--ink-soft); font-weight: 400; }
.rating-headline .stars { font-size: 1.3rem; display: block; margin: 8px 0 4px; }
.rating-word { font-family: Georgia, serif; font-size: 1.15rem; color: var(--ink); margin: 0 0 4px; }

.rating-bars { display: flex; flex-direction: column; gap: 7px; }
.rating-bar-row { display: grid; grid-template-columns: 46px 1fr 32px; gap: 10px; align-items: center; color: var(--ink); }
.rating-bar-row:hover { text-decoration: none; }
.rating-bar-row:hover .rating-bar i { background: var(--clay); }
.rating-bar-label { font-size: .82rem; color: var(--ink-soft); white-space: nowrap; }
.rating-bar-label.active { color: var(--clay); font-weight: 700; }
.rating-bar { display: block; height: 9px; background: var(--cream-dark); border-radius: 999px; overflow: hidden; }
.rating-bar i { display: block; height: 100%; background: var(--gold); border-radius: 999px; transition: .25s; }
.rating-bar-count { font-size: .82rem; color: var(--ink-soft); text-align: right; }

.rating-categories h4 { font-size: .9rem; margin-bottom: 12px; }
.rating-cat { display: grid; grid-template-columns: 1fr 70px 30px; gap: 10px; align-items: center; margin-bottom: 9px; font-size: .86rem; color: var(--ink-soft); }
.rating-cat strong { color: var(--ink); text-align: right; }

/* ---------- Review list ---------- */
.review-list { display: flex; flex-direction: column; gap: 18px; }
.review {
    background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 24px; position: relative;
}
.review-featured { border: 2px solid var(--gold); }
.review-pin {
    position: absolute; top: -11px; left: 22px; background: var(--gold); color: #3a2708;
    font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    padding: 4px 11px; border-radius: 999px;
}
.review-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.review-avatar {
    width: 44px; height: 44px; flex: none; border-radius: 50%;
    background: linear-gradient(135deg, var(--clay), var(--gold)); color: #fff;
    display: grid; place-items: center; font-family: Georgia, serif; font-weight: 700; font-size: 1.1rem;
}
.review-rating { margin-left: auto; font-size: 1.05rem; }
@media (max-width: 560px) {
    .review-head { flex-wrap: wrap; }
    .review-rating { margin-left: 58px; width: 100%; }
}
.verified-badge {
    display: inline-block; background: #e3f4ea; color: var(--green); font-size: .7rem; font-weight: 700;
    padding: 2px 9px; border-radius: 999px; margin-left: 6px; letter-spacing: .02em;
}
.review-title { font-size: 1.1rem; margin-bottom: 8px; }
.review-body { color: var(--ink-soft); margin-bottom: 12px; }
.review-cats { display: flex; flex-wrap: wrap; gap: 7px; }
.review-cats .chip { font-size: .76rem; }
.review-reply {
    margin-top: 16px; padding: 14px 18px; background: var(--cream); border-left: 3px solid var(--clay);
    border-radius: 0 10px 10px 0; font-size: .92rem;
}
.review-reply strong { color: var(--clay); }
.review-reply p { color: var(--ink-soft); margin-top: 6px; }

/* ---------- Star picker (review form) ---------- */
.star-picker { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-picker input { position: absolute; opacity: 0; width: 0; height: 0; }
.star-picker label {
    font-size: 2.1rem; line-height: 1; color: #ded3c0; cursor: pointer; margin: 0;
    transition: .12s; text-transform: none; letter-spacing: 0;
}
.star-picker label:hover,
.star-picker label:hover ~ label,
.star-picker input:checked ~ label { color: var(--gold); }
.star-picker input:focus-visible + label { outline: 2px solid var(--clay); outline-offset: 2px; }

/* Compact rating line used on room pages and cards */
.rating-inline { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-soft); }
.rating-inline .stars { font-size: 1rem; }

/* ---------- Utility ---------- */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 34px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split-even { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
@media (max-width: 800px) { .split-even { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 90px; }
.stack > * + * { margin-top: 14px; }
.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.flex-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.ref-box { font-family: "Consolas", monospace; font-size: 1.4rem; letter-spacing: .1em; background: var(--cream); border: 2px dashed var(--clay-light); border-radius: 10px; padding: 14px 20px; display: inline-block; color: var(--clay); font-weight: 700; }

@media print {
    .topbar, .site-header, .site-footer, .btn, .no-print { display: none !important; }
    body { background: #fff; }
}
