/* Фузу — палитра и типографика как у меню: menu.hotpot-fuzu.ru (hpm-ui.css) */
:root {
  --hpm-ink: #09090d;
  --hpm-red-lacquer: #d42012;
  --hpm-gold: #ffd166;
  --hpm-bg: #0b0b0f;
  --hpm-card: #141420;
  --hpm-card2: #19192a;
  --hpm-text: #f4f4f7;
  --hpm-muted: #a7a7b6;
  --hpm-accent: #ff4d2e;
  --hpm-line: rgba(255, 255, 255, 0.08);
  /* Контур у фото (блоки с изображением, галерея, карта) */
  --hpm-photo-border: rgba(255, 209, 102, 0.55);
  --hpm-photo-border-hover: rgba(255, 230, 160, 0.92);
  --hpm-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  --hpm-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  --c-ink: var(--hpm-ink);
  --c-bg: var(--hpm-bg);
  --c-bg-elevated: var(--hpm-card);
  --c-ink-soft: var(--hpm-card2);
  --c-paper: var(--hpm-text);
  --c-muted: var(--hpm-muted);
  --c-gold: var(--hpm-gold);
  --c-gold-bright: #ffe7a8;
  --font-display: "ZCOOL XiaoWei", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow-soft: var(--hpm-shadow);
  --radius: 14px;
  --radius-lg: 18px;

  /* Единый стиль кнопок: акцент и «приподнятая» поверхность */
  --btn-fg-on-primary: #fff;
  --btn-primary-top: rgba(255, 77, 46, 0.92);
  --btn-primary-bottom: rgba(212, 32, 18, 0.72);
  --btn-primary-border: rgba(255, 77, 46, 0.45);
  --btn-primary-border-hover: rgba(255, 77, 46, 0.55);
  --btn-primary-glow: 0 0 0 1px rgba(255, 77, 46, 0.1) inset, 0 8px 28px rgba(255, 77, 46, 0.3);
  --btn-primary-glow-hover: 0 0 0 1px rgba(255, 77, 46, 0.1) inset, 0 12px 36px rgba(255, 77, 46, 0.42),
    0 0 40px rgba(255, 77, 46, 0.18);
  --btn-surface: rgba(25, 25, 42, 0.94);
  --btn-surface-hover: rgba(32, 32, 52, 0.98);
  --btn-outline: rgba(255, 77, 46, 0.42);
  --btn-outline-hover: rgba(255, 209, 102, 0.42);
  --btn-icon-glow-hover: 0 0 0 1px rgba(255, 77, 46, 0.12) inset, 0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 28px rgba(255, 77, 46, 0.2), 0 0 36px rgba(255, 209, 102, 0.12);
  --btn-transition: transform 0.16s var(--hpm-ease), box-shadow 0.16s var(--hpm-ease), border-color 0.16s var(--hpm-ease),
    background 0.16s var(--hpm-ease), color 0.16s var(--hpm-ease), opacity 0.16s var(--hpm-ease);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--hpm-bg);
  min-height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--hpm-text);
  /* Единый бесшовный фон на всю страницу (слои без «полос» между секциями). Нижний слой — силуэт дракона (Wikimedia Commons, CC BY-SA 3.0). */
  background-color: var(--hpm-bg);
  background-image:
    radial-gradient(ellipse 120vmin 80vmin at 50% -15%, rgba(255, 77, 46, 0.16), transparent 58%),
    radial-gradient(ellipse 90vmin 70vmin at 100% 25%, rgba(255, 209, 102, 0.09), transparent 52%),
    radial-gradient(ellipse 85vmin 65vmin at 0% 55%, rgba(255, 77, 46, 0.07), transparent 50%),
    radial-gradient(ellipse 100vmin 90vmin at 50% 110%, rgba(255, 77, 46, 0.05), transparent 45%),
    url("../images/bg-dragon.svg");
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-position:
    center center,
    center center,
    center center,
    center center,
    center 36%;
  background-size:
    cover,
    cover,
    cover,
    cover,
    min(560px, 88vw) auto;
  background-attachment: scroll;
  position: relative;
  min-height: 100%;
}

/* Лёгкая зернистость без заметной кратности плитки */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='rgba(255,209,102,.22)' stroke-width='1'%3E%3Cpath d='M0 40h160M0 80h160M0 120h160M40 0v160M80 0v160M120 0v160'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 160px;
  background-repeat: repeat;
  mix-blend-mode: overlay;
}

/* Китайская тематика: узор «облака» в плитке + угловые волны, бамбук (SVG), без влияния на клики */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%23ffd166' stroke-width='1.1' opacity='0.35'%3E%3Cpath d='M40 200c-20-70 60-110 120-80s100-50 120 20'/%3E%3Cpath d='M60 230c-10-50 45-85 95-65s75-45 85 10'/%3E%3Cpath d='M20 160c30-55 95-75 150-45'/%3E%3Cpath d='M180 40c35 25 55 70 45 120'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%23ff4d2e' stroke-width='1' opacity='0.28'%3E%3Cpath d='M240 80c-60-30-110 10-130 70s10 110 70 130'/%3E%3Cpath d='M200 120c-35-20-65 5-80 40'/%3E%3Cpath d='M220 200c25-40 10-85-25-105'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23ffd166' stroke-width='0.55' opacity='0.2'%3E%3Cpath d='M20 100c15-25 35-40 60-35s45-25 70-20 50 15 50 55-20 50-50 55'/%3E%3Cpath d='M0 120c20-30 50-45 80-40s55-30 90-25'/%3E%3Cpath d='M40 160c25-20 55-25 85-15'/%3E%3Cpath d='M100 0c-5 25 15 45 40 50s35 30 35 55'/%3E%3Cpath d='M160 180c10-20-5-40-25-45s-30-25-25-45'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffd166' stroke-width='0.45' opacity='0.18'%3E%3Cpath d='M58 8v104M52 18h12M48 32h20M52 46h16M48 60h24M52 74h16M48 88h20M52 102h12'/%3E%3Cpath d='M28 28c8-4 16-4 24 0M68 28c8-4 16-4 24 0M28 92c8 4 16 4 24 0M68 92c8 4 16 4 24 0'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, repeat, repeat;
  background-position:
    calc(100% + 2rem) -2rem,
    -3rem calc(100% + 1rem),
    center,
    8% 35%;
  background-size:
    min(340px, 52vw),
    min(320px, 48vw),
    200px 200px,
    140px 180px;
  mix-blend-mode: soft-light;
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
  }

  body::after {
    opacity: 0.32;
    background-size:
      min(260px, 70vw),
      min(240px, 65vw),
      160px 160px,
      100px 130px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after {
    opacity: 0.22;
  }
}

body.modal-open {
  overflow: hidden;
}

#top,
.site-footer {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

a {
  color: var(--hpm-gold);
  text-decoration: none;
  transition: color 0.16s var(--hpm-ease), opacity 0.16s var(--hpm-ease);
}

a:hover {
  color: var(--hpm-text);
}

/* Тематические иероглифы в фоне секций + лёгкий параллакс (JS: --parallax-y) */
.parallax-glyphs {
  --parallax-y: 0px;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, var(--parallax-y), 0);
  will-change: transform;
}

.parallax-glyphs__char {
  position: absolute;
  font-family: var(--font-display);
  color: var(--c-gold);
  line-height: 1;
  user-select: none;
  opacity: 0.055;
  text-shadow: 0 0 48px rgba(255, 77, 46, 0.08);
}

@media (max-width: 900px) {
  .parallax-glyphs__char {
    opacity: 0.04;
  }
}

/* Hero — хот-пот, вкус, общий стол */
.parallax-glyphs--hero .parallax-glyphs__char:nth-child(1) {
  top: 6%;
  left: 1%;
  font-size: clamp(3.2rem, 11vw, 7.5rem);
  opacity: 0.05;
}
.parallax-glyphs--hero .parallax-glyphs__char:nth-child(2) {
  top: 18%;
  right: 4%;
  font-size: clamp(2.8rem, 9vw, 6rem);
  opacity: 0.045;
}
.parallax-glyphs--hero .parallax-glyphs__char:nth-child(3) {
  bottom: 22%;
  left: 8%;
  font-size: clamp(2.4rem, 8vw, 5.5rem);
}
.parallax-glyphs--hero .parallax-glyphs__char:nth-child(4) {
  top: 38%;
  left: 42%;
  transform: translateX(-50%);
  font-size: clamp(5rem, 18vw, 12rem);
  opacity: 0.05;
}
.parallax-glyphs--hero .parallax-glyphs__char:nth-child(5) {
  bottom: 12%;
  right: 22%;
  font-size: clamp(2.6rem, 8.5vw, 5.8rem);
}
.parallax-glyphs--hero .parallax-glyphs__char:nth-child(6) {
  top: 52%;
  right: 1%;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  opacity: 0.04;
}
.parallax-glyphs--hero .parallax-glyphs__char:nth-child(7) {
  bottom: 38%;
  left: 28%;
  font-size: clamp(2.5rem, 7.5vw, 5.2rem);
}
.parallax-glyphs--hero .parallax-glyphs__char:nth-child(8) {
  top: 8%;
  left: 48%;
  font-size: clamp(2rem, 6vw, 4.2rem);
  opacity: 0.035;
}

/* О ресторане */
.parallax-glyphs--about .parallax-glyphs__char:nth-child(1) {
  top: 4%;
  right: 6%;
  font-size: clamp(5.5rem, 16vw, 11rem);
  opacity: 0.05;
}
.parallax-glyphs--about .parallax-glyphs__char:nth-child(2) {
  top: 28%;
  left: 3%;
  font-size: clamp(3rem, 10vw, 7rem);
}
.parallax-glyphs--about .parallax-glyphs__char:nth-child(3) {
  bottom: 30%;
  right: 12%;
  font-size: clamp(2.8rem, 9vw, 6rem);
  opacity: 0.045;
}
.parallax-glyphs--about .parallax-glyphs__char:nth-child(4) {
  top: 48%;
  left: 18%;
  font-size: clamp(3.5rem, 11vw, 7.5rem);
}
.parallax-glyphs--about .parallax-glyphs__char:nth-child(5) {
  bottom: 12%;
  left: 6%;
  font-size: clamp(2.4rem, 8vw, 5rem);
}
.parallax-glyphs--about .parallax-glyphs__char:nth-child(6) {
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  opacity: 0.038;
}
.parallax-glyphs--about .parallax-glyphs__char:nth-child(7) {
  bottom: 42%;
  right: 4%;
  font-size: clamp(3.2rem, 10vw, 6.5rem);
}
.parallax-glyphs--about .parallax-glyphs__char:nth-child(8) {
  top: 62%;
  right: 28%;
  font-size: clamp(2rem, 6.5vw, 4.2rem);
  opacity: 0.035;
}

/* Как это работает */
.parallax-glyphs--how .parallax-glyphs__char:nth-child(1) {
  top: 8%;
  left: 2%;
  font-size: clamp(3.2rem, 10vw, 7rem);
}
.parallax-glyphs--how .parallax-glyphs__char:nth-child(2) {
  top: 22%;
  right: 8%;
  font-size: clamp(4rem, 12vw, 8.5rem);
  opacity: 0.05;
}
.parallax-glyphs--how .parallax-glyphs__char:nth-child(3) {
  top: 45%;
  left: 10%;
  font-size: clamp(2.6rem, 8.5vw, 5.5rem);
}
.parallax-glyphs--how .parallax-glyphs__char:nth-child(4) {
  bottom: 22%;
  right: 6%;
  font-size: clamp(3.4rem, 11vw, 7rem);
}
.parallax-glyphs--how .parallax-glyphs__char:nth-child(5) {
  bottom: 12%;
  left: 22%;
  font-size: clamp(2.8rem, 9vw, 6rem);
  opacity: 0.042;
}
.parallax-glyphs--how .parallax-glyphs__char:nth-child(6) {
  top: 58%;
  right: 22%;
  font-size: clamp(2.4rem, 7.5vw, 5rem);
}
.parallax-glyphs--how .parallax-glyphs__char:nth-child(7) {
  top: 12%;
  left: 40%;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
  opacity: 0.038;
}
.parallax-glyphs--how .parallax-glyphs__char:nth-child(8) {
  bottom: 38%;
  left: 4%;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
}

/* Меню */
.parallax-glyphs--menu .parallax-glyphs__char:nth-child(1) {
  top: 5%;
  left: 6%;
  font-size: clamp(2.8rem, 9vw, 6.5rem);
}
.parallax-glyphs--menu .parallax-glyphs__char:nth-child(2) {
  top: 18%;
  right: 4%;
  font-size: clamp(3.6rem, 11vw, 7.5rem);
}
.parallax-glyphs--menu .parallax-glyphs__char:nth-child(3) {
  top: 42%;
  left: 2%;
  font-size: clamp(3rem, 10vw, 6.8rem);
  opacity: 0.048;
}
.parallax-glyphs--menu .parallax-glyphs__char:nth-child(4) {
  bottom: 28%;
  right: 10%;
  font-size: clamp(2.6rem, 8.5vw, 5.5rem);
}
.parallax-glyphs--menu .parallax-glyphs__char:nth-child(5) {
  bottom: 10%;
  left: 14%;
  font-size: clamp(4rem, 12vw, 8.5rem);
  opacity: 0.05;
}
.parallax-glyphs--menu .parallax-glyphs__char:nth-child(6) {
  top: 52%;
  right: 26%;
  font-size: clamp(2.8rem, 8vw, 5.2rem);
}
.parallax-glyphs--menu .parallax-glyphs__char:nth-child(7) {
  top: 8%;
  left: 48%;
  transform: translateX(-50%);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  opacity: 0.036;
}
.parallax-glyphs--menu .parallax-glyphs__char:nth-child(8) {
  bottom: 38%;
  left: 38%;
  font-size: clamp(2.4rem, 7.5vw, 5rem);
}

/* Праздник */
.parallax-glyphs--celebration .parallax-glyphs__char:nth-child(1) {
  top: 6%;
  right: 5%;
  font-size: clamp(3.5rem, 11vw, 7.5rem);
}
.parallax-glyphs--celebration .parallax-glyphs__char:nth-child(2) {
  top: 18%;
  left: 4%;
  font-size: clamp(4rem, 12vw, 8.5rem);
  opacity: 0.05;
}
.parallax-glyphs--celebration .parallax-glyphs__char:nth-child(3) {
  top: 48%;
  right: 6%;
  font-size: clamp(2.8rem, 9vw, 6rem);
}
.parallax-glyphs--celebration .parallax-glyphs__char:nth-child(4) {
  bottom: 18%;
  left: 8%;
  font-size: clamp(3.2rem, 10vw, 6.8rem);
}
.parallax-glyphs--celebration .parallax-glyphs__char:nth-child(5) {
  bottom: 32%;
  right: 22%;
  font-size: clamp(2.6rem, 8.5vw, 5.5rem);
}
.parallax-glyphs--celebration .parallax-glyphs__char:nth-child(6) {
  top: 32%;
  left: 22%;
  font-size: clamp(2.4rem, 8vw, 5rem);
  opacity: 0.04;
}
.parallax-glyphs--celebration .parallax-glyphs__char:nth-child(7) {
  bottom: 8%;
  right: 38%;
  font-size: clamp(3.8rem, 11vw, 7.5rem);
}
.parallax-glyphs--celebration .parallax-glyphs__char:nth-child(8) {
  top: 58%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  opacity: 0.038;
}

/* Отзывы */
.parallax-glyphs--reviews .parallax-glyphs__char:nth-child(1) {
  top: 4%;
  left: 10%;
  font-size: clamp(3rem, 10vw, 6.5rem);
}
.parallax-glyphs--reviews .parallax-glyphs__char:nth-child(2) {
  top: 18%;
  right: 4%;
  font-size: clamp(2.8rem, 9vw, 6rem);
  opacity: 0.045;
}
.parallax-glyphs--reviews .parallax-glyphs__char:nth-child(3) {
  top: 42%;
  left: 2%;
  font-size: clamp(3.2rem, 10vw, 7rem);
}
.parallax-glyphs--reviews .parallax-glyphs__char:nth-child(4) {
  bottom: 22%;
  right: 6%;
  font-size: clamp(3.8rem, 11vw, 7.5rem);
  opacity: 0.05;
}
.parallax-glyphs--reviews .parallax-glyphs__char:nth-child(5) {
  bottom: 12%;
  left: 6%;
  font-size: clamp(2.6rem, 8.5vw, 5.5rem);
}
.parallax-glyphs--reviews .parallax-glyphs__char:nth-child(6) {
  top: 52%;
  right: 18%;
  font-size: clamp(2.4rem, 8vw, 5rem);
}
.parallax-glyphs--reviews .parallax-glyphs__char:nth-child(7) {
  bottom: 38%;
  left: 28%;
  font-size: clamp(2.8rem, 9vw, 5.8rem);
  opacity: 0.042;
}
.parallax-glyphs--reviews .parallax-glyphs__char:nth-child(8) {
  top: 8%;
  left: 48%;
  transform: translateX(-50%);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  opacity: 0.034;
}

/* Галерея */
.parallax-glyphs--gallery .parallax-glyphs__char:nth-child(1) {
  top: 6%;
  right: 5%;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
}
.parallax-glyphs--gallery .parallax-glyphs__char:nth-child(2) {
  top: 22%;
  left: 8%;
  font-size: clamp(2.8rem, 9vw, 6rem);
  opacity: 0.045;
}
.parallax-glyphs--gallery .parallax-glyphs__char:nth-child(3) {
  top: 45%;
  right: 12%;
  font-size: clamp(3.2rem, 10vw, 6.8rem);
}
.parallax-glyphs--gallery .parallax-glyphs__char:nth-child(4) {
  bottom: 22%;
  left: 4%;
  font-size: clamp(4rem, 12vw, 8.5rem);
  opacity: 0.05;
}
.parallax-glyphs--gallery .parallax-glyphs__char:nth-child(5) {
  bottom: 10%;
  right: 22%;
  font-size: clamp(2.6rem, 8.5vw, 5.5rem);
}
.parallax-glyphs--gallery .parallax-glyphs__char:nth-child(6) {
  top: 12%;
  left: 32%;
  font-size: clamp(2.4rem, 7.5vw, 5rem);
  opacity: 0.038;
}
.parallax-glyphs--gallery .parallax-glyphs__char:nth-child(7) {
  bottom: 38%;
  right: 4%;
  font-size: clamp(2.8rem, 9vw, 5.8rem);
}
.parallax-glyphs--gallery .parallax-glyphs__char:nth-child(8) {
  top: 58%;
  left: 18%;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
}

/* Контакты */
.parallax-glyphs--contacts .parallax-glyphs__char:nth-child(1) {
  top: 5%;
  left: 4%;
  font-size: clamp(3.2rem, 10vw, 7rem);
}
.parallax-glyphs--contacts .parallax-glyphs__char:nth-child(2) {
  top: 18%;
  right: 4%;
  font-size: clamp(2.8rem, 9vw, 6rem);
  opacity: 0.045;
}
.parallax-glyphs--contacts .parallax-glyphs__char:nth-child(3) {
  bottom: 28%;
  left: 3%;
  font-size: clamp(3.2rem, 10vw, 6.8rem);
}
.parallax-glyphs--contacts .parallax-glyphs__char:nth-child(4) {
  top: 42%;
  right: 8%;
  font-size: clamp(3.6rem, 11vw, 7.5rem);
  opacity: 0.05;
}
.parallax-glyphs--contacts .parallax-glyphs__char:nth-child(5) {
  bottom: 12%;
  right: 22%;
  font-size: clamp(2.6rem, 8.5vw, 5.5rem);
}
.parallax-glyphs--contacts .parallax-glyphs__char:nth-child(6) {
  top: 52%;
  left: 18%;
  font-size: clamp(2.4rem, 8vw, 5rem);
}
.parallax-glyphs--contacts .parallax-glyphs__char:nth-child(7) {
  bottom: 38%;
  left: 42%;
  transform: translateX(-50%);
  font-size: clamp(2.8rem, 9vw, 5.8rem);
  opacity: 0.042;
}
.parallax-glyphs--contacts .parallax-glyphs__char:nth-child(8) {
  top: 8%;
  left: 48%;
  transform: translateX(-50%);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  opacity: 0.034;
}

@media (prefers-reduced-motion: reduce) {
  .parallax-glyphs {
    transform: none;
    will-change: auto;
  }
}

/* Шапка */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.4rem clamp(1rem, 4vw, 2.5rem) 0.65rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent) rgba(11, 11, 15, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hpm-line);
}

@media (max-width: 1024px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(11, 11, 15, 0.92);
  }
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(244, 244, 247, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.header-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-align: left;
}

.header-bar__item--address {
  color: var(--hpm-muted);
  font-weight: 500;
}

.header-bar__icon {
  flex-shrink: 0;
  color: var(--hpm-gold);
  opacity: 0.95;
}

.header-bar__link {
  color: var(--hpm-text);
  text-decoration: none;
  white-space: nowrap;
}

.header-bar__link:hover {
  color: var(--hpm-gold);
}

.header-bar__sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 209, 102, 0.35);
  flex-shrink: 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.12em;
  color: var(--hpm-gold);
  text-shadow: 0 0 28px rgba(255, 209, 102, 0.35), 0 0 40px rgba(255, 77, 46, 0.2);
}

/* Логотип PNG в шапке — свечение в effects.css */
.logo.logo--brand {
  display: flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.logo.logo--brand:hover {
  text-decoration: none;
}

.logo__img {
  display: block;
  height: clamp(42px, 5.5vw, 56px);
  width: auto;
  max-width: min(220px, 52vw);
  object-fit: contain;
}

.logo__sub {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav a {
  color: var(--c-paper);
  opacity: 0.85;
  border-radius: 8px;
  transition:
    color 0.22s ease,
    opacity 0.22s ease,
    text-shadow 0.28s ease,
    filter 0.28s ease,
    background-color 0.22s ease,
    box-shadow 0.28s ease;
}

.nav a:hover {
  color: var(--c-gold-bright);
  opacity: 1;
  text-shadow:
    0 0 10px rgba(255, 209, 102, 0.55),
    0 0 24px rgba(255, 77, 46, 0.35);
  filter: drop-shadow(0 0 8px rgba(255, 209, 102, 0.45));
}

.nav a.is-active {
  color: var(--c-gold-bright);
  opacity: 1;
  text-shadow:
    0 0 12px rgba(255, 209, 102, 0.65),
    0 0 28px rgba(255, 77, 46, 0.4);
  filter: drop-shadow(0 0 10px rgba(255, 209, 102, 0.55));
}

.nav a.is-active:hover {
  text-shadow:
    0 0 14px rgba(255, 209, 102, 0.75),
    0 0 32px rgba(255, 77, 46, 0.45);
  filter: drop-shadow(0 0 12px rgba(255, 209, 102, 0.6));
}

.nav a:focus-visible {
  outline: 2px solid rgba(255, 209, 102, 0.55);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .nav a,
  .nav a:hover,
  .nav a.is-active,
  .nav a.is-active:hover {
    transition-duration: 0.01ms;
  }

  .nav a:hover,
  .nav a.is-active {
    text-shadow: none;
    filter: none;
  }
}

/* Десктоп: визуальный порядок — логотип · меню · кнопка (в DOM сначала бургер для мобильной сетки) */
@media (min-width: 769px) {
  .header-inner .logo.logo--brand {
    order: 1;
  }

  .header-inner .nav {
    order: 2;
  }

  .header-inner .btn--compact {
    order: 3;
  }
}

/* Кнопка «бургер» — только на мобильных (показ в медиазапросе ниже) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  margin: 0;
  border: 1px solid var(--btn-outline);
  border-radius: var(--radius);
  background: var(--btn-surface);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 77, 46, 0.06) inset;
  transition: var(--btn-transition);
}

.nav-toggle:hover {
  transform: translateY(-1px);
  background: var(--btn-surface-hover);
  border-color: var(--btn-outline-hover);
  box-shadow: var(--btn-icon-glow-hover);
}

.nav-toggle:active {
  transform: translateY(0);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(255, 209, 102, 0.55);
  outline-offset: 2px;
}

.nav-toggle__bar {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 1px;
  background: var(--hpm-gold);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Затемнение под выпадающим меню */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(5, 5, 8, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.nav-backdrop:not([hidden]) {
  display: block;
}

body.is-nav-open {
  overflow: hidden;
}

/* Мобильная шапка: бургер слева · логотип по центру · «Забронировать» справа; меню — выпадающий список */
@media (max-width: 768px) {
  .site-header {
    padding: 0.25rem 0.55rem 0.4rem;
  }

  .header-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.68rem;
    gap: 0.35rem 0.75rem;
    row-gap: 0.28rem;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
    padding-bottom: 0.35rem;
  }

  .header-bar__sep {
    display: none;
  }

  /* Телефон и режим работы — одна строка по центру */
  .header-bar__item:not(.header-bar__item--address) {
    flex: 0 1 auto;
    width: auto;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  .header-bar__item--address {
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
    text-align: center;
    padding-left: 0;
  }

  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    column-gap: 0.45rem;
    row-gap: 0.25rem;
  }

  .header-inner .nav-toggle {
    grid-column: 1;
    grid-row: 1;
    margin-left: 0;
  }

  .header-inner .logo.logo--brand {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    min-width: 0;
  }

  .header-inner .btn--compact {
    grid-column: 3;
    grid-row: 1;
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    line-height: 1.25;
    min-height: 2.75rem;
  }

  .logo__img {
    height: 30px;
    max-width: min(140px, 46vw);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 2;
    max-height: min(70vh, 420px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(180deg, rgba(20, 20, 32, 0.98), rgba(11, 11, 15, 0.99));
    border-bottom: 1px solid var(--hpm-line);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease;
  }

  .site-header.is-nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    flex: 0 0 auto;
    white-space: normal;
    opacity: 1;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a:active {
    background: rgba(255, 77, 46, 0.12);
  }

  .nav a:hover {
    background: rgba(255, 209, 102, 0.06);
    box-shadow: inset 0 0 24px rgba(255, 209, 102, 0.12);
  }

  .nav a.is-active {
    background: rgba(255, 77, 46, 0.1);
    box-shadow:
      inset 0 0 28px rgba(255, 209, 102, 0.14),
      0 0 20px rgba(255, 209, 102, 0.12);
  }

  .nav a.is-active:hover {
    background: rgba(255, 77, 46, 0.14);
  }

  @media (prefers-reduced-motion: reduce) {
    .nav a:hover,
    .nav a.is-active {
      box-shadow: none;
    }
  }
}

/* Hero — первый экран: заголовок и текст (фон общий с body) */
.hero {
  position: relative;
  padding-top: calc(clamp(4.5rem, 10vw, 5.75rem) + 100px);
  padding-right: clamp(1rem, 4vw, 2.5rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
  padding-left: clamp(1rem, 4vw, 2.5rem);
  overflow: hidden;
  background: transparent;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  min-height: clamp(280px, 42vh, 440px);
}

.hero__inner--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__inner--center .hero__text {
  max-width: 42rem;
  margin-inline: auto;
}

.hero__text {
  position: relative;
  z-index: 1;
  min-width: 0;
}

@media (max-width: 900px) {
  .hero__inner {
    min-height: 0;
  }

  .hero {
    padding-top: calc(clamp(3.35rem, 11vw, 4.25rem) + 100px);
  }
}

.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--hpm-gold);
  margin-bottom: 0.75rem;
  font-weight: 800;
  text-shadow:
    0 0 14px rgba(255, 209, 102, 0.5),
    0 0 28px rgba(255, 77, 46, 0.28),
    0 0 42px rgba(255, 77, 46, 0.12);
}

.hero h1:not(.hero__title-logo) {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: var(--c-paper);
  text-shadow:
    0 0 18px rgba(255, 209, 102, 0.38),
    0 0 36px rgba(255, 77, 46, 0.28),
    0 0 56px rgba(255, 77, 46, 0.15),
    0 0 2px rgba(255, 255, 255, 0.12);
}

/* Логотип вместо заголовка: яркое свечение (светлый ореол + золото/красный) для читаемости тёмных деталей PNG */
.hero h1.hero__title-logo {
  margin: 0 0 0.5rem;
  line-height: 0;
  font-size: 0;
  font-weight: 400;
  color: transparent;
  text-shadow: none;
}

.hero__title-logo-img {
  display: block;
  width: min(100%, clamp(220px, 58vw, 440px));
  height: auto;
  margin-inline: auto;
  /* Светлые слои + усиленное золото/красный — чёрный текст логотипа читается на тёмном фоне */
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.98))
    drop-shadow(0 0 5px rgba(255, 252, 248, 0.88))
    drop-shadow(0 0 12px rgba(255, 248, 240, 0.65))
    drop-shadow(0 0 22px rgba(255, 245, 238, 0.42))
    drop-shadow(0 0 20px rgba(255, 209, 102, 0.58))
    drop-shadow(0 0 38px rgba(255, 209, 102, 0.42))
    drop-shadow(0 0 48px rgba(255, 77, 46, 0.4))
    drop-shadow(0 0 72px rgba(255, 77, 46, 0.26))
    drop-shadow(0 0 52px rgba(255, 209, 102, 0.32));
}

.hero__chinese {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--hpm-gold);
  margin: 0 0 1.25rem;
  letter-spacing: 0.2em;
  text-shadow:
    0 0 16px rgba(255, 209, 102, 0.55),
    0 0 32px rgba(255, 77, 46, 0.3),
    0 0 48px rgba(255, 209, 102, 0.12);
}

.hero__lead {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(244, 244, 247, 0.9);
  margin-bottom: 1.35rem;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.55;
}

.hero__inner--center .hero__actions {
  justify-content: center;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Десктоп: выразительная типографика и акценты первого экрана */
@media (min-width: 901px) {
  .hero {
    padding-bottom: clamp(2.25rem, 4.5vw, 3.75rem);
  }

  .hero__inner {
    min-height: clamp(320px, 50vh, 560px);
  }

  .hero__inner--center .hero__text {
    max-width: 52rem;
  }

  .hero__eyebrow {
    font-size: 0.92rem;
    letter-spacing: 0.42em;
    margin-bottom: 1.35rem;
  }

  .hero__eyebrow::after {
    content: "";
    display: block;
    width: min(72px, 18vw);
    height: 2px;
    margin: 1rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.35), var(--hpm-gold), rgba(255, 209, 102, 0.35), transparent);
    box-shadow:
      0 0 16px rgba(255, 209, 102, 0.45),
      0 0 32px rgba(255, 77, 46, 0.2);
  }

  .hero h1:not(.hero__title-logo) {
    font-size: clamp(2.85rem, 4.6vw, 4.15rem);
    line-height: 1.06;
    letter-spacing: 0.03em;
    margin: 0 0 0.65rem;
    text-shadow:
      0 0 22px rgba(255, 209, 102, 0.42),
      0 0 44px rgba(255, 77, 46, 0.32),
      0 0 72px rgba(255, 77, 46, 0.18),
      0 2px 0 rgba(0, 0, 0, 0.25);
  }

  .hero h1.hero__title-logo {
    margin: 0 0 0.65rem;
  }

  .hero__title-logo-img {
    width: min(100%, clamp(280px, 48vw, 440px));
    filter:
      drop-shadow(0 0 1px rgba(255, 255, 255, 1))
      drop-shadow(0 0 7px rgba(255, 252, 248, 0.95))
      drop-shadow(0 0 16px rgba(255, 248, 240, 0.72))
      drop-shadow(0 0 30px rgba(255, 245, 238, 0.48))
      drop-shadow(0 0 26px rgba(255, 209, 102, 0.62))
      drop-shadow(0 0 48px rgba(255, 209, 102, 0.46))
      drop-shadow(0 0 58px rgba(255, 77, 46, 0.46))
      drop-shadow(0 0 88px rgba(255, 77, 46, 0.3))
      drop-shadow(0 0 64px rgba(255, 209, 102, 0.36))
      drop-shadow(0 2px 0 rgba(0, 0, 0, 0.22));
  }

  .hero__chinese {
    font-size: clamp(1.75rem, 2.9vw, 2.65rem);
    margin: 0 0 1.5rem;
    letter-spacing: 0.26em;
    text-shadow:
      0 0 20px rgba(255, 209, 102, 0.6),
      0 0 40px rgba(255, 77, 46, 0.28),
      0 0 56px rgba(255, 209, 102, 0.14);
  }

  .hero__lead {
    max-width: 38rem;
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    line-height: 1.72;
    font-weight: 500;
    letter-spacing: 0.015em;
    color: rgba(248, 248, 252, 0.94);
    margin-bottom: 1.85rem;
  }

  .hero__inner--center .btn--primary {
    padding: 1rem 2.15rem;
    font-size: 0.92rem;
    letter-spacing: 0.06em;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--btn-transition);
}

a.btn {
  text-decoration: none;
}

a.btn--primary,
a.btn--primary:visited {
  color: var(--btn-fg-on-primary);
}

a.btn--primary:hover,
a.btn--primary:focus-visible {
  color: var(--btn-fg-on-primary);
}

.section a.btn--primary,
.section a.btn--primary:visited,
.section a.btn--primary:hover,
.section a.btn--primary:focus-visible {
  color: var(--btn-fg-on-primary);
}

.btn--primary {
  background: linear-gradient(180deg, var(--btn-primary-top), var(--btn-primary-bottom));
  border: 1px solid var(--btn-primary-border);
  color: var(--btn-fg-on-primary);
  box-shadow: var(--btn-primary-glow);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  transform: translateX(-60%) rotate(12deg);
  transition: transform 420ms var(--hpm-ease);
  pointer-events: none;
}

.btn--primary:hover {
  transform: translateY(-1px);
  border-color: var(--btn-primary-border-hover);
  box-shadow: var(--btn-primary-glow-hover);
}

.btn--primary:hover::before {
  transform: translateX(60%) rotate(12deg);
  transition: transform 420ms var(--hpm-ease);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--btn-primary-glow);
}

.btn--primary:focus-visible {
  outline: 2px solid rgba(255, 209, 102, 0.85);
  outline-offset: 3px;
}

.btn--compact {
  padding: 0.55rem 1.15rem;
  font-size: 0.8rem;
}

.btn--block {
  width: 100%;
  margin-top: 0.25rem;
}

/* Секции общие */
.section {
  position: relative;
  padding: clamp(3.5rem, 10vw, 6rem) clamp(1rem, 4vw, 2.5rem);
  color: var(--c-paper);
  background: transparent;
}

.section--stripe {
  background: transparent;
}

.section a {
  color: var(--c-gold-bright);
}

.section a:hover {
  color: var(--c-paper);
}

.section__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.section__head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 400;
  margin: 0 0 0.35rem;
  color: inherit;
  text-shadow:
    0 0 16px rgba(255, 209, 102, 0.42),
    0 0 32px rgba(255, 77, 46, 0.26),
    0 0 48px rgba(255, 77, 46, 0.14),
    0 0 2px rgba(255, 255, 255, 0.1);
}

.section__head .section__chinese {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--hpm-gold);
  letter-spacing: 0.25em;
  margin: 0;
  text-shadow:
    0 0 14px rgba(255, 209, 102, 0.48),
    0 0 28px rgba(255, 77, 46, 0.24),
    0 0 40px rgba(255, 209, 102, 0.1);
}

.section__head .section__desc {
  max-width: 38rem;
  margin: 0.85rem auto 0;
  font-size: clamp(0.95rem, 2.1vw, 1.05rem);
  line-height: 1.55;
  color: rgba(244, 244, 247, 0.72);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.section__cta {
  text-align: center;
  margin: 2.5rem 0 0;
}

.section__divider {
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--hpm-gold), transparent);
  margin: 1rem auto 0;
  border: none;
}

/* Сетка «о ресторане» */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.about-text p {
  margin: 0 0 1rem;
  color: rgba(244, 244, 247, 0.88);
}

.about-text strong {
  color: var(--hpm-text);
}

.about-text > .btn {
  margin-top: 1.35rem;
}

/* Фото-блок — как карточки в меню (картинка вплотную к обводке, без «паспарту») */
.photo-frame {
  position: relative;
  border: 1px solid var(--hpm-photo-border);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  background-color: var(--hpm-card);
  box-shadow: var(--hpm-shadow);
}

.photo-frame img {
  width: 100%;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.photo-frame--wide img {
  aspect-ratio: 16 / 9;
}

.photo-frame--square img {
  aspect-ratio: 1 / 1;
}

figure.photo-block {
  margin: 0;
}

.photo-block figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--c-muted);
  text-align: center;
}


/* Как это работает */
.steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  height: 100%;
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--hpm-card2);
  border: 1px solid var(--hpm-line);
  border-radius: var(--radius-lg);
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--hpm-gold);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--c-paper);
}

.step-card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--c-muted);
}

.step-card__photo {
  margin-top: auto;
  padding-top: 0;
  width: 100%;
}

/* Высота превью задаётся рамкой (не img), чтобы в ряду все блоки были одинаковые */
.step-card__photo.photo-frame {
  display: grid;
  grid-template: 1fr / 1fr;
  flex-shrink: 0;
  box-sizing: border-box;
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.step-card__photo.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: unset;
  object-fit: cover;
  display: block;
}

/* Меню — карточки с фото */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 600px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.menu-card {
  background: var(--hpm-card2);
  border: 1px solid var(--hpm-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.16s var(--hpm-ease), border-color 0.16s var(--hpm-ease), box-shadow 0.16s var(--hpm-ease);
}

.menu-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 209, 102, 0.22);
  box-shadow: 0 0 0 1px rgba(255, 77, 46, 0.1) inset, 0 0 26px rgba(255, 77, 46, 0.12);
}

.menu-card__img {
  position: relative;
}

.menu-card__img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.menu-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.menu-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 0.35rem;
  color: var(--c-paper);
}

.menu-card__body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--c-muted);
}

/* Отзывы — фон общий с body, без отдельной «подложки» */
.section--reviews {
  background: transparent;
}

.section--reviews .section__head {
  margin-bottom: clamp(1.35rem, 3.5vw, 1.85rem);
}

.section--reviews .section__head + .reviews-badges {
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto clamp(1.25rem, 3.5vw, 1.75rem);
  justify-content: center;
  align-content: center;
  text-align: center;
  padding: clamp(0.75rem, 2.2vw, 1.1rem) clamp(1rem, 3vw, 1.5rem);
  background: linear-gradient(
    165deg,
    rgba(20, 20, 32, 0.92) 0%,
    rgba(25, 25, 42, 0.88) 50%,
    rgba(18, 18, 28, 0.9) 100%
  );
  border: 1px solid var(--hpm-line);
  border-radius: var(--radius-lg);
  box-shadow:
    0 0 0 1px rgba(255, 209, 102, 0.08) inset,
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.section--reviews .reviews-grid {
  margin-top: clamp(0.35rem, 1.5vw, 0.65rem);
}

.reviews-footer {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.35rem);
}

.reviews-footer__cta {
  margin: 0;
}

.reviews-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 0.65rem 0.85rem;
  max-width: 960px;
}

.reviews-badges__divider {
  margin-top: 0;
  margin-bottom: 0;
  width: 100%;
}

.reviews-footer .reviews-badges__divider {
  margin-bottom: clamp(0.35rem, 1.5vw, 0.65rem);
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem 0.65rem;
  padding: 0.35rem 0.5rem 0.35rem 0.25rem;
  border-radius: 14px;
  text-decoration: none;
  color: rgba(244, 244, 247, 0.92);
  background: transparent;
  border: none;
  box-shadow: none;
  font-family: var(--font-body, system-ui, sans-serif);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.reviews-badge:hover {
  transform: translateY(-1px);
  color: #fff;
}

.reviews-badge:focus-visible {
  outline: 2px solid rgba(255, 209, 102, 0.85);
  outline-offset: 3px;
}

.section--reviews .reviews-badge,
.section--reviews .reviews-badge:visited {
  color: rgba(244, 244, 247, 0.92);
}

.reviews-badge__gfx {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.reviews-badge__icon-img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.reviews-badge__icon-img--yandex {
  width: 24px;
  height: 24px;
}

.reviews-badge__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(244, 244, 247, 0.72);
  letter-spacing: 0.01em;
}

.reviews-badge__rating {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.95);
  margin-left: 0.15rem;
}

.reviews-grid {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding-bottom: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.reviews-grid::-webkit-scrollbar {
  height: 5px;
}

.reviews-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 4px;
}

.reviews-grid .review-card {
  flex: 0 0 calc((100% - 0.65rem) / 1.5);
  scroll-snap-align: start;
  min-height: auto;
}

@media (min-width: 720px) {
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
    align-items: stretch;
    overflow-x: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }

  .reviews-grid .review-card {
    flex: none;
    min-height: 100%;
  }
}

.review-card {
  margin: 0;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--hpm-line);
  background: linear-gradient(165deg, rgba(25, 25, 42, 0.92), rgba(15, 15, 22, 0.88));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 209, 102, 0.06) inset;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.review-card::before {
  content: "“";
  position: absolute;
  top: 0.6rem;
  right: 1rem;
  font-family: var(--font-display, Georgia, serif);
  font-size: 3.25rem;
  line-height: 1;
  color: rgba(255, 209, 102, 0.14);
  pointer-events: none;
}

.review-card__stars {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--hpm-gold, #ffd166);
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.review-card__text {
  margin: 0 0 1.15rem;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(244, 244, 247, 0.9);
}

.review-card__footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.review-card__map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.review-card__map-link:hover {
  transform: translateY(-1px);
}

.review-card__map-link:focus-visible {
  outline: 2px solid rgba(255, 209, 102, 0.85);
  outline-offset: 3px;
}

.review-card__map-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.review-card__author {
  font-style: normal;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--c-paper);
}

/* Галерея */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1000px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--hpm-photo-border);
  padding: 0;
}

.gallery__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 699px) {
  .gallery__item--large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 140px;
  margin: 0;
  padding: 0;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item--large img {
  min-height: 280px;
}

/* Праздник с компанией */
.celebration-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 700px) {
  .celebration-stack {
    gap: 2.5rem;
  }
}

.celebration-text__body p {
  margin: 0 0 1rem;
  color: rgba(244, 244, 247, 0.88);
}

.celebration-text__body p:last-child {
  margin-bottom: 0;
}

.celebration-stack__cta {
  margin: 0;
}

.gallery.celebration-gallery {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 0.5rem;
}

@media (min-width: 700px) {
  .gallery.celebration-gallery {
    gap: 1rem;
  }
}

.gallery.celebration-gallery .gallery__item img {
  min-height: 88px;
  aspect-ratio: 1;
}

@media (min-width: 480px) {
  .gallery.celebration-gallery .gallery__item img {
    min-height: 110px;
  }
}

/* Контакты */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr 2.35fr;
    align-items: start;
  }
}

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

.contact-list li {
  margin-bottom: 1rem;
  padding-left: 0;
}

.contact-list strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hpm-gold);
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.contact__cta {
  margin: 1.5rem 0 0;
}

.map-frame {
  position: relative;
  border: 1px solid var(--hpm-photo-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  padding: 0;
  background: var(--hpm-card);
}

.map-frame__embed {
  width: 100%;
  min-height: 280px;
}

.map-frame--has-map .map-frame__embed {
  min-height: 400px;
}

.map-frame__embed:empty {
  min-height: 0;
}

.map-frame__map-edit-trigger {
  display: none;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 6;
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  color: var(--btn-fg-on-primary);
  background: linear-gradient(180deg, var(--btn-primary-top), var(--btn-primary-bottom));
  border: 1px solid var(--btn-primary-border);
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--btn-primary-glow);
  transition: var(--btn-transition);
}

.map-frame__map-edit-trigger:hover {
  transform: translateY(-1px);
  border-color: var(--btn-primary-border-hover);
  box-shadow: var(--btn-primary-glow-hover);
}

.map-frame__map-edit-trigger:active {
  transform: translateY(0);
  box-shadow: var(--btn-primary-glow);
}

body.is-fuzu-edit .map-frame__map-edit-trigger {
  display: block;
}

/* Подвал */
.site-footer {
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
  border-top: 1px solid var(--hpm-line);
  text-align: center;
  font-size: 0.88rem;
  color: var(--hpm-muted);
}

.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .site-footer {
    text-align: left;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
    align-items: center;
  }

  .site-footer__col--meta {
    text-align: right;
  }
}

/* Подвал: PNG-логотип + общее свечение (effects.css + ореол) */
.site-footer__logo-block {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}

.site-footer__logo-block::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(320px, 92vw);
  height: 140px;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse 75% 60% at 50% 45%,
    rgba(255, 209, 102, 0.28) 0%,
    rgba(255, 77, 46, 0.12) 42%,
    transparent 68%
  );
  pointer-events: none;
  z-index: 0;
}

.site-footer .logo.logo--brand {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.site-footer .logo__img {
  height: clamp(44px, 6vw, 64px);
  max-width: min(260px, 88vw);
}

@media (min-width: 640px) {
  .site-footer__logo-block {
    align-items: flex-start;
  }

  .site-footer__logo-block::before {
    left: 0;
    transform: translate(0, -50%);
    width: min(320px, 100%);
  }
}

.site-footer__cta {
  margin: 1.25rem 0 0;
}

.site-footer__copyright {
  margin: 0;
}

.site-footer__credit {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--hpm-muted);
}

.site-footer__credit-link {
  color: var(--hpm-gold, #ffd166);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.25s ease;
}

.site-footer__credit-link:hover {
  color: #ffe08a;
  text-shadow: 0 0 12px rgba(255, 209, 102, 0.45);
}

.site-footer__credit-link:focus-visible {
  outline: 2px solid rgba(255, 209, 102, 0.55);
  outline-offset: 3px;
}

.contact-list li > span {
  display: block;
  margin-top: 0.2rem;
}

/* Текстовая страница (согласие и др.) */
.legal-page {
  padding-top: calc(clamp(4.5rem, 10vw, 5.75rem) + 2.5rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  min-height: 50vh;
}

.legal-page__inner {
  max-width: 42rem;
}

.legal-page__head {
  text-align: left;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.65rem);
  font-weight: 400;
  margin: 0 0 0.35rem;
  color: var(--hpm-text);
  text-shadow:
    0 0 12px rgba(255, 209, 102, 0.35),
    0 0 24px rgba(255, 77, 46, 0.18);
}

.legal-page__body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--c-muted);
}

.legal-page__body p {
  margin: 0 0 1rem;
}

.legal-page__body p:last-child {
  margin-bottom: 0;
}

.legal-page__body strong {
  color: var(--hpm-text);
  font-weight: 700;
}

.legal-page__back {
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
}

@media (max-width: 900px) {
  .legal-page {
    padding-top: calc(clamp(3.35rem, 11vw, 4.25rem) + 2.25rem);
  }
}

/* Попап бронирования */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.booking-modal[hidden] {
  display: none;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}

.booking-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--hpm-card2);
  border: 1px solid var(--hpm-line);
  border-radius: 20px;
  box-shadow: var(--hpm-shadow), 0 0 0 1px rgba(255, 92, 61, 0.14), 0 0 46px 18px rgba(255, 176, 102, 0.12);
}

.booking-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid var(--btn-outline);
  background: var(--btn-surface);
  color: var(--hpm-gold);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(255, 77, 46, 0.06) inset;
  transition: var(--btn-transition);
}

.booking-modal__close:hover {
  transform: translateY(-1px);
  color: var(--hpm-text);
  background: var(--btn-surface-hover);
  border-color: var(--btn-outline-hover);
  box-shadow: var(--btn-icon-glow-hover);
}

.booking-modal__close:active {
  transform: translateY(0);
}

.booking-modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 2rem 0.5rem 0;
  color: var(--hpm-text);
  text-shadow:
    0 0 12px rgba(255, 209, 102, 0.35),
    0 0 24px rgba(255, 77, 46, 0.18);
}

.booking-modal__hint {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  color: var(--c-muted);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.booking-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.booking-form__label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hpm-gold);
  font-weight: 800;
}

.booking-form input {
  width: 100%;
  padding: 12px 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--hpm-text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hpm-line);
  border-radius: 12px;
  transition: border-color 0.16s var(--hpm-ease), box-shadow 0.16s var(--hpm-ease);
}

.booking-form input::placeholder {
  color: var(--hpm-muted);
}

.booking-form input:focus {
  outline: none;
  border-color: rgba(255, 209, 102, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 209, 102, 0.15) inset, 0 0 28px rgba(255, 209, 102, 0.12), 0 0 0 4px rgba(255, 77, 46, 0.1);
}

.booking-form__consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--c-muted);
}

.booking-form__consent input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--hpm-gold);
  cursor: pointer;
}

.booking-form__consent-text a {
  color: var(--hpm-gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.booking-form__consent-text a:hover {
  color: var(--hpm-text);
}

.booking-modal__msg {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--hpm-text);
  background: rgba(255, 77, 46, 0.12);
  border: 1px solid rgba(255, 77, 46, 0.35);
  border-radius: 14px;
}

/* После отправки — только благодарность, без формы и заголовка */
.booking-modal__panel.is-success .booking-modal__title,
.booking-modal__panel.is-success .booking-modal__hint,
.booking-modal__panel.is-success .booking-form {
  display: none;
}

.booking-modal__panel.is-success .booking-modal__msg {
  margin-top: 0;
}

/* Просмотр фото на весь экран */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  padding-top: max(clamp(0.75rem, 3vw, 1.5rem), env(safe-area-inset-top, 0px));
  padding-bottom: max(clamp(0.75rem, 3vw, 1.5rem), env(safe-area-inset-bottom, 0px));
}

.image-lightbox[hidden] {
  display: none;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

.image-lightbox__close {
  position: absolute;
  top: max(0.5rem, env(safe-area-inset-top, 0px));
  right: max(0.5rem, env(safe-area-inset-right, 0px));
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--btn-outline);
  border-radius: 50%;
  background: var(--btn-surface);
  color: var(--hpm-gold);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 77, 46, 0.06) inset;
  transition: var(--btn-transition);
}

.image-lightbox__close:hover {
  transform: translateY(-1px);
  background: var(--btn-surface-hover);
  border-color: var(--btn-outline-hover);
  color: var(--hpm-text);
  box-shadow: var(--btn-icon-glow-hover);
}

.image-lightbox__close:active {
  transform: translateY(0);
}

.image-lightbox__frame {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1400px);
  max-height: min(92vh, 1200px);
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(92vh, 1200px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(255, 209, 102, 0.2),
    0 24px 64px rgba(0, 0, 0, 0.55);
}

body:not(.is-fuzu-edit) .gallery__item img,
body:not(.is-fuzu-edit) figure.photo-block img,
body:not(.is-fuzu-edit) .step-card__photo img,
body:not(.is-fuzu-edit) .menu-card__img img {
  cursor: zoom-in;
}

/* Кнопка «наверх» — тот же акцент, что у .btn--primary */
.scroll-top {
  position: fixed;
  z-index: 400;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--btn-primary-border);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--btn-primary-top), var(--btn-primary-bottom));
  color: var(--btn-fg-on-primary);
  cursor: pointer;
  box-shadow: var(--btn-primary-glow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  overflow: hidden;
  transition:
    opacity 0.28s var(--hpm-ease),
    visibility 0.28s var(--hpm-ease),
    transform 0.28s var(--hpm-ease),
    border-color 0.16s var(--hpm-ease),
    box-shadow 0.28s var(--hpm-ease);
}

.scroll-top::before {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  transform: translateX(-60%) rotate(12deg);
  transition: transform 420ms var(--hpm-ease);
  pointer-events: none;
}

.scroll-top svg {
  position: relative;
  z-index: 1;
}

.scroll-top.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  box-shadow: var(--btn-primary-glow), var(--shadow-soft);
}

.scroll-top.scroll-top--visible:hover {
  transform: translateY(-1px);
  border-color: var(--btn-primary-border-hover);
  box-shadow: var(--btn-primary-glow-hover), var(--shadow-soft);
}

.scroll-top.scroll-top--visible:hover::before {
  transform: translateX(60%) rotate(12deg);
}

.scroll-top:active {
  transform: translateY(1px);
}

.scroll-top.scroll-top--visible:active {
  transform: translateY(1px);
  box-shadow: var(--btn-primary-glow);
}

.scroll-top.scroll-top--visible:active::before {
  transform: translateX(-60%) rotate(12deg);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: none;
  }
}

/* Доступность: фокус */
:focus-visible {
  outline: 2px solid var(--hpm-gold);
  outline-offset: 3px;
}
