/* =======================================================================
   ГАЛӘМ — кальян-бар · вселенная вкуса
   Космос × татарский орнамент × luxury
   Палитра: глубокое индиго + фиолетовая туманность + татарское золото
   ======================================================================= */

:root {
  /* — Шрифты — */
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* — Космос (фон) — */
  --bg:        #070617;
  --bg-top:    #0b0824;
  --bg-bottom: #050410;
  --violet:    #6E5BD0;
  --violet-2:  #8E78F0;

  /* — Татарское золото — */
  --gold-1: #F8E7B0;
  --gold-2: #D4AF37;
  --gold-3: #9A7320;
  --grad-gold: linear-gradient(135deg, #F8E7B0 0%, #E7C463 28%, #D4AF37 56%, #A9802A 100%);
  --gold-soft: rgba(212, 175, 55, 0.5);

  /* — Свет звёзд (текст) — */
  --ink:    #EFEBFC;
  --muted:  rgba(239, 235, 252, 0.66);
  --faint:  rgba(239, 235, 252, 0.40);

  /* — Поверхности и линии — */
  --surface:      rgba(20, 16, 48, 0.46);
  --surface-2:    rgba(255, 255, 255, 0.028);
  --hairline:     rgba(212, 175, 55, 0.24);
  --hairline-2:   rgba(212, 175, 55, 0.42);
  --hairline-cool:rgba(239, 235, 252, 0.10);

  /* — Прочее — */
  --nav-h: 78px;
  --maxw: 1180px;
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================== СБРОС / БАЗА ===================== */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 820px at 80% -10%, rgba(110, 91, 208, 0.30), transparent 60%),
    radial-gradient(900px 720px at 8% 6%,    rgba(60, 44, 128, 0.34), transparent 56%),
    radial-gradient(1500px 1000px at 50% 122%, rgba(212, 175, 55, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg) 42%, var(--bg-bottom) 100%);
  background-attachment: fixed;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; color: var(--gold-1); font-weight: 500; }

::selection { background: rgba(212, 175, 55, 0.28); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Скроллбар */
* { scrollbar-width: thin; scrollbar-color: var(--gold-3) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-bottom); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold-3), var(--gold-2));
  border-radius: 10px;
  border: 2px solid var(--bg-bottom);
}

/* ===================== СЛОИ АТМОСФЕРЫ ===================== */
#space {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(125% 100% at 50% 28%, transparent 52%, rgba(3, 2, 12, 0.62) 100%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-3%, 2%); }
  80% { transform: translate(4%, 1%); }
}

/* ===================== УТИЛИТЫ ===================== */
.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===================== НАВИГАЦИЯ ===================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 4rem);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease),
              border-color 0.5s var(--ease), height 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  height: 64px;
  background: rgba(7, 6, 23, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--hairline-cool);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 51;
}
.nav__star {
  width: 28px;
  height: 28px;
  transition: transform 0.7s var(--ease);
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.35));
}
.nav__logo:hover .nav__star { transform: rotate(90deg) scale(1.08); }
.nav__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
}
.nav__links > a:not(.btn) {
  position: relative;
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0.4rem 0;
  transition: color 0.35s var(--ease);
}
.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links > a:not(.btn):hover,
.nav__links > a.is-active { color: var(--ink); }
.nav__links > a:not(.btn):hover::after,
.nav__links > a.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.4rem; }

/* Бургер */
.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  z-index: 51;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav__burger span {
  display: block;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-1);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== КНОПКИ ===================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease);
}
.btn:hover::before { left: 130%; }

.btn--gold {
  background: var(--grad-gold);
  color: #14102b;
  font-weight: 600;
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px -12px rgba(212, 175, 55, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn--ghost {
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid var(--hairline-2);
  color: var(--gold-1);
}
.btn--ghost:hover {
  transform: translateY(-3px);
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-2);
  box-shadow: 0 12px 30px -14px rgba(212, 175, 55, 0.5);
}
.nav__cta.btn { padding: 0.6rem 1.3rem; font-size: 0.88rem; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) 1.25rem 5rem;
  scroll-margin-top: var(--nav-h);
  overflow: hidden;
}

.hero__star {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(118vmin, 1000px);
  aspect-ratio: 1;
  transform: translate(-50%, -52%);
  opacity: 0.5;
  pointer-events: none;
  animation: spin 90s linear infinite;
}
.hero__star::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 62%);
  filter: blur(8px);
}
.hero__star svg { width: 100%; height: 100%; overflow: visible; }
@keyframes spin { to { transform: translate(-50%, -52%) rotate(360deg); } }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero__kicker {
  font-size: clamp(0.7rem, 1.4vw, 0.82rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}
.hero__kicker::before,
.hero__kicker::after {
  content: "";
  width: clamp(20px, 6vw, 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2));
}
.hero__kicker::after { background: linear-gradient(90deg, var(--gold-2), transparent); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.92;
  margin-bottom: 1.3rem;
}
.hero__title-line {
  display: inline-block;
  font-size: clamp(4rem, 17vw, 13rem);
  letter-spacing: 0.04em;
  background: var(--grad-gold);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 6px 40px rgba(212, 175, 55, 0.28));
  animation: shimmer 9s linear infinite;
}
@keyframes shimmer { to { background-position: 220% center; } }

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.3rem, 3.6vw, 2.2rem);
  color: var(--ink);
  margin-bottom: 1rem;
}
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  max-width: 30rem;
  margin: 0 auto 2.4rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}
.hero__scroll-dot {
  width: 22px;
  height: 36px;
  border: 1px solid var(--hairline-2);
  border-radius: 14px;
  position: relative;
}
.hero__scroll-dot::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold-1);
  animation: scrollDot 1.9s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(13px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
.hero__scroll-text {
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ===================== СЕКЦИИ (общее) ===================== */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 9vw, 8.5rem) clamp(1.25rem, 5vw, 4rem);
  scroll-margin-top: var(--nav-h);
  text-align: center;
}
.section > * {
  max-width: var(--maxw);
  margin-inline: auto;
}

.section__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-2);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.section__kicker::before,
.section__kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-2));
}
.section__kicker::after { background: linear-gradient(90deg, var(--gold-2), transparent); }

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  max-width: 20ch;
  margin: 0 auto clamp(2.2rem, 5vw, 3.4rem);
}

/* Орнаментальный разделитель */
.ornament-divider {
  max-width: clamp(220px, 42vw, 340px) !important;
  margin: 0 auto clamp(1.6rem, 4vw, 2.6rem);
}
.ornament-divider svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.2));
}

/* ===================== О НАС ===================== */
.about__inner { text-align: center; }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3.2rem);
  text-align: left;
  max-width: 940px;
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}
.about__lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}
.about__text {
  font-size: 1.04rem;
  color: var(--muted);
  align-self: center;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.feature {
  position: relative;
  padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.3rem, 2.5vw, 1.9rem);
  border: 1px solid var(--hairline-cool);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.feature::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  width: 160%;
  height: 120%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.feature:hover {
  transform: translateY(-6px);
  border-color: var(--hairline);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.8);
}
.feature:hover::before { opacity: 1; }
.feature__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.2rem;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
  transition: transform 0.6s var(--ease);
}
.feature:hover .feature__icon { transform: rotate(45deg) scale(1.05); }
.feature h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.feature p {
  font-size: 0.96rem;
  color: var(--muted);
}

/* ===================== МЕНЮ ===================== */
.menu__cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2rem);
  text-align: left;
}
.menu-cat {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.05), var(--surface));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.menu-cat:hover {
  transform: translateY(-5px);
  border-color: var(--hairline-2);
  box-shadow: 0 28px 56px -30px rgba(0, 0, 0, 0.85);
}
.menu-cat__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline-cool);
}
.menu-cat__star {
  color: var(--gold-2);
  font-size: 1rem;
  filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
}

.menu-list li {
  display: grid;
  grid-template-columns: max-content 1fr max-content;
  align-items: baseline;
  column-gap: 0.7rem;
  padding: 0.7rem 0;
}
.menu-list li::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-bottom: 0.32em;
  border-bottom: 1px dotted rgba(212, 175, 55, 0.4);
}
.menu-list__name {
  grid-column: 1;
  grid-row: 1;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
}
.menu-list__price {
  grid-column: 3;
  grid-row: 1;
  font-weight: 600;
  font-size: 1.02rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.menu-list__desc {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.86rem;
  color: var(--faint);
  letter-spacing: 0.01em;
  margin-top: 0.15rem;
}

.menu__note {
  margin-top: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
}

/* ===================== ГАЛЕРЕЯ ===================== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  grid-auto-flow: dense;
  gap: clamp(0.7rem, 1.6vw, 1.1rem);
}
.gallery__item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline-cool);
  cursor: pointer;
  isolation: isolate;
  transition: transform 0.55s var(--ease), border-color 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* Космические «иллюминаторы» — разные туманности */
.gallery__item::after {
  content: attr(data-ph);
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 1.1rem 1.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(0deg, rgba(5, 4, 16, 0.78) 0%, transparent 55%);
  transition: opacity 0.4s var(--ease);
}
.gallery__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover, cover, 100% 100%;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}
.gallery__item:nth-child(1)::before {
  background:
    radial-gradient(60% 60% at 30% 25%, rgba(142, 120, 240, 0.55), transparent 60%),
    radial-gradient(50% 50% at 75% 80%, rgba(212, 175, 55, 0.35), transparent 60%),
    linear-gradient(150deg, #1a1240, #0a0820);
}
.gallery__item:nth-child(2)::before {
  background:
    radial-gradient(70% 70% at 60% 30%, rgba(212, 175, 55, 0.5), transparent 62%),
    linear-gradient(150deg, #2a1d10, #0a0820);
}
.gallery__item:nth-child(3)::before {
  background:
    radial-gradient(70% 70% at 40% 60%, rgba(80, 160, 200, 0.5), transparent 62%),
    linear-gradient(150deg, #0c1f33, #0a0820);
}
.gallery__item:nth-child(4)::before {
  background:
    radial-gradient(50% 80% at 70% 40%, rgba(190, 90, 160, 0.45), transparent 62%),
    radial-gradient(40% 40% at 20% 70%, rgba(212, 175, 55, 0.3), transparent 60%),
    linear-gradient(150deg, #2a1230, #0a0820);
}
.gallery__item:nth-child(5)::before {
  background:
    radial-gradient(60% 60% at 50% 35%, rgba(110, 91, 208, 0.45), transparent 62%),
    linear-gradient(150deg, #141038, #0a0820);
}
.gallery__item:hover {
  transform: scale(0.985);
  border-color: var(--hairline-2);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.gallery__item:hover::before { transform: scale(1.08); filter: brightness(1.15); }

.gallery__hint {
  margin-top: 1.4rem;
  font-size: 0.84rem;
  color: var(--faint);
}

/* ===================== КОНТАКТЫ ===================== */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  text-align: left;
  align-items: stretch;
}
.contacts__info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.contacts__row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--hairline-cool);
}
.contacts__label {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
  padding-top: 0.25rem;
}
.contacts__val {
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.5;
}
.contacts__val small { color: var(--faint); font-size: 0.8rem; }
.contacts__val a { transition: color 0.3s; }
.contacts__val a:hover { color: var(--gold-1); }

.contacts__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.social {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--hairline);
  border-radius: 100px;
  font-size: 0.86rem;
  color: var(--muted);
  transition: all 0.35s var(--ease);
}
.social:hover {
  border-color: var(--gold-2);
  color: var(--gold-1);
  transform: translateY(-2px);
}
.contacts__info .btn { margin-top: 0.4rem; align-self: flex-start; }

/* Карта-«радар» */
.contacts__map {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background:
    radial-gradient(circle at 50% 50%, rgba(110, 91, 208, 0.18), transparent 60%),
    linear-gradient(150deg, #0d0a26, #070617);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contacts__map::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 6, 23, 0.08), rgba(7, 6, 23, 0.24));
  z-index: 1;
}
.contacts__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.72) contrast(1.08) brightness(0.86);
}
.contacts__map-link {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--gold-soft);
  background: rgba(7, 6, 23, 0.78);
  color: var(--gold-1);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contacts__map-link:hover { transform: translateY(-2px); border-color: var(--gold-1); }
.contacts__map-star {
  position: relative;
  width: 84px;
  height: 84px;
  animation: spin 40s linear infinite;
}
.contacts__map-star::after {
  content: "";
  position: absolute;
  inset: -40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.3), transparent 60%);
  animation: pulse 3s var(--ease) infinite;
}
.contacts__map-star svg { width: 100%; height: 100%; }
@keyframes pulse {
  0%, 100% { transform: scale(0.85); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
}

/* ===================== ПОДВАЛ ===================== */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 1.25rem clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--hairline-cool);
}
.footer .ornament-divider { margin-bottom: clamp(2rem, 4vw, 3rem); }
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}
.footer__logo svg {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
}
.footer__logo span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  padding-left: 0.2em;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.footer__tag {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.4rem;
}
.footer__copy {
  font-size: 0.84rem;
  color: var(--faint);
}

/* ===================== АДАПТИВ ===================== */
@media (max-width: 980px) {
  .about__features { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .menu__cats { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
}

@media (max-width: 880px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 5rem 2rem;
    background: rgba(7, 6, 23, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.6s var(--ease), opacity 0.5s var(--ease), visibility 0.6s;
  }
  .nav--open .nav__links {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  /* Важно: backdrop-filter на навбаре делает его containing-block для
     fixed-потомков и ломает полноэкранное меню. Снимаем его на время. */
  .nav--open,
  .nav--open.nav--scrolled {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: transparent;
  }
  .nav__links > a:not(.btn) { font-size: 1.4rem; font-family: var(--font-display); }
  .nav__cta { margin-left: 0; }
  .nav__cta.btn { font-size: 1rem; padding: 0.85rem 2rem; }
}

@media (max-width: 720px) {
  .about__grid { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
}

@media (max-width: 460px) {
  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .contacts__row { grid-template-columns: 1fr; gap: 0.3rem; }
  .menu-cat__title { font-size: 1.3rem; }
}

/* ===================== ДОСТУПНОСТЬ: меньше движения ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__star { opacity: 0.35; }
}

/* ===================== БРОНЬ — МОДАЛКА ===================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(7, 6, 23, 0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.is-open { opacity: 1; pointer-events: all; }
.modal {
  background: linear-gradient(160deg, #0F0C2A 0%, #1A1538 50%, #0F0C2A 100%);
  border: 1px solid var(--gold-soft);
  border-radius: 1rem; padding: 2.2rem 2rem;
  max-width: 420px; width: 90%; max-height: 90vh; overflow-y: auto;
  position: relative;
  box-shadow: 0 0 60px rgba(212, 175, 55, 0.15);
}
.modal__close {
  position: absolute; top: 0.6rem; right: 1rem;
  background: none; border: none; color: var(--muted);
  font-size: 2rem; cursor: pointer; line-height: 1;
}
.modal__close:hover { color: var(--gold-2); }
.modal__title {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--gold-2); margin: 0 0 1.5rem; text-align: center;
}
.modal__form { display: flex; flex-direction: column; gap: 0.9rem; }
.modal__input {
  background: rgba(239, 235, 252, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 0.6rem; padding: 0.8rem 1rem;
  color: var(--ink); font-family: var(--font-body); font-size: 0.95rem;
  transition: border-color 0.2s;
}
.modal__input::placeholder { color: var(--faint); }
.modal__input:focus { outline: none; border-color: var(--gold-2); }
.modal__textarea { resize: vertical; min-height: 3rem; }
.modal__submit { width: 100%; margin-top: 0.3rem; }
.modal__status { text-align: center; font-size: 0.9rem; min-height: 1.5rem; margin: 0; color: var(--muted); }
.modal__status.is-ok { color: #6FCF97; }
.modal__status.is-err { color: #E86A6A; }
