:root {
  --bg: #FBF7F0;
  --bg-alt: #F3ECE0;
  --surface: #FFFFFF;
  --text: #2B1D14;
  --muted: #7A6656;
  --accent: #B8862F;
  --accent-soft: rgba(184, 134, 47, 0.14);
  --btn: #5A3A22;
  --btn-hover: #442A17;
  --green: #5E8C3A;
  --wa: #16A34A;
  --border: rgba(90, 58, 34, 0.14);
  --shadow: 0 12px 30px rgba(43, 29, 20, 0.08);
  --header-bg: rgba(251, 247, 240, 0.9);
  --hero-grad: linear-gradient(95deg, rgba(251, 247, 240, 0.96) 0%, rgba(251, 247, 240, 0.88) 48%, rgba(251, 247, 240, 0.48) 100%);
}

[data-theme="dark"] {
  --bg: #1A120C;
  --bg-alt: #241911;
  --surface: #2B1E15;
  --text: #F7EFE5;
  --muted: #C2B09E;
  --accent: #D6A348;
  --accent-soft: rgba(214, 163, 72, 0.16);
  --btn: #D6A348;
  --btn-hover: #C28E34;
  --green: #7CB342;
  --border: rgba(247, 239, 229, 0.12);
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  --header-bg: rgba(26, 18, 12, 0.9);
  --hero-grad: linear-gradient(95deg, rgba(26, 18, 12, 0.96) 0%, rgba(26, 18, 12, 0.86) 50%, rgba(26, 18, 12, 0.5) 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--btn); color: #fff; font-family: 'Playfair Display', serif; font-size: 1.25rem;
}
[data-theme="dark"] .brand__mark { color: #1A120C; }
.brand__text { display: grid; line-height: 1.1; }
.brand__text strong { font-family: 'Playfair Display', serif; font-size: 1.15rem; }
.brand__text span { font-size: 0.72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.nav { display: none; gap: 22px; font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--accent); }
@media (min-width: 820px) { .nav { display: flex; } }

.header__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border);
  background: var(--surface); display: grid; place-items: center; transition: 0.2s;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-btn__moon { display: none; }
[data-theme="dark"] .theme-btn__sun { display: none; }
[data-theme="dark"] .theme-btn__moon { display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 0.92rem;
  transition: transform 0.16s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--btn); color: #FFFFFF; }
.btn--primary:hover { background: var(--btn-hover); }
[data-theme="dark"] .btn--primary { color: #1A120C; }
.btn--ghost { background: var(--surface); border: 1px solid var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--wa { background: var(--wa); color: #FFFFFF; }
.btn--wa:hover { background: #15803D; }
.btn--sm { padding: 9px 14px; font-size: 0.85rem; }
.btn--lg { padding: 13px 22px; font-size: 0.96rem; }

/* Hero */
.hero { position: relative; padding: 56px 0 64px; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero__bg {
  position: absolute; inset: -10% 0; background-size: cover; background-position: center right;
  z-index: 0; will-change: transform; animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { scale: 1; } to { scale: 1.06; } }
.hero__overlay { position: absolute; inset: 0; background: var(--hero-grad); z-index: 1; }
.hero__inner { position: relative; z-index: 2; max-width: 650px; display: grid; gap: 18px; }
.hero__inner > * { opacity: 0; animation: heroEnter 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero__inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero__inner > *:nth-child(2) { animation-delay: 0.13s; }
.hero__inner > *:nth-child(3) { animation-delay: 0.21s; }
.hero__inner > *:nth-child(4) { animation-delay: 0.29s; }
.hero__inner > *:nth-child(5) { animation-delay: 0.37s; }
@keyframes heroEnter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 0.82rem; font-weight: 700;
}
.pill--gold { color: var(--accent); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(94, 140, 58, 0.55); animation: pulse 2s infinite; }
.dot-live.is-closed { background: #C2410C; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(94, 140, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 140, 58, 0); } }

.hero__title {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.12; font-weight: 800; letter-spacing: -0.015em;
}
.hero__title span { color: var(--accent); }
.hero__lead { font-size: 1.04rem; color: var(--muted); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__note { font-family: 'Caveat', cursive; font-size: 1.55rem; color: var(--accent); }

/* Sections */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.eyebrow { font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 6px; }
.sec-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3.4vw, 2.25rem); line-height: 1.18; font-weight: 800; }
.sec-lead { max-width: 48ch; color: var(--muted); font-size: 0.96rem; }

/* Advantages */
.adv-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 600px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .adv-grid { grid-template-columns: repeat(4, 1fr); } }
.adv-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px; box-shadow: var(--shadow); display: grid; gap: 8px;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s ease, box-shadow 0.24s ease;
}
.adv-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 34px rgba(43, 29, 20, 0.12); }
.adv-card__ic {
  width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 1.15rem;
}
.adv-card h3 { font-size: 1rem; font-weight: 800; }
.adv-card p { font-size: 0.88rem; color: var(--muted); }

/* Menu */
.menu-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 20px;
  scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; font-size: 0.88rem; font-weight: 700;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: 0.2s;
}
.tab-btn:hover { border-color: var(--accent); color: var(--text); }
.tab-btn.is-active { background: var(--btn); color: #FFFFFF; border-color: var(--btn); }
[data-theme="dark"] .tab-btn.is-active { color: #1A120C; }

.menu-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 22px; box-shadow: var(--shadow); animation: fadeSlide 0.24s ease;
}
@keyframes fadeSlide { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.menu-note { font-size: 0.88rem; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.menu-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 28px; }
@media (min-width: 780px) { .menu-list { grid-template-columns: repeat(2, 1fr); } }
.menu-item {
  display: flex; align-items: baseline; gap: 8px; padding: 8px 8px; border-radius: 8px;
  border-bottom: 1px dashed var(--border); font-size: 0.95rem;
  opacity: 0; animation: menuIn 0.35s ease forwards; animation-delay: calc(var(--i, 0) * 18ms);
  transition: background-color 0.18s ease, transform 0.18s ease;
}
.menu-item:hover { background: var(--accent-soft); transform: translateX(3px); }
@keyframes menuIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.menu-item__name { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hit-badge {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
}
.menu-item__dots { flex: 1; }
.menu-item__price { font-weight: 800; white-space: nowrap; color: var(--text); }
.menu-item__price.is-ask { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.menu-footer { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }

/* Hit & Story */
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: center; }
@media (min-width: 860px) { .story-grid { grid-template-columns: 1.05fr 0.95fr; gap: 34px; } }
.story-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px;
}
.story-quote { font-style: italic; font-size: 0.98rem; border-left: 3px solid var(--accent); padding-left: 14px; }
.photo-trio { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.photo-trio img {
  width: 100%; border-radius: 16px; border: 1px solid var(--border); object-fit: cover; box-shadow: var(--shadow);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.photo-trio img:hover { transform: scale(1.03); }
.photo-trio__wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.photo-trio__sq { aspect-ratio: 4 / 3; }

/* Shashlik Banner */
.shashlik-box {
  border-radius: 22px; overflow: hidden; background: #1C120C; color: #F7EFE5;
  display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid rgba(214, 163, 72, 0.25);
  box-shadow: var(--shadow);
}
@media (min-width: 840px) { .shashlik-box { grid-template-columns: 1fr 1fr; } }
.shashlik-box__img { overflow: hidden; }
.shashlik-box__img img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.shashlik-box:hover .shashlik-box__img img { transform: scale(1.04); }
.shashlik-box__body { padding: 28px; display: grid; gap: 16px; align-content: center; }
.shashlik-list { display: grid; gap: 8px; }
.shashlik-row { display: flex; justify-content: space-between; border-bottom: 1px dashed rgba(247, 239, 229, 0.2); padding-bottom: 6px; font-size: 0.95rem; }
.shashlik-row strong { color: #EAB354; }

/* Reviews */
.rev-nav { display: inline-flex; gap: 8px; }
.rev-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rev-track::-webkit-scrollbar { display: none; }
.rev-card {
  flex: 0 0 min(84vw, 340px); scroll-snap-align: start; background: var(--surface);
  border: 1px solid var(--border); border-radius: 18px; padding: 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.24s ease;
}
.rev-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.rev-card__stars { color: #EAB308; letter-spacing: 1px; font-size: 0.9rem; }
.rev-card blockquote { font-size: 0.95rem; line-height: 1.55; }
.rev-card figcaption { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); font-weight: 700; font-size: 0.9rem; }

/* Contacts */
.contacts-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
@media (min-width: 900px) { .contacts-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
.dl { border-top: 1px solid var(--border); margin-top: 14px; }
.dl > div { display: grid; grid-template-columns: 98px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
.dl dt { color: var(--muted); font-weight: 700; }
.dl dd { font-weight: 600; }
.contacts-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.map-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.map-canvas { width: 100%; height: 340px; z-index: 1; }
[data-theme="dark"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(0.86) contrast(1.06) saturate(0.35); }
.map-bar { padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.88rem; border-top: 1px solid var(--border); }
.map-bar a { color: var(--accent); font-weight: 700; }

/* Modal Lightbox */
.modal {
  position: fixed; inset: 0; z-index: 60; background: rgba(18, 12, 8, 0.86);
  display: none; place-items: center; padding: 18px;
}
.modal.is-open { display: grid; }
.modal.is-open .modal__box { animation: modalPop 0.26s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes modalPop { from { opacity: 0; transform: scale(0.95) translateY(8px); } to { opacity: 1; transform: none; } }
.modal__box {
  width: min(980px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--surface); border-radius: 20px; padding: 20px; border: 1px solid var(--border);
}
.modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.posters-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.posters-grid img { width: 100%; border-radius: 12px; border: 1px solid var(--border); }

/* Footer & Floating WA */
.footer { padding: 24px 0; border-top: 1px solid var(--border); font-size: 0.86rem; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.fab-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 45;
  width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(22, 163, 74, 0.4);
  animation: fabFloat 3.2s ease-in-out infinite;
}
@keyframes fabFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (min-width: 820px) { .fab-wa { display: none; } }

/* Scroll reveal */
.anim-in { opacity: 0; transform: translateY(18px); transition: opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1), transform 0.52s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: calc(var(--st, 0) * 70ms); }
.anim-in.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .anim-in, .hero__inner > *, .menu-item { opacity: 1; transform: none; transition: none; animation: none; }
  .dot-live, .fab-wa, .hero__bg { animation: none; transform: none !important; }
}
