/* ─── Фирменные шрифты (self-hosted): положить файлы в /assets/fonts/ ─── */
@font-face {
  font-family: 'TT Ricordi Allegria';
  src: url('/assets/fonts/TT-Ricordi-Allegria-Regular.woff2') format('woff2'),
       url('/assets/fonts/TT-Ricordi-Allegria-Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'TT Drugs';
  src: url('/assets/fonts/TT-Drugs-Regular.woff2') format('woff2'),
       url('/assets/fonts/TT-Drugs-Regular.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --bg: #0e2318;
  --bg2: #122a1e;
  --green: #1a3528;
  --gold: #c8a44a;
  --gold-light: #dbb96a;
  --white: #ffffff;
  --white-dim: rgba(255,255,255,0.6);
  --white-faint: rgba(255,255,255,0.08);
  --radius: 6px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(14,35,24,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,164,74,0.12);
}

.nav-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  background: none;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 2px;
  padding: 15px 13px;
  color: var(--white);
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: border-color 0.25s ease;
}
.nav-menu-btn:hover { border-color: var(--gold); }
.nav-menu-btn #menuLabel { display: none; }
.nav-menu-btn .lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
}
.nav-menu-btn .lines span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-menu-btn.open .lines span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-menu-btn.open .lines span:nth-child(2) { opacity: 0; }
.nav-menu-btn.open .lines span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-logo svg, .nav-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

/* ─── NAV LEFT (бургер-квадрат + инлайн-пункты) ─── */
.nav-left { display: flex; align-items: center; gap: 28px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}
.nav-link {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  position: relative;
  padding: 8px 0;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-link:hover {
  color: var(--white);
}
.nav-link:hover::after {
  right: 0;
}
.nav-link.active {
  color: var(--gold);
}
.nav-link.active::after {
  right: 0;
}
.nav-link:focus-visible {
  outline: none;
  color: var(--gold);
}
.nav-link:focus-visible::after { right: 0; }

/* Tablet — ужимаем расстояния между пунктами */
@media (min-width: 901px) and (max-width: 1160px) {
  nav { padding: 0 24px; }
  .nav-left { gap: 18px; }
  .nav-links { gap: 18px; }
  .nav-link { font-size: 11px; letter-spacing: 0.12em; }
  .nav-tools { gap: 12px; }
}
@media (min-width: 901px) and (max-width: 1040px) {
  .nav-links { display: none; }
}

.btn-primary {
  background: var(--gold);
  color: #0a1a10;
  border: none;
  padding: 10px 28px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.25s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 12px 36px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.25s, color 0.25s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

/* ─── MENU OVERLAY ─── */
/* Затемнённый фон (справа виден сайт), панель выезжает СНИЗУ ВВЕРХ */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6,15,10,0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}
.menu-overlay.open { opacity: 1; pointer-events: all; }
.menu-item.active { color: var(--gold); }

/* Левая панель меню (не на весь экран), выезжает снизу вверх */
.menu-left {
  position: absolute;
  left: 0; bottom: 0;
  width: min(560px, 34vw);
  height: 100%;
  background: linear-gradient(180deg, #0d2618 0%, #081610 100%);
  border-right: 1px solid rgba(200,164,74,0.18);
  box-shadow: 30px 0 90px rgba(0,0,0,0.5);
  padding: calc(var(--nav-h) + 48px) 48px 48px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}
.menu-overlay.open .menu-left { transform: translateY(0); }

/* Верх панели: выбор города (как на референсе) */
.menu-top { margin-bottom: 36px; }
.menu-city { display: inline-block; }
.menu-city .city-dropdown { left: 0; right: auto; }
.menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* сброс глобального правила nav{position:fixed...} для меню-оверлея */
  position: static;
  height: auto;
  padding: 0;
  background: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  align-items: flex-start;
}
.menu-item {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: clamp(26px, 2.2vw, 40px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  text-decoration: none;
  line-height: 1.2;
  padding: 5px 0;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22,1,0.36,1), color 0.2s ease, padding-left 0.25s ease;
}
.menu-item:hover { color: var(--gold); padding-left: 10px; }
.menu-overlay.open .menu-item { opacity: 1; transform: translateY(0); }
.menu-overlay.open .menu-item:nth-child(1) { transition-delay: 0.16s; }
.menu-overlay.open .menu-item:nth-child(2) { transition-delay: 0.22s; }
.menu-overlay.open .menu-item:nth-child(3) { transition-delay: 0.28s; }
.menu-overlay.open .menu-item:nth-child(4) { transition-delay: 0.34s; }
.menu-overlay.open .menu-item:nth-child(5) { transition-delay: 0.40s; }
.menu-overlay.open .menu-item:nth-child(6) { transition-delay: 0.46s; }
/* menu-top и menu-bottom тоже плавно появляются */
.menu-top, .menu-bottom { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease 0.08s, transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.08s; }
.menu-overlay.open .menu-top, .menu-overlay.open .menu-bottom { opacity: 1; transform: translateY(0); }
.menu-overlay.open .menu-bottom { transition-delay: 0.5s; }

.menu-socials {
  margin-top: auto;
  display: flex;
  gap: 12px;
}

.menu-socials-label { display: none; }
.menu-socials-row { display: contents; }
.menu-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.2s, color 0.2s;
}
.menu-social-btn span { display: none; }
.menu-social-btn svg { width: 13px; height: 13px; fill: currentColor; }
.menu-social-btn:hover { border-color: var(--gold); color: var(--gold); }

.menu-bottom { margin-top: auto; }
.menu-cta { display: none; }

.menu-right { display: none; }
.menu-right-legacy {
  background: var(--green);
  position: relative;
  overflow: hidden;
}
.menu-right img,
.menu-right .menu-bg-placeholder {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.menu-right-arc {
  position: absolute;
  left: -200px; top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  pointer-events: none;
}

/* ─── SECTION BASE ─── */
section {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 40px 80px;
  overflow: hidden;
  scroll-margin-top: var(--nav-h);
}

/* ─── ARC DECORATION ─── */
.arc {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55vw;
  height: 55vw;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  pointer-events: none;
}

/* ─── SLIDE COUNTER & FOOTER INFO ─── */
.slide-footer {
  position: absolute;
  bottom: 28px;
  left: 0; right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 40px;
  pointer-events: none;
}
.slide-counter {
  display: flex;
  align-items: center;
  gap: 10px;
}
.slide-counter span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.slide-counter .active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.15);
}
.slide-info-right {
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--white-dim);
  line-height: 1.7;
}
.social-icons {
  display: flex;
  gap: 10px;
  margin-bottom: 6px;
  justify-content: flex-end;
}
.social-icon {
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s;
  pointer-events: all;
}
.social-icon:hover { border-color: var(--gold); color: var(--gold); }

/* ─── HERO ─── */
#hero {
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14,35,24,1) 45%, rgba(14,35,24,0.3) 100%);
  z-index: 1;
}
.hero-photo, .hero-video {
  position: absolute;
  right: 0; top: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-video { border: 0; pointer-events: none; }
.hero-photo-placeholder {
  position: absolute;
  right: 0; top: 0;
  width: 55%;
  height: 100%;
  background: var(--green);
  opacity: 0.4;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-title {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: clamp(42px, 6.5vw, 90px);
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
  display: block;
}
.hero-sub {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 36px;
  font-weight: 300;
}

/* ─── О НАС ─── */
#about { background: var(--bg); }
.about-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(14,35,24,1) 40%, rgba(14,35,24,0.3) 100%);
  z-index: 1;
}
.about-photo {
  position: absolute;
  right: 0; top: 0;
  width: 55%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  border-radius: 0;
  aspect-ratio: auto;
}
.about-photo-placeholder {
  position: absolute;
  right: 0; top: 0;
  width: 55%;
  height: 100%;
  background: var(--green);
  opacity: 0.4;
}
.about-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.section-title {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.section-title em { font-style: normal; color: var(--gold); }
.section-body {
  font-size: 14px;
  line-height: 1.85;
  color: var(--white-dim);
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 520px;
}
/* ─── КАК ПРОХОДЯТ ИГРЫ ─── */
#games { background: var(--bg); }
.games-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.games-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.game-card {
  background: rgba(26, 53, 40, 0.55);
  border: 1px solid rgba(200, 164, 74, 0.18);
  border-radius: 60px;
  padding: 14px 36px 14px 14px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 24px;
  align-items: center;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.game-card:hover {
  transform: translateX(6px);
  border-color: rgba(200, 164, 74, 0.4);
  background: rgba(26, 53, 40, 0.75);
}
.game-card-icon {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 30px;
  font-weight: 600;
  color: #0a1a10;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.game-card-body { min-width: 0; }
.game-card-title {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.2;
}
.game-card-text {
  font-size: 12px;
  color: var(--white-dim);
  line-height: 1.6;
  font-weight: 300;
}

/* ─── ПОЧЕМУ СТОИТ ПРИЙТИ ─── */
#why { background: var(--bg2); }
.why-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-video-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--green);
  cursor: pointer;
}
.why-video-wrap:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.why-video-placeholder { width: 100%; height: 100%; background: #1a3528; }
.why-video-poster {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(1.05);
  transition: transform 0.5s ease, filter 0.3s ease;
}
.why-video-wrap:hover .why-video-poster { transform: scale(1.04); filter: brightness(0.82); }
.play-btn-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
}
.play-circle {
  width: 70px; height: 70px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s;
}
.play-circle:hover { border-color: var(--gold); }
.play-circle svg { width: 24px; height: 24px; fill: white; margin-left: 4px; }
.play-label {
  position: absolute;
  bottom: 24px; left: 24px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--white-dim);
}

/* ─── ИНТЕРЬЕР ─── */
#interior { background: var(--bg); }
.interior-content { position: relative; z-index: 2; width: 100%; }
.interior-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.interior-head .section-kicker { margin-bottom: 14px; }
.interior-head .section-title { margin-bottom: 18px; }
.interior-head .section-body { margin-bottom: 28px; }
#interior .carousel { margin-top: 8px; }
#interior .carousel-viewport {
  border-color: rgba(200, 164, 74, 0.12);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}
#interior .carousel-slide { background: transparent; }
#interior .carousel-slide img { opacity: 0.78; }

/* блок «почему выбирают нас» с видео на странице О нас — раскладка как на главной */
.why-media {
  margin: 52px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-media .section-text { margin: 0 0 28px; }
.why-media .why-video-wrap { width: 100%; }
@media (max-width: 760px) {
  .why-media { grid-template-columns: 1fr; gap: 32px; }
}

/* ─── ДОСТИЖЕНИЯ ─── */
#achievements { background: var(--bg); }
.achievements-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.stat-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stat-item {
  background: rgba(26, 53, 40, 0.55);
  border: 1px solid rgba(200, 164, 74, 0.18);
  border-radius: 60px;
  padding: 14px 36px 14px 14px;
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.stat-item:hover {
  transform: translateX(6px);
  border-color: rgba(200, 164, 74, 0.4);
  background: rgba(26, 53, 40, 0.75);
}
.stat-circle {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 26px;
  font-weight: 600;
  color: #0a1a10;
  letter-spacing: 0.02em;
}
.stat-label {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: lowercase;
  color: var(--white);
  letter-spacing: 0.02em;
}

/* ─── FAQ ─── */
#faq { background: var(--bg2); }
.faq-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  text-align: left;
  padding: 20px 0;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-num {
  width: 28px; height: 28px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.faq-question.active .faq-num { border-color: var(--gold); }
.faq-chevron {
  margin-left: auto;
  transition: transform 0.3s;
  font-size: 18px;
  color: var(--white-dim);
}
.faq-question.active .faq-chevron { transform: rotate(180deg); color: var(--gold); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.8;
  font-weight: 300;
}
.faq-answer.open { max-height: 300px; padding-bottom: 20px; }

/* ─── КОНТАКТЫ ─── */
#contacts { background: var(--bg); min-height: 80vh; }
.contacts-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}
.contacts-arc {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 80vw;
  max-width: 700px;
  height: 80vw;
  max-height: 700px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.contacts-info { margin: 40px 0; }
.contact-group { margin-bottom: 28px; }
.contact-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-dim); margin-bottom: 6px; }
.contact-value {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-value:hover { color: var(--gold); }
.contacts-socials { display: flex; gap: 12px; justify-content: center; margin: 20px 0 24px; }
.contacts-cta {
  display: inline-block;
  background: var(--gold);
  color: #0a1a10;
  border: none;
  padding: 16px 44px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.contacts-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,164,74,0.2);
}
.contacts-cta:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}


/* ─── ENTRANCE ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.35s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  section { padding: calc(var(--nav-h) + 24px) 24px 80px; justify-content: start;  }
  .slide-footer { padding: 0 24px; }

  .games-content,
  .why-content,
  .achievements-content,
  .faq-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-photo, .hero-photo-placeholder { width: 100%; opacity: 0.75; height: 121%; }
  .hero-sub {margin: 0;}
  .hero-bg { background: linear-gradient(to bottom, rgba(14,35,24,0.65) 30%, rgba(14,35,24,0.1)); }

  .about-photo, .about-photo-placeholder { width: 100%; opacity: 0.65; }
  .about-bg { background: linear-gradient(to bottom, rgba(14,35,24,0.75) 30%, rgba(14,35,24,0.1)); }

  /* ─── MOBILE BURGER MENU (панель снизу вверх + затемнение) ─── */
  .menu-overlay { background: rgba(6,15,10,0.55); }
  .menu-right { display: none; }

  .menu-left {
    width: min(460px, 90vw);
    padding: calc(var(--nav-h) + 30px) 28px 32px;
    gap: 0;
    justify-content: flex-start;
  }
  .menu-top { margin-bottom: 26px; }

  /* Пункты меню — компактный размер, stagger-reveal */
  .menu-nav {
    position: static;
    border: none;
    height: unset;
    gap: 0;
    padding: 0;
    margin-bottom: 0;
    background: none;
  }
  .menu-item {
    font-size: clamp(20px, 6vw, 28px);
    font-weight: 400;
    width: 100%;
    letter-spacing: 0.03em;
    line-height: 1.1;
    padding: 10px 0;
    position: relative;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1), color 0.2s ease;
  }
  .menu-overlay.open .menu-item {
    opacity: 1;
    transform: translateY(0);
  }
  .menu-overlay.open .menu-item:nth-child(1) { transition-delay: 0.12s; }
  .menu-overlay.open .menu-item:nth-child(2) { transition-delay: 0.16s; }
  .menu-overlay.open .menu-item:nth-child(3) { transition-delay: 0.20s; }
  .menu-overlay.open .menu-item:nth-child(4) { transition-delay: 0.24s; }
  .menu-overlay.open .menu-item:nth-child(5) { transition-delay: 0.28s; }
  .menu-overlay.open .menu-item:nth-child(6) { transition-delay: 0.32s; }
  .menu-overlay.open .menu-item:nth-child(7) { transition-delay: 0.36s; }

  .menu-item:active { color: var(--gold); }

  /* Bottom-блок: CTA + соцсети появляются последними */
  .menu-bottom {
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid rgba(200,164,74,0.14);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    transition-delay: 0.42s;
  }
  .menu-overlay.open .menu-bottom {
    opacity: 1;
    transform: translateY(0);
  }

  /* CTA «Позвонить» */
  .menu-cta {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 16px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.02);
    color: var(--white);
    border: 1px solid rgba(200,164,74,0.25);
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    box-shadow: none;
  }
  .menu-cta:active {
    background: rgba(200,164,74,0.1);
    border-color: var(--gold);
    transform: scale(0.98);
  }
  .menu-cta-icon {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--gold);
  }
  .menu-cta-top { color: rgba(255,255,255,0.6); }
  .menu-cta-phone { color: var(--white); }
  .menu-cta-label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  .menu-cta-top { display: none; }
  .menu-cta-phone {
    font-family: 'TT Drugs', 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
  }

  /* Соцсети — крупные тапабельные кнопки с подписями */
  .menu-socials {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
  }
  .menu-socials-label {
    display: block;
    font-family: 'TT Drugs', 'Manrope', sans-serif;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
  }
  .menu-socials-row {
    display: flex;
    justify-content: center;
    gap: 14px;
  }
  .menu-social-btn {
    width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(200,164,74,0.3);
    background: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  }
  .menu-social-btn:active {
    background: rgba(200,164,74,0.1);
    border-color: var(--gold);
    color: var(--gold);
  }
  .menu-social-btn svg { width: 16px; height: 16px; }
  .menu-social-btn span { display: none; }

  /* Мобильная навигация: бургер слева, лого по центру */
  .nav-links { display: none; }
  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  .nav-logo svg, .nav-logo-img { height: 34px; }
  .hero-title { font-size: 38px; }
  .stat-item { padding: 12px 24px 12px 12px; grid-template-columns: 64px 1fr; gap: 16px; border-radius: 50px; }
  .stat-circle { width: 64px; height: 64px; font-size: 20px; }
  .stat-label { font-size: 17px; }
  .game-card { padding: 12px 24px 12px 12px; grid-template-columns: 64px 1fr; gap: 16px; border-radius: 50px; }
  .game-card-icon { width: 64px; height: 64px; font-size: 22px; }
  .game-card-title { font-size: 18px; }
}

/* ═══════════════════════════════════════════════════════════
   HERO CTA (кнопка «Оставить заявку»)
   ═══════════════════════════════════════════════════════════ */
.hero-cta {
  margin-top: 28px;
  background: var(--gold);
  color: #0a1a10;
  border: none;
  padding: 16px 40px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.3s ease;
  display: inline-block;
}
.hero-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,164,74,0.2);
}
.hero-cta:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT WIDGET (плавающий виджет связи)
   ═══════════════════════════════════════════════════════════ */
.contact-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
}

.contact-widget-toggle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05) inset;
  color: #0a1a10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.contact-widget-toggle:hover { background: var(--gold-light); }
.contact-widget-toggle:active { transform: scale(0.96); }
.contact-widget-toggle:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}
.contact-widget-toggle svg {
  width: 24px; height: 24px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.contact-widget-toggle .icon-close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}
.contact-widget.open .contact-widget-toggle .icon-chat {
  opacity: 0;
  transform: rotate(90deg);
}
.contact-widget.open .contact-widget-toggle .icon-close {
  opacity: 1;
  transform: rotate(0);
}

/* Пульс-анимация для привлечения внимания */
.contact-widget-toggle::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  opacity: 0;
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}
.contact-widget.open .contact-widget-toggle::before { animation: none; opacity: 0; }

.contact-widget-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  pointer-events: none;
}
.contact-widget-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 58px;
  display: flex;
  justify-content: center;
}
.contact-widget.open .contact-widget-menu {
  pointer-events: all;
}

.contact-widget-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0d2218;
  border: 1px solid rgba(200,164,74,0.35);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  position: relative;
  -webkit-tap-highlight-color: transparent;
  /* Старт: кнопка "спрятана" в toggle — сдвинута вниз и сжата */
  opacity: 0;
  transform: translateY(70px) scale(0.4);
  transition:
    opacity 0.35s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.contact-widget.open .contact-widget-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.contact-widget-btn:hover {
  background: var(--gold);
  color: #0a1a10;
  border-color: var(--gold);
}
.contact-widget.open .contact-widget-btn:hover {
  transform: translateY(0) scale(1) translateX(-4px);
}
.contact-widget-btn:active {
  background: var(--gold);
  color: #0a1a10;
}
.contact-widget-btn:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}
.contact-widget-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* Tooltip-подсказка при hover */
.contact-widget-btn::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  background: #0d2218;
  color: var(--white);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  border: 1px solid rgba(200,164,74,0.2);
}
.contact-widget-btn:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Stagger появление маленьких кнопок */
/* Stagger «вылет из toggle»: ближайшая кнопка (Telegram, 3-я в DOM — внизу меню) появляется первой,
   самая верхняя (Phone, 1-я в DOM) — последней */
.contact-widget.open .contact-widget-menu li:nth-child(3) .contact-widget-btn { transition-delay: 0.05s, 0.05s, 0s, 0s, 0s; }
.contact-widget.open .contact-widget-menu li:nth-child(2) .contact-widget-btn { transition-delay: 0.13s, 0.13s, 0s, 0s, 0s; }
.contact-widget.open .contact-widget-menu li:nth-child(1) .contact-widget-btn { transition-delay: 0.21s, 0.21s, 0s, 0s, 0s; }

@media (max-width: 600px) {
  .contact-widget { right: 16px; bottom: 16px; }
  .contact-widget-toggle { width: 52px; height: 52px; }
  .contact-widget-btn { width: 44px; height: 44px; }
  .contact-widget-menu li { width: 52px; }
  .contact-widget-btn::after { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   SIGNUP POP-UP (форма записи)
   ═══════════════════════════════════════════════════════════ */
.signup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4,12,7,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 20px;
}
.signup-overlay.open { opacity: 1; pointer-events: all; }

.signup-modal {
  position: relative;
  background: #0d2218;
  width: 100%;
  max-width: 460px;
  max-height: 92dvh;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 52px 44px 40px;
  transform: translateY(18px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.34,1.3,0.64,1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.signup-modal::-webkit-scrollbar { display: none; }
.signup-overlay.open .signup-modal { transform: translateY(0) scale(1); }

.signup-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.signup-corner {
  position: absolute;
  width: 32px; height: 32px;
  border: 1px solid rgba(200,164,74,0.4);
  pointer-events: none;
}
.signup-corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.signup-corner.tr { top: 14px; right: 14px; border-left: none; border-bottom: none; }
.signup-corner.bl { bottom: 14px; left: 14px; border-right: none; border-top: none; }
.signup-corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }

.signup-close {
  position: absolute;
  top: 14px; right: 16px;
  z-index: 10;
  background: none; border: none;
  color: rgba(255,255,255,0.5);
  font-size: 18px; cursor: pointer;
  transition: color 0.2s, transform 0.3s;
  line-height: 1; padding: 6px;
}
.signup-close:hover { color: var(--gold); transform: rotate(90deg); }

.signup-header {
  text-align: center;
  margin-bottom: 8px;
}
.signup-suit {
  display: block;
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 12px;
  opacity: 0.9;
}
.signup-eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
}
.signup-title {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: center;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 4px;
}
.signup-title em {
  font-style: normal;
  color: var(--gold);
  display: block;
  font-weight: 600;
}

.signup-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 24px 0 28px;
  color: rgba(200,164,74,0.5);
}
.signup-sep::before,
.signup-sep::after {
  content: '';
  flex: 1;
  max-width: 70px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,164,74,0.35));
}
.signup-sep::after {
  background: linear-gradient(to left, transparent, rgba(200,164,74,0.35));
}
.signup-sep-icon { font-size: 10px; letter-spacing: 0.3em; }

.signup-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.signup-form { margin-bottom: 4px; }
.signup-field { margin-bottom: 22px; }
.signup-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.signup-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 300;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.25s;
  letter-spacing: 0.02em;
}
.signup-field input::placeholder { color: rgba(255,255,255,0.3); }
.signup-field input:focus { border-bottom-color: rgba(200,164,74,0.7); }
.signup-field.has-error input { border-bottom-color: rgba(220,90,90,0.7); }
.signup-field-err {
  display: none;
  font-size: 11px;
  color: rgba(220,90,90,0.85);
  margin-top: 6px;
  letter-spacing: 0.02em;
}
.signup-field.has-error .signup-field-err { display: block; }

/* Checkbox согласия */
.signup-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 20px;
  cursor: pointer;
  padding: 4px 0;
}
.signup-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.signup-consent-box {
  width: 16px; height: 16px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 2px;
  background: transparent;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.signup-consent input[type="checkbox"]:checked + .signup-consent-box {
  background: var(--gold);
  border-color: var(--gold);
}
.signup-consent input[type="checkbox"]:checked + .signup-consent-box::after {
  content: '';
  width: 8px; height: 5px;
  border-left: 1.5px solid #0a1710;
  border-bottom: 1.5px solid #0a1710;
  transform: rotate(-45deg) translate(1px, -1px);
}
.signup-consent input[type="checkbox"]:focus-visible + .signup-consent-box {
  outline: 1px solid var(--gold);
  outline-offset: 2px;
}
.signup-consent.has-error .signup-consent-box { border-color: rgba(220,90,90,0.8); }
.signup-consent-text {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  letter-spacing: 0.01em;
}
.signup-consent-text a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200,164,74,0.3);
  transition: border-color 0.2s;
}
.signup-consent-text a:hover { border-bottom-color: var(--gold); }

.signup-submit {
  width: 100%;
  background: #ffffff;
  color: #0a1710;
  border: none;
  padding: 17px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.2s, opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.signup-submit:hover:not(:disabled) { background: #ece8df; }
.signup-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #d4d4cf;
}
.signup-submit .signup-spinner {
  display: none;
  width: 13px; height: 13px;
  border: 2px solid rgba(10,23,16,0.25);
  border-top-color: #0a1710;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.signup-submit.loading .signup-spinner { display: block; }
.signup-submit.loading .signup-submit-text { opacity: 0.4; }

.signup-hint {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 14px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.signup-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 30px 0 10px;
  min-height: 260px;
}
.signup-success.show { display: flex; }
.signup-form-wrap.hidden { display: none; }

.signup-success-suit {
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  animation: popIn 0.55s cubic-bezier(0.34,1.56,0.64,1);
}
.signup-success-eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.signup-success-title {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.signup-success-text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 300px;
  font-weight: 300;
}

@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.signup-modal.shake { animation: signupShake 0.35s ease; }
@keyframes signupShake {
  0%,100% { transform: translateX(0) scale(1); }
  20% { transform: translateX(-6px) scale(1); }
  40% { transform: translateX(6px) scale(1); }
  60% { transform: translateX(-4px) scale(1); }
  80% { transform: translateX(4px) scale(1); }
}

@media (max-width: 520px) {
  .signup-modal { padding: 44px 28px 32px; }
  .signup-corner { width: 22px; height: 22px; top: 10px; left: 10px; }
  .signup-corner.tr { left: auto; right: 10px; }
  .signup-corner.bl { top: auto; bottom: 10px; }
  .signup-corner.br { top: auto; bottom: 10px; left: auto; right: 10px; }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════════════════════
   SITE FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  background: #0a1b12;
  border-top: 1px solid rgba(200,164,74,0.12);
  padding: 36px 40px 28px;
  position: relative;
  z-index: 2;
}
.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 400;
}
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
  padding: 4px 0;
}
.footer-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s ease;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-links a:hover::after { right: 0; }
.footer-links a:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
  color: var(--gold);
}

@media (max-width: 720px) {
  .site-footer { padding: 28px 24px 24px; }
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-links { gap: 20px 24px; }
}

/* ═══════════════════════════════════════════════════════════
   MULTIPAGE NAV (правая группа: ссылки + выбор города)
   ═══════════════════════════════════════════════════════════ */
.nav-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ─── CTA-кнопка в шапке (как «РЕЗЕРВ») ─── */
.nav-cta {
  background: var(--gold);
  color: #0a1a10;
  border: none;
  padding: 12px 26px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.nav-cta:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* ─── Переключатель языка (компактный) ─── */
.lang-switcher .city-current { padding: 8px 12px; gap: 6px; }
.lang-switcher .city-name { font-weight: 600; letter-spacing: 0.1em; }
.lang-dropdown { min-width: 168px; }
.lang-dropdown .city-option { text-decoration: none; }

/* ─── ВЫБОР ГОРОДА ─── */
.city-switcher { position: relative; }
.city-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(200,164,74,0.35);
  color: var(--white);
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  border-radius: 40px;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.city-current:hover { border-color: var(--gold); color: var(--gold); }
.city-current svg.city-pin { width: 13px; height: 13px; fill: var(--gold); flex-shrink: 0; }
.city-current .city-caret { transition: transform 0.3s; font-size: 9px; opacity: 0.7; }
.city-switcher.open .city-current .city-caret { transform: rotate(180deg); }

.city-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background: #0d2218;
  border: 1px solid rgba(200,164,74,0.25);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  padding: 8px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 120;
}
.city-switcher.open .city-dropdown { opacity: 1; transform: translateY(0); pointer-events: all; }
.city-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  color: var(--white);
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 12px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.city-option:hover { background: rgba(200,164,74,0.08); }
.city-option.active { color: var(--gold); }
.city-option.active::after { content: '✓'; color: var(--gold); font-size: 12px; }
.city-option.disabled {
  color: rgba(255,255,255,0.4);
  cursor: not-allowed;
}
.city-option.disabled:hover { background: none; }
.city-soon {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a1a10;
  background: var(--gold);
  border-radius: 20px;
  padding: 3px 9px;
  font-weight: 600;
  white-space: nowrap;
}
.city-option.disabled .city-soon { background: rgba(200,164,74,0.25); color: var(--gold-light); }

@media (max-width: 900px) {
  .nav-tools { gap: 8px; }
  .nav-cta { display: none; }
  .nav-links { display: none; }
  .nav-left { gap: 0; }
  .city-current { padding: 7px 10px; font-size: 11px; }
  .city-current .city-name { display: inline; }
  .lang-switcher .city-current { padding: 7px 9px; }
  .city-dropdown { right: 0; }
}
@media (max-width: 420px) {
  .city-switcher#citySwitcher .city-name { display: none; }
}
@media (max-width: 360px) {
  .nav-menu-btn #menuLabel { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   SUB-PAGE SHELL (внутренние страницы: hero + контент)
   ═══════════════════════════════════════════════════════════ */
.subpage { padding-top: var(--nav-h); }

/* Хлебные крошки */
.breadcrumbs {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 40px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.breadcrumbs a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
}
.breadcrumbs a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px;
  background: var(--gold); transition: right 0.3s ease;
}
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs a:hover::after { right: 0; }
.breadcrumbs .sep { color: rgba(200,164,74,0.45); font-size: 9px; transform: translateY(-1px); }
.breadcrumbs span[aria-current] {
  color: var(--gold);
  position: relative;
  padding-left: 14px;
}
.breadcrumbs span[aria-current]::before {
  content: '';
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
}
@media (max-width: 700px) { .breadcrumbs { padding: 22px 22px 18px; letter-spacing: 0.12em; } }

/* Hero внутренних страниц */
.page-hero {
  padding: 56px 40px 48px;
  border-bottom: 1px solid rgba(200,164,74,0.12);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.page-hero-inner { max-width: 1180px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero .arc { right: -10%; }
.page-eyebrow {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.page-h1 {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.page-h1 em { font-style: normal; color: var(--gold); }
.page-lead {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.8;
  max-width: 680px;
  font-weight: 300;
}

/* Универсальная контентная обёртка */
.page-section { padding: 64px 40px; position: relative; }
.page-section.alt { background: var(--bg2); }
.page-section-inner { max-width: 1180px; margin: 0 auto; }
.section-kicker {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-h2 {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.section-h2 em { font-style: normal; color: var(--gold); }
.section-text { font-size: 14px; line-height: 1.85; color: var(--white-dim); font-weight: 300; max-width: 720px; margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════
   ФИЛИАЛЫ (карточки)
   ═══════════════════════════════════════════════════════════ */
#branches { background: var(--bg2); }
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.branch-card {
  position: relative;
  background: rgba(26,53,40,0.5);
  border: 1px solid rgba(200,164,74,0.18);
  border-radius: 10px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  overflow: hidden;
}
.branch-card.active:hover { transform: translateY(-5px); border-color: rgba(200,164,74,0.45); background: rgba(26,53,40,0.7); }
.branch-card.soon { opacity: 0.78; }
.branch-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.branch-flag {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.branch-card.soon .branch-flag { background: rgba(200,164,74,0.18); }
.branch-flag svg { width: 22px; height: 22px; fill: #0a1a10; }
.branch-card.soon .branch-flag svg { fill: var(--gold); }
.branch-status {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
}
.branch-status.open { background: rgba(95,190,120,0.15); color: #7fd99a; border: 1px solid rgba(95,190,120,0.35); }
.branch-status.coming { background: rgba(200,164,74,0.12); color: var(--gold-light); border: 1px solid rgba(200,164,74,0.3); }
.branch-city {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 28px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
}
.branch-addr { font-size: 13px; color: var(--white-dim); line-height: 1.6; font-weight: 300; }
.branch-meta { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: auto; letter-spacing: 0.03em; }
.branch-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); text-decoration: none; font-weight: 500;
  transition: gap 0.25s;
}
.branch-link:hover { gap: 12px; }
.branch-watermark {
  position: absolute;
  right: -10px; bottom: -20px;
  font-size: 120px;
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  color: rgba(200,164,74,0.05);
  pointer-events: none;
  line-height: 1;
}
@media (max-width: 900px) { .branches-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   FEATURE / VALUE GRID (преимущества, что получает франчайзи и т.д.)
   ═══════════════════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 38px;
}
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-card {
  background: rgba(26,53,40,0.45);
  border: 1px solid rgba(200,164,74,0.16);
  border-radius: 10px;
  padding: 28px 26px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(200,164,74,0.4); }
.feature-ico {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(200,164,74,0.12);
  border: 1px solid rgba(200,164,74,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-ico svg { width: 24px; height: 24px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.feature-ico span { font-family: 'TT Ricordi Allegria', 'Forum', serif; font-size: 22px; color: var(--gold); font-weight: 600; }
.feature-title {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 21px; font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: 8px; line-height: 1.2;
}
.feature-text { font-size: 13px; color: var(--white-dim); line-height: 1.7; font-weight: 300; }
@media (max-width: 900px) { .feature-grid, .feature-grid.cols-2 { grid-template-columns: 1fr; } }

/* ─── STEPS (этапы запуска) ─── */
.steps { margin-top: 38px; display: flex; flex-direction: column; gap: 0; }
.step-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 26px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
.step-row:last-child { border-bottom: none; }
.step-num {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 46px; font-weight: 300; color: var(--gold);
  line-height: 1; letter-spacing: 0.02em;
}
.step-title { font-family: 'TT Ricordi Allegria', 'Forum', serif; font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.step-text { font-size: 13px; color: var(--white-dim); line-height: 1.7; font-weight: 300; max-width: 640px; }
@media (max-width: 600px) {
  .step-row { grid-template-columns: 56px 1fr; gap: 16px; }
  .step-num { font-size: 34px; }
}

/* ─── CHECK LIST (кому подходит / что получает) ─── */
.check-list { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-list li {
  list-style: none; position: relative;
  display: flex; align-items: center;
  padding: 20px 26px 20px 62px;
  font-size: 15.5px; line-height: 1.5; color: rgba(255,255,255,0.85);
  background: var(--bg2);
  border: 1px solid rgba(200,164,74,0.14);
  border-radius: 12px;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.check-list li:hover { border-color: rgba(200,164,74,0.32); transform: translateY(-2px); background: rgba(26,53,40,0.45); }
.check-list li::before {
  content: '';
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(200,164,74,0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a44a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.check-list li::after { display: none; }
@media (max-width: 700px) { .check-list { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   ГАЛЕРЕЯ
   ═══════════════════════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  gap: 16px;
  margin-top: 40px;
}
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--green);
  border: 1px solid rgba(200,164,74,0.12);
}
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-art {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  background: linear-gradient(145deg, #14301f, #0c2016);
  position: relative;
}
.gallery-art::after {
  content: '';
  position: absolute; inset: 12px;
  border: 1px solid rgba(200,164,74,0.18);
  border-radius: 4px;
  pointer-events: none;
}
.gallery-art .suit { font-size: 46px; color: rgba(200,164,74,0.55); line-height: 1; }
.gallery-art .glabel {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white-dim);
}
.gallery-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 18px 14px;
  background: linear-gradient(to top, rgba(8,20,13,0.92), transparent);
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 17px;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 12px; }
  .gallery-item.tall { grid-row: span 1; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-cap { opacity: 1; transform: none; font-size: 14px; padding: 22px 12px 10px; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4,12,7,0.94);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 40px;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.7); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; color: rgba(255,255,255,0.7);
  font-size: 26px; cursor: pointer; line-height: 1;
  transition: color 0.2s, transform 0.3s;
}
.lightbox-close:hover { color: var(--gold); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(13,34,24,0.7); border: 1px solid rgba(200,164,74,0.3);
  color: var(--gold); width: 46px; height: 46px; border-radius: 50%;
  font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-nav:hover { background: var(--gold); color: #0a1a10; }
.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }
@media (max-width: 600px) { .lightbox-nav { width: 38px; height: 38px; } .lightbox-nav.prev { left: 10px; } .lightbox-nav.next { right: 10px; } }

/* ═══════════════════════════════════════════════════════════
   БЛОГ
   ═══════════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.blog-card {
  display: flex; flex-direction: column;
  background: rgba(26,53,40,0.4);
  border: 1px solid rgba(200,164,74,0.16);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(200,164,74,0.4); }
.blog-cover {
  position: relative;
  aspect-ratio: 16/10;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  overflow: hidden;
}
.blog-cover .suit { font-size: 40px; line-height: 1; color: rgba(255,255,255,0.85); }
.blog-cover .cover-tag {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 4px 12px; border-radius: 20px;
}
.blog-cover::after { content: ''; position: absolute; inset: 0; background: rgba(8,20,13,0.15); }
.blog-cover-img, .article-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.blog-cover.has-photo::after { z-index: 1; background: linear-gradient(to top, rgba(8,18,12,0.7) 0%, rgba(8,18,12,0.2) 55%, rgba(8,18,12,0.35) 100%); }
.blog-cover.has-photo .suit, .blog-cover.has-photo .cover-tag { position: relative; z-index: 2; }
.article-cover.has-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(8,18,12,0.35), rgba(8,18,12,0.62)); }
.article-figure { margin: 26px 0; border-radius: 8px; overflow: hidden; }
.article-figure img { width: 100%; height: auto; max-height: 460px; object-fit: cover; display: block; }
.article-figure figcaption { font-size: 12px; letter-spacing: 0.04em; color: rgba(255,255,255,0.45); padding: 10px 2px 0; text-align: center; }
.cv1 { background: linear-gradient(135deg, #1d3d29, #0e2318); }
.cv2 { background: linear-gradient(135deg, #2a2418, #0e2318); }
.cv3 { background: linear-gradient(135deg, #14322a, #0e2318); }
.cv4 { background: linear-gradient(135deg, #2b1f1f, #0e2318); }
.cv5 { background: linear-gradient(135deg, #1a3528, #0c1c13); }
.blog-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.blog-card-title {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 22px; font-weight: 600; line-height: 1.22;
  margin-bottom: 10px;
}
.blog-card-title a { color: var(--white); text-decoration: none; transition: color 0.2s; }
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: 13px; color: var(--white-dim); line-height: 1.65; font-weight: 300; margin-bottom: 18px; flex: 1; }
.blog-read {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
  color: var(--gold); text-decoration: none;
  border: 1px solid rgba(200,164,74,0.4);
  padding: 10px 20px; border-radius: 40px;
  transition: background 0.25s, color 0.25s, gap 0.25s;
}
.blog-read:hover { background: var(--gold); color: #0a1a10; gap: 12px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   СТАТЬЯ
   ═══════════════════════════════════════════════════════════ */
.article-cover {
  position: relative;
  height: 280px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.article-wrap { max-width: 760px; margin: 0 auto; padding: 52px 40px 70px; }
.article-body { font-size: 15px; line-height: 1.85; color: rgba(255,255,255,0.78); font-weight: 300; }
.article-body h2 {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--white); margin: 40px 0 16px; line-height: 1.2;
}
.article-body h3 {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: 22px; font-weight: 600; color: var(--gold-light);
  margin: 28px 0 12px;
}
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 0; padding-left: 4px; list-style: none; }
.article-body ul li, .article-body ol li { position: relative; padding-left: 26px; margin-bottom: 10px; line-height: 1.7; }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: 12px; width: 10px; height: 1px; background: var(--gold); }
.article-body ol { counter-reset: ol; }
.article-body ol li { counter-increment: ol; }
.article-body ol li::before { content: counter(ol); position: absolute; left: 0; top: 0; color: var(--gold); font-family: 'TT Ricordi Allegria', 'Forum', serif; font-weight: 600; }
.article-body a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(200,164,74,0.3); transition: border-color 0.2s; }
.article-body a:hover { border-bottom-color: var(--gold); }
.article-body strong { color: var(--white); font-weight: 500; }
.article-callout {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 2px solid var(--gold);
  background: rgba(200,164,74,0.05);
  font-size: 14px; line-height: 1.75; color: var(--white-dim);
}
.article-callout strong { color: var(--white); }
.article-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45);
  margin-bottom: 22px;
}
.article-meta-row .tag { color: var(--gold); border: 1px solid rgba(200,164,74,0.35); padding: 4px 12px; border-radius: 20px; }

/* Заголовок статьи — крупный, без фото-обложки */
.article-wrap-top { padding-top: 18px; }
.article-eyebrow {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(200,164,74,0.85);
  text-align: center;
  margin-bottom: 28px;
}
.article-title {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-weight: 300;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.12; letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  margin: 0 0 30px;
}
.article-wrap-top .article-meta-row { justify-content: center; margin-bottom: 8px; }
@media (max-width: 700px) {
  .article-title { font-size: clamp(26px, 8vw, 38px); }
  .article-eyebrow { letter-spacing: 0.2em; margin-bottom: 20px; }
}

/* Перелинковка / читайте также */
.related { border-top: 1px solid rgba(200,164,74,0.14); margin-top: 50px; padding-top: 36px; }
.related-title { font-family: 'TT Ricordi Allegria', 'Forum', serif; font-size: 24px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 22px; }
.related-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.related-item {
  display: block;
  padding: 18px 20px;
  background: rgba(26,53,40,0.4);
  border: 1px solid rgba(200,164,74,0.14);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s;
}
.related-item:hover { border-color: rgba(200,164,74,0.4); transform: translateY(-3px); }
.related-item .rl-kicker { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 6px; }
.related-item .rl-title { font-family: 'TT Ricordi Allegria', 'Forum', serif; font-size: 18px; color: var(--white); line-height: 1.25; }
@media (max-width: 600px) { .related-list { grid-template-columns: 1fr; } }

/* Inline CTA-блок (используется на статьях и страницах) */
.inline-cta {
  margin-top: 36px;
  padding: 34px 32px;
  background: linear-gradient(135deg, rgba(26,53,40,0.7), rgba(14,35,24,0.4));
  border: 1px solid rgba(200,164,74,0.25);
  border-radius: 12px;
  text-align: center;
}
.inline-cta h3 { font-family: 'TT Ricordi Allegria', 'Forum', serif; font-size: 26px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 10px; }
.inline-cta p { font-size: 14px; color: var(--white-dim); line-height: 1.7; margin-bottom: 22px; font-weight: 300; }

/* ═══════════════════════════════════════════════════════════
   КОНТАКТЫ (страница)
   ═══════════════════════════════════════════════════════════ */
.contacts-page-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.7fr;
  gap: 40px;
  margin-top: 40px;
  align-items: stretch;
}
.contacts-card {
  background: rgba(26,53,40,0.4);
  border: 1px solid rgba(200,164,74,0.16);
  border-radius: 12px;
  padding: 34px 32px;
}
.contacts-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.contacts-row:last-of-type { border-bottom: none; }
.contacts-row-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px; background: rgba(200,164,74,0.12); border: 1px solid rgba(200,164,74,0.3);
  display: flex; align-items: center; justify-content: center;
}
.contacts-row-ico svg { width: 19px; height: 19px; stroke: var(--gold); fill: none; stroke-width: 1.7; }
.contacts-row-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-dim); margin-bottom: 4px; }
.contacts-row-val { font-family: 'TT Ricordi Allegria', 'Forum', serif; font-size: 20px; color: var(--white); text-decoration: none; transition: color 0.2s; }
a.contacts-row-val:hover { color: var(--gold); }

/* Мессенджеры — фирменные значки */
.messengers { margin-top: 26px; }
.messengers-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--white-dim); margin-bottom: 14px; }
.messengers-row { display: flex; flex-wrap: wrap; gap: 12px; }
.msgr {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 22px 11px 13px;
  border-radius: 40px;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 13px; font-weight: 500; letter-spacing: 0.03em;
  transition: transform 0.2s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.msgr:hover { transform: translateY(-2px); background: rgba(255,255,255,0.04); border-color: currentColor; }
.msgr-ico { width: 30px; height: 30px; border-radius: 50%; background: transparent; border: 1px solid currentColor; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.msgr-ico svg { width: 16px; height: 16px; fill: currentColor; }
.msgr.wa { color: #2fd671; }
.msgr.tg { color: #3db4f2; }
.msgr.vb { color: #9385f5; }
.msgr.vk { color: #4aa0ff; }
.msgr.max { color: var(--gold); }

.map-wrap { border-radius: 12px; overflow: hidden; border: 1px solid rgba(200,164,74,0.18); min-height: 500px; height: 100%; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 500px; border: 0; display: block; filter: grayscale(0.2); }
@media (max-width: 900px) { .contacts-page-grid { grid-template-columns: 1fr; } .map-wrap { min-height: 320px; } }

/* ═══════════════════════════════════════════════════════════
   ФРАНШИЗА — форма заявки
   ═══════════════════════════════════════════════════════════ */
#franchise-form { background: var(--bg2); }
.fform-wrap {
  max-width: 720px; margin: 38px auto 0;
  background: #0d2218;
  border: 1px solid rgba(200,164,74,0.22);
  border-radius: 14px;
  padding: 40px 40px 36px;
  position: relative;
  overflow: hidden;
}
.fform-top { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, transparent, var(--gold), transparent); }
.fform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.fform-field.full { grid-column: 1 / -1; }
.fform-label { display: block; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.fform-field input, .fform-field textarea, .fform-field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 14px; font-weight: 300;
  padding: 10px 0;
  outline: none;
  transition: border-color 0.25s;
}
.fform-field textarea { resize: vertical; min-height: 46px; }
.fform-field select { cursor: pointer; }
.fform-field select option { background: #0d2218; color: #fff; }
.fform-field input::placeholder, .fform-field textarea::placeholder { color: rgba(255,255,255,0.3); }
.fform-field input:focus, .fform-field textarea:focus, .fform-field select:focus { border-bottom-color: rgba(200,164,74,0.7); }
.fform-field.has-error input, .fform-field.has-error select { border-bottom-color: rgba(220,90,90,0.7); }
.fform-err { display: none; font-size: 11px; color: rgba(220,90,90,0.85); margin-top: 6px; }
.fform-field.has-error .fform-err { display: block; }
.fform-consent { display: flex; align-items: flex-start; gap: 12px; margin: 26px 0 22px; cursor: pointer; }
.fform-consent input { position: absolute; opacity: 0; pointer-events: none; }
.fform-consent .signup-consent-box { margin-top: 1px; }
.fform-consent-text { font-size: 11px; color: rgba(255,255,255,0.55); line-height: 1.55; }
.fform-consent-text a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(200,164,74,0.3); }
.fform-submit {
  width: 100%;
  background: var(--gold); color: #0a1710;
  border: none; padding: 17px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  cursor: pointer; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.2s, opacity 0.2s, transform 0.2s;
}
.fform-submit:hover:not(:disabled) { background: var(--gold-light); transform: translateY(-1px); }
.fform-submit:disabled { opacity: 0.45; cursor: not-allowed; }
.fform-submit .signup-spinner { display: none; width: 13px; height: 13px; border: 2px solid rgba(10,23,16,0.3); border-top-color: #0a1710; border-radius: 50%; animation: spin 0.7s linear infinite; }
.fform-submit.loading .signup-spinner { display: block; }
.fform-success {
  display: none;
  text-align: center;
  padding: 30px 10px 14px;
  flex-direction: column; align-items: center; gap: 14px;
}
.fform-success.show { display: flex; }
.fform-wrap.done .fform-body { display: none; }
.fform-success-suit { font-size: 46px; color: var(--gold); animation: popIn 0.55s cubic-bezier(0.34,1.56,0.64,1); }
.fform-success h3 { font-family: 'TT Ricordi Allegria', 'Forum', serif; font-size: 28px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }
.fform-success p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 380px; font-weight: 300; }
@media (max-width: 600px) {
  .fform-wrap { padding: 30px 22px 28px; }
  .fform-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 24px; bottom: 24px;
  z-index: 180;
  max-width: 400px;
  background: #0d2218;
  border: 1px solid rgba(200,164,74,0.3);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), opacity 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-text { font-size: 12.5px; color: var(--white-dim); line-height: 1.65; font-weight: 300; margin-bottom: 16px; }
.cookie-text a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(200,164,74,0.3); }
.cookie-actions { display: flex; align-items: center; gap: 14px; }
.cookie-accept {
  background: var(--gold); color: #0a1a10; border: none;
  padding: 11px 28px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 4px; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.cookie-accept:hover { background: var(--gold-light); transform: translateY(-1px); }
@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px 18px; }
  .contact-widget { bottom: 92px; }
  .cookie-banner.hidden ~ .contact-widget,
  body:not(.cookie-visible) .contact-widget { bottom: 16px; }
}

/* ═══════════════════════════════════════════════════════════
   FAQ на внутренних страницах (переиспользуем .faq-* в обычном потоке)
   ═══════════════════════════════════════════════════════════ */
.faq-block { max-width: 820px; margin: 38px auto 0; }
.faq-block .faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }

/* Универсальная адаптивность внутренних страниц */
@media (max-width: 700px) {
  .breadcrumbs { padding: 18px 22px 16px; }
  .page-hero { padding: 40px 22px 36px; }
  .page-section { padding: 44px 22px; }
  .article-wrap { padding: 36px 22px 54px; }
  .branches-grid, .feature-grid { margin-top: 28px; }
}

/* ═══════════════════════════════════════════════════════════
   PRELOADER (покерная раздача карт)
   ═══════════════════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 44%, #173925 0%, #0d2417 58%, #081610 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  animation: plSafety 0.1s linear 7.5s forwards;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes plSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* фон: текущие световые полосы */
.pl-bg { position: absolute; inset: 0; overflow: hidden; }
.pl-streak {
  position: absolute; top: -35%; height: 170%;
  width: 3px; border-radius: 40%;
  background: linear-gradient(to bottom, transparent 0%, rgba(176,124,78,0) 6%, rgba(196,140,86,0.6) 46%, rgba(120,82,52,0.22) 72%, transparent 100%);
  filter: blur(1px);
  opacity: 0;
  animation: plStreak 6s ease-in-out infinite;
  will-change: transform, opacity;
}
.pl-streak:nth-child(1) { left: 11%; transform: rotate(9deg);  animation-delay: 0s; }
.pl-streak:nth-child(2) { left: 27%; height: 130%; width: 2px; transform: rotate(12deg); animation-delay: 0.9s; }
.pl-streak:nth-child(3) { left: 44%; width: 4px; transform: rotate(6deg);  animation-delay: 0.35s; }
.pl-streak:nth-child(4) { left: 58%; height: 140%; transform: rotate(10deg); animation-delay: 1.3s; }
.pl-streak:nth-child(5) { left: 73%; width: 2px; transform: rotate(8deg);  animation-delay: 0.6s; }
.pl-streak:nth-child(6) { left: 88%; height: 125%; transform: rotate(11deg); animation-delay: 1.05s; }
@keyframes plStreak {
  0%   { opacity: 0; transform: translateY(70px) rotate(9deg); }
  22%  { opacity: 1; }
  62%  { opacity: 0.65; }
  100% { opacity: 0; transform: translateY(-70px) rotate(9deg); }
}

.pl-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 26px; text-align: center; padding: 0 24px;
}
.pl-eyebrow {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 13px; letter-spacing: 0.42em; text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  opacity: 0; animation: plFade 0.9s ease 0.2s forwards;
}
.pl-title {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-weight: 300; font-size: clamp(40px, 8.5vw, 104px);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #e9e3d6; line-height: 1; margin: 0;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
  opacity: 0; animation: plFade 1s ease 0.45s forwards;
}
.pl-percent {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-weight: 300; font-size: clamp(26px, 4.2vw, 44px);
  color: rgba(233,227,214,0.85); letter-spacing: 0.04em;
  margin-top: 6px;
  opacity: 0; animation: plFade 0.9s ease 0.7s forwards;
}
@keyframes plFade { to { opacity: 1; } }

@media (max-width: 600px) {
  .pl-eyebrow { font-size: 10px; letter-spacing: 0.3em; }
  .pl-inner { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-streak { animation: none; opacity: 0.5; }
}

/* ═══════════════════════════════════════════════════════════
   DESIGN REFRESH — современная «тихая роскошь», та же палитра
   Применяется ко ВСЕМ страницам сайта (общий style.css)
   ═══════════════════════════════════════════════════════════ */

/* ─── Sticky-навигация: сжатие + усиленное стекло при скролле ─── */
nav {
  transition: height 0.4s cubic-bezier(0.4,0,0.2,1), background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
nav.scrolled {
  height: 60px;
  background: rgba(9,20,14,0.7);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
  border-bottom-color: rgba(200,164,74,0.22);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}
nav .nav-logo-img { transition: height 0.4s cubic-bezier(0.4,0,0.2,1); }
nav.scrolled .nav-logo-img { height: 34px; }
nav.scrolled .nav-menu-btn { padding: 12px 12px; }

/* ─── Типографика: усиленный контраст размеров ─── */
.hero-title { font-size: clamp(46px, 8vw, 104px); letter-spacing: 0.005em; }
.page-h1 { font-size: clamp(38px, 6vw, 78px); }
.page-eyebrow, .section-kicker, .doc-eyebrow, .blog-card-meta, .article-meta-row, .messengers-label, .contacts-row-label, .fform-label, .signup-label, .footer-copyright, .footer-links a {
  font-feature-settings: "case" 1;
}
.page-eyebrow, .section-kicker, .doc-eyebrow { font-size: 10px; letter-spacing: 0.34em; }
.hero-sub, .page-lead, .section-text, .section-body { font-weight: 300; }

/* ─── Больше воздуха между секциями ─── */
.page-section { padding: 92px 40px; }
@media (max-width: 700px) { .page-section { padding: 58px 22px; } }

/* ─── Тонкий градиентный сепаратор сверху у alt-секций ─── */
.page-section.alt::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1180px, 86%); height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,164,74,0.4), transparent);
}

/* ─── Стеклянные карточки + градиентная обводка + мягкое свечение ─── */
.feature-card, .branch-card, .blog-card, .stat-item, .game-card,
.contacts-card, .related-item, .map-wrap, .fform-wrap, .inline-cta {
  position: relative;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
/* радиус-зависимая градиентная обводка через mask */
.feature-card::after, .branch-card::after, .blog-card::after, .stat-item::after,
.game-card::after, .contacts-card::after, .related-item::after, .inline-cta::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(200,164,74,0.55), rgba(200,164,74,0.06) 48%, rgba(255,255,255,0.12));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 1;
}
.feature-card:hover::after, .branch-card.active:hover::after, .blog-card:hover::after,
.stat-item:hover::after, .game-card:hover::after, .related-item:hover::after, .inline-cta:hover::after {
  opacity: 1;
}
.feature-card:hover, .blog-card:hover, .stat-item:hover, .game-card:hover, .related-item:hover {
  box-shadow: 0 22px 60px rgba(0,0,0,0.45), 0 0 46px rgba(200,164,74,0.07);
}
.branch-card.active:hover { box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 50px rgba(200,164,74,0.08); }

/* ─── Bento: лёгкая асимметрия в сетке преимуществ ─── */
@media (min-width: 901px) {
  .feature-grid:not(.cols-2) { grid-auto-flow: dense; }
  .feature-grid:not(.cols-2) > .feature-card:first-child { grid-column: span 2; }
  .feature-grid:not(.cols-2) > .feature-card:first-child .feature-title { font-size: 26px; }
}

/* ─── Кнопки: минимальный радиус, плавная инверсия ─── */
.btn-primary, .nav-cta, .hero-cta, .contacts-cta, .fform-submit, .cookie-accept {
  border-radius: 3px;
  will-change: transform;
}
.btn-outline, .blog-read, .branch-link {
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.btn-outline:hover { background: var(--gold); color: #0a1a10; border-color: var(--gold); }

/* magnetic-кнопки — плавный возврат */
.fx-magnetic { transition: transform 0.35s cubic-bezier(0.22,1,0.36,1); }

/* ─── Глобальный scroll-reveal со stagger (через JS добавляется .fx-reveal) ─── */
.fx-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.fx-reveal.fx-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fx-reveal { opacity: 1; transform: none; transition: none; }
  .fx-magnetic { transition: none; }
}

/* ─── Стеклянный плавающий виджет/cookie/модалка — чуть мягче ─── */
.cookie-banner, .signup-modal { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ─── Тоньше и «дороже» декоративные окружности ─── */
.arc, .contacts-arc, .menu-right-arc { border-color: rgba(200,164,74,0.10); }

/* ═══════════════════════════════════════════════════════════
   HERO — центрированный кинематографичный первый экран
   ═══════════════════════════════════════════════════════════ */
#hero { text-align: center; align-items: center; }
.hero-photo, .hero-video {
  width: 100%;
  height: 100%;
  left: 0; right: auto; top: 0;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.95;
}
.hero-bg {
  background:
    radial-gradient(ellipse at 50% 44%, rgba(8,18,12,0.04) 0%, rgba(8,18,12,0.22) 60%, rgba(8,18,12,0.5) 100%),
    linear-gradient(to bottom, rgba(8,18,12,0.34) 0%, rgba(8,18,12,0.03) 34%, rgba(8,18,12,0.46) 100%);
}
.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title, .hero-sub { text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.hero-eyebrow { text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45); }
.hero-eyebrow {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 34px; height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,164,74,0.6));
}
.hero-eyebrow::after { background: linear-gradient(to left, transparent, rgba(200,164,74,0.6)); }
.hero-title {
  font-size: clamp(44px, 7.6vw, 112px);
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.hero-title em { margin-top: 4px; }
.hero-sub {
  max-width: 600px;
  margin: 0 auto 44px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255,255,255,0.72);
}
.hero-cta { margin-top: 0; padding: 17px 46px; }

@media (max-width: 900px) {
  /* hero: контент по центру экрана, без огромной пустой зоны снизу */
  #hero { justify-content: center; padding-top: var(--nav-h); padding-bottom: 56px; }
  #hero .slide-footer { display: none; }
  .hero-content { max-width: 94%; }
  .hero-eyebrow { font-size: 10px; letter-spacing: 0.22em; margin-bottom: 26px; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 18px; }
  .hero-title { font-size: clamp(30px, 7.4vw, 46px); line-height: 1.18; margin-bottom: 26px; }
  .hero-sub { margin: 0 auto 36px; font-size: 15px; line-height: 1.85; }
  /* фото читается, лёгкий скрим за текстом + защита тенью */
  .hero-photo, .hero-video { object-position: center 34%; opacity: 0.78; }
  .hero-bg { background:
    radial-gradient(ellipse 96% 52% at 50% 50%, rgba(8,18,12,0.66) 0%, rgba(8,18,12,0.3) 58%, rgba(8,18,12,0.06) 100%),
    linear-gradient(to bottom, rgba(8,18,12,0.72) 0%, rgba(8,18,12,0.12) 30%, rgba(8,18,12,0.18) 64%, rgba(8,18,12,0.8) 100%); }
  .hero-title, .hero-sub { text-shadow: 0 2px 26px rgba(0,0,0,0.45); }
  .hero-eyebrow { text-shadow: 0 1px 16px rgba(0,0,0,0.4); }
}
@media (max-width: 600px) {
  .hero-eyebrow { font-size: 9px; letter-spacing: 0.2em; margin-bottom: 14px; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 14px; }
  .hero-title { font-size: clamp(27px, 8.2vw, 34px); line-height: 1.08; letter-spacing: 0.01em; margin-bottom: 16px; }
  .hero-sub { font-size: 13.5px; line-height: 1.6; margin: 0 auto 24px; max-width: 340px; }
  .hero-cta { padding: 14px 32px; font-size: 11px; }
}
/* ═══════════════════════════════════════════════════════════
   TIMELINE (секция «Когда и как играем») — стиль таймлайна
   ═══════════════════════════════════════════════════════════ */
#games .games-content { display: block; }
.games-head { max-width: 640px; margin: 0 auto 88px; text-align: center; }
.games-head .section-body { margin-left: auto; margin-right: auto; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
.tl-track {
  position: absolute; left: 16%; right: 16%; top: 50%; height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,164,74,0.45) 14%, rgba(200,164,74,0.45) 86%, transparent);
}
.tl-item { position: relative; height: 400px; }
.tl-node {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--gold); color: #0a1a10;
  font-family: 'TT Ricordi Allegria', 'Forum', serif; font-size: 34px;
  display: flex; align-items: center; justify-content: center; z-index: 2;
  box-shadow: 0 0 0 12px var(--bg), 0 0 0 13px rgba(200,164,74,0.28), 0 0 34px rgba(200,164,74,0.18);
}
.tl-node::after { content: ''; position: absolute; inset: -24px; border: 1px solid rgba(200,164,74,0.16); border-radius: 50%; }
.tl-node::before { content: ''; position: absolute; left: 50%; top: -46px; bottom: -46px; width: 1px; background: rgba(200,164,74,0.22); transform: translateX(-50%); z-index: -1; }
.tl-info { position: absolute; left: 50%; transform: translateX(-50%); width: 290px; max-width: 90%; text-align: center; }
.tl-item.up .tl-info { bottom: calc(50% + 84px); }
.tl-item.down .tl-info { top: calc(50% + 84px); }
.tl-eyebrow { font-family: 'TT Drugs', 'Manrope', sans-serif; font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.tl-title { font-family: 'TT Ricordi Allegria', 'Forum', serif; font-size: clamp(20px, 2vw, 26px); font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; color: var(--white); margin-bottom: 12px; line-height: 1.18; }
.tl-text { font-size: 12.5px; line-height: 1.65; color: var(--white-dim); font-weight: 300; }

@media (max-width: 900px) {
  #games .games-content { display: block; }
  .games-head { margin-bottom: 44px; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { content: ''; position: absolute; left: 31px; top: 36px; bottom: 36px; width: 1px; background: rgba(200,164,74,0.28); }
  .tl-track { display: none; }
  .tl-item { height: auto; min-height: 0; padding: 12px 0 26px 86px; }
  .tl-node { position: absolute; left: 0; top: 14px; transform: none; width: 62px; height: 62px; font-size: 24px; box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px rgba(200,164,74,0.3); }
  .tl-node::after { inset: -12px; }
  .tl-node::before { display: none; }
  .tl-info { position: static; transform: none; width: auto; max-width: none; text-align: left; }
  .tl-item.up .tl-info, .tl-item.down .tl-info { bottom: auto; top: auto; }
}

/* ═══════════════════════════════════════════════════════════
   STAT BENTO (секция «Клуб в цифрах») — крупные числа в сетке
   ═══════════════════════════════════════════════════════════ */
#achievements .achievements-content { display: block; }
.stat-head { max-width: 660px; margin-bottom: 60px; }
.stat-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(200,164,74,0.16);
  border-left: 1px solid rgba(200,164,74,0.16);
  position: relative; z-index: 2;
}
.stat-cell {
  border-right: 1px solid rgba(200,164,74,0.16);
  border-bottom: 1px solid rgba(200,164,74,0.16);
  padding: 40px 34px 42px;
  min-height: 252px;
  display: flex; flex-direction: column;
  transition: background 0.4s ease;
}
.stat-cell:hover { background: rgba(200,164,74,0.04); }
.stat-figure {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: clamp(46px, 4.6vw, 84px);
  font-weight: 400; line-height: 1;
  letter-spacing: 0.01em; color: var(--white);
  margin-bottom: auto;
}
.stat-desc { font-size: 14px; line-height: 1.6; color: var(--white-dim); font-weight: 300; margin-top: 30px; max-width: 230px; }

@media (max-width: 900px) { .stat-bento { grid-template-columns: repeat(2, 1fr); } .stat-cell { min-height: 200px; padding: 32px 26px 34px; } }
@media (max-width: 540px) { .stat-bento { grid-template-columns: 1fr; } .stat-cell { min-height: 0; padding: 28px 22px 30px; } .stat-figure { font-size: 54px; } .stat-desc { margin-top: 16px; max-width: none; } .stat-head { margin-bottom: 40px; } }

/* ═══════════════════════════════════════════════════════════
   ДЕСКТОП-ШАПКА (как на фото): одна строка, прозрачная над hero,
   лого + меню слева, справа — телефон + мессенджеры
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 901px) {
  :root { --nav-h: 78px; }
  .nav-menu-btn { display: none; }
  nav {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-h); padding: 0 44px; gap: 26px;
    background: transparent; border-bottom: 1px solid transparent; box-shadow: none;
  }
  nav.scrolled {
    height: 66px;
    background: rgba(9,20,14,0.8);
    backdrop-filter: blur(18px) saturate(1.2);
    -webkit-backdrop-filter: blur(18px) saturate(1.2);
    border-bottom-color: rgba(200,164,74,0.18);
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  }
  .nav-logo { position: static; left: auto; transform: none; margin-right: 6px; }
  .nav-links { display: flex !important; gap: 30px; flex: 1; justify-content: center; }
  .nav-link { font-size: 12px; letter-spacing: 0.16em; padding: 6px 0; }
  .nav-link.active::after { left: 0; right: 0; width: auto; transform: none; }
  .nav-tools { display: flex; align-items: center; gap: 16px; }
  .nav-cta { display: none; }
  .nav-tools .nav-msg + .city-switcher { margin-left: 4px; }
}
@media (min-width: 901px) and (max-width: 1280px) {
  nav { padding: 0 28px; gap: 18px; }
  .nav-links { gap: 22px; }
  .nav-link { font-size: 11px; letter-spacing: 0.12em; }
  .nav-phone-num { font-size: 13px; }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .nav-phone-num { display: none; }
}

/* Телефон и мессенджеры в шапке */
.nav-phone { display: inline-flex; align-items: center; gap: 9px; color: var(--white); text-decoration: none; font-family: 'TT Drugs', 'Manrope', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: 0.01em; white-space: nowrap; transition: color 0.2s ease; }
.nav-phone:hover { color: var(--gold); }
.nav-phone-ico { width: 17px; height: 17px; color: var(--gold); display: inline-flex; }
.nav-phone-ico svg { width: 17px; height: 17px; fill: currentColor; }
.nav-msg { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: transparent; border: 1px solid rgba(255,255,255,0.18); transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease; }
.nav-msg svg { width: 18px; height: 18px; fill: currentColor; }
.nav-msg.wa { color: #2fd671; }
.nav-msg.tg { color: #3db4f2; }
.nav-msg:hover { border-color: currentColor; background: rgba(255,255,255,0.05); transform: translateY(-2px); }
.nav-msg:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.35); }

@media (max-width: 900px) {
  .nav-phone, .nav-msg { display: none; }
}

/* галерея с малым числом фото — крупные равные плитки */
.gallery-grid.gallery-few { grid-template-columns: 1fr 1fr; grid-auto-rows: 400px; }
.gallery-grid.gallery-few .gallery-item.wide,
.gallery-grid.gallery-few .gallery-item.tall { grid-column: auto; grid-row: auto; }
@media (max-width: 700px) { .gallery-grid.gallery-few { grid-template-columns: 1fr; grid-auto-rows: 260px; } }

/* ─── Иконки в «Клуб в цифрах» ─── */
.stat-ico {
  width: 46px; height: 46px;
  border: 1px solid rgba(200,164,74,0.3);
  border-radius: 12px;
  background: rgba(200,164,74,0.06);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
}
.stat-cell:hover .stat-ico { background: rgba(200,164,74,0.12); border-color: rgba(200,164,74,0.55); transform: translateY(-2px); }
.stat-ico svg { width: 23px; height: 23px; color: var(--gold); }
@media (max-width: 540px) { .stat-ico { width: 42px; height: 42px; margin-bottom: 18px; } }

/* ═══════════════════════════════════════════════════════════
   «Клуб в цифрах» — таймлайн на 4 узла (как «Когда и как играем»)
   ═══════════════════════════════════════════════════════════ */
.tl-fig {
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: clamp(38px, 3.4vw, 58px);
  font-weight: 400; line-height: 1; color: var(--white);
  letter-spacing: 0.01em; margin: 2px 0 12px;
}
.tl-node svg { width: 36px; height: 36px; color: #0a1a10; }
@media (min-width: 1181px) {
  .timeline.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .timeline.cols-4 .tl-item { height: 420px; }
  .timeline.cols-4 .tl-info { width: 244px; }
  .timeline.cols-4 .tl-track { left: 12%; right: 12%; }
}
@media (max-width: 1180px) {
  .timeline.cols-4 { grid-template-columns: 1fr; position: relative; }
  .timeline.cols-4 .tl-track { display: none; }
  .timeline.cols-4::before { content: ''; position: absolute; left: 31px; top: 36px; bottom: 36px; width: 1px; background: rgba(200,164,74,0.28); }
  .timeline.cols-4 .tl-item { height: auto; padding: 12px 0 26px 86px; }
  .timeline.cols-4 .tl-node { position: absolute; left: 0; top: 14px; transform: none; width: 62px; height: 62px; box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px rgba(200,164,74,0.3); }
  .timeline.cols-4 .tl-node::after { inset: -12px; }
  .timeline.cols-4 .tl-node::before { display: none; }
  .timeline.cols-4 .tl-node svg { width: 26px; height: 26px; }
  .timeline.cols-4 .tl-info { position: static; transform: none; width: auto; max-width: none; text-align: left; }
  .timeline.cols-4 .tl-item.up .tl-info, .timeline.cols-4 .tl-item.down .tl-info { bottom: auto; top: auto; }
  .tl-fig { margin: 0 0 8px; }
}

/* ═══════════════════════════════════════════════════════════
   FAQ — премиальный аккордеон-карточки с +/−
   ═══════════════════════════════════════════════════════════ */
.faq-list { gap: 0; }
.faq-item {
  border: 1px solid rgba(200,164,74,0.16);
  border-bottom: 1px solid rgba(200,164,74,0.16);
  border-radius: 12px;
  margin-bottom: 12px;
  background: rgba(26,53,40,0.3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-item:hover { border-color: rgba(200,164,74,0.32); }
.faq-question { padding: 20px 22px; gap: 14px; }
.faq-answer { padding-left: 22px; padding-right: 56px; }
.faq-answer.open { max-height: 420px; padding-bottom: 22px; }
.faq-chevron {
  font-size: 0 !important;
  width: 26px; height: 26px; min-width: 26px;
  border: 1px solid rgba(200,164,74,0.4); border-radius: 50%;
  position: relative; margin-left: auto;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.faq-chevron::before, .faq-chevron::after {
  content: ''; position: absolute; left: 50%; top: 50%; background: var(--gold);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.faq-chevron::before { width: 11px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-chevron::after  { width: 1.5px; height: 11px; transform: translate(-50%, -50%); }
.faq-question.active .faq-chevron { transform: none; border-color: var(--gold); background: rgba(200,164,74,0.12); }
.faq-question.active .faq-chevron::after { opacity: 0; }

/* центрируем мессенджеры в блоке контактов на главной */
.contacts-messengers { justify-content: center; margin: 22px 0 26px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════
   ПОДВАЛ — многоколоночный (стиль референса, наша палитра)
   ═══════════════════════════════════════════════════════════ */
.site-footer { padding: 0; background: #0a1b12; }
.footer-top {
  max-width: 1280px; margin: 0 auto;
  padding: 66px 40px 50px;
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.5fr; gap: 40px;
}
.footer-logo { display: inline-block; line-height: 0; }
.footer-logo img { height: 50px; width: auto; }
.footer-tag { font-size: 13px; line-height: 1.7; color: var(--white-dim); margin: 18px 0 22px; max-width: 290px; font-weight: 300; }
.footer-soc-groups { display: flex; flex-direction: column; gap: 18px; }
.footer-soc-cat { display: flex; flex-direction: column; gap: 10px; }
.footer-soc-label {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(200,164,74,0.75);
  white-space: nowrap;
}
.footer-socials { display: flex; align-items: center; gap: 12px; }
.footer-soc {
  width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--white);
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.footer-soc svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.footer-soc.wa { color: #2fd671; }
.footer-soc.tg { color: #3db4f2; }
.footer-soc.ig { color: #e1306c; }
.footer-soc:hover { border-color: currentColor; background: rgba(255,255,255,0.05); transform: translateY(-2px); }
.footer-h { font-family: 'TT Drugs', 'Manrope', sans-serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
.footer-nav a { font-size: 14px; color: var(--white-dim); text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-nav a:hover { color: var(--white); padding-left: 4px; }
.footer-contacts { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-contact { font-size: 14px; color: var(--white-dim); text-decoration: none; transition: color 0.2s ease; }
a.footer-contact:hover { color: var(--gold); }
.footer-contact.dim { color: rgba(255,255,255,0.4); }
.footer-cta {
  margin-top: 12px; background: var(--gold); color: #0a1a10; border: none;
  padding: 12px 28px; border-radius: 3px;
  font-family: 'TT Drugs', 'Manrope', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; transition: background 0.25s ease, transform 0.2s ease;
}
.footer-cta:hover { background: var(--gold-light); transform: translateY(-1px); }
.footer-bottom {
  border-top: 1px solid rgba(200,164,74,0.1);
  max-width: 1280px; margin: 0 auto; padding: 22px 40px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-legal { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; margin: 0; padding: 0; }
.footer-legal a { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s ease; }
.footer-legal a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 24px; padding: 48px 24px 38px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 20px 24px 24px; flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════
   CAROUSEL (интерьер — листаемая галерея)
   ═══════════════════════════════════════════════════════════ */
.carousel { position: relative; max-width: 1000px; margin: 44px auto 0; outline: none; }
.carousel-viewport { overflow: hidden; border-radius: 14px; border: 1px solid rgba(200,164,74,0.2); box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); will-change: transform; }
.carousel-slide { min-width: 100%; position: relative; aspect-ratio: 16/10; background: var(--green); }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 28px 20px;
  background: linear-gradient(to top, rgba(8,20,13,0.9), transparent);
  font-family: 'TT Ricordi Allegria', 'Forum', serif; font-size: 22px; letter-spacing: 0.02em;
}
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(13,34,24,0.72); border: 1px solid rgba(200,164,74,0.4); color: var(--gold);
  font-size: 24px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease; z-index: 2;
}
.carousel-arrow:hover { background: var(--gold); color: #0a1a10; border-color: var(--gold); }
.carousel-arrow.prev { left: -25px; }
.carousel-arrow.next { right: -25px; }
.carousel-dots { display: flex; gap: 9px; justify-content: center; margin-top: 24px; }
.carousel-dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(200,164,74,0.5); background: transparent; cursor: pointer; padding: 0; transition: background 0.25s ease, transform 0.25s ease; }
.carousel-dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.15); }
@media (max-width: 700px) {
  .carousel-arrow { width: 40px; height: 40px; font-size: 20px; }
  .carousel-arrow.prev { left: 8px; }
  .carousel-arrow.next { right: 8px; }
  .carousel-cap { font-size: 17px; padding: 34px 18px 16px; }
}

/* подпись о доступности телефона рядом с графиком */
.contacts-note, .contact-note {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 11px; letter-spacing: 0.04em; line-height: 1.4;
  color: rgba(200,164,74,0.75);
  margin-top: 8px;
  display: flex; align-items: center; gap: 7px;
}
.contact-note { justify-content: center; }
.contacts-note::before, .contact-note::before {
  content: '☎'; font-size: 10px; opacity: 0.85;
}

/* бейдж NEW у пункта меню «Франшиза» */
.nav-link { position: relative; }
.nav-badge {
  display: inline-block; margin-left: 6px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 8px; font-weight: 700; letter-spacing: 0.12em;
  color: #0a1a10; background: var(--gold);
  border-radius: 3px; padding: 2px 4px; line-height: 1;
  vertical-align: super;
  animation: newPulse 2.6s ease-in-out infinite;
}
@keyframes newPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(200,164,74,0.5); } 50% { box-shadow: 0 0 0 4px rgba(200,164,74,0); } }
.menu-item { position: relative; display: inline-flex; align-items: center; }
.menu-badge {
  margin-left: 12px;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  color: #0a1a10; background: var(--gold);
  border-radius: 4px; padding: 3px 7px; line-height: 1;
  align-self: center;
}

/* ═══════════════════════════════════════════════════════════
   VIDEO PLAYER MODAL
   ═══════════════════════════════════════════════════════════ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 14, 9, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.video-modal.open { display: flex; }
.video-modal-inner {
  position: relative;
  width: min(960px, 100%);
  display: flex;
}
.video-modal video {
  width: 100%;
  max-height: 86vh;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.video-modal-close {
  position: absolute;
  top: 22px; right: 26px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.video-modal-close:hover { border-color: var(--gold); color: var(--gold); background: rgba(0, 0, 0, 0.5); }
@media (max-width: 600px) {
  .video-modal { padding: 16px; }
  .video-modal-close { top: 14px; right: 14px; width: 42px; height: 42px; }
}

/* ═══════════════════════════════════════════════════════════
   FRANCHISE HERO — затемнённое интерьер-фото на фоне
   ═══════════════════════════════════════════════════════════ */
.franchise-hero { padding-top: calc(var(--nav-h) + 48px); }
.franchise-hero .page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.franchise-hero .page-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(8,18,12,0.45) 0%, rgba(8,18,12,0.72) 70%, rgba(8,18,12,0.92) 100%),
    linear-gradient(to bottom, rgba(8,18,12,0.55), rgba(8,18,12,0.8));
}
.franchise-hero .arc { z-index: 1; }

/* ═══════════════════════════════════════════════════════════
   SECTION NAV — плавающее меню разделов (страница франшизы)
   ═══════════════════════════════════════════════════════════ */
html { scroll-behavior: smooth; }
.page-section[id], .page-hero[id] { scroll-margin-top: calc(var(--nav-h) + 14px); }
.sec-nav {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 1200;
  font-family: 'TT Drugs', 'Manrope', sans-serif;
}
.sec-nav-pill {
  display: flex; align-items: center; gap: 14px;
  background: rgba(16,26,20,0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(200,164,74,0.3); border-radius: 12px;
  padding: 13px 20px; cursor: pointer; color: var(--white);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5);
  transition: border-color 0.2s ease;
}
.sec-nav-pill:hover { border-color: rgba(200,164,74,0.6); }
.sec-nav-count { font-size: 12px; letter-spacing: 0.08em; color: rgba(200,164,74,0.9); }
.sec-nav-name { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; }
.sec-nav-chev { width: 16px; height: 16px; color: rgba(200,164,74,0.9); transition: transform 0.25s ease; flex-shrink: 0; }
.sec-nav.open .sec-nav-chev { transform: rotate(180deg); }
.sec-nav-menu {
  position: absolute; left: 0; bottom: calc(100% + 12px);
  min-width: 100%;
  background: rgba(12,20,15,0.97);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(200,164,74,0.25); border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.55);
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.sec-nav.open .sec-nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sec-nav-link {
  display: flex; align-items: baseline; gap: 14px;
  font-family: 'TT Ricordi Allegria', 'Forum', serif;
  font-size: clamp(20px, 1.8vw, 28px);
  text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.25;
  color: rgba(255,255,255,0.78); text-decoration: none; white-space: nowrap;
  padding: 3px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.sec-nav-link:hover { color: var(--gold); padding-left: 6px; }
.sec-nav-link.active { color: var(--gold); }
.sec-nav-link-num {
  font-family: 'TT Drugs', 'Manrope', sans-serif;
  font-size: 11px; letter-spacing: 0.08em; color: rgba(200,164,74,0.7);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .sec-nav { bottom: 16px; left: 16px; right: 16px; transform: none; }
  .sec-nav-pill { width: 100%; justify-content: space-between; }
  .sec-nav-menu { left: 0; right: 0; padding: 16px 18px; }
  .sec-nav-link { font-size: 19px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE: бургер справа, меню сверху, город/язык в меню, центр. подвал
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  /* Шапка: логотип по центру, бургер справа, инструменты — в меню */
  .nav-menu-btn { margin-left: auto; }
  .nav-tools { display: none !important; }

  /* Меню-оверлей: на весь экран, вылетает СВЕРХУ */
  .menu-overlay { background: rgba(5,10,7,0.6); }
  .menu-left {
    left: 0; right: 0; top: 0; bottom: auto;
    width: 100%; max-width: none; height: 100%;
    border-right: none; box-shadow: none;
    transform: translateY(-100%);
    transition: transform 0.62s cubic-bezier(0.76, 0, 0.24, 1);
    align-items: center; justify-content: center;
    text-align: center;
    gap: 28px;
    padding: calc(var(--nav-h) + 24px) 24px 36px;
  }
  .menu-overlay.open .menu-left { transform: translateY(0); }

  /* Город + язык — по центру вверху меню */
  .menu-top {
    display: flex; justify-content: center; align-items: center;
    gap: 14px; margin-bottom: 0;
    position: relative; z-index: 5;
  }
  .menu-top .city-switcher.open { z-index: 6; }
  .menu-city, .menu-lang { display: inline-block; }
  .menu-top .city-dropdown { left: 50%; right: auto; transform: translateX(-50%) translateY(8px); background: #0e2417; }
  .menu-top .city-switcher.open .city-dropdown { transform: translateX(-50%) translateY(0); }

  /* Пункты — по центру (ниже выпадающих списков) */
  .menu-nav { align-items: center; position: relative; z-index: 1; }
  .menu-item { width: auto; text-align: center; padding-left: 0; }
  .menu-item:hover { padding-left: 0; }

  /* Низ: телефон + соцсети по центру, без прижатия к низу */
  .menu-bottom {
    margin-top: 0; width: 100%; max-width: 300px;
    border-top: 1px solid rgba(200,164,74,0.14);
    padding-top: 28px;
    display: flex; flex-direction: column; align-items: center; gap: 16px;
  }
  .menu-cta { justify-content: center; }
  .menu-socials { align-items: center; text-align: center; }
  .menu-socials-row { justify-content: center; }
}

@media (max-width: 760px) {
  /* Подвал: всё по центру, без логотипа, навигация скрыта (она в меню) */
  .site-footer { text-align: center; }
  .footer-top {
    display: flex; flex-direction: column; align-items: center;
    gap: 26px; padding: 44px 24px 34px;
  }
  .footer-brand { display: contents; }
  .footer-logo { display: none; }
  .footer-tag { order: 1; max-width: 320px; margin: 0; }
  .footer-contacts { order: 2; align-items: center; }
  .footer-soc-groups { order: 3; align-items: center; }
  .footer-soc-cat { align-items: center; }
  .footer-soc-label { text-align: center; }
  .footer-socials { justify-content: center; }
  /* Скрываем колонки навигации и документов (есть в бургер-меню) */
  .footer-col:not(.footer-brand):not(.footer-contacts) { display: none; }
  /* Нижняя плашка по центру */
  .footer-bottom {
    flex-direction: column; align-items: center; text-align: center; gap: 12px;
  }
  .footer-legal { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE: блоки по стандарту — высота по контенту, компактнее
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  /* секции не на весь экран, меньше воздуха */
  section {
    min-height: auto;
    padding: calc(var(--nav-h) + 30px) 22px 52px;
    justify-content: flex-start;
  }
  /* убрать телефон+адрес из слайд-футера каждой секции на мобиле */
  .slide-info-right { display: none; }
  #hero { min-height: 88vh; justify-content: center; padding-bottom: 44px; }

  /* заголовки и текст компактнее */
  .section-title { font-size: clamp(28px, 8vw, 38px); margin-bottom: 16px; line-height: 1.05; }
  .section-h2 { font-size: clamp(25px, 7.2vw, 34px); }
  .section-body, .section-text { font-size: 13.5px; line-height: 1.7; margin-bottom: 22px; }
  .page-hero { padding: calc(var(--nav-h) + 24px) 22px 30px; }
  .page-h1 { font-size: clamp(28px, 8vw, 40px); }
  .page-lead { font-size: 14px; }

  /* карточки/сетки — плотнее */
  .page-section { padding: 44px 22px; }
  .feature-grid { gap: 12px; }
  .timeline { gap: 26px; }
  .stat-bento { gap: 12px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .stat-bento { grid-template-columns: 1fr; }
}
