:root {
  --accent: #B4532A;
  --ink: #1E1B18;
  --muted: #6B645C;
  --line: #E7E1D8;
  --paper: #FBF8F3;
  --card: #FFFFFF;
  --chip: #F1ECE4;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a { color: inherit; }

.wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }

/* Header: flat accent band, no gradients */
.hero {
  background: var(--accent);
  color: #fff;
  padding: 36px 0 28px;
}
.hero h1 {
  margin: 0;
  font: 700 clamp(30px, 8vw, 44px)/1.05 Fraunces, Georgia, serif;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.hero p { margin: 10px 0 0; font-size: 16px; opacity: .9; }

.langs { display: flex; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.langs button {
  border: 1px solid rgba(255,255,255,.55);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font: 600 13px Inter, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}
.langs button[aria-pressed="true"] { background: #fff; color: var(--accent); border-color: #fff; }

/* Sticky section index */
.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.nav .wrap::-webkit-scrollbar { display: none; }
.nav a {
  flex: none;
  text-decoration: none;
  background: var(--chip);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.nav a.on { background: var(--accent); color: #fff; }

section { padding-top: 26px; scroll-margin-top: 58px; }
section h2 {
  margin: 0 0 6px;
  font: 600 24px/1.2 Fraunces, Georgia, serif;
  color: var(--accent);
}

.item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.item:last-child { border-bottom: 0; }
.item .body { flex: 1; min-width: 0; }
.item .top { display: flex; gap: 12px; align-items: baseline; }
.item h3 { flex: 1; margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.item .price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.item .desc { margin: 4px 0 0; color: var(--muted); font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.item.out h3, .item.out .price { color: var(--muted); text-decoration: line-through; }
.item .photo {
  flex: none;
  width: 92px;
  height: 92px;
  border-radius: 12px;
  background: var(--chip);
  object-fit: cover;
}

.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  padding: 3px 9px;
  background: var(--chip);
  color: var(--ink);
}
.pill.tag { background: transparent; border: 1px solid var(--line); }
.pill.out { background: var(--ink); color: #fff; }
.pill i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

/* Guest actions: reviews, WiFi, call, map */
.actions { display: grid; gap: 10px; margin: 30px 0 8px; }
.action {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-decoration: none;
  font-weight: 600;
}
.action.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.action svg { flex: none; width: 22px; height: 22px; }
.action small { display: block; font-weight: 400; color: var(--muted); }
.action.primary small { color: rgba(255,255,255,.85); }
.wifi { flex-wrap: wrap; }
.wifi .grow { flex: 1; min-width: 0; }
.wifi code { font: 600 15px ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
.wifi button {
  border: 0;
  background: var(--chip);
  border-radius: 999px;
  padding: 8px 14px;
  font: 600 13px Inter, sans-serif;
  cursor: pointer;
}

.legend { margin-top: 28px; font-size: 13px; color: var(--muted); }
.legend h4 { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.notice { margin-top: 18px; font-size: 13px; color: var(--muted); white-space: pre-line; }

footer { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; color: var(--muted); }
footer a { font-weight: 600; color: var(--ink); }

.loading { display: flex; justify-content: center; gap: 8px; padding: 40vh 0; }
.loading .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); animation: pulse 1s infinite alternate; }
.loading .dot:nth-child(2) { animation-delay: .2s; }
.loading .dot:nth-child(3) { animation-delay: .4s; }
@keyframes pulse { to { background: var(--muted); } }

.empty { padding: 30vh 0 0; text-align: center; }
.empty h1 { font: 600 26px Fraunces, Georgia, serif; margin: 0 0 8px; }
.empty p { color: var(--muted); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .loading .dot { animation: none; }
  html { scroll-behavior: auto; }
}
