:root {
  color-scheme: light dark;
  --bg: #f6f3ee;
  --surface: #fffdf9;
  --text: #1c1b19;
  --muted: #6b665e;
  --line: #e0dbd2;
  --accent: #1f5d4c;
  --on-accent: #ffffff;
  --closed: #a63a28;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151412;
    --surface: #1e1c1a;
    --text: #ece8e1;
    --muted: #a39d93;
    --line: #33302c;
    --accent: #7fd1b3;
    --on-accent: #10201b;
    --closed: #f08e7b;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1,
h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 9vw, 4.75rem);
  font-weight: 800;
}

/* Russian headline has one very long word */
:lang(ru) h1 {
  font-size: clamp(1.9rem, 8vw, 4.25rem);
  hyphens: auto;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 750;
}

p {
  margin: 0;
}

a {
  color: var(--accent);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, 62rem);
  margin-inline: auto;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.35rem;
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  color: var(--on-accent);
  background: var(--accent);
  transition: opacity 0.15s;
}

.btn:hover {
  opacity: 0.88;
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  opacity: 1;
  border-color: var(--text);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  min-height: 4rem;
}

.brand {
  margin-right: auto;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.langs {
  display: flex;
  gap: 0.1rem;
}

.langs a {
  padding: 0.3rem 0.45rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--muted);
  text-decoration: none;
}

.langs a:hover {
  color: var(--text);
}

/* Very narrow phones: icon-only call button in the header */
@media (max-width: 22.5rem) {
  .site-header .btn span {
    display: none;
  }
}

.site-nav {
  display: none;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent);
}

.site-header .btn {
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
}

@media (min-width: 44rem) {
  .site-nav {
    display: flex;
  }
}

/* Hero */
.hero {
  padding-block: clamp(3.5rem, 12vw, 8rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

/* Sections */
section {
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 44rem) {
  .split {
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
  }
}

.note {
  margin-top: 0.75rem;
  color: var(--muted);
}

/* Prices and opening hours share the same row layout */
.rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rows>div,
.rows>li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.rows>div:first-child,
.rows>li:first-child {
  padding-top: 0;
}

.rows dt {
  font-weight: 500;
}

.rows dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rows time,
.rows .closed {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.rows .closed {
  color: var(--closed);
}

.rows .today {
  font-weight: 750;
}

.rows .today span:first-child::after {
  content: "täna";
  margin-left: 0.6rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--on-accent);
  background: var(--accent);
  vertical-align: 0.1em;
}

:lang(ru) .rows .today span:first-child::after {
  content: "сегодня";
}

/* Booking */
.booking {
  padding: clamp(1.75rem, 5vw, 3rem);
  border-radius: 1.25rem;
  color: var(--on-accent);
  background: var(--accent);
}

.booking p {
  max-width: 32rem;
  margin-top: 0.75rem;
  opacity: 0.9;
}

.booking .btn {
  margin-top: 1.5rem;
  font-size: 1.15rem;
  color: var(--accent);
  background: var(--on-accent);
  border-color: var(--on-accent);
}

/* Location */
address {
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 650;
}

.facts {
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.map {
  display: block;
  width: 100%;
  height: 22rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
}

/* Footer */
footer {
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

footer a {
  color: inherit;
}
