:root {
  --bg: #15110f;
  --bg2: #1e1815;
  --panel: #241d19;
  --line: #3a2f29;
  --red: #c8102e;
  --red-dark: #8f0b20;
  --cream: #f4e8d0;
  --muted: #b9ab93;
  --serif: Georgia, "Times New Roman", "Noto Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* якорі (#menu з QR-коду, навігація): заголовок не ховається під липкою шапкою */
section[id], .block[id] { scroll-margin-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cream); }
a:hover { color: #fff; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; }
p { margin: 0 0 .6em; }

/* vyshyvanka stripe */
.stripe {
  height: 14px;
  background-color: #000;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'><rect width='28' height='14' fill='%23000'/><path d='M0 7 L7 0 L14 7 L7 14 Z' fill='%23c8102e'/><path d='M14 7 L21 0 L28 7 L21 14 Z' fill='%23f4e8d0'/><path d='M7 7 L10 4 L13 7 L10 10 Z' fill='%23000'/><path d='M21 7 L24 4 L27 7 L24 10 Z' fill='%23000'/></svg>");
  background-repeat: repeat-x;
}

/* top bar */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 22px;
  background: rgba(21, 17, 15, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brand img { border-radius: 50%; }
.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: .95rem; letter-spacing: .03em; }
.nav a:hover { color: var(--cream); }
.lang {
  display: flex;
  gap: 2px;
  margin-left: 4px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang a {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  color: var(--muted);
}
.lang a.on { background: var(--cream); color: var(--bg); }
.lang a:hover:not(.on) { color: var(--cream); }

/* buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--cream);
  border-radius: 6px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: var(--cream); color: var(--bg); transform: translateY(-1px); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-small { padding: 8px 14px; font-size: .9rem; white-space: nowrap; }

/* hero */
.hero {
  text-align: center;
  padding: 56px 20px 48px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(200, 16, 46, .30), transparent 60%),
    linear-gradient(180deg, rgba(27, 21, 18, .82), rgba(20, 16, 14, .94) 70%, var(--bg)),
    url("img/zal.jpg") center 40% / cover no-repeat #1b1512;
  border-bottom: 1px solid var(--line);
}
.hero + .block.alt { border-top: 0; }
.hero-logo {
  width: 220px;
  height: 220px;
  margin: 0 auto 18px;
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .55), 0 0 0 6px rgba(244, 232, 208, .08);
}
.kicker {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .8rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 9vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 6px 0 14px;
}
.lead {
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 1.15rem;
  color: #e6d9bf;
}
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 28px; }
.chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.chips li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font-size: .9rem;
}

.hero-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.hero-text .hero-logo { width: 120px; height: 120px; margin: 0 0 16px; }
.hero-text .lead { margin-left: 0; }
.hero-text .actions, .hero-text .chips { justify-content: flex-start; }
.hero-art { margin: 0; justify-self: end; width: min(100%, 400px); }
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(243, 231, 208, .28);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .6);
  transform: rotate(1.5deg);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .hero-text .hero-logo { margin: 0 auto 14px; }
  .hero-text .lead { margin-left: auto; }
  .hero-text .actions, .hero-text .chips { justify-content: center; }
  .hero-art { justify-self: center; width: min(100%, 340px); }
  .hero-art img { transform: none; }
}

/* атмосфера — фото (компактно) */
.photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #1b1512;
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 10px 8px;
  font-size: .76rem;
  color: #e6d9bf;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7));
}
.photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.photos .photo { aspect-ratio: 1 / 1; }
.photos-atm { grid-template-columns: repeat(6, 1fr); margin-top: 26px; }
.photos-atm .span2 { grid-column: span 2; aspect-ratio: auto; }
.photos-dishes { max-width: 560px; margin: 22px auto 30px; }
.art-note {
  margin: 18px 0 8px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}
.photos-art { grid-template-columns: repeat(4, 1fr); }
.photos-art .photo { aspect-ratio: 3 / 4; background: #e9dfc8; }
.host {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
}
.host-photo { flex: 0 0 150px; width: 150px; aspect-ratio: 1 / 1; border-radius: 50%; }
.host-text h3 { font-family: var(--serif); font-size: 1.35rem; margin: 0 0 6px; }
.host-text p { margin: 0; color: var(--muted); line-height: 1.5; }
@media (max-width: 760px) {
  .photos { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .photos-atm { grid-template-columns: repeat(3, 1fr); }
  .photos-art { grid-template-columns: repeat(2, 1fr); }
  .photos-dishes { grid-template-columns: repeat(2, 1fr); max-width: 320px; }
  .host { gap: 14px; padding: 12px; }
  .host-photo { flex-basis: 96px; width: 96px; }
  .host-text h3 { font-size: 1.15rem; }
  .host-text p { font-size: .9rem; }
}

/* sections */
.block { max-width: 1080px; margin: 0 auto; padding: 60px 22px; }
.block.alt {
  max-width: none;
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.block.alt > * { max-width: 1036px; margin-left: auto; margin-right: auto; }
.block h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
  margin-bottom: 10px;
}
.block h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--red);
}
.sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 34px; }
.block > .grid { margin-top: 34px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px 20px;
  transition: transform .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); border-color: #5a463c; }
.card .ico { display: block; font-size: 2.4rem; line-height: 1; margin-bottom: 12px; }
.card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.note { text-align: center; color: var(--muted); margin-top: 28px; font-size: .95rem; }

/* news */
.news { list-style: none; padding: 0; margin: 34px auto 0; max-width: 720px; }
.news li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.news time { color: var(--red); font-weight: 600; font-size: .95rem; padding-top: 2px; }
.news p { margin: 0; }

/* contacts */
.contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin-top: 34px;
}
.contacts h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.contacts p { margin-bottom: .5em; }
.contacts small { color: var(--muted); }

/* footer */
.foot { text-align: center; padding: 30px 20px; color: var(--muted); font-size: .92rem; }
.foot p { margin: 0 0 4px; }
.tiny { font-size: .8rem; opacity: .7; }
.foot .credit { opacity: 1; }
.foot .credit a.dmz { color: #f2a900; font-weight: 600; letter-spacing: .04em; text-decoration: none; border-bottom: 1px dotted rgba(242, 169, 0, .45); }
.foot .credit a.dmz:hover { color: #ffc233; border-bottom-color: #ffc233; }
.foot .credit .mark { color: #f2a900; }

/* меню — плитки-кнопки розділів (radio/label, без JS) + картки позицій */
.menu-tabs { position: relative; margin-top: 30px; }
.menu-tabs > input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.col-title {
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .3em;
  text-align: center;
  color: var(--muted);
  margin: 0 0 10px;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 3;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
  overflow: hidden;
  user-select: none;
  transition: border-color .15s, transform .15s;
}
.tile:hover { border-color: #7a5a4a; transform: translateY(-2px); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile.has-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .78));
}
.tile > span { position: relative; z-index: 1; }
.tile-ico { font-size: 1.9rem; line-height: 1; margin-bottom: auto; }
.tile.has-img .tile-ico { font-size: 1.3rem; }
.tile-t { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; line-height: 1.15; margin-top: 6px; }
.tile-n { font-size: .72rem; color: var(--muted); margin-top: 2px; }
.tile.has-img .tile-n { color: #e6d9bf; }
.menu-body .group { display: none; }
.group {
  background: var(--panel);
  border: 1px solid #5a463c;
  border-radius: 12px;
  overflow: hidden;
}
.gh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 13px 18px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  background: rgba(255, 255, 255, .025);
  border-bottom: 1px solid var(--line);
}
.gh .ico { font-size: 1.45rem; line-height: 1; }
.gh .meta { margin-left: auto; font-family: var(--sans); font-weight: 400; font-size: .82rem; color: var(--muted); white-space: nowrap; }
#tab-m-pizza:checked ~ .menu-body #m-pizza { display: block; }
#tab-m-pizza:checked ~ .tiles label[for="tab-m-pizza"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-salads:checked ~ .menu-body #m-salads { display: block; }
#tab-m-salads:checked ~ .tiles label[for="tab-m-salads"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-cold:checked ~ .menu-body #m-cold { display: block; }
#tab-m-cold:checked ~ .tiles label[for="tab-m-cold"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-fry:checked ~ .menu-body #m-fry { display: block; }
#tab-m-fry:checked ~ .tiles label[for="tab-m-fry"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-burgers:checked ~ .menu-body #m-burgers { display: block; }
#tab-m-burgers:checked ~ .tiles label[for="tab-m-burgers"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-sauces:checked ~ .menu-body #m-sauces { display: block; }
#tab-m-sauces:checked ~ .tiles label[for="tab-m-sauces"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-desserts:checked ~ .menu-body #m-desserts { display: block; }
#tab-m-desserts:checked ~ .tiles label[for="tab-m-desserts"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-snacks:checked ~ .menu-body #m-snacks { display: block; }
#tab-m-snacks:checked ~ .tiles label[for="tab-m-snacks"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-beer:checked ~ .menu-body #m-beer { display: block; }
#tab-m-beer:checked ~ .tiles label[for="tab-m-beer"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-cocktails:checked ~ .menu-body #m-cocktails { display: block; }
#tab-m-cocktails:checked ~ .tiles label[for="tab-m-cocktails"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-hot:checked ~ .menu-body #m-hot { display: block; }
#tab-m-hot:checked ~ .tiles label[for="tab-m-hot"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-cold-drinks:checked ~ .menu-body #m-cold-drinks { display: block; }
#tab-m-cold-drinks:checked ~ .tiles label[for="tab-m-cold-drinks"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-whisky:checked ~ .menu-body #m-whisky { display: block; }
#tab-m-whisky:checked ~ .tiles label[for="tab-m-whisky"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-vodka:checked ~ .menu-body #m-vodka { display: block; }
#tab-m-vodka:checked ~ .tiles label[for="tab-m-vodka"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-cognac:checked ~ .menu-body #m-cognac { display: block; }
#tab-m-cognac:checked ~ .tiles label[for="tab-m-cognac"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-wine:checked ~ .menu-body #m-wine { display: block; }
#tab-m-wine:checked ~ .tiles label[for="tab-m-wine"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
#tab-m-hookah:checked ~ .menu-body #m-hookah { display: block; }
#tab-m-hookah:checked ~ .tiles label[for="tab-m-hookah"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); transform: none; }
.items {
  list-style: none;
  margin: 0;
  padding: 14px 16px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.it {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, .18);
}
.row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; }
.row .n { font-weight: 600; }
.row .n em { font-style: normal; font-size: .68rem; color: var(--red); text-transform: uppercase; letter-spacing: .06em; margin-left: 6px; }
.row .dots { display: none; }
.it.off { opacity: .45; }
.it.off .n { text-decoration: line-through; }
.row .p { white-space: nowrap; font-weight: 600; }
.row .p small { font-size: .76rem; color: var(--muted); font-weight: 400; }
.ing { margin: 4px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.note.small { font-size: .85rem; margin-top: 10px; opacity: .85; }
.note a { color: var(--cream); }

@media (max-width: 760px) {
  .tiles { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
  .tile { padding: 8px 9px; aspect-ratio: 1 / 1; }
  .tile-ico { font-size: 1.5rem; }
  .tile-t { font-size: .88rem; }
  .tile-n { font-size: .66rem; }
  .items { grid-template-columns: repeat(2, 1fr); padding: 10px; gap: 8px; }
  .it { padding: 8px 10px; }
  .row .n { font-size: .93rem; }
  .ing { font-size: .78rem; }
  .gh { font-size: 1.1rem; padding: 11px 14px; }
}

@media (max-width: 640px) {
  .nav { display: none; }
  .lang { margin-left: auto; margin-right: 10px; }
  .brand span { display: none; }
  .top { justify-content: space-between; }
  .news li { grid-template-columns: 1fr; gap: 4px; }
  .hero { padding-top: 40px; }
  .hero-logo { width: 170px; height: 170px; }
}
