/* ============================================================
   «СЕВЕР» — демо-сайт кофейни. Тёмный дизайн, самостоятельная
   реализация: никаких внешних шрифтов, картинок и фреймворков.
   ============================================================ */

:root {
  --bg: #06080c;
  --bg-2: #0b0e15;
  --panel: #10141d;
  --panel-2: #141927;
  --line: rgba(148, 160, 190, 0.14);
  --line-strong: rgba(148, 160, 190, 0.28);
  --text: #eef1f7;
  --muted: #98a2b8;
  --muted-2: #6b7488;
  --accent: #6ee7d8;
  --accent-2: #8b7bff;
  --accent-soft: rgba(110, 231, 216, 0.14);
  --danger: #ff6b81;
  --ok: #4ade9e;
  --grad: linear-gradient(100deg, #6ee7d8, #8b7bff 60%, #b48cff);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --head-h: 72px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(139, 123, 255, 0.10), transparent 62%),
    radial-gradient(900px 480px at 8% 4%, rgba(110, 231, 216, 0.07), transparent 60%),
    var(--bg);
  min-height: 100vh;
  overflow-x: clip;
}

/* Зерно поверх всего — тонкий шум, добавляет «ткани» фону */
.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.05;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><filter id="g"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/></filter><rect width="180" height="180" filter="url(%23g)" opacity="0.6"/></svg>');
  background-size: 180px 180px;
}

h1, h2, h3, p, dl, dd, dt, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transform: translateY(-64px);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.wrap {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- Типографика-модули ---------- */
.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.display {
  font-size: clamp(40px, 7vw, 74px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 760;
  text-wrap: balance;
}
.display em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted);
  max-width: 54ch;
  margin-top: 22px;
}

.sec-title {
  font-size: clamp(27px, 4.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 720;
  text-wrap: balance;
}
.sec-sub {
  color: var(--muted);
  max-width: 58ch;
  margin-top: 14px;
}
.sec-head { margin-bottom: 44px; max-width: 720px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 13px;
  font-size: 15.5px;
  font-weight: 620;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              border-color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-solid {
  color: #07110f;
  background: linear-gradient(135deg, #7ff0e2, #8b7bff);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 10px 34px -12px rgba(110, 231, 216, 0.55);
}
.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 16px 44px -12px rgba(139, 123, 255, 0.6);
}
.btn-solid:active { transform: translateY(0); }
.btn-ghost {
  color: var(--text);
  background: rgba(148, 160, 190, 0.06);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: rgba(148, 160, 190, 0.5);
  background: rgba(148, 160, 190, 0.10);
  transform: translateY(-1px);
}
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; border-radius: 11px; }
.btn-block { width: 100%; }

/* ---------- Шапка ---------- */
.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-head.scrolled {
  background: rgba(6, 8, 12, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.head-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--head-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 780;
  letter-spacing: 0.16em;
}
.brand-mark { width: 30px; height: 30px; }
.brand-text { font-size: 15px; }
.demo-badge {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(110, 231, 216, 0.4);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 9px;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 26px; }
.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 15px;
  padding: 6px 2px;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transition: right 0.3s var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { right: 40%; }
.nav-link.active { color: var(--text); }
.nav-link.active::after { right: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(148, 160, 190, 0.06);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle-box { display: grid; gap: 6px; width: 20px; }
.nav-toggle-box span {
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Главный экран ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--head-h) + clamp(56px, 10vh, 110px));
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
  padding-bottom: clamp(48px, 8vh, 90px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 38px);
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.fact dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 3px;
}
.fact dd { font-size: 15px; font-weight: 600; }

/* Иллюстрация: сияние + чашка */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  aspect-ratio: 1;
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
}
.art-glow {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 123, 255, 0.16), rgba(110, 231, 216, 0.05) 55%, transparent 75%);
  filter: blur(6px);
}
.aurora { position: absolute; inset: 0; overflow: visible; }
.aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.5;
  will-change: transform;
}
.aurora .a1 {
  width: 68%; height: 44%;
  top: 4%; left: 6%;
  background: radial-gradient(closest-side, rgba(52, 227, 200, 0.6), transparent 70%);
  animation: drift1 17s ease-in-out infinite alternate;
}
.aurora .a2 {
  width: 62%; height: 42%;
  top: 16%; right: 0;
  background: radial-gradient(closest-side, rgba(139, 123, 255, 0.55), transparent 70%);
  animation: drift2 21s ease-in-out infinite alternate;
}
.aurora .a3 {
  width: 48%; height: 34%;
  bottom: 2%; left: 22%;
  background: radial-gradient(closest-side, rgba(110, 180, 255, 0.35), transparent 70%);
  animation: drift3 25s ease-in-out infinite alternate;
}
@keyframes drift1 { from { transform: translate(0, 0) rotate(-4deg); } to { transform: translate(9%, 12%) rotate(6deg); } }
@keyframes drift2 { from { transform: translate(0, 6%) rotate(3deg); } to { transform: translate(-10%, -4%) rotate(-7deg); } }
@keyframes drift3 { from { transform: translate(0, 0) scale(1); } to { transform: translate(6%, -10%) scale(1.12); } }

.cup { position: relative; width: min(88%, 400px); }
.cup .steam path {
  opacity: 0;
  animation: steam 3.8s ease-in-out infinite;
}
.cup .steam path:nth-child(2) { animation-delay: 0.9s; }
.cup .steam path:nth-child(3) { animation-delay: 1.7s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(8px); }
  35% { opacity: 0.85; }
  70% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-8px); }
}

/* Бегущая строка */
.ticker {
  position: relative;
  border-block: 1px solid var(--line);
  padding-block: 15px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-set {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-size: 13.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.ticker-set .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(110, 231, 216, 0.55);
  padding: 0;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { padding-block: clamp(76px, 12vh, 128px); scroll-margin-top: calc(var(--head-h) + 16px); }

/* Меню */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.menu-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(16, 20, 29, 0.55));
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(110, 231, 216, 0.35);
  box-shadow: 0 22px 48px -22px rgba(110, 231, 216, 0.28);
}
.m-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(110, 231, 216, 0.25);
}
.m-icon svg { width: 28px; height: 28px; }
.m-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.m-top h3 { font-size: 18.5px; font-weight: 680; letter-spacing: -0.01em; }
.price {
  font-size: 16.5px;
  font-weight: 720;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.m-desc { color: var(--muted); font-size: 14.5px; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 2px; }
.tags li {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(148, 160, 190, 0.05);
}

/* Преимущества */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.adv-card {
  padding: 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 180px at 20% -10%, rgba(139, 123, 255, 0.08), transparent 70%),
    var(--panel);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.adv-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.a-icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--accent-2);
  background: rgba(139, 123, 255, 0.12);
  border: 1px solid rgba(139, 123, 255, 0.28);
  margin-bottom: 18px;
}
.a-icon svg { width: 28px; height: 28px; }
.adv-card h3 { font-size: 18.5px; font-weight: 680; margin-bottom: 8px; }
.adv-card p { color: var(--muted); font-size: 14.5px; }

/* Атмосфера */
.atmo-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.window-wrap {
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), rgba(16, 20, 29, 0.4));
  padding: clamp(14px, 2.4vw, 26px);
  box-shadow: 0 34px 80px -40px rgba(0, 0, 0, 0.7);
}
.window { width: 100%; height: auto; border-radius: var(--r-md); }
.flakes circle { animation: snowfall 9s linear infinite; }
.flakes circle:nth-child(3n) { animation-duration: 12s; animation-delay: -3s; }
.flakes circle:nth-child(3n + 1) { animation-duration: 10.5s; animation-delay: -6s; }
.flakes circle:nth-child(4n) { animation-duration: 14s; animation-delay: -1.5s; }
@keyframes snowfall {
  from { transform: translateY(-16px); }
  to { transform: translateY(180px); }
}
.win-a1, .win-a2 { will-change: transform; }
.win-a1 { animation: winDrift1 12s ease-in-out infinite alternate; }
.win-a2 { animation: winDrift2 15s ease-in-out infinite alternate; }
@keyframes winDrift1 { from { transform: translateX(-14px); } to { transform: translateX(20px); } }
@keyframes winDrift2 { from { transform: translateX(16px); } to { transform: translateX(-18px); } }

.quote {
  margin-top: 34px;
  padding: 24px 26px;
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--accent), var(--accent-2)) 1;
  background: linear-gradient(180deg, rgba(16, 20, 29, 0.8), rgba(16, 20, 29, 0.4));
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.stars { display: flex; gap: 4px; margin-bottom: 12px; }
.stars svg { width: 15px; height: 15px; fill: #ffc86b; }
.quote blockquote p {
  font-size: clamp(16.5px, 2vw, 19px);
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.quote figcaption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 650;
  color: var(--accent);
}
.quote .q-note { color: var(--muted-2); font-weight: 500; }

/* Бронирование */
.booking-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.contact-card {
  margin-top: 30px;
  padding: 24px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  display: grid;
  gap: 18px;
}
.contact-row { display: flex; gap: 14px; align-items: center; }
.contact-row svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.contact-row strong { display: block; font-size: 14.5px; }
.contact-row span { color: var(--muted); font-size: 14px; }
.contact-row i { font-style: normal; color: var(--muted-2); }

.form-wrap {
  position: relative;
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(560px 240px at 90% -10%, rgba(139, 123, 255, 0.10), transparent 70%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: 0 40px 90px -46px rgba(0, 0, 0, 0.8);
}

.form-note {
  font-size: 13.5px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(110, 231, 216, 0.25);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  margin-bottom: 22px;
}

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label, .field .label {
  font-size: 13.5px;
  font-weight: 620;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.field .opt { color: var(--muted-2); font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 15.5px;
  color: var(--text);
  background: #0c1018;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 78px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:hover, .field textarea:hover { border-color: rgba(148, 160, 190, 0.45); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110, 231, 216, 0.18);
}
.field.invalid input, .field.invalid .ts-btn {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(255, 107, 129, 0.15);
}
.err { font-size: 13px; color: var(--danger); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Кастомный селект времени */
.ts { position: relative; }
.ts-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font: inherit;
  font-size: 15.5px;
  color: var(--text);
  text-align: left;
  background: #0c1018;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 15px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.ts-btn:hover { border-color: rgba(148, 160, 190, 0.45); }
.ts-btn[aria-expanded="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(110, 231, 216, 0.18);
}
.ts-btn svg { width: 16px; height: 16px; color: var(--muted); transition: transform 0.25s var(--ease); }
.ts-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.ts-btn.placeholder { color: var(--muted-2); }
.ts-list {
  position: absolute;
  z-index: 30;
  top: calc(100% + 6px);
  left: 0; right: 0;
  max-height: 232px;
  overflow: auto;
  padding: 6px;
  margin: 0;
  background: #12161f;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.75);
}
.ts-list:focus { outline: none; }
.ts-list li {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.ts-list li:hover, .ts-list li.hl { background: rgba(110, 231, 216, 0.12); color: var(--text); }
.ts-list li[aria-selected="true"] {
  color: var(--text);
  background: rgba(110, 231, 216, 0.16);
  box-shadow: inset 2px 0 0 var(--accent);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-fine {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted-2);
  text-align: center;
}

/* Подтверждение */
.confirm { text-align: center; padding: 14px 4px; }
.confirm:focus { outline: none; }
.confirm-icon { width: 62px; height: 62px; margin: 0 auto 18px; }
.confirm-icon svg { width: 100%; height: 100%; }
.confirm h3 { font-size: 21px; letter-spacing: -0.015em; margin-bottom: 18px; }
.confirm-summary {
  display: grid;
  gap: 9px;
  text-align: left;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(6, 8, 12, 0.5);
  margin-bottom: 18px;
}
.confirm-summary div { display: flex; justify-content: space-between; gap: 16px; }
.confirm-summary dt { color: var(--muted-2); font-size: 14px; }
.confirm-summary dd { font-size: 14.5px; font-weight: 620; text-align: right; }
.confirm-note { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }

/* ---------- Подвал ---------- */
.site-foot {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(11, 14, 21, 0.9));
  padding-top: 60px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
}
.foot-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 30ch; }
.foot-title {
  font-size: 12.5px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}
.foot-col ul { display: grid; gap: 10px; font-size: 14.5px; }
.foot-col li { color: var(--muted); }
.foot-col a {
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s var(--ease);
}
.foot-col a:hover { color: var(--accent); }
.foot-col .ext { width: 12px; height: 12px; }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted-2);
}
.demo-line { color: var(--muted); }

/* ---------- Появление при скролле ---------- */
html.js .s-rev {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html.js .s-rev.in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1020px) {
  .menu-grid, .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: 0; max-width: 380px; margin-top: 6px; }
  .atmo-grid, .booking-grid { grid-template-columns: 1fr; }
  .window-wrap { max-width: 560px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--head-h);
    left: 12px; right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    background: rgba(10, 13, 20, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { display: block; padding: 12px 12px; font-size: 16px; border-radius: 10px; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active { background: rgba(148, 160, 190, 0.08); }
  .nav-link.active { color: var(--accent); }
  .nav-cta { margin-top: 8px; min-height: 48px; }
}

@media (max-width: 640px) {
  .menu-grid, .adv-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .hero-facts { gap: 16px 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .ticker-track { animation: none; transform: none; }
  html.js .s-rev { opacity: 1; transform: none; }
}
