/* Aurora Hotels: guest website.
   Layout idea: a pine hotel-room wall with one arched window in it; the window is the
   only place colour and illustration live. Everything else is quiet, left-aligned type on paper.
   Palette continues the front-desk tool (pine, paper, fine rules) and adds first light. */
:root {
  --pine-deep: #17342c;   /* hero wall, masthead, footer */
  --pine: #203e34;        /* raised surfaces on the wall */
  --action: #275a46;      /* primary buttons, links */
  --action-dark: #1c4534;
  --ink: #1f352e;         /* text on paper */
  --muted: #56695f;
  --paper: #f6f7f3;       /* page */
  --tint: #ecf0e8;        /* alternate band */
  --surface: #ffffff;
  --line: #d6ddd3;
  --dawn: #f3c969;        /* first light: the one accent */
  --dawn-deep: #b57f10;   /* focus ring, accent on paper */
  --stone: #efe8d8;       /* window frames */
  --stone-deep: #d9cfb9;
  --danger: #a1372a;

  --display: 'Frank Ruhl Libre', 'Times New Roman', Georgia, serif;
  --body: 'Assistant', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 8px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.1; text-wrap: balance; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-dark); }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--dawn-deep); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.page-title:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--dawn); color: var(--pine-deep); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 22px; border-radius: var(--radius);
  border: 1.5px solid transparent; font-weight: 600; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--action); color: #fff; }
.btn-primary:hover { background: var(--action-dark); color: #fff; }
.btn-dawn { background: var(--dawn); color: var(--pine-deep); }
.btn-dawn:hover { background: #f8d98e; color: var(--pine-deep); }
.btn-quiet { background: transparent; color: var(--ink); border-color: #a9b6ab; }
.btn-quiet:hover { border-color: var(--ink); color: var(--ink); }
.btn-danger { background: var(--surface); color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 20; background: var(--pine-deep); color: var(--paper); }
.masthead-row { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font: 500 1.4rem/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.wordmark svg { color: var(--dawn); flex: none; }
.wordmark:hover { color: #fff; }
.mainnav { display: flex; gap: 26px; margin-left: auto; }
.mainnav a { color: rgba(246, 247, 243, .82); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.mainnav a:hover { color: #fff; border-bottom-color: rgba(246, 247, 243, .4); }
.mainnav a[aria-current="page"] { color: #fff; border-bottom-color: var(--dawn); }
.masthead-cta { min-height: 40px; padding: 8px 18px; font-size: 1rem; white-space: nowrap; }

/* ---------- arched windows ---------- */
.arch {
  position: relative; display: block; overflow: hidden; background: var(--stone);
  aspect-ratio: 4 / 5; padding: 9px;
  border-radius: 50% 50% 6px 6px / 40% 40% 6px 6px;
}
.arch .scene, .arch .arch-pane { display: block; width: 100%; height: 100%; border-radius: 50% 50% 2px 2px / 40% 40% 2px 2px; }
.scene, .photo { object-fit: cover; background: #cfd6cc; }
.photo { display: block; width: 100%; height: 100%; }
.arch-pane { overflow: hidden; }
.arch-pane .scene { border-radius: 0; }
.arch-small { padding: 6px; }
.arch-thumb { width: 60px; flex: none; padding: 3px; }
.sill { height: 12px; margin: 0 -14px; background: var(--stone-deep); border-radius: 2px; box-shadow: 0 10px 18px rgba(0, 0, 0, .28); }

/* one slow settle on the hero view when the page opens */
.hero .arch-pane .scene { animation: settle 2.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes settle { from { transform: scale(1.09); } to { transform: none; } }
.arch-pane { background: var(--pine); }
.arch-pane.is-switching { animation: viewswap .6s ease-out both; }
@keyframes viewswap { from { opacity: .35; } to { opacity: 1; } }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(60% 70% at 78% 38%, rgba(243, 201, 105, .16), rgba(243, 201, 105, 0) 70%),
    var(--pine-deep);
  color: var(--paper);
  padding-top: clamp(28px, 5vw, 64px);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 6vw, 88px); align-items: end; }
.hero-title { font-size: clamp(2.7rem, 6.4vw, 5.4rem); line-height: 1; letter-spacing: -.012em; }
.hero-lede { margin-top: 22px; max-width: 34em; font-size: 1.2rem; color: rgba(246, 247, 243, .84); }
.city-tabs { margin-top: clamp(24px, 4vw, 44px); display: grid; border-bottom: 1px solid rgba(246, 247, 243, .16); max-width: 560px; }
.city-tab {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%;
  padding: 13px 4px 13px 18px; background: none; border: 0; border-top: 1px solid rgba(246, 247, 243, .16);
  color: rgba(246, 247, 243, .64); text-align: left; cursor: pointer; box-shadow: inset 3px 0 0 transparent;
  transition: color .15s, box-shadow .15s, background-color .15s;
}
.city-tab:hover { color: #fff; background: rgba(246, 247, 243, .04); }
.city-tab[aria-selected="true"] { color: #fff; box-shadow: inset 3px 0 0 var(--dawn); background: rgba(246, 247, 243, .06); }
.city-tab-name { font: 500 1.5rem/1.1 var(--display); }
.city-tab-meta { font-size: .98rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-window { width: 100%; max-width: 400px; justify-self: end; }
.hero-window figcaption { margin-top: 16px; font-size: .98rem; color: rgba(246, 247, 243, .78); text-align: center; }

/* ---------- search bar ---------- */
.searchbar {
  position: relative; z-index: 2; margin-top: clamp(32px, 5vw, 56px); margin-bottom: -46px;
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, .6fr) minmax(0, .6fr) auto;
  gap: 12px; align-items: end; padding: 18px; background: var(--surface); color: var(--ink);
  border-radius: 12px; box-shadow: 0 18px 40px rgba(18, 40, 33, .22), 0 0 0 1px rgba(18, 40, 33, .06);
}
.page .searchbar { margin-top: 28px; margin-bottom: 8px; box-shadow: 0 0 0 1px var(--line); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: .92rem; font-weight: 600; color: var(--muted); }
.field input, .field select {
  width: 100%; height: 48px; padding: 9px 12px; background: var(--surface);
  border: 1.5px solid #b6c2b8; border-radius: var(--radius); font-size: 1.0625rem; font-variant-numeric: tabular-nums;
}
.field input[type="date"] { min-width: 0; -webkit-appearance: none; appearance: none; }
.field input:hover, .field select:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--dawn-deep); outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.searchbar-go { white-space: nowrap; }
.form-error { color: var(--danger); font-size: .98rem; font-weight: 500; }
.searchbar-error { grid-column: 1 / -1; }

/* ---------- home bands ---------- */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.hero + .band { padding-top: clamp(104px, 12vw, 150px); }
.band-tint { background: var(--tint); }
.band [id], .band { scroll-margin-top: 76px; }
.band-head { max-width: 42em; margin-bottom: clamp(32px, 5vw, 56px); }
.band h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.band-head p { margin-top: 14px; font-size: 1.15rem; color: var(--muted); }

.doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3.4vw, 44px); }
.door-link { display: block; text-decoration: none; color: var(--ink); }
.door-link .arch { transition: background-color .2s, transform .2s; }
.door-link:hover .arch { background: var(--dawn); transform: translateY(-4px); }
.door-city { display: block; margin-top: 18px; font: 500 1.75rem/1.1 var(--display); }
.door-link:hover .door-city { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.door-facts { margin-top: 8px; font-size: .98rem; color: var(--muted); }
.door-blurb { margin-top: 6px; }
.door-rate { margin-top: 10px; font-variant-numeric: tabular-nums; }

.table-scroll { overflow-x: auto; }
.ratecard { width: 100%; min-width: 680px; border-collapse: collapse; text-align: left; }
.ratecard thead th { padding: 0 16px 14px 0; font: 500 1.35rem/1.1 var(--display); border-bottom: 2px solid var(--ink); }
.ratecard thead th:first-child { font: 600 .98rem/1.2 var(--body); color: var(--muted); vertical-align: bottom; }
.ratecard thead a { color: var(--ink); text-decoration: none; }
.ratecard thead a:hover { text-decoration: underline; }
.ratecard tbody th, .ratecard tbody td { padding: 22px 16px 22px 0; border-bottom: 1px solid #c9d2c8; vertical-align: top; }
.rate-room { display: block; font: 500 1.35rem/1.15 var(--display); }
.rate-sleeps, .rate-note { display: block; margin-top: 4px; font-size: .95rem; font-weight: 400; color: var(--muted); }
.rate-price { display: block; font-size: 1.7rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }

.stay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 96px); }
.facts, .services { margin-top: 26px; border-bottom: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.services li { display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.services span { color: var(--muted); }

/* ---------- inner pages ---------- */
.page { padding: clamp(32px, 5vw, 64px) 0 clamp(72px, 9vw, 120px); min-height: 60vh; }
.page-title { font-size: clamp(2.2rem, 4.6vw, 3.5rem); letter-spacing: -.01em; }
.page-lede { margin-top: 14px; max-width: 40em; font-size: 1.18rem; color: var(--muted); }
.back { display: inline-block; margin-bottom: 22px; font-weight: 600; }
.back::before { content: '\2039\00a0'; }
.sub { margin-top: clamp(40px, 6vw, 64px); font-size: 1.75rem; }
.fineprint { margin-top: 18px; font-size: .98rem; color: var(--muted); }
.notice { margin-top: 22px; padding: 14px 18px; background: #fbeecb; border-left: 4px solid var(--dawn-deep); border-radius: 4px; }
.notice-ok { background: #e0eee4; border-left-color: var(--action); }
.policy { margin-top: 22px; max-width: 40em; }

.hotel-banner, .stay-photo { aspect-ratio: 21 / 9; border-radius: 12px; overflow: hidden; background: var(--tint); }
.hotel-banner { margin-bottom: clamp(28px, 5vw, 56px); }
.stay-photo { margin-bottom: clamp(36px, 6vw, 72px); }
.hotel-view { width: 100%; max-width: 360px; justify-self: end; padding-inline: 14px; }
.hotel-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.hotel-view figcaption { margin-top: 16px; text-align: center; font-size: .98rem; color: var(--muted); }
.keyfacts { margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-bottom: 1px solid var(--line); max-width: 520px; }
.keyfacts > div { padding: 14px 0; border-top: 1px solid var(--line); }
.keyfacts dt { font-size: .92rem; font-weight: 600; color: var(--muted); }
.keyfacts dd { font: 500 1.5rem/1.2 var(--display); font-variant-numeric: tabular-nums; }
.keyfacts dd a { font: 600 1.15rem/1.6 var(--body); }

.room-list { margin-top: 22px; border-bottom: 1px solid var(--line); }
.room-photo { aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--tint); }
.room-row { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto minmax(190px, auto); gap: 14px clamp(20px, 4vw, 56px); align-items: center; padding: 26px 0; border-top: 1px solid var(--line); }
.page-hotel .room-row { grid-template-columns: 260px minmax(0, 1fr) auto; }
.room-main h3 { font-size: 1.6rem; }
.room-meta { margin: 6px 0 8px; color: var(--muted); }
.room-price { text-align: right; font-variant-numeric: tabular-nums; }
.room-price .rate { font-size: 1.8rem; font-weight: 600; line-height: 1.1; }
.room-price .per { margin-left: 6px; color: var(--muted); }
.room-price .total { display: block; margin-top: 2px; color: var(--muted); }
.room-action { display: flex; justify-content: flex-end; }
.room-reason { max-width: 200px; text-align: right; font-size: .98rem; color: var(--muted); }
.room-row.is-off .room-price { opacity: .55; }

.pill { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.pill-ok { background: #dcece1; color: #1b5239; }
.pill-low { background: #fbe9b8; color: #6a4a00; }
.pill-none { background: #e6e7e2; color: #565b55; }

.steps { counter-reset: step; display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 22px; color: var(--muted); font-weight: 600; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 10px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #a9b6ab; font-size: .95rem; font-variant-numeric: tabular-nums; }
.steps li[aria-current="step"] { color: var(--ink); }
.steps li[aria-current="step"]::before { background: var(--pine-deep); border-color: var(--pine-deep); color: var(--paper); }
.steps li.is-done::before { content: '\2713'; background: #dcece1; border-color: #dcece1; color: #1b5239; }

.book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(28px, 6vw, 72px); align-items: start; margin-top: 36px; }
.step-title { font-size: 1.75rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.confirm-text { flex-basis: 100%; font-weight: 600; }

.summary { position: sticky; top: 92px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.summary-top { display: flex; align-items: center; gap: 16px; }
.summary-hotel { color: var(--muted); }
.summary-room { font: 500 1.45rem/1.15 var(--display); }
.summary-list, .review { margin-top: 20px; border-bottom: 1px solid var(--line); }
.summary-list > div, .review > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); }
.summary-list dt, .review dt { color: var(--muted); }
.summary-list dd, .review dd { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.summary-total dt, .summary-total dd { font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.review { max-width: 620px; }

.confirmed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(28px, 6vw, 88px); align-items: start; }
.confirmed-view { margin-top: 12px; padding-inline: 14px; }
.code-box { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 30px 0 8px; padding: 22px 26px; background: var(--pine-deep); color: var(--paper); border-radius: 12px; max-width: 620px; }
.code-label { flex-basis: 100%; font-size: .95rem; font-weight: 600; color: var(--dawn); }
.code { font: 500 clamp(2rem, 6vw, 2.9rem)/1.1 var(--display); letter-spacing: .03em; font-variant-numeric: lining-nums tabular-nums; margin-right: auto; }
.code-box .btn-quiet { color: var(--paper); border-color: rgba(246, 247, 243, .5); }
.code-box .btn-quiet:hover { border-color: #fff; color: #fff; }

.lookup { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin-top: 28px; }
.lookup .field { flex: 1 1 260px; }
.lookup input { text-transform: uppercase; letter-spacing: .03em; }
.found { margin-top: 32px; padding: clamp(20px, 3vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.found-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.found-head h2 { font-size: 2rem; letter-spacing: .02em; font-variant-numeric: lining-nums tabular-nums; }
.mine { margin-top: 16px; border-bottom: 1px solid var(--line); }
.mine-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; align-items: center; width: 100%; padding: 15px 4px; background: none; border: 0; border-top: 1px solid var(--line); text-align: left; cursor: pointer; }
.mine-row:hover { background: var(--tint); }
.mine-code { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--action); }

/* ---------- footer ---------- */
.footer { background: var(--pine-deep); color: rgba(246, 247, 243, .84); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 40px; }
.footer-mark { font: 500 1.7rem/1.1 var(--display); color: var(--paper); }
.footer-note { margin-top: 10px; max-width: 28em; }
.footer-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.footer-phones li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; border-top: 1px solid rgba(246, 247, 243, .16); }
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .phone { font-variant-numeric: tabular-nums; color: rgba(246, 247, 243, .84); }
.footer-base { margin-top: 40px; font-size: .95rem; color: rgba(246, 247, 243, .66); }
.footer-base p { padding-top: 18px; border-top: 1px solid rgba(246, 247, 243, .16); }

/* ---------- chat ---------- */
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 10px 20px 10px 16px; background: var(--pine-deep); color: var(--paper);
  border: 1.5px solid rgba(246, 247, 243, .28); border-radius: 999px; font-weight: 600; cursor: pointer;
  box-shadow: 0 12px 28px rgba(18, 40, 33, .32);
}
.chat-launcher:hover { background: var(--pine); }
.chat-launcher svg { color: var(--dawn); }
.chat-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column;
  width: 392px; max-width: calc(100% - 24px); height: 640px; max-height: calc(100% - 40px);
  background: var(--paper); border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 40, 33, .36), 0 0 0 1px rgba(18, 40, 33, .1);
}
.chat-panel.is-opening { animation: chatopen .2s ease-out both; }
@keyframes chatopen { from { transform: translateY(12px); opacity: .4; } to { transform: none; opacity: 1; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 18px; background: var(--pine-deep); color: var(--paper); }
.chat-head svg { color: var(--dawn); flex: none; }
.chat-title { font: 500 1.25rem/1.1 var(--display); }
.chat-sub { font-size: .9rem; color: rgba(246, 247, 243, .76); }
.chat-close { margin-left: auto; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; border-radius: 50%; color: var(--paper); cursor: pointer; font-size: 1.5rem; line-height: 1; }
.chat-close:hover { background: rgba(246, 247, 243, .12); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chat-note { align-self: center; max-width: 30em; font-size: .88rem; color: var(--muted); text-align: center; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px; line-height: 1.42; overflow-wrap: anywhere; white-space: pre-line; }
.msg-bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-user { align-self: flex-end; background: var(--action); color: #fff; border-bottom-right-radius: 4px; }
.chat-cards { display: grid; gap: 8px; align-self: stretch; }
.chat-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.chat-card-title { font: 500 1.2rem/1.15 var(--display); }
.chat-card-meta { grid-column: 1; font-size: .93rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chat-card .btn { grid-column: 2; grid-row: 1 / span 2; min-height: 40px; padding: 8px 14px; font-size: .98rem; }
.chat-booking { align-self: stretch; padding: 14px 16px; background: var(--pine-deep); color: var(--paper); border-radius: 12px; }
.chat-booking .code-label { display: block; font-size: .88rem; }
.chat-booking .code { display: block; font-size: 1.8rem; margin: 2px 0 8px; }
.chat-booking p { font-size: .95rem; color: rgba(246, 247, 243, .86); }
.chat-booking .btn { margin-top: 12px; min-height: 40px; padding: 8px 14px; font-size: .98rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: stretch; }
.chip { padding: 7px 13px; background: transparent; border: 1.5px solid var(--action); border-radius: 999px; color: var(--action); font-weight: 600; font-size: .96rem; cursor: pointer; }
.chip:hover { background: var(--action); color: #fff; }
.typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; border-bottom-left-radius: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-form { display: flex; gap: 8px; padding: 12px; background: var(--surface); border-top: 1px solid var(--line); }
.chat-form input { flex: 1; min-width: 0; min-height: 46px; padding: 9px 14px; border: 1.5px solid #b6c2b8; border-radius: 999px; background: var(--paper); }
.chat-form input:focus-visible { outline: 3px solid var(--dawn-deep); outline-offset: 1px; border-radius: 999px; }
.chat-form .btn { border-radius: 999px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1020px) {
  .mainnav { display: none; }
  .masthead-cta { margin-left: auto; }
  .searchbar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .searchbar .field { grid-column: span 2; }
  .searchbar .field.field-hotel, .searchbar .searchbar-go { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-window { justify-self: center; max-width: 320px; order: -1; }
  .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .stay-grid, .hotel-head, .book-grid, .confirmed, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .hotel-view { max-width: 300px; justify-self: center; }
  .hotel-banner, .stay-photo { aspect-ratio: 16 / 9; }
  .summary { position: static; order: -1; }
  .confirmed-view { display: none; }
  .room-row, .page-hotel .room-row { grid-template-columns: 132px minmax(0, 1fr) auto; }
  .room-action { grid-column: 1 / -1; justify-content: flex-start; }
  .room-action .btn { width: 100%; }
  .room-reason { max-width: none; text-align: left; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wordmark { font-size: 1.2rem; }
  .wordmark svg { width: 30px; }
  .masthead-row { gap: 12px; min-height: 60px; }
  .city-tab { flex-direction: column; align-items: flex-start; gap: 2px; padding-block: 11px; }
  .city-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid, .footer-phones { grid-template-columns: minmax(0, 1fr); }
  .room-row, .page-hotel .room-row { grid-template-columns: minmax(0, 1fr) auto; }
  .room-photo { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .facts > div, .services li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .mine-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mine-row span:nth-child(2) { grid-column: 1; grid-row: 2; font-size: .95rem; color: var(--muted); }
  .mine-row .pill { grid-row: 1 / span 2; grid-column: 2; }
  .chat-launcher { right: 14px; bottom: 14px; }
  .chat-panel { right: 0; bottom: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
  .actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
