:root {
  --red: #e31e24;
  --red-dark: #c4191f;
  --black: #111;
  --white: #fff;
  --bg: #f5f5f5;
  --card: #fff;
  --muted: #666;
  --line: #e8e8e8;
  --nav-h: 3.5rem;
  --max: 72rem;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

.rolls-menu {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }

/* Header & nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--nav-h);
}

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
  letter-spacing: .04em;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: .5rem 0;
}
.nav::-webkit-scrollbar { display: none; }

.nav__link {
  flex-shrink: 0;
  padding: .4rem .75rem;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav__link:hover,
.nav__link.is-active {
  background: var(--red);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(280px, 50vh, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.78));
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
  width: 100%;
  color: var(--white);
}
.hero__tag {
  font-size: .75rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: #ffb4b4;
}
.hero__title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1;
  margin-top: .5rem;
}
.hero__sub {
  margin-top: .75rem;
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .85;
}

/* Main */
.main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

.menu-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.menu-section__hero {
  position: relative;
  height: clamp(140px, 22vw, 220px);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.menu-section__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-section__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(227,30,36,.85), rgba(0,0,0,.35));
}
.menu-section__title {
  position: absolute;
  left: 1.25rem;
  bottom: 1rem;
  z-index: 1;
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.menu-section__title::before {
  content: "";
  display: inline-block;
  width: .65em;
  height: .65em;
  background: var(--white);
  border-radius: 50%;
  margin-right: .4em;
  vertical-align: middle;
}

/* Dish grid */
.dish-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 540px) {
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .dish-grid { grid-template-columns: repeat(3, 1fr); }
}

.dish-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.dish-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

.dish-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}
.dish-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-card__body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dish-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .4rem;
}

.dish-card__title {
  font-size: .95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.25;
}

.dish-card__price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
}

.dish-card__desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: auto;
}

.badge {
  display: inline-block;
  margin-left: .35rem;
  padding: .1rem .4rem;
  background: var(--red);
  color: var(--white);
  font-size: .6rem;
  font-weight: 700;
  border-radius: 4px;
  vertical-align: middle;
  transform: rotate(-3deg);
}

.footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-top: 1px solid var(--line);
  background: var(--white);
}

/* Print styles — заготовка, доработаем позже */
@media print {
  .header, .nav { display: none; }
  .dish-card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}

.rolls-menu .header { top: var(--site-header, 0); }
