/* KSL Hotspring Resort, the guests' booking page.
   Laid out the way the big hotel chains lay out direct booking: photographs first, a booking bar over
   the hotel picture, numbered steps, room cards with their own galleries and a "View rates" panel,
   and a running summary of charges. White and charcoal, with the spring's teal for anything the
   guest has chosen. Cormorant Garamond for the hotel's voice (names, page titles), IBM Plex Sans for
   everything that has to be read quickly. */
@font-face { font-family: "Cormorant"; font-weight: 500; font-display: swap; src: url("/be/fonts/cormorant-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-display: swap; src: url("/be/fonts/cormorant-600.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 400; font-display: swap; src: url("/vendor/fonts/plex-sans-400.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 500; font-display: swap; src: url("/vendor/fonts/plex-sans-500.woff2") format("woff2"); }
@font-face { font-family: "Plex"; font-weight: 600; font-display: swap; src: url("/vendor/fonts/plex-sans-600.woff2") format("woff2"); }

:root {
  --ink: #1c2120; --ink-2: #48514f; --ink-3: #69726f;
  --bg: #ffffff; --bg-2: #f4f5f4; --line: #dadfdd; --line-2: #eaedeb;
  --accent: #0e7c73; --accent-ink: #0a5f58; --accent-tint: #e2f1ee;
  --alert: #b3261e; --alert-tint: #fbe9e7; --warn-tint: #fdf4e1; --warn-ink: #7a5408;
  --night: #16211f;
  --serif: "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Plex", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px; --gut: 28px; --r: 6px;
  --lift: 0 10px 30px rgba(17, 30, 28, .14);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 var(--sans); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid #5fb8ab; outline-offset: 2px; }
[tabindex="-1"]:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--ink-3); }
.small { font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; letter-spacing: .01em; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #000; border-color: #000; }
.btn:disabled { background: #b9c0be; border-color: #b9c0be; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--ink); }
.btn.ghost:hover { background: var(--bg-2); }
.btn.danger { background: #fff; color: var(--alert); border-color: #e2aaa4; }
.btn.danger:hover { background: var(--alert-tint); }
.btn.sm { min-height: 38px; padding: 0 18px; font-size: 14px; }
.btn.wide { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; font-weight: 500; }
.link.plain { color: var(--ink); }

/* ---------------------------------------------------------------- header */
.preview-bar { background: var(--warn-tint); color: var(--warn-ink); font-size: 14px; padding: 9px 0; border-bottom: 1px solid #efd9a5; }
.head { background: #fff; border-bottom: 1px solid var(--line-2); position: relative; z-index: 20; }
.head .wrap { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand { margin-right: auto; color: var(--ink); text-decoration: none; line-height: 1.05; }
.brand b { display: block; font: 600 26px/1.05 var(--serif); letter-spacing: .01em; }
.brand span { display: block; font-size: 11.5px; letter-spacing: .14em; color: var(--ink-3); margin-top: 3px; }
.brand img { max-height: 48px; width: auto; }
.head nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.head nav a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.head nav a:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; height: 460px; background: var(--night); overflow: hidden; color: #fff; }
.hero > img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 18, 17, .05) 30%, rgba(10, 18, 17, .66) 100%); pointer-events: none; }
.hero.blank { background: radial-gradient(120% 140% at 75% 30%, #2b5a54 0%, #183533 45%, var(--night) 100%); }
.hero.blank .rings { position: absolute; right: -8%; top: 4%; width: min(980px, 85vw); opacity: .55; }
.rings ellipse { fill: none; stroke: #9fd3cb; stroke-width: 1; vector-effect: non-scaling-stroke; }
.rings .src { fill: #d49a1e; stroke: none; }
.hero-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: 92px; }
.hero-text h1 { font: 600 clamp(40px, 5.6vw, 64px)/1.02 var(--serif); letter-spacing: .005em; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.hero-text p { margin-top: 10px; font-size: 16px; color: #e7eeec; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.hero-text p span { display: inline-flex; align-items: center; gap: 7px; }
.hero-text .wrap { display: flex; align-items: flex-end; gap: 20px; }
.hero-text .grow { flex: 1; min-width: 0; }
.gallery-btn { flex: none; padding-bottom: 4px; }
.gallery-btn .btn { background: rgba(255, 255, 255, .94); color: var(--ink); border-color: transparent; }
.gallery-btn .btn:hover { background: #fff; }
.closed-card { position: relative; z-index: 5; margin-top: -52px; background: #fff; border-radius: 10px; box-shadow: var(--lift); padding: 30px 34px; max-width: 760px; }
.closed-card h2 { font: 600 34px/1.15 var(--serif); }
.closed-card p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }

/* ---------------------------------------------------------------- booking bar */
.bar-wrap { position: relative; z-index: 15; margin-top: -54px; }
.searchbar { display: grid; grid-template-columns: 1.5fr 1fr auto; align-items: stretch; background: #fff; border-radius: 10px; box-shadow: var(--lift); }
.sb-field { display: flex; align-items: center; gap: 14px; text-align: left; background: none; border: 0; padding: 16px 24px; cursor: pointer; border-right: 1px solid var(--line-2); min-width: 0; }
.sb-field:hover { background: #fafbfa; }
.sb-field[aria-expanded="true"] { background: var(--bg-2); }
.sb-field .i { width: 24px; height: 24px; color: var(--accent); }
.sb-field > span { display: block; min-width: 0; }
.sb-anchor { position: relative; }
.sb-field small { display: block; font-size: 12.5px; color: var(--ink-3); letter-spacing: .02em; }
.sb-field strong { display: block; font-weight: 600; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-go { display: flex; align-items: center; padding: 0 18px; }
.panel { position: absolute; left: 0; top: calc(100% + 10px); background: #fff; border-radius: 10px; box-shadow: var(--lift); padding: 22px 24px; width: min(780px, 100%); border: 1px solid var(--line-2); }
.panel.right { left: auto; right: 0; width: min(560px, 100%); }
.panel h2 { font: 600 16px var(--sans); }
.panel .foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.panel .foot .grow { flex: 1; color: var(--ink-2); font-size: 14px; }
.panel-scrim { display: none; }
.mhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mnav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.mnav:disabled { opacity: .35; cursor: default; }
.months { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.month h3 { font: 600 15px var(--sans); text-align: center; margin: 2px 0 10px; }
.grid7 { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 3px; }
.dow { font-size: 12px; color: var(--ink-3); text-align: center; padding: 4px 0 6px; }
.day { height: 50px; border: 0; background: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; line-height: 1.15; font-variant-numeric: tabular-nums; position: relative; }
.day b { font-weight: 500; font-size: 15px; width: 34px; height: 30px; border-radius: 15px; display: flex; align-items: center; justify-content: center; }
.day small { font-size: 10.5px; color: var(--ink-3); }
.day:disabled { cursor: default; color: #b9c1bf; }
.day:disabled small { visibility: hidden; }
.day.full b { text-decoration: line-through; color: #aab3b1; }
.day:not(:disabled):hover b { background: var(--bg-2); }
.day.inrange { background: var(--accent-tint); }
.day.start, .day.end { background: linear-gradient(90deg, transparent 50%, var(--accent-tint) 50%); }
.day.end { background: linear-gradient(90deg, var(--accent-tint) 50%, transparent 50%); }
.day.start.end, .day.solo { background: none; }
.day.start b, .day.end b { background: var(--ink); color: #fff; }
.day.start:hover b, .day.end:hover b { background: #000; }
.guests .room { display: grid; grid-template-columns: 84px 1fr 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line-2); }
.guests .room:first-child { border-top: 0; padding-top: 2px; }
.guests .lbl { font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper > span { min-width: 5.5em; color: var(--ink-2); }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink); }
.stepper button:disabled { color: #c3cac8; cursor: default; }
.stepper output { min-width: 1.4em; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- steps */
.steps { display: flex; align-items: center; gap: 14px; padding-top: 34px; font-size: 14.5px; color: var(--ink-3); flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 10px; }
.steps li + li::before { content: ""; width: 44px; height: 1px; background: var(--line); margin-right: 4px; }
.steps .n { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; }
.steps .on { color: var(--ink); font-weight: 600; }
.steps .on .n { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps .done { color: var(--ink-2); }
.steps .done .n { border-color: var(--accent); color: var(--accent); }
.steps .n .i { width: 15px; height: 15px; stroke-width: 2.4; }
.btn .i { width: 18px; height: 18px; }
.btn .i.flip { transform: rotate(180deg); }

/* ---------------------------------------------------------------- choose a room */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-top: 26px; padding-bottom: 80px; }
.layout > aside { align-self: stretch; }
.listhead { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.listhead h2 { font: 600 38px/1.1 var(--serif); }
.listhead .grow { flex: 1; }
.listhead select { min-height: 40px; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; background: #fff; font-size: 14px; }
.list-note { font-size: 15px; color: var(--ink-2); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.list-note { gap: 8px 22px; }
.list-note .ok { color: var(--accent-ink); display: inline-flex; gap: 6px; align-items: center; }
.list-note .i { width: 18px; height: 18px; }
.slot-banner { display: flex; align-items: center; gap: 14px; background: var(--accent-tint); color: var(--accent-ink); border-radius: var(--r); padding: 12px 16px; margin-bottom: 18px; font-size: 15px; }
.slot-banner b { font-weight: 600; }
.slot-banner > span { flex: 1; }
.room-card { display: grid; grid-template-columns: 290px minmax(0, 1fr) 200px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 22px; }
.room-card.out { opacity: .6; }
.room-media { position: relative; background: var(--bg-2); min-height: 236px; }
.room-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-media .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.room-media .nav.prev { left: 10px; } .room-media .nav.next { right: 10px; }
.room-media .count { position: absolute; left: 10px; bottom: 10px; background: rgba(16, 24, 23, .72); color: #fff; font-size: 12.5px; padding: 3px 10px; border-radius: 12px; display: inline-flex; gap: 6px; align-items: center; border: 0; cursor: pointer; }
.room-media.blank { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #8f9a97; font-size: 13px; background: linear-gradient(160deg, #eef1f0, #e2e8e6); }
.room-media.blank .i { width: 44px; height: 44px; stroke-width: 1.2; }
.room-body { padding: 22px 24px; min-width: 0; }
.room-body h3 { font: 600 21px/1.25 var(--sans); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14.5px; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 7px; }
.facts .i { width: 18px; height: 18px; color: var(--ink-3); }
.room-body .desc { margin-top: 12px; font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.room-body .more { margin-top: 12px; }
.left { margin-top: 10px; font-size: 14px; color: var(--alert); font-weight: 500; }
.room-price { padding: 22px 22px 22px 0; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; }
.room-price .from { font-size: 13px; color: var(--ink-3); }
.room-price .amt { font-size: 26px; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.room-price .amt small { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.room-price .tax { font-size: 12.5px; color: var(--ink-3); max-width: 15em; }
.room-price .btn { margin-top: 14px; }
.room-price .why { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.rates { grid-column: 1 / -1; border-top: 1px solid var(--line); background: #fbfcfb; }
.rate { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 26px; align-items: center; padding: 18px 24px; border-top: 1px solid var(--line-2); }
.rate:first-child { border-top: 0; }
.rate b { font-weight: 600; font-size: 16px; }
.rate ul { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink-2); }
.rate li { display: inline-flex; align-items: center; gap: 6px; }
.rate li .i { width: 16px; height: 16px; color: var(--accent); }
.rate .cancel { font-size: 13.5px; margin-top: 4px; color: var(--accent-ink); }
.rate .cancel.late { color: var(--ink-3); }
.rate .price { text-align: right; }
.rate .price .amt { font-size: 21px; font-weight: 600; white-space: nowrap; }
.rate .price .amt small { font-size: 13px; font-weight: 400; color: var(--ink-2); }
.rate .price .tot { font-size: 13px; color: var(--ink-3); white-space: nowrap; }
.rate .why { font-size: 14px; color: var(--ink-3); text-align: right; max-width: 12em; }
.rate.chosen { background: var(--accent-tint); }
.skeleton { height: 238px; border-radius: 8px; margin-bottom: 22px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent) var(--bg-2) no-repeat; background-size: 40% 100%; animation: shimmer 1.3s linear infinite; }
@keyframes shimmer { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.empty { padding: 30px; border: 1px solid var(--line); border-radius: 8px; font-size: 17px; color: var(--ink-2); background: #fff; }

/* ---------------------------------------------------------------- summary */
.summary { position: sticky; top: 20px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.summary .pic { height: 132px; background: var(--night); position: relative; }
.summary .pic img { width: 100%; height: 100%; object-fit: cover; }
.summary .pic.blank { background: radial-gradient(120% 140% at 75% 30%, #2b5a54 0%, #183533 50%, var(--night) 100%); }
.summary .in { padding: 20px 22px 22px; }
.summary h2 { font: 600 26px/1.15 var(--serif); }
.summary .hotel { font-size: 13.5px; color: var(--ink-3); margin-top: 2px; }
.summary .dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 4px; padding: 14px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); font-size: 14px; }
.summary .dates small { display: block; color: var(--ink-3); font-size: 12.5px; }
.summary .dates b { font-weight: 600; }
.slots li { padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.slots .who { font-size: 12.5px; color: var(--ink-3); }
.slots .pickd { display: flex; gap: 10px; align-items: baseline; }
.slots .pickd span:first-child { flex: 1; }
.slots .todo .who { color: var(--accent-ink); font-weight: 600; }
.charges { margin-top: 6px; font-size: 14.5px; }
.charges .line { display: flex; gap: 12px; padding: 4px 0; }
.charges .line span:first-child { flex: 1; color: var(--ink-2); }
.charges .room { padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.charges .room b { font-weight: 600; }
.charges .sub { font-size: 13px; color: var(--ink-3); }
.totalrow { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 10px; padding-top: 14px; margin-top: 10px; border-top: 2px solid var(--ink); }
.totalrow span:first-child { font-weight: 600; }
.totalrow .amt { font-size: 24px; font-weight: 600; margin-left: auto; }
.summary .note { font-size: 13px; color: var(--ink-3); margin: 10px 0 16px; }
.mobilebar { display: none; }

/* ---------------------------------------------------------------- the hotel */
.band { background: var(--bg-2); border-top: 1px solid var(--line-2); padding: 52px 0 58px; }
.band h2 { font: 600 34px/1.15 var(--serif); }
.band .cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; margin-top: 22px; }
.highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px 22px; }
.highlights li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.highlights .i { width: 26px; height: 26px; color: var(--accent); }
.about dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 15px; }
.about dt { color: var(--ink-3); }

/* ---------------------------------------------------------------- forms */
.page { padding-top: 6px; padding-bottom: 80px; }
.pagehead { margin: 22px 0 8px; }
.pagehead h1 { font: 600 clamp(34px, 4vw, 44px)/1.1 var(--serif); }
.pagehead p { margin-top: 6px; color: var(--ink-2); }
.back { font-size: 15px; display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; }
.cardsec { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px; margin-bottom: 20px; }
.cardsec > h2 { font: 600 22px/1.2 var(--sans); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.cardsec > h2 .i { color: var(--accent); }
.cardsec .actions { align-items: center; }
.back .i { width: 16px; height: 16px; }
.head nav .i { width: 17px; height: 17px; color: var(--accent); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #b9c3c0; border-radius: 6px; background: #fff; font-size: 16px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field.bad input, .field.bad select { border-color: var(--alert); }
.field .err { font-size: 13px; color: var(--alert); }
.field .hint { font-size: 13px; color: var(--ink-3); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check.bad { color: var(--alert); }
.extra { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line-2); }
.extra:first-of-type { border-top: 0; padding-top: 0; }
.extra input[type="checkbox"] { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); }
.extra .d { font-size: 14px; color: var(--ink-3); }
.extra select { min-height: 36px; border: 1px solid #b9c3c0; border-radius: 6px; padding: 0 8px; margin-top: 6px; background: #fff; }
.policies li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; color: var(--ink-2); }
.policies li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- confirmation and manage */
.done-head { display: flex; gap: 18px; align-items: flex-start; margin: 26px 0 22px; }
.done-head .tick { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.done-head .tick .i { width: 30px; height: 30px; stroke-width: 2.4; }
.done-head h1 { font: 600 clamp(32px, 4vw, 44px)/1.1 var(--serif); }
.done-head p { margin-top: 6px; color: var(--ink-2); }
.refbox { display: flex; flex-wrap: wrap; gap: 14px 40px; background: var(--bg-2); border-radius: 8px; padding: 18px 22px; margin-bottom: 22px; }
.refbox .lbl { font-size: 13px; color: var(--ink-3); }
.refbox .ref { font-size: 30px; font-weight: 600; letter-spacing: .08em; line-height: 1.2; }
.refbox .val { font-size: 22px; font-weight: 600; line-height: 1.3; }
.kv { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 10px 16px; font-size: 15px; }
.kv dt { color: var(--ink-3); }
.status { display: inline-block; font: 600 13.5px var(--sans); letter-spacing: 0; padding: 3px 12px; border-radius: 999px; background: var(--accent-tint); color: var(--accent-ink); vertical-align: middle; }
.status.cancelled { background: var(--alert-tint); color: var(--alert); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.find { max-width: 480px; display: grid; gap: 16px; }
.notice { border-radius: 8px; padding: 13px 16px; font-size: 15px; background: #fff; border: 1px solid var(--line); }
.notice.error { background: var(--alert-tint); border-color: #efc3bd; color: #7a1a14; }
.notice.warn { background: var(--warn-tint); border-color: #efd9a5; color: var(--warn-ink); }
.notice.ok { background: var(--accent-tint); border-color: #bfe0da; color: var(--accent-ink); }

/* ---------------------------------------------------------------- dialogs, gallery, footer */
.scrim { position: fixed; inset: 0; background: rgba(10, 18, 17, .62); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.dialog { background: #fff; border-radius: 12px; max-width: 640px; width: 100%; max-height: 88vh; overflow: auto; padding: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); position: relative; }
.dialog.wide { max-width: 980px; padding: 0; }
.dialog h2 { font: 600 30px/1.15 var(--serif); margin-bottom: 12px; }
.dialog p { margin-bottom: 10px; color: var(--ink-2); white-space: pre-line; }
.dialog .actions { justify-content: flex-end; }
.dialog .x { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; z-index: 2; display: inline-flex; align-items: center; justify-content: center; }
.viewer { position: relative; background: var(--night); aspect-ratio: 16 / 10; max-height: 64vh; width: 100%; }
.viewer img { width: 100%; height: 100%; object-fit: contain; }
.viewer .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.viewer .nav.prev { left: 14px; } .viewer .nav.next { right: 14px; }
.viewer figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 20px 14px; color: #fff; font-size: 14px; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .55)); }
.thumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; background: #fff; }
.thumbs button { flex: none; width: 92px; height: 62px; border: 2px solid transparent; border-radius: 4px; padding: 0; cursor: pointer; overflow: hidden; background: var(--bg-2); }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.room-detail { padding: 24px 28px 28px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; }
.room-detail h2 { margin-bottom: 4px; }
.room-detail .amen { columns: 2; column-gap: 20px; font-size: 14.5px; color: var(--ink-2); }
.room-detail .amen li { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; break-inside: avoid; }
.room-detail .amen .i { width: 16px; height: 16px; color: var(--accent); }
footer.site { background: var(--night); color: #b9c7c4; font-size: 15px; padding: 46px 0 50px; }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
footer.site b { display: block; color: #fff; font: 600 26px/1.1 var(--serif); margin-bottom: 8px; }
footer.site a, footer.site .link { color: #e7eeec; }
footer.site li { margin-bottom: 6px; }
footer.site .fine { margin-top: 30px; padding-top: 18px; border-top: 1px solid #2b3a37; font-size: 13px; color: #8ea29e; }

/* ---------------------------------------------------------------- extras */
.xcard { display: grid; grid-template-columns: 220px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 18px; }
.xpic { position: relative; background: var(--bg-2); min-height: 170px; }
.xpic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.xpic.blank { display: flex; align-items: center; justify-content: center; color: #8f9a97; background: linear-gradient(160deg, #eef1f0, #e2e8e6); }
.xpic.blank .i { width: 46px; height: 46px; stroke-width: 1.2; }
.xbody { padding: 18px 22px 8px; min-width: 0; }
.xbody h3 { font: 600 20px/1.25 var(--sans); }
.xbody .desc { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.xprice { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.xprice b { font-size: 18px; font-weight: 600; color: var(--ink); }
.xrooms { margin-top: 12px; border-top: 1px solid var(--line-2); }
.xrooms li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 18px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.xrooms li:last-child { border-bottom: 0; }
.xrooms .who { color: var(--ink-2); }
.xrooms .amt { font-weight: 600; white-space: nowrap; text-align: right; }
.xrooms .amt small { display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.xrooms .incl { grid-column: 2 / -1; justify-self: end; display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 500; }
.xrooms .incl .i { width: 17px; height: 17px; }
.xrooms .incl.no { color: var(--ink-3); font-weight: 400; }
.xrooms select { min-height: 38px; min-width: 88px; border: 1px solid #b9c3c0; border-radius: 6px; padding: 0 10px; background: #fff; }
.xrooms .btn { min-width: 96px; }
.btn.added { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.added:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.xsum li { padding: 9px 0; font-size: 14.5px; }
@media (max-width: 760px) {
  .xcard { grid-template-columns: minmax(0, 1fr); }
  .xpic { min-height: 180px; }
  .xbody { padding: 16px 18px 6px; }
  .xrooms li { grid-template-columns: minmax(0, 1fr) auto; }
  .xrooms li .who { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 1080px) {
  .room-card { grid-template-columns: 280px minmax(0, 1fr); }
  .room-price { grid-column: 2; padding: 0 24px 22px; align-items: flex-start; text-align: left; }
  .room-media { grid-row: span 2; }
}
@media (max-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 120px; }
  .layout > aside { display: none; }
  .layout.review { display: flex; flex-direction: column-reverse; }
  .layout.review > aside { display: block; margin-bottom: 22px; }
  .layout.review .summary { position: static; }
  .mobilebar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; gap: 14px; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(17, 30, 28, .1); }
  .mobilebar .sum { flex: 1; min-width: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.3; }
  .mobilebar .sum b { display: block; font-size: 20px; color: var(--ink); }
  .band .cols { grid-template-columns: 1fr; gap: 30px; }
  footer.site .cols { grid-template-columns: 1fr; }
  .room-detail { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --gut: 18px; }
  .head .wrap { min-height: 64px; gap: 14px; }
  .brand b { font-size: 22px; }
  .brand span { display: none; }
  .head nav .tel { display: none; }
  .hero { height: 300px; }
  .hero-text { bottom: 74px; }
  .hero-text h1 { font-size: 36px; }
  .hero-text p { font-size: 14px; }
  .hero-text .wrap { flex-wrap: wrap; gap: 10px; }
  .gallery-btn .btn { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
  .bar-wrap { margin-top: -44px; }
  .searchbar { grid-template-columns: 1fr; }
  .sb-field { border-right: 0; border-bottom: 1px solid var(--line-2); padding: 14px 18px; }
  .sb-go { display: none; }
  .panel, .panel.right { position: fixed; z-index: 40; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 88vh; overflow: auto; border-radius: 16px 16px 0 0; padding: 18px var(--gut) calc(18px + env(safe-area-inset-bottom)); }
  .panel-scrim { display: block; position: fixed; inset: 0; z-index: 39; background: rgba(10, 18, 17, .5); }
  .months { grid-template-columns: 1fr; }
  .months .month + .month { display: none; }
  .guests .room { grid-template-columns: 1fr 1fr; }
  .guests .room .lbl { grid-column: 1 / -1; }
  .steps { padding-top: 24px; gap: 8px; font-size: 13px; }
  .steps li + li::before { width: 14px; }
  .steps li:not(.on) .t { display: none; }
  .listhead h2 { font-size: 32px; }
  .room-card { grid-template-columns: minmax(0, 1fr); }
  .room-media { min-height: 220px; grid-row: auto; }
  .room-price { grid-column: auto; padding: 0 20px 20px; }
  .room-price .btn { width: 100%; }
  .room-body { padding: 18px 20px 12px; }
  .rate { grid-template-columns: minmax(0, 1fr) auto; padding: 16px 20px; }
  .rate .act { grid-column: 1 / -1; }
  .rate .act .btn { width: 100%; }
  .rate .why { grid-column: 1 / -1; text-align: left; max-width: none; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .cardsec { padding: 20px 18px; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .kv dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }
@media print {
  .head nav, .bar-wrap, .actions, footer.site, .mobilebar, .preview-bar, .gallery-btn, .steps { display: none !important; }
  .hero { height: 160px; }
}
