:root {
  --bg: #140f0c;
  --bg-2: #1d1611;
  --paper: #f4eee6;
  --paper-2: #e9dfd1;
  --ink: #1c140f;
  --cream: #f7f1e8;
  --cream-dim: rgba(247, 241, 232, 0.76);
  --muted: #b7a89a;
  --muted-ink: #6d5c4e;
  --amber: #e39a3c;
  --amber-deep: #c47a22;
  --line: rgba(247, 241, 232, 0.14);
  --line-ink: rgba(28, 20, 15, 0.12);
  --header: 78px;
  --dock: 74px;
  --radius: 24px;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  --sans: "Manrope", sans-serif;
  --display: "Cormorant Garamond", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, .display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.sr-only, .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--amber);
  color: #2a1606;
  padding: 8px 12px;
  z-index: 80;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header);
  padding: 10px 22px;
  background: linear-gradient(180deg, rgba(12, 8, 6, 0.78), rgba(12, 8, 6, 0));
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-solid,
body.page .site-header {
  background: rgba(16, 11, 8, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  color: var(--cream-dim);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
}
.nav a:hover,
.nav a[aria-current="page"] { color: white; background: rgba(255,255,255,0.06); }
.nav-phone { display: none; }
.header-tools { display: flex; align-items: center; gap: 12px; }
.header-phone {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(20, 15, 12, 0.45);
  position: relative;
}
.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
}
.btn-amber {
  background: linear-gradient(180deg, #f2b45d, #d8892b);
  color: #2a1606;
  box-shadow: 0 8px 24px rgba(216, 137, 43, 0.25);
}
.btn-amber:hover { filter: brightness(1.05); }
.btn-ghost {
  color: var(--cream);
  border-color: rgba(247, 241, 232, 0.35);
  background: rgba(20, 14, 10, 0.25);
}
.btn-line {
  color: var(--ink);
  border-color: rgba(28, 20, 15, 0.2);
  background: transparent;
}
.btn-dark {
  background: var(--ink);
  color: var(--cream);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header) + 28px) 22px calc(var(--dock) + 24px);
  background:
    linear-gradient(180deg, rgba(12, 8, 6, 0.25) 0%, rgba(12, 8, 6, 0.55) 42%, rgba(12, 8, 6, 0.88) 100%),
    url("/img/header.jpg") center 40% / cover no-repeat;
  overflow: hidden;
}
.steam, .steam::before, .steam::after {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.steam {
  left: 8%;
  bottom: 18%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 236, 214, 0.28), transparent 68%);
  filter: blur(6px);
  animation: rise 11s ease-in-out infinite;
}
.steam::before, .steam::after { content: ""; }
.steam::before {
  width: 140px; height: 140px; left: 120px; bottom: 10px;
  background: radial-gradient(circle, rgba(255, 236, 214, 0.22), transparent 70%);
  animation: rise 14s ease-in-out infinite 2s;
}
.steam::after {
  width: 90px; height: 90px; left: 40px; bottom: 40px;
  background: radial-gradient(circle, rgba(255, 236, 214, 0.18), transparent 70%);
  animation: rise 9s ease-in-out infinite 1s;
}
@keyframes rise {
  0% { transform: translateY(16px) scale(0.9); opacity: 0; }
  25% { opacity: 0.7; }
  100% { transform: translateY(-140px) scale(1.35); opacity: 0; }
}
.hero-copy { position: relative; max-width: 760px; }
.kicker {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}
h1 { font-size: clamp(3.3rem, 8vw, 6.6rem); max-width: 11ch; }
.lead {
  max-width: 42rem;
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--cream-dim);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 34px;
}
.stat {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 11, 8, 0.35);
  backdrop-filter: blur(8px);
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
}
.stat span { color: var(--muted); font-size: 0.86rem; }

.wrap { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.band { padding: 72px 0; }
.band-paper { background: var(--paper); color: var(--ink); }
.band-paper .kicker { color: var(--amber-deep); }
.band-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.band-head h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 12ch; }
.band-head p { max-width: 34rem; color: var(--muted); }
.band-paper .band-head p { color: var(--muted-ink); }

.stage {
  display: grid;
  background: #1a130f;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.stage-photos { position: relative; min-height: 320px; }
.stage-photos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.stage-photos img.is-on { opacity: 1; }
.stage-ui { padding: 22px 20px 26px; }
.stage-tabs { display: flex; gap: 8px; overflow: auto; padding-bottom: 8px; }
.stage-tabs button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 14px;
  cursor: pointer;
}
.stage-tabs button.is-on { background: var(--cream); color: var(--ink); border-color: transparent; }
.stage-panel { display: none; padding-top: 12px; }
.stage-panel.is-on { display: block; }
.stage-panel h3 { font-size: 2.6rem; }
.price-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 12px;
}
.price-line strong {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 500;
  color: #f0c27a;
}
.price-line span { color: var(--muted); }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li {
  padding: 8px 0;
  border-top: 1px solid var(--line);
  color: var(--cream-dim);
}
.stage-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.card-grid, .ritual-grid, .promo-grid, .review-grid {
  display: grid;
  gap: 14px;
}
.ritual, .promo, .review, .info-card {
  border-radius: var(--radius);
  padding: 22px;
}
.ritual {
  background: white;
  border: 1px solid var(--line-ink);
}
.ritual em {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.7rem;
  display: block;
  margin-bottom: 8px;
}
.promo {
  background:
    radial-gradient(600px 180px at 100% 0%, rgba(227, 154, 60, 0.28), transparent 50%),
    #211812;
  border: 1px solid var(--line);
}
.promo b {
  display: block;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 0.95;
  margin: 8px 0;
}
.review {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.review header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.review strong { font-size: 1.05rem; }
.review time { color: var(--muted); font-size: 0.85rem; }
.stars { color: #e7b15a; letter-spacing: 2px; }

.page-hero {
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header) + 36px) 0 36px;
  background:
    linear-gradient(180deg, rgba(12,8,6,0.15), rgba(12,8,6,0.82)),
    var(--hero) center / cover no-repeat;
}
.page-hero h1 { font-size: clamp(3rem, 7vw, 5.6rem); max-width: 14ch; }
.page-main { padding-bottom: 20px; }

.prose { max-width: 46rem; }
.prose p + p { margin-top: 14px; }
.poem {
  margin: 28px 0;
  padding-left: 18px;
  border-left: 2px solid var(--amber);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.25;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 18px;
}
.shot {
  padding: 0;
  border: 0;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.shot:hover img { transform: scale(1.04); }
.hall-block + .hall-block { margin-top: 54px; }
.hall-block h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); }

.price-cards { display: grid; gap: 14px; }
.price-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 28px;
  background: #1c1511;
  border: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.price-card img { width: 100%; height: 220px; object-fit: cover; border-radius: 18px; }
.price-card h2 { font-size: 2.8rem; }
.rules { margin: 18px 0 0; padding: 0; list-style: none; }
.rules li { padding: 12px 0; border-top: 1px solid var(--line-ink); }
.band-paper .rules li { border-color: var(--line-ink); }

.calc {
  margin-top: 22px;
  padding: 20px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line-ink);
}
.calc h2 { font-size: 2.6rem; margin-bottom: 6px; }
.calc-options { display: grid; gap: 8px; margin: 16px 0; }
.calc-options label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line-ink);
  cursor: pointer;
}
.calc-options input { accent-color: #c47a22; }
.calc-options small { display: block; color: var(--muted-ink); }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc label.field, .form-grid label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 700; }
.calc input[type="number"], .form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(28,20,15,0.16);
  background: #fbf8f3;
  color: var(--ink);
  padding: 10px 12px;
}
.form-grid textarea { min-height: 96px; resize: vertical; }
.check { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px; margin: 12px 0; font-weight: 600; }
.calc-result {
  font-family: var(--display);
  font-size: 3rem;
  line-height: 1;
  margin: 8px 0;
}
.calc-note { color: var(--muted-ink); min-height: 3.2em; }

.filters { display: flex; gap: 8px; overflow: auto; padding-bottom: 8px; margin: 8px 0 22px; }
.filters button {
  flex: 0 0 auto;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-ink);
  background: transparent;
  color: var(--ink);
  padding: 0 14px;
  cursor: pointer;
  font-weight: 700;
}
.filters button.is-on { background: var(--ink); color: var(--cream); }
.menu-group { margin-bottom: 28px; }
.menu-group h2 { font-size: 2.4rem; margin-bottom: 8px; }
.dish {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(28,20,15,0.18);
}
.dish small { display: block; color: var(--muted-ink); font-weight: 500; }
.dish b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dish b.is-missing { color: var(--muted-ink); font-weight: 600; }
.menu-date { color: var(--muted-ink); }

.split { display: grid; gap: 18px; }
.map-frame {
  min-height: 320px;
  border: 0;
  width: 100%;
  border-radius: 24px;
  background: #ddd;
}
.steps { margin: 0; padding-left: 18px; }
.steps li + li { margin-top: 8px; }

.form-grid { display: grid; gap: 12px; }
.form-error { color: #9d2f24; min-height: 1.2em; }
.form-success { padding: 8px 0 4px; }

.site-footer { padding: 48px 22px calc(var(--dock) + 28px); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 22px; width: min(1180px, 100%); margin: 0 auto; }
.footer-logo { height: 64px; width: auto; margin-bottom: 10px; }
.footer-label { color: var(--amber); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.footer-grid a, .footer-grid p { display: block; text-decoration: none; color: var(--cream-dim); margin: 4px 0; }
.footer-bottom {
  width: min(1180px, 100%);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.dock {
  position: fixed;
  z-index: 45;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(20, 14, 10, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.dock a, .dock button {
  min-height: 48px;
  border-radius: 14px;
  border: 0;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.dock-call { display: grid; place-items: center; color: var(--cream); background: transparent; }
.dock-book { background: linear-gradient(180deg, #f2b45d, #d8892b); color: #2a1606; }

.sheet, .lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.sheet::backdrop, .lightbox::backdrop { background: rgba(8, 5, 4, 0.72); }
.sheet { display: none; }
.sheet[open] {
  display: grid;
  place-items: end center;
  padding: 12px;
}
.sheet-card {
  width: min(560px, 100%);
  margin: 0;
  padding: 20px 18px 22px;
  border-radius: 28px 28px 18px 18px;
  background: var(--paper);
  color: var(--ink);
  max-height: min(92svh, 820px);
  overflow: auto;
}
.sheet-head, .sheet-actions { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet-head h2 { font-size: 2.6rem; }
.sheet-lead { margin: 8px 0 16px; color: var(--muted-ink); }
.sheet-actions { margin-top: 8px; }
.icon-close {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-ink); background: white; cursor: pointer; font-size: 1.5rem; color: var(--ink);
}
.span-2 { grid-column: 1 / -1; }

.lightbox { display: none; color: white; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); }
.lightbox img { max-height: 78svh; width: auto; max-width: 92vw; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { text-align: center; margin-top: 10px; color: var(--cream-dim); }
.light-close { position: fixed; top: 16px; right: 16px; background: white; }
.light-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-size: 1.8rem;
  cursor: pointer;
}
.light-prev { left: 12px; }
.light-next { right: 12px; }

.empty-page { min-height: 70svh; display: grid; align-content: center; padding: calc(var(--header) + 20px) 22px 40px; }
.empty-page h1 { font-size: clamp(3rem, 8vw, 5rem); }

:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

@media (min-width: 760px) {
  .stat-row { grid-template-columns: repeat(4, 1fr); }
  .ritual-grid, .promo-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .price-cards { grid-template-columns: 1fr; }
  .price-card { grid-template-columns: 280px 1fr; align-items: center; }
  .price-card img { height: 100%; min-height: 220px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; }
  .split { grid-template-columns: 1fr 1fr; align-items: start; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: 64px; align-items: center; background:
    linear-gradient(90deg, rgba(12,8,6,0.88) 0%, rgba(12,8,6,0.62) 46%, rgba(12,8,6,0.18) 100%),
    url("/img/header.jpg") center / cover no-repeat; }
  .dock { display: none; }
  .site-footer { padding-bottom: 36px; }
  .sheet[open] { place-items: center; }
  .sheet-card { border-radius: 28px; }
}

@media (min-width: 980px) {
  .stage { grid-template-columns: 1.25fr 0.9fr; min-height: 640px; }
  .stage-photos { min-height: 100%; }
  .stage-ui { padding: 36px 36px 36px 28px; display: flex; flex-direction: column; justify-content: center; }
  .ritual-grid { grid-template-columns: repeat(4, 1fr); }
  .promo-grid { grid-template-columns: 1.2fr 0.8fr 0.8fr; }
}

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
}

@media (max-width: 759px) {
  .header-tools { display: none; }
}

@media (max-width: 1199px) {
  .nav-toggle { display: inline-block; }
  .header-phone { display: none; }
  body.nav-open .site-header { backdrop-filter: none; z-index: 70; }
  body.nav-open .dock { visibility: hidden; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    margin: 0;
    padding: 96px 28px 32px;
    background: #0e0a08;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 5;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav a {
    font-family: var(--display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--cream);
    padding: 2px 0;
  }
  .nav-phone { display: block; font-family: var(--sans); font-size: 1.1rem; margin-top: 16px; color: var(--amber) !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .steam, .steam::before, .steam::after, .shot img, .stage-photos img { animation: none; transition: none; }
}
