/* FlowX showroom prototype — static HTML/CSS.
   Tokens first; every host brand swaps --brand (and optionally the fonts). */

@font-face { font-family: "Inter"; src: url("../fonts/Inter-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --paper: #FFFFFF;
  --paper-2: #F4F4F2;
  --ink: #15181A;
  --ink-2: #4B4F52;
  --mute: #7A7D7C;
  --line: #E3E3DF;
  --brand: #0E4A5A;
  --brand-ink: #FFFFFF;
  --ok: #2F6B4F;
  --no: #9A4A32;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 48px;
  --max: 1360px;
  --radius: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.mute { color: var(--mute); }
.num { font-variant-numeric: tabular-nums; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn--brand { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn--brand:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.arrow { display: inline-block; width: 18px; height: 1px; background: currentColor; position: relative; }
.arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 500; }
.link:hover { color: var(--brand); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 30; }
.site-head__in { display: flex; align-items: center; justify-content: space-between; height: 88px; gap: 24px; }
.wordmark { font-family: var(--sans); letter-spacing: -0.04em; font-weight: 600; font-size: 24px; line-height: 1; }
.wordmark em { font-style: normal; color: var(--brand); }
.nav { display: flex; gap: 36px; font-size: 15px; }
.nav a { padding: 8px 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { border-color: var(--ink); }
.site-head__side { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.lang { display: flex; gap: 8px; color: var(--mute); }
.lang b { color: var(--ink); font-weight: 500; }
.menu-btn { display: none; background: none; border: 0; padding: 8px 0; font-size: 15px; font-weight: 500; cursor: pointer; }

/* ---------- Showroom ---------- */
.hero { padding: 128px 0 0; }
.hero__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: end; }
.hero__copy { grid-column: 1 / span 7; padding-bottom: 104px; }
.hero h1 { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: clamp(40px, 5.2vw, 80px); line-height: 1.02; margin: 28px 0 36px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__lead { max-width: 520px; font-size: 18px; color: var(--ink-2); }
.hero__meta { grid-column: 9 / span 4; padding-bottom: 104px; display: grid; gap: 14px; font-size: 14px; color: var(--ink-2); }
.hero__meta li { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.hero__meta b { font-weight: 500; color: var(--ink); }
.hero__img { height: clamp(300px, 44vw, 620px); position: relative; }

/* Search */
.search { position: relative; margin-top: -46px; z-index: 5; }
.search__bar { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr auto; background: var(--paper); border: 1px solid var(--ink); }
.search__field { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 26px; border-right: 1px solid var(--line); text-align: left; background: none; border-top: 0; border-bottom: 0; border-left: 0; cursor: pointer; min-height: 92px; }
.search__field:hover { background: var(--paper-2); }
.search__field span { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.search__field strong { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 20px; line-height: 1.2; }
.search__go { border: 0; min-height: 92px; padding: 0 44px; }

/* Results */
.results { padding: 160px 0 40px; }
.results__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid var(--ink); }
.results__head h2 { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: clamp(28px, 3vw, 44px); line-height: 1.12; max-width: 720px; }
.results__head h2 em { font-style: normal; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); background: none; font-size: 14px; cursor: pointer; border-radius: var(--radius); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.stay { display: block; }
.stay__img { position: relative; overflow: hidden; background: var(--paper-2); }
.stay__img img { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.stay:hover .stay__img img { transform: scale(1.035); }
.stay__no { font-size: 12px; letter-spacing: 0.14em; color: var(--mute); font-weight: 500; }
.stay__name { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 28px; line-height: 1.1; }
.stay__facts { font-size: 14px; color: var(--ink-2); }
.stay__facts span + span::before { content: "·"; margin: 0 8px; color: var(--mute); }
.stay__price { text-align: right; white-space: nowrap; }
.stay__price strong { display: block; font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 26px; line-height: 1.1; }
.stay__price small { font-size: 13px; color: var(--mute); }
.state { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; }
.state::before { content: ""; width: 7px; height: 7px; background: var(--ok); }
.state--no { color: var(--no); }
.state--no::before { background: var(--no); }
.tag { position: absolute; left: 0; top: 0; background: var(--paper); padding: 9px 14px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }

/* Featured row */
.stay--lead { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; padding: 80px 0 96px; border-bottom: 1px solid var(--line); }
.stay--lead .stay__img { grid-column: 1 / span 8; aspect-ratio: 16 / 10; }
.stay--lead .stay__body { grid-column: 9 / span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.stay--lead .stay__name { font-size: clamp(34px, 3.4vw, 50px); margin: 18px 0 22px; }
.stay--lead .stay__text { color: var(--ink-2); margin-top: 18px; }
.stay--lead .stay__foot { display: grid; gap: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.stay--lead .stay__price strong { margin: 10px 0 6px; }
.stay--lead .stay__price { text-align: left; }
.stay--lead .stay__price strong { font-size: 36px; }

/* Tiles */
.stays { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; row-gap: 112px; padding: 96px 0 24px; }
.stays .stay__img { aspect-ratio: 4 / 3; }
.stays .stay__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: 30px; }
.stays .stay__name { margin: 12px 0 12px; }
.stays .stay__sub { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.stay.is-out .stay__img img { filter: grayscale(1) contrast(.9); opacity: .55; }
.stay.is-out .stay__price strong { font-size: 22px; color: var(--mute); }
.stay.is-hidden { display: none; }
/* A lone last tile becomes a full-width row instead of leaving a hole in the grid */
.stays .stay--wide { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: center; padding-top: 96px; border-top: 1px solid var(--line); }
.stays .stay--wide .stay__img { grid-column: 1 / span 4; aspect-ratio: 16 / 10; }
.stays .stay--wide .stay__body { grid-column: 5 / span 8; }
.stays .stay--wide .stay__row { padding-top: 0; }

/* Direct band */
.direct { background: var(--ink); color: var(--paper); margin-top: 160px; padding: 168px 0; }
.direct__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; row-gap: 48px; }
.direct h2 { grid-column: 1 / span 5; font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.06; }
.direct h2 em { font-style: normal; color: #9CC3CC; }
.direct__list { grid-column: 7 / span 6; display: grid; }
.direct__list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 36px 0; border-top: 1px solid rgba(255,255,255,.2); }
.direct__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.2); }
.direct__list span { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 20px; line-height: 1.3; color: #9CC3CC; }
.direct__list h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.direct__list p { color: rgba(255,255,255,.7); font-size: 15px; }

/* Location */
.place { padding: 168px 0; }
.place__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: stretch; }
.place__map { grid-column: 1 / span 8; aspect-ratio: 16 / 9; position: relative; }
.pin { position: absolute; left: 46%; top: 52%; width: 14px; height: 14px; background: var(--brand); box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand) 16%, transparent); }
.place__map small { position: absolute; left: 16px; bottom: 14px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.place__body { grid-column: 9 / span 4; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.place__body h2 { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 36px; line-height: 1.08; margin: 18px 0 20px; }
.dist li { display: flex; justify-content: space-between; padding: 17px 0; border-top: 1px solid var(--line); font-size: 15px; }
.dist li:last-child { border-bottom: 1px solid var(--line); }

/* Footer */
.site-foot { border-top: 1px solid var(--ink); padding: 96px 0 48px; font-size: 14px; }
.site-foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-foot h3 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: var(--mute); margin-bottom: 14px; }
.site-foot li { margin-bottom: 8px; }
.site-foot a:hover { color: var(--brand); }
.site-foot__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 88px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13px; }

/* ---------- Listing ---------- */
.crumbs { display: flex; gap: 10px; font-size: 13px; color: var(--mute); padding: 48px 0 0; }
.crumbs a:hover { color: var(--ink); }
.lhead { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: end; padding: 64px 0 72px; }
.lhead__title { grid-column: 1 / span 8; }
.lhead h1 { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: clamp(44px, 6vw, 92px); line-height: 1; margin-top: 14px; }
.lhead h1 em { font-style: normal; color: var(--brand); }
.lhead__facts { grid-column: 9 / span 4; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.lhead__facts div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.lhead__facts dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.lhead__facts dd { font-family: var(--sans); letter-spacing: -0.02em; font-weight: 500; font-size: 20px; line-height: 1.3; }

.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: clamp(320px, 43vw, 620px); position: relative; }
.gallery figure { overflow: hidden; background: var(--paper-2); }
.gallery figure:first-child { grid-row: 1 / span 2; }
.gallery__all { position: absolute; right: 16px; bottom: 16px; background: var(--paper); border-color: var(--paper); color: var(--ink); }

.lbody { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; padding-block: 128px 168px; align-items: start; }
.lmain { grid-column: 1 / span 7; }
.laside { grid-column: 9 / span 4; position: sticky; top: 100px; }
.lede { font-family: var(--sans); letter-spacing: -0.02em; font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.38; }
.prose { margin-top: 36px; color: var(--ink-2); max-width: 640px; }
.prose p + p { margin-top: 14px; }
.sec { margin-top: 112px; padding-top: 44px; border-top: 1px solid var(--ink); }
.sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.sec h2 { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 28px; line-height: 1.1; }
.amen { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
.amen li { display: flex; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.amen li::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--ink); flex: none; }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rooms li { border: 1px solid var(--line); padding: 28px 24px; }
.rooms b { display: block; font-family: var(--sans); letter-spacing: -0.01em; font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.rooms span { font-size: 14px; color: var(--ink-2); }
.rules { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
.rules li { display: flex; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rules li span { color: var(--ink-2); }

/* Calendar */
.cal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.cal__month h3 { font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__dow { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); text-align: center; padding-bottom: 8px; }
.cal__day { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; font-size: 14px; font-variant-numeric: tabular-nums; border: 0; background: none; cursor: pointer; }
.cal__day:hover { background: var(--paper-2); }
.cal__day.is-booked { color: #B5B0A4; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .5px), #CFC9BB calc(50% - .5px), #CFC9BB calc(50% + .5px), transparent calc(50% + .5px)); }
.cal__day.is-range { background: color-mix(in srgb, var(--brand) 14%, var(--paper)); }
.cal__day.is-edge { background: var(--brand); color: var(--brand-ink); }
.cal__legend { display: flex; gap: 24px; margin-top: 20px; font-size: 13px; color: var(--ink-2); }
.cal__legend i { display: inline-block; width: 12px; height: 12px; margin-right: 8px; vertical-align: -1px; }

/* Booking panel */
.panel { border: 1px solid var(--ink); background: var(--paper); }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.panel__head strong { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 30px; line-height: 1; }
.panel__dates { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.cell { display: flex; flex-direction: column; gap: 3px; padding: 16px 24px; text-align: left; background: none; border: 0; cursor: pointer; }
.cell + .cell { border-left: 1px solid var(--line); }
.cell:hover { background: var(--paper-2); }
.cell span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.cell b { font-weight: 500; font-size: 15px; }
.guests { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 34px; height: 34px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 18px; line-height: 1; }
.stepper button:hover { border-color: var(--ink); }
.stepper output { min-width: 18px; text-align: center; font-weight: 500; }
.sum { padding: 20px 24px 4px; }
.sum li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 15px; color: var(--ink-2); }
.sum li.total { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--ink); color: var(--ink); font-weight: 500; align-items: baseline; }
.sum li.total b { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 28px; line-height: 1; }
.panel__cta { padding: 18px 24px 24px; }
.panel__note { margin-top: 14px; font-size: 13px; color: var(--mute); text-align: center; }
.assure { margin-top: 18px; display: grid; gap: 10px; font-size: 14px; color: var(--ink-2); }
.assure li { display: flex; gap: 12px; align-items: baseline; }
.assure li::before { content: ""; width: 12px; height: 1px; background: var(--ink); flex: none; transform: translateY(-4px); }

.mbar { display: none; }

/* ---------- Booking ---------- */
.steps { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-top: 64px; }
.steps li { flex: 1; padding: 0 0 16px; font-size: 14px; color: var(--mute); border-bottom: 2px solid transparent; margin-bottom: -1px; display: flex; gap: 12px; align-items: baseline; }
.steps li b { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 15px; }
.steps li.is-done { color: var(--ink-2); }
.steps li.is-now { color: var(--ink); border-color: var(--ink); font-weight: 500; }
.bhead h1 { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.04; margin-top: 14px; }
.bbody { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; padding: 96px 0 168px; align-items: start; }
.bform { grid-column: 1 / span 7; }
.baside { grid-column: 9 / span 4; position: sticky; top: 100px; }
.fs { border: 0; padding: 0; margin: 0 0 88px; }
.fs legend { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 24px; line-height: 1.1; padding: 0; margin-bottom: 32px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 26px; }
.field label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea { min-height: 52px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--mute); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field small { font-size: 13px; color: var(--mute); }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.check input { appearance: none; width: 20px; height: 20px; border: 1px solid var(--ink); flex: none; margin: 2px 0 0; cursor: pointer; background: #FFFFFF; }
.check input:checked { background: var(--ink); box-shadow: inset 0 0 0 4px #FFFFFF; }
.check a { border-bottom: 1px solid currentColor; }
.bactions { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--ink); }
.order { border: 1px solid var(--ink); }
.order__img { aspect-ratio: 16 / 9; }
.order__in { padding: 22px 24px; }
.order__in h2 { font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 26px; line-height: 1.1; margin: 6px 0 4px; }
.order__dates { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 18px; }
.order__dates div { padding: 14px 0; }
.order__dates div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.order__dates span { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.order .sum { padding: 14px 0 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  :root { --gutter: 32px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .hero { padding-top: 80px; }
  .hero__copy { grid-column: 1 / -1; padding-bottom: 48px; }
  .hero__meta { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); column-gap: 24px; padding-bottom: 72px; }
  .hero__meta li { flex-direction: column; gap: 2px; }
  .search__bar { grid-template-columns: 1fr 1fr; }
  .search__field:nth-child(2) { border-right: 0; }
  .search__field:nth-child(3) { border-top: 1px solid var(--line); }
  .search__go { border-top: 1px solid var(--ink); }
  .stay--lead .stay__img, .stay--lead .stay__body { grid-column: 1 / -1; }
  .stay--lead .stay__body { padding-top: 24px; }
  .direct h2, .direct__list { grid-column: 1 / -1; }
  .place__map, .place__body { grid-column: 1 / -1; }
  .place__body { padding-top: 32px; }
  .lhead__title, .lhead__facts { grid-column: 1 / -1; }
  .lhead__facts { margin-top: 28px; grid-template-columns: repeat(4, 1fr); }
  .lmain, .bform { grid-column: 1 / -1; }
  .baside { grid-column: 1 / -1; position: static; margin-top: 8px; order: -1; margin-bottom: 48px; }
  .lbody { padding-block-end: 140px; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); background: var(--paper); border-top: 1px solid var(--ink); }
  .mbar strong { display: block; font-family: var(--sans); letter-spacing: -0.03em; font-weight: 500; font-size: 24px; line-height: 1; }
  .mbar small { font-size: 13px; color: var(--mute); }
  .site-foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .site-head__in { height: 64px; }
  .wordmark { font-size: 22px; }
  .lang, .head-phone { display: none; }
  .steps li { gap: 8px; }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta li { flex-direction: row; }
  .hero__img { height: 300px; }
  .search { margin-top: -28px; }
  .search__bar { grid-template-columns: 1fr 1fr; }
  .search__field { padding: 14px 16px; min-height: 76px; }
  .search__field strong { font-size: 18px; }
  .search__field:nth-child(3), .search__go { grid-column: 1 / -1; }
  .search__field:nth-child(3) { border-right: 0; }
  .search__go { min-height: 60px; }
  .results { padding-top: 104px; }
  .stays { grid-template-columns: 1fr; row-gap: 72px; padding-top: 56px; }
  .stays .stay--wide { display: block; padding-top: 0; border-top: 0; }
  .stays .stay--wide .stay__row { padding-top: 20px; }
  .stay__name { font-size: 26px; }
  .stay__price strong { font-size: 24px; }
  .direct, .place { padding: 104px 0; }
  .direct { margin-top: 104px; }
  .direct__list li { grid-template-columns: 44px 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 420px; }
  .gallery figure:first-child { grid-row: auto; grid-column: 1 / -1; }
  .gallery figure:nth-child(n+4) { display: none; }
  .lhead__facts { grid-template-columns: repeat(2, 1fr); }
  .lbody { padding-block-start: 72px; }
  .hero { padding-top: 56px; }
  .stay--lead { padding: 48px 0 64px; }
  .sec { margin-top: 80px; }
  .lhead { padding: 40px 0 48px; }
  .amen, .rules, .cal, .grid2 { grid-template-columns: 1fr; }
  .rooms { grid-template-columns: 1fr; }
  .cal { gap: 32px; }
  .steps li span { display: none; }
  .steps li.is-now span { display: inline; }
  .site-foot__grid { grid-template-columns: 1fr; }
  .bactions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Theme additions (not in the static prototype) ---------- */
[hidden] { display: none !important; }
.nojs-only { display: block; }
.js .nojs-only { display: none; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Search and panel use real form controls */
label.search__field { cursor: text; }
.search__field input, .search__field select,
.cell input, .guests select { font: 500 20px/1.2 var(--sans); letter-spacing: -0.02em; color: var(--ink); background: none; border: 0; padding: 0; margin: 0; width: 100%; min-height: 28px; border-radius: 0; -webkit-appearance: none; appearance: none; }
.search__field select, .guests select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2315181A' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right center; padding-right: 18px; }
.search__field input:focus, .search__field select:focus, .cell input:focus, .guests select:focus { outline: 0; }
.search__field:focus-within, .cell:focus-within { background: var(--paper-2); }
.cell input { font-size: 15px; letter-spacing: 0; min-height: 22px; }
label.cell { cursor: text; }
.guests select { width: auto; font-size: 15px; letter-spacing: 0; }
.panel__hint { padding: 22px 24px 26px; color: var(--ink-2); font-size: 15px; }
.panel__no { padding: 22px 24px 26px; display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.panel__submit { padding: 0 24px 24px; }
.panel.is-loading [data-rbe-quote] { opacity: .45; transition: opacity .15s; }
.panel__fresh { padding: 0 24px 18px; font-size: 13px; color: var(--no); }

/* Calendar */
.cal__bar { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 20px; }
.cal__nav { width: 40px; height: 40px; border: 1px solid var(--line); background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cal__nav:hover { border-color: var(--ink); }
.cal__nav[disabled] { opacity: .35; cursor: default; }
.cal__day.is-past { color: #C9C9C4; cursor: default; background: none; }
.cal__day.is-checkout { color: var(--ink); cursor: pointer; background: linear-gradient(to top left, transparent 50%, #EFEFEC 50%); }
.cal__day.is-pick { background: var(--ink); color: var(--paper); }
.cal__hint { margin-top: 16px; font-size: 14px; color: var(--ink-2); min-height: 22px; }

/* Showroom states */
.results__sub { margin-top: 16px; color: var(--ink-2); max-width: 560px; }
.stay__from { font-size: 13px; color: var(--mute); display: block; }
.stays--single { grid-template-columns: 1fr; }
.empty { padding: 96px 0; color: var(--ink-2); }

/* Gallery with fewer photos */
.gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.gallery--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.gallery--3 { grid-template-columns: 2fr 1fr; }
.gallery--2 figure:first-child { grid-row: auto; }
.place__map img { position: absolute; inset: 0; }

/* Plain pages (legal texts etc.) */
.page { padding: 96px 0 160px; }
.page h1 { font-weight: 500; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: 48px; }
.page__body { max-width: 720px; color: var(--ink-2); }
.page__body h2 { color: var(--ink); font-weight: 500; font-size: 24px; letter-spacing: -0.02em; margin: 48px 0 16px; }
.page__body h3 { color: var(--ink); font-weight: 500; font-size: 18px; margin: 32px 0 12px; }
.page__body p, .page__body ul, .page__body ol { margin-bottom: 16px; }
.page__body ul { list-style: disc; padding-left: 20px; }
.page__body ol { list-style: decimal; padding-left: 20px; }
.page__body a { border-bottom: 1px solid currentColor; }
.prose a { border-bottom: 1px solid currentColor; }
.site-foot__legal { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 1000px) {
  .nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 8px var(--gutter) 20px; }
  .nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-head { position: sticky; }
  .site-head__in { position: relative; }
  .laside { display: block; position: static; grid-column: 1 / -1; margin-top: 72px; }
  .laside .assure { display: none; }
}
@media (max-width: 640px) {
  .gallery--2, .gallery--3 { grid-template-columns: 1fr 1fr; }
  .page { padding: 56px 0 96px; }
}
