:root {
  color-scheme: dark;
  font: 16px/1.5 system-ui, sans-serif;
  color: #faf4e8;
  background: #041d26;
  --navy: #062731;
  --panel: #0d323e;
  --muted: #bad0d4;
  --edge: #4f6b72;
  --gold: #f1d39c;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

.room-shell { max-width: 34rem; min-height: 100dvh; margin-inline: auto; background: var(--navy); }
.room-header { display: grid; justify-items: center; gap: .55rem; padding: .85rem 1rem .7rem; }
.room-brand { display: inline-flex; align-items: center; }
.room-brand img { display: block; width: 8rem; height: auto; filter: brightness(.525) contrast(20); mix-blend-mode: screen; }
.room-toolbar { display: flex; align-items: center; justify-content: space-between; gap: .55rem; width: 100%; }
.room-toolbar > :only-child { margin-inline: auto; }
.room-label { font-size: .88rem; font-weight: 600; }
.languages { display: inline-flex; gap: .12rem; padding: .15rem; border: 1px solid #8b7958; border-radius: 100px; }
.languages a { display: inline-flex; align-items: center; min-height: 2rem; padding: 0 .65rem; border-radius: inherit; text-decoration: none; font-size: .78rem; font-weight: 650; }
.languages a[aria-current] { background: var(--gold); color: #092431; }

.room-hero {
  display: flex;
  align-items: flex-start;
  min-height: clamp(8rem, 19dvh, 13rem);
  padding: .9rem 1.1rem;
  background: linear-gradient(115deg, #031e2ad9 0%, #031e2a6b 49%, transparent 76%), url('resort.jpg') 54% 56% / cover;
}
.room-hero h1 { font: 2rem/1.05 Georgia, serif; text-shadow: 0 1px 8px #04222b; }
.room-home-actions { padding: .9rem 1rem 1.2rem; }
.call-button, .room-card { display: flex; align-items: center; justify-content: center; text-align: center; text-decoration: none; }
.call-button {
  min-height: 3.3rem;
  gap: .6rem;
  border-radius: .7rem;
  background: linear-gradient(110deg, #f8dfad, #e7bf78);
  color: #05242c;
  font-size: 1.05rem;
  font-weight: 700;
}
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-top: .7rem; }
.room-card {
  flex-direction: column;
  min-height: clamp(5.25rem, 11.5dvh, 6.4rem);
  gap: .2rem;
  padding: .45rem .3rem;
  background: linear-gradient(135deg, #0c3440, #082b36);
  border: 1px solid var(--edge);
  border-radius: .65rem;
  font-size: .94rem;
  line-height: 1.25;
  font-weight: 620;
}
.room-card:hover, .room-options a:hover { background: #12414c; }
.room-card small { color: var(--muted); font-size: .68rem; font-weight: 500; }
.room-card-featured { border-color: var(--gold); color: var(--gold); }

.room-icon { display: inline-block; flex: none; position: relative; width: 1.55rem; height: 1.55rem; }
.room-icon::before, .room-icon::after { content: ''; position: absolute; }
.icon-call::before { inset: 0; content: '📞︎'; font: 1.38rem/1.55rem 'Segoe UI Symbol', system-ui, sans-serif; }
.icon-order::before, .icon-services::before { inset: .28rem .15rem .38rem; border: 2px solid; border-radius: 1rem 1rem .13rem .13rem; }
.icon-order { background: radial-gradient(circle at 50% 14%, currentColor 1.5px, transparent 2px); }
.icon-order::after, .icon-services::after { inset: auto 0 .18rem; height: 2px; background: currentColor; }
.icon-services::before { border-radius: 1rem 1rem .28rem .28rem; }
.icon-services::after { inset: .1rem .62rem auto; height: .19rem; border-radius: 50%; box-shadow: none; }
.icon-reserve::before { inset: .26rem .12rem .08rem; border: 2px solid; border-radius: .22rem; }
.icon-reserve::after { inset: .61rem .37rem auto; height: 2px; background: currentColor; box-shadow: 0 .28rem 0 currentColor; }
.icon-today::before { inset: .29rem; border: 2px solid; border-radius: 50%; }
.icon-today::after { inset: 0 .71rem; background: linear-gradient(currentColor 0 .16rem, transparent .16rem calc(100% - .16rem), currentColor calc(100% - .16rem)); }
.icon-folio::before { inset: .03rem .23rem .07rem; border: 2px solid; border-radius: .2rem; }
.icon-folio::after { inset: .44rem .47rem auto; height: 2px; background: currentColor; box-shadow: 0 .29rem 0 currentColor, 0 .58rem 0 currentColor; }
.icon-tv::before { inset: .11rem 0 .35rem; border: 2px solid; border-radius: .15rem; }
.icon-tv::after { inset: auto .38rem .12rem; height: 2px; background: currentColor; }

.room-detail { padding: .8rem 1rem 2rem; }
.room-detail h1 { font: 2rem/1.13 Georgia, serif; margin: .6rem 0 1rem; }
.room-back { color: var(--gold); display: inline-flex; min-height: 2.25rem; align-items: center; font-size: .9rem; font-weight: 650; text-underline-offset: 3px; }
.room-back.within-panel { margin-top: .55rem; }
.room-panel, .room-options a {
  border: 1px solid var(--edge);
  border-radius: .75rem;
  background: var(--panel);
}
.room-panel { padding: 1rem; margin-bottom: .85rem; }
.room-panel h2 { font: 1.35rem/1.2 Georgia, serif; margin-bottom: .8rem; }
.room-panel form { display: grid; gap: .55rem; }
.room-panel p + form { margin-top: 1rem; }
.room-options { display: grid; gap: .55rem; margin-bottom: .85rem; }
.room-options a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.95rem; padding: .45rem .85rem; font-weight: 600; text-decoration: none; }
.room-options a span { color: var(--gold); font-size: 1.35rem; }
label { font-size: .88rem; font-weight: 650; }
label span { color: var(--muted); font-weight: 500; }
select, textarea, input, button { min-height: 2.85rem; width: 100%; min-width: 0; font: inherit; }
select, textarea, input { padding: .45rem .6rem; border: 1px solid var(--edge); background: #082831; border-radius: .45rem; color: inherit; }
textarea { resize: vertical; }
button { padding: .5rem .7rem; margin-top: .25rem; color: #092631; background: var(--gold); border: 0; border-radius: .45rem; font-weight: 700; cursor: pointer; }
button:disabled { background: #3d5960; color: #e4edeb; cursor: default; }
.room-code { font-weight: 700; letter-spacing: .22em; }
.message { background: #183e47; border: 1px solid var(--edge); border-radius: .45rem; padding: .55rem .8rem; margin: .55rem 1rem; }
.message.error { background: #553433; border-color: #bf7974; }

.requests, .folio-lines, .event-list { list-style: none; margin: 0; padding: 0; }
.requests li, .folio-lines li, .event-list li { display: flex; align-items: baseline; gap: .65rem; padding: .55rem 0; border-top: 1px solid var(--edge); }
.requests li, .folio-lines li { justify-content: space-between; }
.requests strong, .event-list time { color: var(--gold); font-weight: 650; text-align: right; }
.resort-info h3 { margin-top: .65rem; color: var(--muted); font-size: .9rem; }
.folio-note { color: var(--muted); font-size: .8rem; }
.folio-balance { margin: .75rem 0 1.1rem; padding: .8rem; display: grid; border: 1px solid #8d7653; border-radius: .55rem; }
.folio-balance strong { font: 2rem Georgia, serif; color: var(--gold); }
.folio-lines strong { white-space: nowrap; }
.folio-payment { color: #afdfbd; }
.order-item, .order-total { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--edge); }
.order-item p { color: var(--muted); font-size: .85rem; }
.order-item input { width: 4rem; flex: none; }
.order-total output { color: var(--gold); font-weight: 700; }
.call-panel { display: flex; align-items: center; gap: .8rem; }
.call-panel .room-icon { color: var(--gold); }

@media (min-width: 550px) {
  .room-shell { box-shadow: 0 0 2rem #0004; }
  .room-hero h1 { font-size: 2.5rem; }
}
