:root {
  --bg: #0a0a0a;
  --bg-alt: #131313;
  --bg-card: #181818;
  --border: #2a2a2a;
  --red: #e2231a;
  --red-dim: #9c1812;
  --white: #f3f3f1;
  --gray: #a3a19d;
  --gray-dim: #6f6d69;
  --font-head: 'Montserrat', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--red); }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray);
  transition: color 0.15s;
}

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

.header-call {
  font-family: var(--font-mono);
  font-size: 14px;
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s, border-color 0.15s, color 0.15s;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: #ff2c20; }

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--bg); }

.btn-call {
  border-color: var(--red);
  color: var(--white);
  background: transparent;
  padding: 10px 18px;
}
.btn-call:hover { background: var(--red); }

.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% -10%, rgba(226,35,26,0.18), transparent 55%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  border-bottom: 1px solid var(--border);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(45deg, #fff 0, #fff 1px, transparent 1px, transparent 3px);
  pointer-events: none;
}

.hero-inner { position: relative; }

.hero h1 {
  font-size: clamp(42px, 8vw, 84px);
  line-height: 0.95;
  margin-bottom: 18px;
}

.hero-sub {
  max-width: 560px;
  color: var(--gray);
  font-size: 18px;
  margin: 0 0 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 40px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 15px;
}

.hero-meta-label {
  font-family: var(--font-head);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-dim);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 10px;
}

.menu-title-center { text-align: center; }

.section-sub {
  color: var(--gray);
  max-width: 620px;
  margin: 0 0 48px;
  font-size: 16px;
}

/* Menu tabs */
.menu-tabs {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.menu-tabs-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 24px;
}

.menu-tabs-inner::-webkit-scrollbar { display: none; }

.menu-tabs-inner a {
  flex: none;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray);
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.menu-tabs-inner a:hover,
.menu-tabs-inner a:focus-visible {
  color: var(--white);
  border-color: var(--red);
  background: rgba(226, 35, 26, 0.1);
}

#tab-zakuski, #tab-stritfud, #tab-sety, #tab-bar, #tab-napitki {
  scroll-margin-top: 140px;
}

/* Menu */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.menu-title {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 26px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.menu-title .w { margin-right: 6px; }

.menu-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin: 28px 0 12px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.menu-list-compact .menu-item { padding: 9px 0; }

.menu-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.menu-item-name {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14.5px;
  letter-spacing: 0.01em;
}

.menu-item-note {
  font-weight: 400;
  text-transform: none;
  color: var(--gray-dim);
  font-size: 12.5px;
}

.menu-item-price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.menu-item-price em {
  display: block;
  font-style: normal;
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-dim);
  text-align: right;
}

.menu-item-desc {
  margin: 4px 0 0;
  color: var(--gray-dim);
  font-size: 12.5px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.menu-sets {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px solid var(--border);
}

.menu-sets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 30px;
}

.menu-drinks {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 2px solid var(--border);
}

.menu-drinks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 30px;
}

.menu-subtitle-lg {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.menu-drinks-grid > div > .menu-subtitle-lg:first-child { margin-top: 0; }

.menu-item-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6fbf73;
  border: 1px solid #2f5c33;
  border-radius: 4px;
  text-transform: uppercase;
  vertical-align: middle;
}

.menu-item-prices {
  display: flex;
  gap: 14px;
}

.menu-footnote {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--gray-dim);
  font-size: 13px;
  max-width: 780px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease, border-color 0.18s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--red-dim);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox-content {
  text-align: center;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 6px;
  display: block;
  margin: 0 auto 18px;
}

.lightbox-caption {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  font-size: 18px;
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 30px;
  background: none;
  border: 1px solid var(--border);
  color: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
}

/* Booking */
.call-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: fit-content;
  padding: 28px 30px;
  background: transparent;
  border: 2px solid var(--red);
  border-radius: 8px;
  color: var(--white);
  transition: transform 0.15s, background 0.15s;
}

.call-card:hover { transform: translateY(-3px); background: rgba(226,35,26,0.1); }

.call-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(226,35,26,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  color: var(--red);
}

.call-card-title {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 18px;
  white-space: nowrap;
}

.call-card-phone {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.call-card-hint {
  font-size: 13px;
  color: var(--gray);
  white-space: nowrap;
}

/* Footer */
.site-footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: #050505;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-text {
  color: var(--gray);
  margin: 6px 0;
  font-size: 14px;
}

.footer-phone {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  color: var(--red);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--gray);
  transition: color 0.15s, border-color 0.15s;
}

.footer-social-link:hover {
  color: var(--white);
  border-color: var(--red);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--gray);
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  text-align: center;
  color: var(--gray-dim);
  font-size: 12px;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; order: 3; }
  .header-inner { flex-wrap: nowrap; }
  .header-call { order: 2; padding: 10px; margin-left: auto; }
  .header-call span { display: none; }
  .menu-grid, .menu-sets-grid, .menu-drinks-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 60px 0 50px; }
}

@media (max-width: 900px) {
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .header-call { padding: 10px 12px; }
}
