/* ===== Brand colours: change these to match your logo PDF ===== */
:root {
  /* Richi Villa brand (from the guest guidebook) */
  --brand: #0b1934;        /* navy: buttons, selected dates, headings */
  --brand-dark: #050d1f;
  --brand-soft: #f4e6cb;   /* soft gold: in-between selected nights */
  --accent: #cd943f;       /* gold */
  --accent-dark: #a9742a;
  --ink: #0b1934;
  --muted: #5f6472;
  --line: #e9e1d0;
  --bg: #fcf7ed;           /* cream page background */
  --bg-soft: #f6eedd;
  --card: #ffffff;
  --held: #dfe3ec;
  --radius: 14px;
  --font-head: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-family: var(--font-head); font-weight: 500; font-size: clamp(28px, 4vw, 42px); letter-spacing: .02em; }
h2 { font-family: var(--font-head); letter-spacing: .02em; }
h1, h2, h3 { color: var(--brand); }
h2 { font-size: 22px; font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 13px 22px; font: 600 16px var(--font-body); cursor: pointer; text-decoration: none; transition: background .15s, transform .05s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:disabled { opacity: .6; cursor: default; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; color: var(--ink); }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 20px; line-height: 1; display: grid; place-items: center; color: var(--ink); }
.icon-btn:hover:not(:disabled) { background: var(--bg-soft); }
.icon-btn:disabled { opacity: .3; cursor: default; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(252,247,237,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--font-head); font-size: 24px; font-weight: 600; color: var(--brand); letter-spacing: .03em; }
.brand small { display: block; font: 600 10px var(--font-body); letter-spacing: .25em; color: var(--accent); text-transform: uppercase; margin-top: -2px; }
.logo { height: 46px; width: auto; }
.footer-logo { height: 96px; width: auto; }
.logo.sm { height: 22px; display: inline; vertical-align: middle; }
nav { display: flex; align-items: center; gap: 24px; }
nav a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 500; }
nav a:not(.btn):hover { text-decoration: underline; }

/* Title + gallery */
.title-block { padding: 28px 0 16px; }
.subtitle { margin: 0; color: var(--muted); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 8px; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery button { padding: 0; border: 0; cursor: pointer; overflow: hidden; background: var(--bg-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s, transform .4s; }
.gallery button:hover img { filter: brightness(.88); }
.gallery .g0 { grid-row: span 2; }
.show-all { position: absolute; right: 16px; bottom: 16px; background: #fff; border: 1px solid var(--ink); border-radius: 8px; padding: 8px 14px; font: 600 14px var(--font-body); cursor: pointer; }

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; padding: 36px 0 64px; align-items: start; }
.summary { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.summary h2 { margin-bottom: 4px; }
.summary p { margin: 0; }
.highlights { display: grid; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.hl { display: flex; gap: 18px; align-items: flex-start; }
.hl svg { flex: none; width: 28px; height: 28px; color: var(--accent); }
.hl b { display: block; }
.hl p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.block { padding: 32px 0; border-bottom: 1px solid var(--line); }
.block:last-child { border-bottom: 0; }
.block p { margin: 0 0 14px; }
.sleep-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.sleep-card img { aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; width: 100%; margin-bottom: 10px; }
.sleep-card b { display: block; }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.amenities li { display: flex; align-items: center; gap: 14px; }
.amenities svg, .am-group h4 svg { width: 24px; height: 24px; flex: none; color: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); margin-top: 22px; }
.btn-outline:hover { background: var(--brand); color: #fff; }
.amen-dlg { width: min(620px, calc(100vw - 16px)); max-height: 88vh; }
.am-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.am-group:last-child { border-bottom: 0; }
.am-group h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font: 600 16px var(--font-body); color: var(--brand); }
.am-group ul { list-style: none; margin: 0; padding: 0 0 0 34px; display: grid; gap: 8px; }
.am-group li b { display: block; font-weight: 500; }
.am-group li span { display: block; font-size: 13px; color: var(--muted); }
.am-not li b { color: var(--muted); }
.bullets { padding-left: 20px; margin: 10px 0 0; }
.bullets li { margin-bottom: 6px; }
.host-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: var(--accent); display: grid; place-items: center; font: 400 24px var(--font-head); }
.know { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.know ul { padding: 0; margin: 0; list-style: none; }
.know li { margin-bottom: 6px; color: var(--muted); font-size: 15px; }

/* Booking card */
.booking-col { position: sticky; top: 140px; }
.booking-card { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(11,25,52,.10); padding: 24px; background: var(--card); }
.bc-head p { margin: 4px 0 16px; }
.date-fields { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #b0b0b0; border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.df { text-align: left; background: var(--card); border: 0; padding: 10px 14px; cursor: pointer; font: inherit; }
.df + .df { border-left: 1px solid #b0b0b0; }
.df.active { box-shadow: inset 0 0 0 2px var(--ink); border-radius: 10px; }
.df-l { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.df-v { display: block; font-size: 15px; color: var(--muted); }
.df-v.set { color: var(--ink); }

/* Calendar */
.calendar { position: relative; }
.cal-nav { position: absolute; left: 0; right: 0; top: -4px; display: flex; justify-content: space-between; pointer-events: none; }
.cal-nav .icon-btn { pointer-events: auto; }
.months { display: grid; grid-template-columns: 1fr; gap: 28px; }
.month h4 { text-align: center; margin: 2px 0 12px; font-size: 16px; font-weight: 600; }
.dow, .days { display: grid; grid-template-columns: repeat(7, 1fr); }
.dow span { text-align: center; font-size: 12px; color: var(--muted); font-weight: 600; padding-bottom: 6px; }
.day { position: relative; aspect-ratio: 1; border: 0; background: none; padding: 0; font: 500 14px var(--font-body); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.day span { width: 88%; height: 88%; display: grid; place-items: center; border-radius: 50%; position: relative; z-index: 1; border: 1.5px solid transparent; transition: border-color .1s; }
.day:hover:not(:disabled) span { border-color: var(--ink); }
.day:disabled { cursor: default; }
.day.past { color: #c4c4c4; }
.day.booked span { color: #b5b5b5; text-decoration: line-through; }
.day.held span { color: #5f6472; background: repeating-linear-gradient(135deg, var(--held) 0 4px, #f3f5f9 4px 8px); }
.day.unavail { cursor: pointer; }
.day.unavail:hover span { border-color: #9aa3b8; }
.day.noout { color: #c4c4c4; cursor: not-allowed; }
.day.noout:hover span { border-color: transparent; }
/* Range highlight: a soft band behind the in-between nights, solid circles on the ends */
.day.inrange::before, .day.start.hasend::before, .day.end::before { content: ''; position: absolute; top: 6%; bottom: 6%; background: var(--brand-soft); left: 0; right: 0; }
.day.start.hasend::before { left: 50%; }
.day.end::before { right: 50%; }
.day.start span, .day.end span { background: var(--brand); color: #fff; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; font-weight: 600; }
.day.inrange span { color: var(--brand-dark); }
.day.preview::before { content: ''; position: absolute; top: 6%; bottom: 6%; left: 0; right: 0; background: var(--brand-soft); opacity: .6; }
.day.today span { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.lg-sel { background: var(--brand); }
.lg-held { background: repeating-linear-gradient(135deg, var(--held) 0 3px, #f3f5f9 3px 6px); border: 1px solid #c3c9d6; }
.lg-booked { background: #eee; position: relative; }
.lg-booked::after { content: ''; position: absolute; left: 2px; right: 2px; top: 6px; height: 1.5px; background: #aaa; }
.cal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cal-foot .link-btn { font-size: 14px; }

/* Forms */
.req-form { margin-top: 18px; display: grid; gap: 12px; }
label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
input, select, textarea { font: 400 15px var(--font-body); padding: 11px 12px; border: 1px solid #b0b0b0; border-radius: 8px; width: 100%; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; font-size: 14px; color: #b3261e; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.ok { color: #1f7a4d; }
.wait-hint { margin-top: 16px; padding: 12px 14px; background: var(--bg-soft); border-radius: 10px; }
.wait-hint p { margin: 0; }

/* Dialogs */
.dlg { border: 0; border-radius: 16px; padding: 28px; width: min(460px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.dlg::backdrop { background: rgba(0,0,0,.45); }
.dlg form { display: grid; gap: 12px; }
.dlg-x { position: absolute; top: 14px; right: 14px; }
.dlg h3 { margin-right: 40px; }
.ok { text-align: center; }
.ok-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: var(--accent); display: grid; place-items: center; font-size: 28px; margin: 0 auto 14px; }
.photo-dlg { width: min(960px, calc(100vw - 16px)); max-height: 92vh; padding: 0 20px 20px; }
.photo-dlg .dlg-x { position: fixed; top: max(12px, env(safe-area-inset-top, 0px)); right: 12px; z-index: 5; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.photo-list { display: grid; gap: 10px; }
.photo-list img { width: 100%; border-radius: 8px; }

/* Footer + mobile bar */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 36px 0; }
.footer-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--brand); }
.footer-in .muted { letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.mobile-bar { display: none; }

/* Photo tour */
.tour { display: grid; gap: 28px; }
.room-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.room-head h3 { margin: 0; }
.room-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; scrollbar-width: none; }
.room-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; text-decoration: none; border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 8px 14px; border-radius: 99px; font: 500 14px var(--font-body); white-space: nowrap; }
.chip span { color: var(--accent-dark); font-weight: 600; margin-left: 2px; }
.chip:hover { border-color: var(--brand); }
.chip.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip.on span { color: var(--accent); }
.room { scroll-margin-top: 96px; }
.room-photos { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 150px; gap: 8px; }
.room-photos button { position: relative; padding: 0; border: 0; background: var(--bg-soft); border-radius: 10px; overflow: hidden; cursor: pointer; }
.room-photos button.lead { grid-column: span 2; grid-row: span 2; }
.room-photos img { width: 100%; height: 100%; object-fit: cover; transition: filter .2s; }
.room-photos .more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11,25,52,.55); color: #fff; font-weight: 600; font-size: 15px; }
/* Photo viewer */
.viewer-chips { position: sticky; top: 0; z-index: 2; background: var(--card); margin: 0 -20px; padding: 10px 20px; border-bottom: 1px solid var(--line); }
.v-room { scroll-margin-top: 70px; padding-top: 18px; }
.v-room h3 { margin: 0 0 10px; }
.v-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.v-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }
.room-photos button:hover img { filter: brightness(.9); }

/* Rules, stay info, checkout */
.know li { position: relative; padding-left: 16px; }
.know li::before { content: ''; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--accent); }
.provided { margin-top: 18px; padding: 14px 16px; background: var(--bg-soft); border-radius: 10px; font-size: 15px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; font-size: 15px; color: var(--muted); }
.checks li::before { content: '✓'; color: var(--accent); font-weight: 700; }
.charges { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 8px; }
.charges td { padding: 7px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.charges td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; padding-left: 12px; }

/* Neighbourhood guide */
.area { padding: 48px 0 64px; border-top: 1px solid var(--line); }
.area > p { max-width: 65ch; }
.area-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }
.area-tabs button { border: 1px solid var(--line); background: var(--card); color: var(--ink); padding: 9px 16px; border-radius: 99px; font: 500 14px var(--font-body); cursor: pointer; }
.area-tabs button[aria-selected="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.place { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; gap: 4px; align-content: start; }
.place b { font-family: var(--font-head); font-size: 17px; color: var(--brand); }
.place .where { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); }
.place p { margin: 4px 0 6px; font-size: 14px; color: var(--muted); }
.place a { font-size: 14px; font-weight: 600; color: var(--brand); }
.delivery { margin-top: 20px; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } .room-photos { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; } .v-grid { grid-template-columns: 1fr; } .area { padding: 36px 0 48px; } }

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; gap: 0; }
  .booking-col { position: static; padding-top: 32px; }
  .topbar nav a:not(.btn) { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 260px; margin: 0 -16px; border-radius: 0; }
  .gallery button:not(.g0) { display: none; }
  .gallery .g0 { grid-row: auto; }
  .amenities { grid-template-columns: 1fr; }
  .booking-card { padding: 18px; box-shadow: none; }
  .mobile-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: var(--bg); border-top: 1px solid var(--line); padding: 12px 16px; justify-content: space-between; align-items: center; }
  .mobile-bar div { display: grid; }
  .footer { padding-bottom: 96px; }
  .grid2 { grid-template-columns: 1fr; }
  .topbar nav { display: none; }
  .brand { font-size: 21px; }
}

/* ===== Compact layout: section menu, tabs, one room at a time ===== */
.topbar-in > .btn { flex: none; }
.subnav { position: sticky; top: 72px; z-index: 15; display: flex; gap: 4px; align-items: center; overflow-x: auto; scrollbar-width: none;
  background: var(--bg); border-bottom: 1px solid var(--line); margin-top: 20px; padding: 0; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; text-decoration: none; padding: 16px 14px 14px; font: 500 15px var(--font-body); color: var(--muted); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.subnav a:hover { color: var(--ink); }
.subnav a.on { color: var(--brand); border-bottom-color: var(--accent); }
.subnav .subnav-book { margin-left: auto; color: var(--brand); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s; }
.subnav.stuck .subnav-book { opacity: 1; pointer-events: auto; }
.block, #about, #tour, #amenities, #location, #know, #area { scroll-margin-top: 140px; }
.layout { padding-top: 28px; }
.highlights { grid-template-columns: 1fr 1fr; gap: 22px 28px; }

.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.clamp.open { display: block; }
.more-btn { margin-top: 4px; font-size: 15px; }

.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; background: none; border: 0; border-bottom: 2.5px solid transparent; padding: 10px 12px; font: 500 15px var(--font-body); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--brand); border-bottom-color: var(--accent); }
.tab-panel { animation: fade .2s ease; }
@keyframes fade { from { opacity: .3; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tab-panel { animation: none; } }

/* Room panel */
.room-chips .chip { cursor: pointer; font-family: var(--font-body); }
.room { min-height: 420px; }
.room-photos { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; }
.room-photos.n1 { grid-template-columns: 1fr; grid-auto-rows: 320px; }
.room-photos.n1 .lead { grid-column: auto; grid-row: auto; }
.room-photos.n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: 320px; }
.room-photos.n2 .lead { grid-column: auto; grid-row: auto; }
.room-photos.n3 { grid-template-columns: 2fr 1fr; }
.room-photos.n3 .lead { grid-column: auto; }
.room-photos.n4 { grid-template-columns: 2fr 1fr 1fr; }
.room-photos.n4 .lead { grid-column: auto; }
.room-photos.n4 button:nth-child(4) { grid-column: span 2; }
.room-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }

@media (max-width: 720px) {
  .subnav { top: 72px; margin: 12px -16px 0; padding: 0 8px; }
  .subnav a { padding: 13px 10px 11px; font-size: 14px; }
  .subnav .subnav-book { display: none; }
  .highlights { grid-template-columns: 1fr; }
  .room { min-height: 0; }
  .room-photos, .room-photos.n3, .room-photos.n4 { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .room-photos .lead, .room-photos.n3 .lead, .room-photos.n4 .lead { grid-column: span 2; grid-row: span 2; }
  .room-photos.n4 button:nth-child(4) { grid-column: span 2; }
  .room-photos.n1, .room-photos.n2 { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .room-photos.n2 .lead { grid-column: auto; grid-row: auto; }
}

/* ===== Design refresh: hero, section labels, cards, navy bands ===== */
[hidden] { display: none !important; }
:root { --shadow-sm: 0 1px 2px rgba(11,25,52,.06), 0 2px 8px rgba(11,25,52,.05); --shadow-lg: 0 18px 50px rgba(11,25,52,.14); }
::selection { background: var(--brand-soft); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 600 12px var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-dark); }
.eyebrow::before { content: ''; width: 28px; height: 1.5px; background: var(--accent); flex: none; }
h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 500; letter-spacing: .03em; margin-bottom: 18px; }
.block { padding: 44px 0; }
.block h3 { font-family: var(--font-body); }

/* Buttons */
.btn { border-radius: 999px; letter-spacing: .01em; }
.btn-gold { background: var(--accent); color: var(--brand); box-shadow: 0 6px 18px rgba(205,148,63,.35); }
.btn-gold:hover { background: #d9a24f; }
.btn-ghost { background: transparent; color: #f6eedd; border: 1px solid rgba(246,238,221,.45); }
.btn-ghost:hover { background: rgba(246,238,221,.1); border-color: #f6eedd; }
.btn-outline { border-radius: 999px; }
.topbar .btn-primary { background: var(--brand); }

/* Hero: navy band, text left, photo mosaic right */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1b2c52 0%, transparent 60%), var(--brand); color: #f6eedd; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 68px); font-weight: 500; letter-spacing: .04em; margin: 0 0 14px; }
.hero-sub { margin: 0 0 26px; font-size: 18px; color: rgba(246,238,221,.82); max-width: 36ch; }
.hero-facts { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(205,148,63,.4); border-radius: 999px; font-size: 14px; color: #f6eedd; background: rgba(255,255,255,.03); }
.hero-facts svg { width: 18px; height: 18px; color: var(--accent); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 18px 0 0; font-size: 13px; color: rgba(246,238,221,.6); }
.hero .gallery { grid-template-columns: 1.6fr 1fr; grid-template-rows: 210px 210px; gap: 10px; border-radius: 18px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.hero .gallery .g0 { grid-row: span 2; }
.hero .gallery button { border-radius: 0; }
.hero .gallery button:hover img { transform: scale(1.03); filter: none; }
.show-all { border: 0; border-radius: 999px; background: rgba(252,247,237,.95); color: var(--brand); padding: 8px 16px; box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); }

/* Section menu */
.subnav { margin-top: 0; background: rgba(252,247,237,.96); backdrop-filter: blur(8px); }
.subnav a { font-size: 14px; letter-spacing: .02em; }
.subnav .subnav-book { background: var(--brand); color: #fff; border-radius: 999px; padding: 8px 16px; border: 0; }

/* Highlights as cards */
.layout { padding-top: 40px; }
.highlights { padding: 0 0 36px; gap: 14px; }
.hl { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-sm); gap: 14px; }
.hl svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--brand); color: var(--accent); }
.hl b { font-size: 15px; }
.hl p { font-size: 14px; line-height: 1.5; }

/* Description */
#description p { font-size: 16.5px; line-height: 1.7; color: #2b3245; }

/* Tour */
.chip { padding: 9px 16px; }
.room-photos button { border-radius: 12px; }
.room-photos img { transition: transform .5s ease, filter .2s; }
.room-photos button:hover img { transform: scale(1.04); filter: none; }
.room-nav .btn { margin: 0; }

/* Amenities */
.amenities { gap: 12px; }
.amenities li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 15px; }

/* Host: navy card */
.block.host { background: var(--brand); color: #f6eedd; border-radius: 20px; padding: 30px; margin: 40px 0; border: 0; box-shadow: var(--shadow-lg); }
.block.host h2 { color: #fff; font-size: 22px; }
.block.host .muted { color: rgba(246,238,221,.65); }
.block.host p { margin: 0; color: rgba(246,238,221,.88); }
.avatar { background: var(--accent); color: var(--brand); width: 64px; height: 64px; font-size: 28px; }

/* Good to know: panel in a card */
#know .tab-panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-sm); }
.know h3 { font-size: 15px; letter-spacing: .02em; }

/* Booking card */
.booking-card { border: 0; padding: 0; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow-lg); }
.bc-head { background: var(--brand); padding: 24px 24px 20px; }
.bc-head .eyebrow { color: var(--accent); }
.bc-head h3 { color: #fff; font-family: var(--font-head); font-size: 22px; font-weight: 500; letter-spacing: .03em; margin: 0; }
.bc-head p { color: rgba(246,238,221,.7); margin: 8px 0 0; }
.bc-head p b { color: var(--accent); }
.booking-card > :not(.bc-head) { margin-left: 24px; margin-right: 24px; }
.date-fields { margin-top: 20px; border-color: var(--line); border-radius: 12px; }
.df + .df { border-left-color: var(--line); }
.df.active { box-shadow: inset 0 0 0 2px var(--accent); border-radius: 12px; }
.booking-card .wait-hint { margin-bottom: 24px; }
.req-form .btn-primary { background: var(--accent); color: var(--brand); }
.req-form .btn-primary:hover { background: #d9a24f; }

/* Neighbourhood: full-width navy band */
.area { position: relative; border-top: 0; padding: 72px 0 80px; color: #f6eedd; background: var(--brand); box-shadow: 0 0 0 100vmax var(--brand); clip-path: inset(0 -100vmax); }
.area h2 { color: #fff; }
.area .eyebrow { color: var(--accent); }
.area .muted { color: rgba(246,238,221,.72); }
.area-tabs button { background: transparent; color: #f6eedd; border-color: rgba(246,238,221,.3); }
.area-tabs button:hover { border-color: var(--accent); }
.area-tabs button[aria-selected="true"] { background: var(--accent); color: var(--brand); border-color: var(--accent); }
.place { border: 0; border-radius: 16px; padding: 20px 22px; transition: transform .2s, box-shadow .2s; }
.place:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.place p { color: var(--muted); }

/* Footer */
.footer { background: var(--bg); border-top: 0; padding: 44px 0; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .hero .gallery { order: -1; }
}
@media (max-width: 720px) {
  .hero-in { padding: 0 16px 40px; gap: 26px; }
  .hero .gallery { margin: 0 -16px; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: 280px; box-shadow: none; }
  .hero h1 { font-size: 40px; }
  .hero-sub { font-size: 16px; margin-bottom: 20px; }
  .hero-facts { gap: 8px; margin-bottom: 24px; }
  .hero-facts li { padding: 6px 12px; font-size: 13px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .block { padding: 36px 0; }
  .block.host { padding: 24px; margin: 28px 0; }
  #know .tab-panel { padding: 18px; }
  .booking-card > :not(.bc-head) { margin-left: 18px; margin-right: 18px; }
  .bc-head { padding: 20px 18px 18px; }
  .area { padding: 52px 0 60px; }
  .mobile-bar .btn { background: var(--accent); color: var(--brand); }
}
.subnav .subnav-book { display: none; }
.gallery .show-all { position: absolute; right: 14px; bottom: 14px; padding: 8px 16px; border-radius: 999px; background: rgba(252,247,237,.95); color: var(--brand); font: 600 13px var(--font-body); text-decoration: none; overflow: visible; }
@media (min-width: 961px) { .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.hero .gallery .show-all { border-radius: 999px; }
@media (max-width: 720px) { .hero .gallery .g0 { grid-row: auto; } .hero .gallery { grid-auto-rows: 280px; } }
@media (max-width: 720px) { .amenities { grid-template-columns: 1fr 1fr; gap: 8px; } .amenities li { padding: 10px; gap: 8px; font-size: 13.5px; } .amenities svg { width: 20px; height: 20px; } }
/* Location map */
.map-card { margin: 18px 0 20px; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-card iframe, .map-card .map-static { display: block; width: 100%; height: 320px; border: 0; background: var(--bg-soft); }
.map-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; }
.map-bar div { display: grid; gap: 2px; }
.map-bar .btn { flex: none; }
@media (max-width: 720px) { .map-card iframe, .map-card .map-static { height: 240px; } .map-bar { flex-direction: column; align-items: stretch; } }
/* Room-to-room navigation under the photos */
.room-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin-top: 16px; }
.rn { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid var(--brand); background: var(--card); color: var(--brand); cursor: pointer; font: inherit; text-align: left; min-width: 0; transition: background .15s, color .15s, transform .1s; }
.rn span:not(.rn-arrow) { display: grid; min-width: 0; }
.rn small { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); }
.rn b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rn-arrow { font-size: 20px; line-height: 1; flex: none; }
.rn-prev { justify-self: start; }
.rn-next { justify-self: end; text-align: right; background: var(--brand); color: #fff; }
.rn-next small { color: var(--accent); }
.rn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.rn-prev:hover { background: var(--bg-soft); }
.rn-next:hover { background: var(--brand-dark); }
.rn-count { font: 600 13px var(--font-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.rn-bar { height: 3px; border-radius: 3px; background: var(--line); margin-top: 14px; overflow: hidden; }
.rn-bar i { display: block; height: 100%; background: var(--accent); transition: width .3s; }
@media (max-width: 720px) {
  .room-nav { grid-template-columns: 1fr 1fr; }
  .rn-count { display: none; }
  .rn { padding: 10px 12px; gap: 8px; }
  .rn b { font-size: 14px; }
}

/* ===== Language switch + Bengali typography ===== */
.top-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.lang-toggle button { border: 0; background: none; padding: 6px 11px; border-radius: 999px; font: 600 13px var(--font-body); color: var(--muted); cursor: pointer; line-height: 1.2; }
.lang-toggle button[lang="bn"] { font-family: 'Noto Sans Bengali', var(--font-body); }
.lang-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.lang-toggle button:not([aria-pressed="true"]):hover { color: var(--brand); }
html[lang="bn"] { --font-body: 'Inter', 'Noto Sans Bengali', system-ui, sans-serif; --font-head: 'Cinzel', 'Noto Serif Bengali', serif; }
html[lang="bn"] body { line-height: 1.7; }
html[lang="bn"] .eyebrow, html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] .bc-head h3, html[lang="bn"] .df-l, html[lang="bn"] .rn small, html[lang="bn"] .place .where, html[lang="bn"] .brand small { letter-spacing: 0; text-transform: none; }
html[lang="bn"] h2 { line-height: 1.4; }
html[lang="bn"] .eyebrow { font-size: 13px; }
@media (max-width: 720px) {
  .top-actions .top-book { display: none; }
  .lang-toggle button { padding: 6px 9px; font-size: 12px; }
}

/* ===== Colour schemes. Pick one with <html data-scheme="ivory"> or "midnight"; no attribute = Classic navy & gold ===== */
/* 2. Ivory & Gold: light and airy, navy text, gold accents */
html[data-scheme="ivory"] { --bg: #fffdf9; --bg-soft: #f7f1e6; --line: #ece4d6; --brand-soft: #f6e9d2; --accent: #c08a3e; --accent-dark: #9a6a28; }
html[data-scheme="ivory"] .hero { background: linear-gradient(180deg, #f6eee0 0%, #fffdf9 100%); color: var(--brand); }
html[data-scheme="ivory"] .hero h1 { color: var(--brand); }
html[data-scheme="ivory"] .hero .eyebrow { color: var(--accent-dark); }
html[data-scheme="ivory"] .hero-sub, html[data-scheme="ivory"] .hero-note { color: var(--muted); }
html[data-scheme="ivory"] .hero-facts li { color: var(--brand); background: #fff; border-color: rgba(192,138,62,.45); }
html[data-scheme="ivory"] .btn-ghost { color: var(--brand); border-color: var(--brand); }
html[data-scheme="ivory"] .btn-ghost:hover { background: var(--brand); color: #fff; }
html[data-scheme="ivory"] .hero .gallery { box-shadow: 0 24px 60px rgba(11,25,52,.16); }
html[data-scheme="ivory"] .bc-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
html[data-scheme="ivory"] .bc-head h3 { color: var(--brand); }
html[data-scheme="ivory"] .bc-head p { color: var(--muted); }
html[data-scheme="ivory"] .bc-head .eyebrow, html[data-scheme="ivory"] .bc-head p b { color: var(--accent-dark); }
html[data-scheme="ivory"] .booking-card { border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(11,25,52,.08); }
html[data-scheme="ivory"] .block.host { background: var(--bg-soft); color: var(--brand); box-shadow: none; border: 1px solid var(--line); }
html[data-scheme="ivory"] .block.host h2 { color: var(--brand); }
html[data-scheme="ivory"] .block.host .muted, html[data-scheme="ivory"] .block.host p { color: var(--muted); }
html[data-scheme="ivory"] .area { background: var(--bg-soft); box-shadow: 0 0 0 100vmax var(--bg-soft); color: var(--brand); }
html[data-scheme="ivory"] .area h2 { color: var(--brand); }
html[data-scheme="ivory"] .area .eyebrow { color: var(--accent-dark); }
html[data-scheme="ivory"] .area .muted { color: var(--muted); }
html[data-scheme="ivory"] .area-tabs button { color: var(--brand); border-color: var(--line); background: #fff; }
html[data-scheme="ivory"] .place:hover { box-shadow: 0 14px 30px rgba(11,25,52,.10); }
html[data-scheme="ivory"] .btn-gold, html[data-scheme="ivory"] .req-form .btn-primary, html[data-scheme="ivory"] .mobile-bar .btn { color: #fff; box-shadow: 0 6px 18px rgba(192,138,62,.3); }
html[data-scheme="ivory"] .btn-gold:hover, html[data-scheme="ivory"] .req-form .btn-primary:hover { background: var(--accent-dark); }
html[data-scheme="ivory"] .hl svg { background: var(--brand-soft); color: var(--accent-dark); }

/* 3. Midnight & Champagne: deeper navy, softer champagne gold, warm stone background */
html[data-scheme="midnight"] { --brand: #0a1020; --brand-dark: #04070f; --ink: #0a1020; --accent: #c8aa76; --accent-dark: #93774a; --bg: #f3f0ea; --bg-soft: #e8e3d9; --brand-soft: #ebe1cd; --line: #ddd6c9; }
html[data-scheme="midnight"] .hero { background: radial-gradient(1000px 520px at 80% -10%, #1d2438 0%, transparent 60%), var(--brand); }
html[data-scheme="midnight"] .btn-gold { box-shadow: 0 6px 18px rgba(200,170,118,.3); }
html[data-scheme="midnight"] .btn-gold:hover, html[data-scheme="midnight"] .req-form .btn-primary:hover { background: #d6bb8b; }
html[data-scheme="midnight"] .hero-facts li { border-color: rgba(200,170,118,.4); }
html[data-scheme="midnight"] .topbar { background: rgba(243,240,234,.94); }
html[data-scheme="midnight"] .subnav { background: rgba(243,240,234,.96); }
html[data-scheme="midnight"] .hl, html[data-scheme="midnight"] .amenities li, html[data-scheme="midnight"] #know .tab-panel { border-color: transparent; }
html[data-scheme="midnight"] .footer { background: var(--bg-soft); }
html[data-scheme="ivory"] .area-tabs button[aria-selected="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
html[data-scheme="ivory"] .topbar { background: rgba(255,253,249,.94); }
html[data-scheme="ivory"] .subnav { background: rgba(255,253,249,.96); }

/* Section menu: the section you're in shows as a filled pill */
.subnav { gap: 6px; padding: 8px 0; }
.subnav a { padding: 8px 16px; border-bottom: 0; border-radius: 999px; transition: background .2s, color .2s; }
.subnav a:hover { background: var(--bg-soft); }
.subnav a.on { background: var(--brand); color: #fff; border-bottom: 0; box-shadow: 0 4px 12px rgba(11,25,52,.18); }
.subnav a.on:hover { background: var(--brand); }
@media (max-width: 720px) { .subnav { padding: 7px 8px; } .subnav a { padding: 7px 13px; } }
.subnav a:hover { text-decoration: none; background: none; }
@media (hover: hover) { .subnav a:not(.on):hover { background: var(--bg-soft); } }
#requestForm { scroll-margin-top: 150px; }
