@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@700&display=swap");
:root {
  --gold: #c99a5e;
  --ink: #493f37;
  --line: #eadfce;
  --cream: #fffdf9;
  --muted: #766e66;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  padding: 0 24px;
}
.header {
  height: 118px;
  display: grid;
  grid-template-columns: 1fr 190px 1fr;
  align-items: center;
  position: relative;
  z-index: 10;
  background: #fff;
}
.nav {
  display: flex;
  gap: 17px;
  align-items: center;
}
.nav a,
.phone {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav a {
  position: relative;
}
.nav a.active:after {
  content: "";
  position: absolute;
  height: 1px;
  left: 0;
  right: 0;
  bottom: -7px;
  background: var(--gold);
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.logo .hop {
  width: 30px;
  height: 40px;
  object-fit: contain;
}
.logo .word {
  width: 115px;
}
.head-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 13px;
}
.phone {
  color: var(--gold);
  font-size: 8px;
  text-transform: none;
}
.reserve {
  border: 0;
  background: var(--gold);
  color: #fff;
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 8px;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}
.burger {
  display: none;
  border: 0;
  background: none;
  font-size: 24px;
}
.hero {
  position: relative;
  height: 1580px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  left: 50%;
  top: 0;
  width: 50vw;
  height: 900px;
  transform: translateX(-50%) scale(1.72);
  transform-origin: top center;
}
.hero .art {
  position: absolute;
  object-fit: contain;
  transition:
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.7s;
}
.hero-title {
  left: 188px;
  top: 19px;
  width: 300px;
}
.hero-sub {
  left: 198px;
  top: 106px;
  width: 280px;
}
.mussels {
  left: -3px;
  top: 10px;
  width: 164px;
}
.glass {
  right: 27px;
  top: -2px;
  width: 119px;
}
.belgium {
  left: 47px;
  top: 270px;
  width: 109px;
}
.city {
  left: 203px;
  top: 240px;
  width: 286px;
}
.dog {
  right: 27px;
  top: 330px;
  width: 101px;
}
.tart {
  left: 44px;
  top: 430px;
  width: 208px;
}
.cheese {
  left: 228px;
  top: 424px;
  width: 51px;
}
.diamond {
  left: 276px;
  top: 565px;
  width: 45px;
}
.intro {
  position: absolute;
  left: 335px;
  top: 482px;
  width: 268px;
}
.atmo {
  position: absolute;
  left: 148px;
  top: 620px;
  width: 180px;
}
.boy {
  left: 43px;
  top: 665px;
  width: 89px;
}
.bike {
  left: 91px;
  top: 748px;
  width: 180px;
}
.building {
  left: 348px;
  top: 577px;
  width: 91px;
  height: 215px;
}
.dish-stack {
  left: 431px;
  top: 635px;
  width: 105px;
}
.shop {
  right: 25px;
  top: 650px;
  width: 76px;
}
.reveal {
  opacity: 0;
  transform: translateY(16px);
}
.reveal.show {
  opacity: 1;
  transform: none;
}
.float {
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
.beer {
  position: relative;
  padding: 12px 0 55px;
  overflow: hidden;
}
.beer:before {
  content: "BEER";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 160px;
  text-align: center;
  font-family:
    Playfair Display,
    serif;
  font-size: 300px;
  color: #f5f0e8;
  opacity: 0.72;
  line-height: 0.8;
  pointer-events: none;
}
.beer .wrap {
  position: relative;
  z-index: 1;
}
.orn {
  width: 250px;
  margin: 0 auto 4px;
}
.beer-title {
  font-size: 52px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.01em;
  text-align: center;
  margin: 0;
  font-weight: 600;
}
.beer-sub {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  margin: 10px 0 30px;
}
.beer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.beer-card {
  height: 155px;
  padding: 18px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: 0.25s;
  background: rgba(255, 255, 255, 0.38);
}
.beer-card:hover {
  background: rgba(255, 255, 255, 0.82);
  transform: translateY(-2px);
}
.beer-card h3 {
  font-size: 14px;
  color: var(--gold);
  line-height: 1.05;
  margin: 0 0 5px;
  text-transform: uppercase;
}
.beer-card p {
  font-size: 6.7px;
  line-height: 1.35;
  margin: 0 auto 6px;
  max-width: 150px;
  color: #625a53;
}
.price {
  color: var(--gold);
  font-size: 19px;
  font-weight: 600;
}
.volume {
  font-size: 5px;
  color: #847a70;
  margin-top: 2px;
}
.brands {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px 34px;
  margin: 48px 30px 0;
  align-items: center;
}
.brands img {
  width: 105px;
  height: 82px;
  cursor: pointer;
  object-fit: contain;
  margin: auto;
  transition: 0.25s;
}
.brands img:hover {
  transform: scale(1.07);
}
.footer {
  border-top: 1px solid var(--line);
  padding: 35px 0;
  background: #fffaf3;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}
.footer h4 {
  color: var(--gold);
  font-size: 9px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.footer p,
.footer a {
  font-size: 8px;
  line-height: 1.65;
  color: #6e665f;
}
.footer-logo {
  width: 110px;
  margin-bottom: 10px;
}
.copy {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  font-size: 7px;
  color: #938a81;
}
.page {
  min-height: calc(100vh - 105px);
  padding: 48px 0;
}
.page h1 {
  font-family:
    Playfair Display,
    serif;
  color: var(--gold);
  font-size: 46px;
  text-align: center;
  margin: 0 0 15px;
}
.lead {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 45px;
  color: #70675f;
  font-size: 12px;
  line-height: 1.7;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  margin-bottom: 25px;
}
.panel h2 {
  color: var(--gold);
  font-size: 23px;
  margin: 0 0 14px;
}
.panel p {
  font-size: 11px;
  line-height: 1.8;
  color: #675f58;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.fact {
  text-align: center;
  border: 1px solid var(--line);
  padding: 18px;
}
.fact strong {
  display: block;
  color: var(--gold);
  font-size: 25px;
}
.fact span {
  font-size: 8px;
  text-transform: uppercase;
}
.menu-page .filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter {
  border: 1px solid var(--line);
  background: #fff;
  padding: 9px 13px;
  border-radius: 20px;
  font-size: 9px;
  cursor: pointer;
}
.filter.active,
.filter:hover {
  background: var(--gold);
  color: #fff;
}
.menu-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.product {
  border: 1px solid var(--line);
  padding: 14px;
  background: #fff;
  transition: 0.25s;
}
.product:hover {
  transform: translateY(-4px);
}
.product img {
  height: 135px;
  width: 100%;
  object-fit: contain;
}
.product h3 {
  color: var(--gold);
  font-size: 10px;
  margin: 9px 0 4px;
}
.product p {
  font-size: 7px;
  color: #766e66;
  line-height: 1.45;
  min-height: 35px;
}
.product b {
  color: var(--gold);
  font-size: 13px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.contact-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child {
  border: 0;
}
.contact-item b {
  display: block;
  color: var(--gold);
  font-size: 8px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.contact-item span {
  font-size: 11px;
}
.map {
  min-height: 330px;
  background: linear-gradient(135deg, #f7f1e7, #ece2d3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-card {
  background: #fff;
  padding: 20px;
  text-align: center;
  box-shadow: 0 15px 35px #0001;
}
.form {
  max-width: 500px;
  margin: auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field {
  margin-bottom: 14px;
}
.field label {
  display: block;
  font-size: 8px;
  color: #82786e;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 11px;
  background: #fffdf9;
  outline: 0;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.form button {
  display: block;
  margin: auto;
}
.success {
  display: none;
  text-align: center;
  color: #6e9662;
  font-size: 10px;
  margin-top: 15px;
}
.modal {
  position: fixed;
  inset: 0;
  background: #433a3290;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}
.modal.open {
  display: flex;
}
.modal-box {
  width: min(760px, 100%);
  background: #fffdf9;
  padding: 34px;
  position: relative;
  border: 1px solid var(--line);
  box-shadow: 0 25px 70px #0003;
}
.modal-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 34px;
  align-items: center;
}
.modal-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.modal-visual .beer-glass {
  width: 220px;
  height: 270px;
  object-fit: contain;
}
.modal-logo {
  width: 120px;
  height: 85px;
  object-fit: contain;
}
.modal-box h2 {
  font-family: Playfair Display;
  color: var(--gold);
  font-size: 30px;
  margin: 0 0 10px;
}
.modal-box p {
  font-size: 11px;
  line-height: 1.7;
  color: #6b635c;
}
.beer-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
}
.beer-fact {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.beer-fact span {
  display: block;
  font-size: 8px;
  text-transform: uppercase;
  color: #9a8c7c;
}
.beer-fact strong {
  display: block;
  font-size: 11px;
  margin-top: 3px;
}
.modal-actions {
  margin-top: 20px;
}
.modal-box img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}
.modal-box h2 {
  font-family: Playfair Display;
  color: var(--gold);
  font-size: 22px;
}
.modal-box p {
  font-size: 10px;
  line-height: 1.6;
  color: #6b635c;
}
.close {
  position: absolute;
  right: 12px;
  top: 7px;
  background: none;
  border: 0;
  font-size: 25px;
  cursor: pointer;
}
@media (max-width: 720px) {
  .wrap {
    width: 100%;
    padding: 0 18px;
  }
  .header {
    height: 88px;
    grid-template-columns: 42px 1fr 42px;
    padding: 0 16px;
  }
  .burger {
    display: block;
  }
  .nav {
    display: none;
  }
  .nav.open {
    display: flex;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px;
    box-shadow: 0 15px 30px #0001;
  }
  .head-right .phone,
  .head-right .reserve {
    display: none;
  }
  .logo .hop {
    width: 24px;
    height: 32px;
  }
  .logo .word {
    width: 95px;
  }
  .hero {
    height: 880px;
    transform-origin: top center;
  }
  .hero-canvas {
    left: 0;
    top: 0;
    width: 675px;
    height: 900px;
    transform: scale(0.95);
    transform-origin: top left;
  }
  .hero-title {
    left: 28%;
    top: 18px;
    width: 44%;
  }
  .hero-sub {
    left: 29%;
    top: 101px;
    width: 41%;
  }
  .mussels {
    left: -4%;
    top: 10px;
    width: 27%;
  }
  .glass {
    right: 2%;
    top: 0;
    width: 19%;
  }
  .belgium {
    left: 6%;
    top: 265px;
    width: 17%;
  }
  .city {
    left: 30%;
    top: 235px;
    width: 44%;
  }
  .dog {
    right: 2%;
    top: 330px;
    width: 15%;
  }
  .tart {
    left: 5%;
    top: 425px;
    width: 31%;
  }
  .cheese {
    left: 34%;
    top: 420px;
    width: 8%;
  }
  .diamond {
    left: 41%;
    top: 560px;
    width: 7%;
  }
  .intro {
    left: 50%;
    top: 482px;
    width: 40%;
  }
  .atmo {
    left: 22%;
    top: 615px;
    width: 27%;
  }
  .boy {
    left: 5%;
    top: 660px;
    width: 13%;
  }
  .bike {
    left: 13%;
    top: 745px;
    width: 27%;
  }
  .building {
    left: 51%;
    top: 575px;
    width: 14%;
    height: auto;
  }
  .dish-stack {
    left: 63%;
    top: 632px;
    width: 16%;
  }
  .shop {
    right: 3%;
    top: 648px;
    width: 12%;
  }
  .beer-title {
    font-size: 29px;
  }
  .beer:before {
    font-size: 210px;
  }
  .beer-card {
    height: 138px;
  }
  .brands {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px 5px;
    margin-left: 0;
    margin-right: 0;
  }
  .brands img {
    width: 65px;
    height: 55px;
  }
  .menu-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .hero {
    height: 100vh;
  }
  .hero-canvas {
    transform: scale(0.62);
  }
  .hero-title {
    top: 18px;
  }
  .hero-sub {
    top: 92px;
  }
  .city {
    top: 225px;
  }
  .intro {
    font-size: 7px;
  }
  .atmo {
    font-size: 0;
  }
  .atmo:after {
    content: "АТМОСФЕРА,\A В КОТОРОЙ\A ЛЕГКО БЫТЬ\A СОБОЙ";
    white-space: pre;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--gold);
  }
  .beer-grid {
    grid-template-columns: 1fr;
  }
  .beer-card {
    height: auto;
    min-height: 125px;
  }
  .brands {
    grid-template-columns: repeat(4, 1fr);
  }
  .facts,
  .form-row {
    grid-template-columns: 1fr;
  }
  .menu-products {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* beer detail modal refinements */
.modal-box .modal-logo {
  width: 120px;
  height: 85px;
  object-fit: contain;
}
.modal-box .beer-glass {
  width: 220px;
  height: 270px;
  object-fit: contain;
}
.modal-box .modal-price {
  margin-top: 12px;
}
@media (max-width: 720px) {
  .modal-content {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }
  .modal-visual {
    flex-direction: row;
    justify-content: center;
  }
  .modal-box .beer-glass {
    width: 135px;
    height: 165px;
  }
  .modal-box .modal-logo {
    width: 105px;
    height: 75px;
  }
  .beer-facts {
    text-align: left;
  }
}

/* FINAL — animated mobile burger menu */
.burger {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: relative;
  z-index: 31;
  border-radius: 50%;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s,
    width 0.25s,
    background 0.25s;
}
.burger:hover {
  background: #fffaf3;
  border-color: var(--line);
}
.burger.is-open {
  background: var(--gold);
  border-color: var(--gold);
}
.burger.is-open span {
  background: #fff;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 720px) {
  .burger {
    display: flex;
  }
  .header {
    z-index: 40;
  }
  .nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100dvh;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 120px 28px 40px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.35s ease,
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.35s;
  }
  .nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: none;
  }
  .nav a {
    font-family:
      Playfair Display,
      serif;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--ink);
    padding: 14px 22px;
    position: relative;
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 0.35s ease,
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.2s;
  }
  .nav.open a {
    opacity: 1;
    transform: none;
  }
  .nav.open a:nth-child(1) {
    transition-delay: 0.06s;
  }
  .nav.open a:nth-child(2) {
    transition-delay: 0.11s;
  }
  .nav.open a:nth-child(3) {
    transition-delay: 0.16s;
  }
  .nav.open a:nth-child(4) {
    transition-delay: 0.21s;
  }
  .nav a:hover {
    color: var(--gold);
  }
  .nav a.active:after {
    bottom: 5px;
    left: 22px;
    right: 22px;
    height: 2px;
  }
  body.menu-open {
    overflow: hidden;
  }
  .nav::before {
    content: "BRASSERIE";
    font-family:
      Playfair Display,
      serif;
    font-size: 14px;
    letter-spacing: 0.16em;
    color: var(--gold);
    margin-bottom: 38px;
    opacity: 0;
    transform: translateY(-8px);
    transition: 0.35s ease 0.03s;
  }
  .nav.open::before {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 480px) {
  .nav {
    padding-top: 105px;
  }
  .nav a {
    font-size: 24px;
    padding: 12px 20px;
  }
}

/* === BURGER MENU — FINAL POLISH === */
@media (max-width: 720px) {
  .header {
    position: sticky;
    top: 0;
    height: 88px;
    width: 100%;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(234, 223, 206, 0.7);
  }
  .header .logo {
    position: relative;
    z-index: 52;
    margin: 0 auto;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }
  .header .head-right {
    position: absolute;
    right: 18px;
    display: none;
  }
  .burger {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    width: 48px;
    height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 25px rgba(73, 63, 55, 0.08);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
      background 0.35s ease,
      border-color 0.35s ease,
      box-shadow 0.35s ease,
      transform 0.35s ease;
  }
  .burger span {
    width: 20px;
    height: 1.5px;
    display: block;
    background: var(--ink);
    border-radius: 10px;
    transform-origin: center;
    transition:
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.2s ease,
      width 0.3s ease,
      background 0.3s ease;
  }
  .burger:hover {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 10px 28px rgba(73, 63, 55, 0.12);
  }
  .burger.is-open {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(201, 154, 94, 0.28);
  }
  .burger.is-open span {
    background: #fff;
  }
  .burger.is-open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    width: 21px;
  }
  .burger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
    width: 0;
  }
  .burger.is-open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    width: 21px;
  }

  .nav {
    position: fixed !important;
    inset: 0 !important;
    z-index: 50;
    width: 100vw;
    height: 100dvh !important;
    min-height: 100vh;
    margin: 0;
    padding: 118px 24px 50px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center !important;
    justify-content: flex-start;
    gap: 5px !important;
    background: rgba(255, 255, 255, 0.985) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-18px);
    transition:
      opacity 0.35s ease,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.35s ease;
    box-shadow: none !important;
  }
  .nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav::before {
    content: "BRASSERIE";
    display: block;
    font-family:
      Playfair Display,
      serif;
    font-size: 13px;
    letter-spacing: 0.22em;
    color: var(--gold);
    margin: 0 0 26px;
    opacity: 0;
    transform: translateY(-12px);
    transition:
      opacity 0.35s ease 0.04s,
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.04s;
  }
  .nav.open::before {
    opacity: 1;
    transform: none;
  }
  .nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(360px, 100%);
    padding: 15px 24px !important;
    font-family:
      Playfair Display,
      serif;
    font-size: 29px !important;
    line-height: 1.15;
    letter-spacing: 0.015em;
    color: var(--ink);
    opacity: 0;
    transform: translateY(22px) scale(0.98);
    transition:
      opacity 0.4s ease,
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      color 0.2s ease;
  }
  .nav.open a {
    opacity: 1;
    transform: none;
  }
  .nav.open a:nth-child(1) {
    transition-delay: 0.09s;
  }
  .nav.open a:nth-child(2) {
    transition-delay: 0.15s;
  }
  .nav.open a:nth-child(3) {
    transition-delay: 0.21s;
  }
  .nav.open a:nth-child(4) {
    transition-delay: 0.27s;
  }
  .nav a:hover {
    color: var(--gold);
  }
  .nav a.active {
    color: var(--gold);
  }
  .nav a.active:after {
    content: "";
    position: absolute;
    left: 50%;
    right: auto;
    bottom: 7px;
    width: 34px;
    height: 2px;
    transform: translateX(-50%);
    background: var(--gold);
  }
  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .header {
    height: 78px;
  }
  .burger {
    left: 14px;
    width: 44px;
    height: 44px;
  }
  .nav {
    padding-top: 104px !important;
  }
  .nav a {
    font-size: 25px !important;
    padding: 13px 20px !important;
  }
}
/* Final food illustration layer — aligned to the reference composition */
.food-steak,
.food-onion,
.food-steak-2,
.food-burger {
  position: absolute;
  object-fit: contain;
  z-index: 4;
  opacity: 0;
  transform-origin: center;
}
.reveal.show.food-steak,
.reveal.show.food-onion,
.reveal.show.food-steak-2,
.reveal.show.food-burger {
  opacity: 1;
}
.food-steak {
  left: 468px;
  top: 676px;
  width: 66px;
  transform: rotate(-5deg);
}
.food-onion {
  left: 505px;
  top: 681px;
  width: 58px;
  transform: rotate(1deg);
}
.food-steak-2 {
  left: 469px;
  top: 715px;
  width: 75px;
  transform: rotate(-3deg);
}
.food-burger {
  left: 467px;
  top: 752px;
  width: 82px;
}
.food-float {
  animation: foodFloat 4.8s ease-in-out infinite;
}
.delay-1 {
  animation-delay: 0.35s;
}
.delay-2 {
  animation-delay: 0.7s;
}
.delay-3 {
  animation-delay: 1.05s;
}
@keyframes foodFloat {
  0%,
  100% {
    margin-top: 0;
    transform: rotate(-2deg);
  }
  50% {
    margin-top: -4px;
    transform: rotate(1deg);
  }
}
@media (max-width: 720px) {
  .food-steak {
    left: 69.3%;
    top: 676px;
    width: 9.8%;
  }
  .food-onion {
    left: 74.8%;
    top: 681px;
    width: 8.6%;
  }
  .food-steak-2 {
    left: 69.5%;
    top: 715px;
    width: 11.1%;
  }
  .food-burger {
    left: 69.2%;
    top: 752px;
    width: 12.1%;
  }
}

/* Client menu update: kitchen and full menu */
.menu-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.menu-page .menu-toolbar .filters {
  justify-content: flex-start;
  margin-bottom: 0;
}
.menu-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.2s ease;
}
.menu-pdf span {
  padding: 3px 6px;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 7px;
}
.menu-pdf:hover {
  background: var(--gold);
  color: #fff;
}
.menu-pdf:hover span {
  background: #fff;
  color: var(--gold);
}
.food-product {
  padding: 0 0 16px;
  overflow: hidden;
  cursor: default;
}
.food-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(73, 63, 55, 0.1);
}
.food-product img {
  height: 270px;
  object-fit: cover;
}
.food-product h3,
.food-product b,
.food-product .product-kind {
  display: block;
  margin-left: 16px;
  margin-right: 16px;
}
.food-product h3 {
  margin-top: 5px;
  min-height: 30px;
  font-size: 12px;
  line-height: 1.35;
}
.food-product .product-kind {
  min-height: 0;
  margin-top: 14px;
  margin-bottom: 0;
  color: #9a8d80;
  font-size: 7px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}
.food-product b {
  font-size: 14px;
}

/* Interior and atmosphere galleries */
.photo-section {
  margin-top: 80px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.section-heading span {
  display: block;
  margin-bottom: 6px;
  color: #9a8d80;
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.section-heading h2 {
  margin: 0;
  color: var(--gold);
  font-family: Playfair Display, serif;
  font-size: 32px;
  line-height: 1;
}
.section-heading p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  text-align: right;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 180px;
  gap: 12px;
  margin-top: 22px;
}
.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #efe7dc;
}
.photo-card--wide {
  grid-column: span 2;
}
.photo-card--tall {
  grid-row: span 2;
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.3s;
}
.photo-card::after {
  content: "Увеличить";
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition: 0.25s ease;
}
.photo-card:hover img {
  transform: scale(1.035);
  filter: brightness(0.92);
}
.photo-card:hover::after,
.photo-card:focus-visible::after {
  opacity: 1;
  transform: none;
}
.gallery-dialog {
  width: min(92vw, 1100px);
  max-width: none;
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.gallery-dialog::backdrop {
  background: rgba(32, 28, 25, 0.88);
  backdrop-filter: blur(6px);
}
.gallery-dialog img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
}
.gallery-dialog__close {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 720px) {
  .menu-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .menu-pdf {
    align-self: center;
  }
  .food-product img {
    height: 260px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .section-heading p {
    text-align: left;
  }
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }
  .photo-card--tall {
    grid-row: span 1;
  }
  .gallery-dialog__close {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 480px) {
  .photo-section {
    margin-top: 56px;
  }
  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .photo-card,
  .photo-card--wide,
  .photo-card--tall {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
  .photo-card::after {
    opacity: 1;
    transform: none;
  }
}
