/* ==========================================================================
   БК «ОЛИМП» (olimp-bk.ru) — Стили нового сайта (2026)
   Палитра: глубокое турнирное сукно (#08130e / #0e241a) + олимпийское золото (#d4a853)
   ========================================================================== */

:root {
  --bg: #08130e;
  --bg-alt: #0c1c14;
  --surface: #11261c;
  --surface-2: #163225;
  --surface-glass: rgba(17, 38, 28, 0.82);
  --felt: #1a4d36;
  --felt-bright: #287a55;
  --text: #f5f2eb;
  --text-muted: #a6b5ac;
  --text-dim: #73877b;
  --gold: #d4a853;
  --gold-light: #f2d28b;
  --gold-dark: #9c7426;
  --emerald: #34d399;
  --danger: #e56b55;
  --line: rgba(212, 168, 83, 0.16);
  --line-strong: rgba(212, 168, 83, 0.34);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --font-display: "Unbounded", system-ui, -apple-system, sans-serif;
  --font-sans: "Manrope", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 8%, rgba(40, 122, 85, 0.16), transparent 38%),
    radial-gradient(circle at 85% 18%, rgba(212, 168, 83, 0.11), transparent 36%),
    var(--bg);
  color: var(--text);
  overflow-x: clip;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--gold);
  color: #08130e;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 36px);
}

/* ==========================================================================
   ТИПОГРАФИКА И БЕЙДЖИ
   ========================================================================== */

h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--text);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(245, 242, 235, 0.08);
  border: 1px solid rgba(245, 242, 235, 0.14);
  color: var(--text);
}

.badge--gold {
  background: rgba(212, 168, 83, 0.14);
  border-color: rgba(212, 168, 83, 0.38);
  color: var(--gold-light);
}

.badge--emerald {
  background: rgba(40, 122, 85, 0.25);
  border-color: rgba(52, 211, 153, 0.35);
  color: #86efac;
}

/* ==========================================================================
   КНОПКИ
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #b88933 100%);
  color: #08130e;
  box-shadow: 0 10px 28px rgba(212, 168, 83, 0.26);
}

.btn--primary:hover {
  box-shadow: 0 14px 34px rgba(212, 168, 83, 0.38);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(212, 168, 83, 0.12);
  border-color: var(--gold-light);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.86rem;
  border-radius: 11px;
}

.btn--lg {
  padding: 15px 26px;
  font-size: 0.98rem;
}

.btn--block {
  width: 100%;
}

/* ==========================================================================
   ВЕРХНЯЯ ПАНЕЛЬ И ШАПКА
   ========================================================================== */

.topbar {
  background: #050c09;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar__phone {
  font-weight: 700;
  color: var(--gold-light);
}

.topbar__links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.topbar__links a {
  font-weight: 600;
  color: var(--text-muted);
}

.topbar__links a:hover {
  color: var(--gold-light);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 19, 14, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.88;
}

.brand__logo {
  display: block;
  width: 162px;
  height: auto;
}

.brand--footer .brand__logo {
  width: 184px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 0;
  position: relative;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--gold-light);
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__phone {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--gold-light);
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--line);
  background: #0a1812;
  padding: 20px clamp(16px, 4vw, 36px) 26px;
}

.mobile-menu__nav {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.mobile-menu__nav a {
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-weight: 600;
}

.mobile-menu__meta {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.mobile-menu__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}

/* ==========================================================================
   ПЕРВЫЙ ЭКРАН (HERO)
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(32px, 5vw, 68px) 0 clamp(44px, 6vw, 80px);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 36%, rgba(40, 122, 85, 0.26), transparent 46%),
    radial-gradient(circle at 22% 20%, rgba(212, 168, 83, 0.14), transparent 40%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(1.75rem, 3.3vw, 2.95rem);
  line-height: 1.12;
  margin-bottom: 18px;
}

.hero__lead {
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 26px;
}

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

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.stat-item {
  background: rgba(17, 38, 28, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.stat-item dt {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 3px;
}

.stat-item dd {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Графическая сцена клуба на первом экране */
.club-stage {
  background: linear-gradient(160deg, rgba(22, 50, 37, 0.92), rgba(11, 26, 19, 0.96));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.4vw, 24px);
  box-shadow: var(--shadow);
}

.club-stage__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.club-stage__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.club-stage__floor {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gold-light);
}

.billiard-canvas {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #07140e;
  border: 1px solid rgba(212, 168, 83, 0.24);
}

.billiard-canvas__svg {
  width: 100%;
  height: auto;
  display: block;
}

.billiard-canvas__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: rgba(17, 38, 28, 0.85);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gold-light);
}

.shot-path {
  stroke-dashoffset: 0;
  animation: shotDash 6s linear infinite;
}

@keyframes shotDash {
  from { stroke-dashoffset: 120; }
  to { stroke-dashoffset: 0; }
}

.club-stage__dishes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mini-dish {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(8, 19, 14, 0.78);
  border: 1px solid var(--line);
  height: 100%;
}

.mini-dish:hover {
  border-color: var(--gold);
}

.mini-dish img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.mini-dish__info {
  min-width: 0;
  flex: 1;
}

.mini-dish__tag {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mini-dish__info strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.25;
  margin: 2px 0 5px;
}

.mini-dish__prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.76rem;
}

.mini-dish__true {
  color: var(--gold-light);
}

.mini-dish__main {
  color: var(--text-dim);
  text-decoration: line-through;
}

/* ==========================================================================
   СЕКЦИИ И СЕТКИ
   ========================================================================== */

.section {
  padding: clamp(52px, 7vw, 92px) 0;
}

.section--tight {
  padding-top: clamp(28px, 4vw, 48px);
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  max-width: 780px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.section__head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.section__head h2 {
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
}

.section__sub {
  color: var(--text-muted);
  font-size: clamp(0.96rem, 1.1vw, 1.06rem);
  margin-top: 10px;
}

/* Сценарии (Играть / Поесть) */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.scenario-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, var(--surface) 0%, #0b1912 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow);
  height: 100%;
}

.scenario-card--gold {
  background: linear-gradient(165deg, rgba(35, 52, 28, 0.65) 0%, #0d1d15 100%);
  border-color: rgba(212, 168, 83, 0.45);
}

.scenario-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.scenario-card__price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-light);
}

.scenario-card h3 {
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  margin-bottom: 12px;
}

.scenario-card p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.93rem;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-light);
  font-weight: 800;
}

.scenario-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.scenario-card > .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ==========================================================================
   КУХНЯ И ЗАЛ TRUECOST (КАРТОЧКИ РЕАЛЬНЫХ БЛЮД)
   ========================================================================== */

.hall-compare {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  align-items: stretch;
}

.hall-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.hall-box--truecost {
  background: linear-gradient(145deg, rgba(26, 77, 54, 0.45), rgba(17, 38, 28, 0.95));
  border-color: var(--gold);
}

.hall-box__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hall-box__head strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.hall-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
  flex: 1;
}

.hall-box > .btn {
  margin-top: auto;
  align-self: flex-start;
}

.dish-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.dish-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.dish-tab:hover {
  color: var(--text);
  border-color: var(--gold-light);
}

.dish-tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #08130e;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.dish-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.dish-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.dish-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.dish-card[hidden] {
  display: none !important;
}

.dish-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0a1811;
}

.dish-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.dish-card:hover .dish-card__media img {
  transform: scale(1.05);
}

.dish-card__save {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(8, 19, 14, 0.88);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.dish-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dish-card__weight {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.dish-card__body h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.dish-card__body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.dish-card__prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

.dish-price {
  padding: 8px 10px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.dish-price span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.dish-price strong {
  font-family: var(--font-mono);
  font-size: 0.98rem;
}

.dish-price--true {
  background: rgba(212, 168, 83, 0.14);
  border: 1px solid rgba(212, 168, 83, 0.35);
}

.dish-price--true strong {
  color: var(--gold-light);
}

.dish-price--main {
  background: rgba(255, 255, 255, 0.03);
}

/* Браслеты TrueCost */
.bracelet-panel {
  margin-top: 32px;
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
}

.bracelet-panel__info {
  max-width: 760px;
  margin-bottom: 20px;
}

.bracelet-panel__info h3 {
  margin-top: 10px;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.bracelet-panel__info p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.bracelet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.bracelet-item {
  background: rgba(8, 19, 14, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bracelet-item span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}

.bracelet-item strong {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--gold-light);
  white-space: nowrap;
}

.menu-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}

.menu-links .btn {
  height: 100%;
}

/* ==========================================================================
   СХЕМА 14 СТОЛОВ БИЛЬЯРДА
   ========================================================================== */

.billiard-map {
  background: linear-gradient(160deg, #0e241a, #08150f);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
}

.billiard-map__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  font-weight: 700;
}

.billiard-map__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot--rus {
  background: var(--felt-bright);
  box-shadow: 0 0 8px var(--felt-bright);
}

.dot--pool {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}

.tables-matrix {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.table-node {
  text-align: left;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(26, 77, 54, 0.28);
  border: 1px solid rgba(52, 211, 153, 0.28);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.table-node:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
  background: rgba(26, 77, 54, 0.5);
}

.table-node--pool {
  background: rgba(212, 168, 83, 0.16);
  border-color: var(--gold);
}

.table-node__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-light);
}

.table-node strong {
  font-size: 0.88rem;
}

.table-node small {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.billiard-map__hint {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   ТАБЛИЦА ЦЕН НА БИЛЬЯРД (prices.html)
   ========================================================================== */

.price-panel {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.price-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.price-panel__now {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.price-panel__unit {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--gold-light);
}

.price-grid {
  display: grid;
  gap: 10px;
}

.price-grid__row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(8, 19, 14, 0.6);
  border: 1px solid var(--line);
}

.price-grid__row--head {
  background: transparent;
  border: none;
  padding: 4px 18px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-grid__row--head small {
  display: block;
  font-weight: 500;
  color: var(--text-dim);
}

.price-grid__row.is-today {
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(26, 77, 54, 0.28);
}

.price-grid__day strong {
  display: block;
  font-size: 1rem;
}

.price-grid__day span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.price-grid__cell {
  display: flex;
  flex-direction: column;
}

.price-val {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--gold-light);
}

.price-grid__cell small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.price-grid__cell.is-now .price-val {
  color: #86efac;
}

.price-panel__foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.price-panel__foot p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   АКЦИИ (promo-home.html и akcii.html) — ВЫРОВНЕННЫЕ ВИЗУАЛЫ КАРТОЧЕК
   ========================================================================== */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.promo-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.promo-card__art {
  padding: 14px 16px 18px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 168, 83, 0.2), #0a1912 72%);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 186px;
}

.promo-card__art--emerald {
  background: radial-gradient(circle at 50% 0%, rgba(52, 211, 153, 0.22), #0a1912 72%);
}

.promo-card__art--gold {
  background: radial-gradient(circle at 50% 0%, rgba(242, 210, 139, 0.24), #0b1b13 72%);
}

.promo-card__art--ruby {
  background: radial-gradient(circle at 50% 0%, rgba(229, 107, 85, 0.22), #0a1912 72%);
}

.promo-card__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.promo-card__pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 19, 14, 0.85);
  border: 1px solid var(--line-strong);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}

.promo-card__age {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(8, 19, 14, 0.85);
  border: 1px solid rgba(245, 242, 235, 0.22);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
}

.promo-card__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  margin: auto 0;
}

.promo-card__emblem {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(212, 168, 83, 0.14);
  border: 1px solid rgba(212, 168, 83, 0.36);
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}

.promo-card__art--emerald .promo-card__emblem {
  background: rgba(52, 211, 153, 0.14);
  border-color: rgba(52, 211, 153, 0.38);
  color: #86efac;
}

.promo-card__formula {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--gold-light);
  text-align: center;
}

.promo-card__caption {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.25;
}

.promo-card__body {
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.promo-card__hall {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.promo-card__hall--truecost {
  color: #86efac;
}

.promo-card__body h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.promo-card__body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex: 1;
}

.promo-card__body .btn {
  margin-top: auto;
}

.promo-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
}

.promo-detail {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promo-detail--emerald {
  background: linear-gradient(155deg, rgba(26, 77, 54, 0.38), var(--surface));
}

.promo-detail[hidden] {
  display: none !important;
}

.promo-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.promo-detail h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  margin-bottom: 10px;
}

.promo-detail p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.promo-detail > .btn {
  margin-top: auto;
  align-self: flex-start;
}

.legal-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   МЕРОПРИЯТИЯ, FAQ, КОНТАКТЫ, ВНУТРЕННИЕ СТРАНИЦЫ
   ========================================================================== */

.event-banner {
  background: linear-gradient(145deg, #132d20 0%, #0b1912 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 42px);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  align-items: center;
}

.event-banner__content h2 {
  margin-top: 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
}

.event-banner__content p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.event-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.event-banner__numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.event-stat {
  background: rgba(8, 19, 14, 0.65);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.event-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.event-stat span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--gold-light);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Контакты и карта */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.contacts-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contacts-card__address {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.contacts-card__row {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.contacts-card__row > span {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contacts-card__phone {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold-light);
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.hours-list strong {
  font-family: var(--font-mono);
  color: var(--gold-light);
}

.rating-strip {
  margin: 16px 0 20px;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid var(--line-strong);
}

.rating-badge__score {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-light);
  white-space: nowrap;
}

.rating-badge__text strong {
  display: block;
  font-size: 0.92rem;
}

.rating-badge__text small {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contacts-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  display: flex;
}

.map-card__frame {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(40, 122, 85, 0.25), transparent 60%),
    #0a1812;
  padding: 24px;
}

.map-card__frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.map-card__placeholder {
  text-align: center;
  max-width: 420px;
}

.map-card__placeholder h3 {
  margin-top: 14px;
}

.map-card__placeholder p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.map-card__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Внутренние страницы */
.page-hero {
  padding: clamp(28px, 4.5vw, 56px) 0 clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.page-hero__title {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.page-hero__sub {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 24px;
}

.page-hero__card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.spec-list {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.spec-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.spec-row span {
  color: var(--text-muted);
}

.spec-row strong {
  color: var(--gold-light);
  text-align: right;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.step-card__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cta-banner {
  background: linear-gradient(145deg, #153425, #0c1d15);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 38px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  margin-top: 10px;
  margin-bottom: 8px;
}

.cta-banner p {
  color: var(--text-muted);
  max-width: 60ch;
}

/* ==========================================================================
   ПОДВАЛ (footer.html)
   ========================================================================== */

.footer {
  background: #050c09;
  border-top: 1px solid var(--line);
  padding: 56px 0 96px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.footer__brand p {
  margin-top: 14px;
  font-size: 0.86rem;
  max-width: 38ch;
}

.footer__col h3 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer__col a:hover {
  color: var(--gold-light);
}

.footer__phone {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
}

.footer__hours {
  font-size: 0.82rem;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.footer__social a {
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ==========================================================================
   ПАНЕЛЬ БРОНИРОВАНИЯ (booking.html) И МОБИЛЬНЫЙ БАР
   ========================================================================== */

.mobile-bar {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 120;
  background: rgba(8, 19, 14, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 8px;
  gap: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.mobile-bar__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
  font-size: 0.9rem;
}

.mobile-bar__book {
  flex: 1;
}

.sheet {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.sheet[hidden] {
  display: none !important;
}

.sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 6, 0.78);
  backdrop-filter: blur(6px);
}

.sheet__panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: #0d2017;
  border: 1px solid var(--gold);
  border-radius: 24px;
  padding: 26px 24px 22px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75);
  margin-bottom: auto;
  margin-top: auto;
}

.sheet__handle {
  width: 42px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 12px;
}

.sheet__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sheet__title {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.sheet__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.sheet__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.topic-chip {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.topic-chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #08130e;
}

.sheet__channels {
  display: grid;
  gap: 10px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
}

.channel:hover {
  border-color: var(--gold-light);
  background: rgba(212, 168, 83, 0.12);
}

.channel__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 168, 83, 0.16);
  color: var(--gold-light);
  flex-shrink: 0;
}

.channel--wa .channel__icon {
  background: rgba(37, 211, 102, 0.16);
  color: #4ade80;
}

.channel--tg .channel__icon {
  background: rgba(56, 189, 248, 0.16);
  color: #38bdf8;
}

.channel--max .channel__icon {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
}

.channel__body {
  flex: 1;
  min-width: 0;
}

.channel__body strong {
  display: block;
  font-size: 0.96rem;
}

.channel__body span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.channel__arrow {
  font-family: var(--font-mono);
  color: var(--gold-light);
}

.sheet__meta {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* ==========================================================================
   АНИМАЦИИ ПОЯВЛЕНИЯ
   ========================================================================== */

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

/* ==========================================================================
   АДАПТИВНОСТЬ (1024px, 768px, 390px, 360px)
   ========================================================================== */

@media (max-width: 1120px) {
  .topbar {
    display: none;
  }

  .nav,
  .header__phone {
    display: none;
  }

  .burger {
    display: inline-flex;
  }

  .hero__grid,
  .page-hero__grid,
  .event-banner,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .dish-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bracelet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .tables-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .brand__logo {
    width: 142px;
  }

  .mobile-bar {
    display: flex;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .club-stage__dishes,
  .scenario-grid,
  .hall-compare,
  .dish-grid,
  .dish-grid--3,
  .promo-grid,
  .promo-detail-grid,
  .bracelet-grid,
  .menu-links,
  .steps-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .tables-matrix {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-grid__row--head {
    display: none;
  }

  .price-grid__row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .price-grid__day {
    grid-column: 1 / -1;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }

  .price-grid__cell--action {
    grid-column: 1 / -1;
    margin-top: 4px;
  }

  .price-grid__cell--action .btn {
    width: 100%;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .sheet {
    padding: 0;
  }

  .sheet__panel {
    margin-top: auto;
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 20px 16px 26px;
  }
}

/* Узкие экраны 360px–420px: запас воздуха в шапке и карточках */
@media (max-width: 420px) {
  .header__inner {
    gap: 8px;
    min-height: 64px;
  }

  .brand__logo {
    width: 126px;
  }

  .brand--footer .brand__logo {
    width: 164px;
  }

  .header__actions {
    gap: 6px;
  }

  .header__actions .btn--sm {
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .burger {
    width: 38px;
    height: 38px;
    padding: 8px;
  }
}

/* Доступность фокуса с клавиатуры (WCAG 2.2) */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

/* Пример окупаемости браслета TrueCost */
.bracelet-example {
  margin-bottom: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(26, 77, 54, 0.35);
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-size: 0.9rem;
  color: var(--text);
}

.bracelet-example strong {
  color: var(--gold-light);
}

/* Уважение системной настройки уменьшения движения */
@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;
  }

  .js-ready [data-reveal]:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
}
