:root {
  color-scheme: light;
  --ink: #143d38;
  --paper: #f3f6ef;
  --surface: #ffffff;
  --green: #155c50;
  --green-dark: #0f443b;
  --leaf: #dce9dc;
  --line: #cdd9d1;
  --muted: #58716b;
  --warning: #fff1cf;
  --focus: #ad6c16;
  --danger: #8b3032;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 "Segoe UI", Tahoma, sans-serif;
}
header, main, footer {
  width: min(100%, 1240px);
  margin-inline: auto;
  padding: 24px 32px;
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  color: var(--ink);
  font: 27px/1 Georgia, "Times New Roman", serif;
  text-decoration: none;
}
.brand span {
  display: inline-block;
  margin-left: 4px;
  color: var(--green);
  font: 600 13px/1 "Segoe UI", Tahoma, sans-serif;
  letter-spacing: .08em;
}
nav { display: flex; gap: 24px; }
a { color: var(--green); text-underline-offset: 3px; }
.staff-label {
  padding: 5px 11px;
  border: 1px solid var(--green);
  border-radius: 999px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

h1, h2, h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 {
  max-width: 760px;
  margin: 16px 0 20px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -.025em;
}
h2 {
  margin: 0 0 14px;
  font-size: clamp(29px, 4vw, 42px);
  line-height: 1.15;
}
h3 { margin: 0; font-size: 24px; line-height: 1.25; }
p { max-width: 780px; }
.kicker, .eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}
.muted, small { color: var(--muted); }
.narrow-page { max-width: 760px; padding-block: 42px; }

.property-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .75fr);
  gap: clamp(32px, 8vw, 100px);
  align-items: end;
  padding: clamp(48px, 8vw, 94px) 0 54px;
}
.property-description {
  max-width: 680px;
  font: clamp(19px, 2vw, 23px)/1.55 Georgia, "Times New Roman", serif;
}
.property-facts {
  margin: 0;
  padding: 22px 0;
  border-top: 2px solid var(--green);
  border-bottom: 1px solid var(--line);
}
.property-facts div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  padding: 8px 0;
}
.property-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.property-facts dd { margin: 0; }
.property-rules {
  max-width: 780px;
  margin-bottom: 56px;
  padding-left: 24px;
  border-left: 3px solid var(--leaf);
}
.property-rules h2 { font-size: 25px; }

.catalogue-section { padding: 12px 0 72px; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section-heading > p { margin-bottom: 18px; color: var(--muted); }
.room-catalogue {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
  gap: 22px;
}
.room-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.room-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--leaf);
}
.room-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.room-photo figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  border-radius: 4px;
  background: rgb(20 61 56 / 88%);
  color: white;
  font-size: 11px;
}
.room-body { padding: 20px; }
.room-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.room-title span, .room-capacity { color: var(--muted); font-size: 13px; }
.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
}
.amenities li::before {
  content: "✓";
  margin-right: 5px;
  color: var(--green);
  font-weight: 700;
}
.room-rate {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.room-rate strong { font: 23px Georgia, "Times New Roman", serif; }
.room-rate span { color: var(--muted); font-size: 13px; }

.availability-section {
  padding: 60px 0 30px;
  border-top: 2px solid var(--ink);
}
.search-panel, .checkout-panel, .hold-card {
  margin: 20px 0;
  padding: clamp(20px, 4vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) auto;
  gap: 16px;
  align-items: end;
}
.search-grid button { margin-bottom: 14px; }
.available-rooms { display: grid; gap: 12px; margin-top: 18px; }
.available-room {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.available-room img {
  width: 140px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 6px;
}
.available-room p { margin: 4px 0; }
.checkout-panel, .hold-card {
  margin-top: 28px;
  border-top: 4px solid var(--green);
}
.hold-explainer {
  padding: 14px 16px;
  background: var(--leaf);
  border-radius: 7px;
}
.payment-methods {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  border: 0;
}
.payment-methods legend { margin-bottom: 9px; font-weight: 700; }
.payment-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
}
.payment-option input {
  display: inline;
  width: 20px;
  min-height: 20px;
  margin: 3px 0 0;
}
.payment-option:has(input:checked) {
  background: #f5faf5;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}
.method-text strong { display: block; font-size: 15px; }
.method-text small { display: block; font-size: 13px; font-weight: 400; }
.payment-option.unavailable { background: #f2f3f0; color: var(--muted); cursor: not-allowed; }
.hold-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 20px 0;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.hold-summary div { padding: 13px; background: var(--surface); }
.hold-summary dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.hold-summary dd { margin: 3px 0 0; font-weight: 700; }

.card {
  margin: 20px 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 16px;
}
label { display: block; font-size: 14px; font-weight: 650; }
input, select, textarea, button, .button {
  min-height: 44px;
  border-radius: 7px;
  font: inherit;
}
input, select, textarea {
  display: block;
  width: 100%;
  margin: 7px 0 14px;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid #9fb2aa;
  color: var(--ink);
}
input[type="checkbox"] {
  display: inline;
  width: 22px;
  min-height: 22px;
  margin: 0 9px 0 0;
  vertical-align: middle;
}
button, .button {
  display: inline-block;
  padding: 10px 18px;
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
}
button:hover, .button:hover { background: var(--green-dark); }
button:disabled { cursor: not-allowed; opacity: .55; }
.secondary { background: transparent; color: var(--green); }
.warning {
  max-width: none;
  padding: 12px 18px;
  background: var(--warning);
  border: 1px solid #e1c678;
  border-radius: 7px;
}
.error {
  padding: 12px 16px;
  background: #fff0ee;
  border-radius: 7px;
  color: var(--danger);
}
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th {
  color: var(--muted);
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}
th, td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.tag {
  padding: 4px 8px;
  border-radius: 5px;
  background: #eef1e9;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.tag.CONFIRMED { background: #d8eddf; }
.tag.REVIEW, .tag.INCOMPLETE { background: #ffe7ba; }
.tag.CANCELLED, .tag.RELEASED { background: #f0ddd9; }
.arrival-request {
  max-width: 230px;
  margin: 9px 0 0;
  padding: 7px 9px;
  background: #e7f0e9;
  border-left: 3px solid var(--green);
  font-size: 12px;
  font-weight: 700;
}
.reason-hint {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
td button { min-height: 34px; padding: 5px 10px; font-size: 12px; }
details { margin: 15px 0; }
summary { cursor: pointer; font-weight: 700; }
pre {
  padding: 18px;
  overflow-wrap: anywhere;
  background: #f2f4ef;
  font-size: 13px;
  white-space: pre-wrap;
}
.preview img { width: 160px; height: 160px; }
.metrics { display: flex; gap: 16px; flex-wrap: wrap; }
.metric {
  padding: 12px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
}
.metric strong { display: block; font: 30px Georgia, "Times New Roman", serif; }
.notice { min-height: 24px; }
footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* Presentation start page: stands in for the hotel's own Facebook page and website. */
.welcome-app { padding-block: 32px 56px; }
.presenter-note {
  max-width: none;
  margin: 0 0 28px;
  padding: 12px 18px;
  background: var(--warning);
  border: 1px solid #e1c678;
  border-radius: 7px;
}
.welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(220px, .7fr);
  gap: 24px;
  align-items: start;
}
.social-post, .site-mock, .qr-panel {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.post-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.post-head small { display: block; color: var(--muted); font-size: 12px; }
.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.social-post img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-body { padding: 16px; }
.post-body p { margin-top: 0; }
.post-body .button { display: block; text-align: center; }
.site-bar {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.site-bar span { color: var(--muted); }
.site-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 430px;
  padding: 28px;
  background: linear-gradient(to top, rgb(12 40 36 / 90%), rgb(12 40 36 / 10%) 72%), url("/images/family-room.png") center / cover;
  color: #fff;
}
.site-hero h2, .site-hero .kicker { color: #fff; }
.site-hero .button { align-self: flex-start; background: #fff; border-color: #fff; color: var(--green-dark); }
.site-hero .button:hover { background: var(--leaf); }
.qr-panel { padding: 22px; text-align: center; }
.qr-panel h2 { font-size: 26px; }
.qr-panel img { display: block; width: 100%; max-width: 220px; height: auto; margin: 0 auto; }
.qr-url { overflow-wrap: anywhere; font-size: 13px; font-weight: 700; }

/* Practice checkout, guest inbox and arrival page. */
.provider-mock {
  display: grid;
  gap: 4px;
  margin: 20px 0;
  padding: 22px;
  background: #fafbf8;
  border: 2px dashed var(--line);
  border-radius: 10px;
}
.provider-mock strong { font: 22px Georgia, "Times New Roman", serif; }
.provider-mock span { color: var(--muted); font-size: 14px; }
.email pre { margin: 12px 0; }
.email-qr { display: block; width: 180px; height: 180px; }
.arrival-options { display: grid; gap: 14px; margin: 22px 0 8px; }
.arrival-option button { width: 100%; }
.arrival-option p { margin: 6px 0 0; font-size: 14px; }
.arrival-result {
  margin-top: 18px;
  padding: 18px 20px;
  background: #eef5ef;
  border-left: 4px solid var(--green);
  border-radius: 6px;
}
.arrival-result h2 { font-size: 30px; }
.arrival-request.done { background: #eef1e9; border-left-color: var(--muted); font-weight: 400; }

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 1000px) {
  .welcome-grid { grid-template-columns: 1fr 1fr; }
  .qr-panel { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .property-intro { grid-template-columns: 1fr; gap: 28px; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-grid button { width: 100%; }
  .available-room { grid-template-columns: 112px minmax(0, 1fr); }
  .available-room img { width: 112px; }
  .available-room button { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 560px) {
  header, main, footer { padding: 18px; }
  .site-header { align-items: flex-start; }
  .brand { font-size: 23px; }
  .brand span { display: block; margin: 5px 0 0; font-size: 10px; }
  nav { gap: 14px; font-size: 13px; }
  .property-intro { padding-top: 44px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: -4px; }
  .room-catalogue { grid-template-columns: 1fr; }
  .room-photo { aspect-ratio: 4 / 3; }
  .search-grid, .hold-summary { grid-template-columns: 1fr; }
  .search-grid button { margin-bottom: 0; }
  .available-room { grid-template-columns: 1fr; }
  .available-room img { width: 100%; aspect-ratio: 3 / 2; }
  .welcome-grid { grid-template-columns: 1fr; }
  .site-hero { min-height: 340px; }
  .card, .search-panel, .checkout-panel, .hold-card { padding: 18px; }
}
