/* Альянс силы сообществ - визуальная система */

:root {
  --blue: #0e3aac;
  --blue-dark: #0a2c85;
  --blue-soft: #e8edfa;
  --blue-line: #c9d5f2;
  --ink: #16161d;
  --ink-2: #22222c;
  --ink-soft: #383838;
  --green: #3ec300;
  --accent-soft: #b6ccff;
  --green-dark: #2f9a00;
  --paper: #f8f8f8;
  --white: #ffffff;
  --muted: #5c6272;
  --muted-dark: #a9b0c4;
  --line: #e4e7ef;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(14, 58, 172, .10);
  --shadow-lg: 0 30px 80px rgba(10, 25, 70, .18);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0;
}

h1 { font-size: clamp(44px, 7.4vw, 92px); font-weight: 900; }
h2 { font-size: clamp(30px, 3.9vw, 48px); font-weight: 800; }
h3 { font-size: clamp(19px, 1.5vw, 22px); font-weight: 700; }

p { margin: 0 0 14px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.wrap-narrow { max-width: 860px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--blue);
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  z-index: 100;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid #7aa2ff;
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- шапка --- */

.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.top.is-scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: 0;
}
.top.is-scrolled .brand,
.footer .brand { color: var(--ink); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--white);
  color: var(--blue);
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .02em;
  flex: 0 0 auto;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.top.is-scrolled .brand-mark { background: var(--blue); color: var(--white); }

.brand-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
}
.brand-text small {
  display: block;
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-size: 11.5px;
  opacity: .68;
  letter-spacing: .01em;
}

.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
}
.nav a { transition: color .2s var(--ease); }
.nav a:hover { color: var(--white); }
.top.is-scrolled .nav { color: var(--ink-soft); }
.top.is-scrolled .nav a:hover { color: var(--blue); }

.top-cta { margin-left: 4px; }
.top:not(.is-scrolled) .top-cta {
  background: rgba(255, 255, 255, .14);
  color: var(--white);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .35);
}
.top:not(.is-scrolled) .top-cta:hover { background: rgba(255, 255, 255, .24); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  border-radius: 2px;
}
.top.is-scrolled .nav-toggle { background: var(--blue-soft); }
.top.is-scrolled .nav-toggle span { background: var(--blue); }

/* --- кнопки --- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 15px 28px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 30px rgba(14, 58, 172, .28); }
.hero .btn-primary { background: var(--white); color: var(--blue); box-shadow: 0 14px 34px rgba(0, 0, 0, .22); }
.hero .btn-primary:hover { background: #e9eefc; }
.btn-primary:hover { background: var(--blue-dark); }

.btn-ghost {
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .28);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue-line);
}
.btn-outline:hover { border-color: var(--blue); background: var(--blue-soft); }

.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: #eef1fb; }

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }

/* --- первый экран --- */

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(125% 125% at 12% 0%, #1a4ad6 0%, #0e3aac 42%, #081d52 78%, #050b1e 100%);
  color: var(--white);
  padding: 150px 0 0;
  isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.orb-1 {
  width: 620px; height: 620px;
  right: -140px; top: -180px;
  background: radial-gradient(circle, #2f6bff 0%, rgba(47, 107, 255, 0) 68%);
  animation: float 18s ease-in-out infinite;
}
.orb-2 {
  width: 520px; height: 520px;
  left: -180px; bottom: -220px;
  background: radial-gradient(circle, #4d7dff 0%, rgba(77, 125, 255, 0) 66%);
  opacity: .35;
  animation: float 22s ease-in-out infinite reverse;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(80% 70% at 50% 20%, #000 0%, transparent 75%);
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, 30px, 0) scale(1.06); }
}

.hero-inner { position: relative; z-index: 1; padding-bottom: 90px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: rgba(255, 255, 255, .5);
  border-radius: 2px;
}
.section .eyebrow { color: var(--blue); }
.section .eyebrow::before { background: var(--blue); }

.hero h1 { max-width: 15ch; }
.hl {
  color: var(--accent-soft);
  display: inline-block;
}
.hero .lead {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: clamp(17px, 1.5vw, 21px);
  color: rgba(255, 255, 255, .82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 64px 0 0;
  max-width: 760px;
}
.facts li {
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding-top: 16px;
}
.facts b {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}
.facts span { font-size: 13px; color: rgba(255, 255, 255, .72); }

.hero-marquee {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

section[id] { scroll-margin-top: 100px; }

/* --- секции --- */

.section { padding: 104px 0; }
.section-soft { background: #f1f3f9; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .section-lead { color: var(--muted-dark); }
.section-dark .eyebrow { color: rgba(255, 255, 255, .62); }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 { margin-bottom: 18px; }
.section-lead { font-size: 18px; color: var(--muted); margin: 0; }

/* --- карточки --- */

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blue-line);
}
.card .num {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--blue);
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }

.card-accent {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.card-accent p { color: rgba(255, 255, 255, .84); }
.card-accent:hover { border-color: var(--blue); }

.card-dark {
  background: var(--ink-2);
  border-color: rgba(255, 255, 255, .12);
  color: var(--white);
}
.card-dark p { color: rgba(255, 255, 255, .72); }
.card-dark:hover { border-color: rgba(62, 195, 0, .5); }

/* --- кейсы --- */

.cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.case {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 30px;
}
.case-tag {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 14px;
}
.case h3 { margin-bottom: 12px; }
.case p { color: rgba(255, 255, 255, .78); }
.case-result {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: 14px;
  margin: 18px 0 0;
  font-size: 15px;
}
.case-result b { color: var(--white); }

/* --- программа --- */

.tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: #eef0f6;
  border-radius: 999px;
  margin-bottom: 34px;
}
.tab {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tab:hover { color: var(--blue); }
.tab.is-active { background: var(--white); color: var(--blue); box-shadow: 0 4px 14px rgba(16, 24, 40, .08); }

.day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.day-meta span {
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  counter-reset: step;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 92px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line);
}
.timeline li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 36px;
  padding: 14px 0;
  position: relative;
}
.timeline time {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--blue);
  text-align: right;
  padding-top: 2px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 88px;
  top: 21px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue-line);
}
.timeline h3 { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.timeline p { margin: 0; color: var(--muted); font-size: 14.5px; }

.game-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.game-copy h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.game-copy p { color: var(--muted); }
.checks { list-style: none; margin: 18px 0; padding: 0; }
.checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 15.5px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .14;
}
.checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.muted { color: var(--muted); font-size: 14px; }

.game-visual {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  background: radial-gradient(120% 120% at 20% 10%, #123fbe, #081a4d 70%);
  overflow: hidden;
}
.chip {
  position: absolute;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px);
}
.chip-green { right: 48px; top: 40px; background: rgba(182, 204, 255, .18); border-color: rgba(182, 204, 255, .45); }
.chip-blue { left: 88px; bottom: 44px; background: rgba(47, 107, 255, .24); }
.game-visual .chip:first-child { left: 34px; top: 64px; }

/* --- сообщества --- */

.communities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.community {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.community:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.community h3 { font-size: 17px; margin-bottom: 7px; }
.community p { color: var(--muted); font-size: 14.5px; margin: 0; }

.join {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.join h3 { font-size: 20px; margin-bottom: 8px; }
.join p { color: var(--muted); margin: 0; max-width: 56ch; }

/* --- партнёры --- */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.partner-cta {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 28px 30px;
  background: rgba(255, 255, 255, .04);
}
.partner-cta h3 { font-size: 21px; margin-bottom: 8px; }
.partner-cta p { color: var(--muted-dark); margin: 0; }

/* --- билеты --- */

.tariffs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}
.tariff {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.tariff:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tariff h3 { font-size: 22px; }
.tariff-date { color: var(--muted); font-size: 14px; margin: 4px 0 14px; }
.tariff-price {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 18px;
}
.tariff-price span { font-size: 22px; color: var(--muted); }
.tariff ul { list-style: none; margin: 0 0 24px; padding: 0; }
.tariff li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 15px;
  color: var(--ink-soft);
}
.tariff li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--blue);
}
.tariff .btn { margin-top: auto; }

.tariff-featured {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: scale(1.02);
}
.tariff-featured:hover { transform: translateY(-4px) scale(1.02); }
.tariff-featured .tariff-price { color: var(--white); }
.tariff-featured .tariff-price span,
.tariff-featured .tariff-date { color: rgba(255, 255, 255, .72); }
.tariff-featured li { color: rgba(255, 255, 255, .86); }

.tariff-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--green);
  color: #0c2b00;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.ticket-form-wrap {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 26px;
  margin-top: 42px;
  align-items: start;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form h3 { font-size: 22px; margin-bottom: 20px; }

.field { margin-bottom: 16px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--ink-soft);
}
input, select, textarea {
  width: 100%;
  border: 1.5px solid #dfe3ee;
  border-radius: 11px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
textarea { resize: vertical; min-height: 96px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(14, 58, 172, .12);
}
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: #d92d20; }
.err {
  margin: 6px 0 0;
  font-size: 13px;
  color: #d92d20;
  min-height: 0;
}
.err:empty { display: none; }

.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  margin: 22px 0 18px;
  padding-top: 18px;
}
.total span { color: var(--muted); font-size: 15px; }
.total b {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 800;
}
.form-status { min-height: 22px; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.form-status.is-error { color: #d92d20; }
.form-status.is-ok { color: var(--green-dark); }
.form-fine { margin: 12px 0 0; font-size: 12px; color: var(--muted); line-height: 1.5; }

.ticket-side {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  position: sticky;
  top: 104px;
}
.ticket-side h3 { font-size: 20px; margin-bottom: 16px; }
.ticket-side .checks li { color: rgba(255, 255, 255, .86); }
.ticket-side .checks li::before { background: rgba(255, 255, 255, .3); }
.ticket-side .checks li::after { border-color: var(--white); }
.side-note { border-top: 1px solid rgba(255, 255, 255, .22); margin-top: 20px; padding-top: 16px; }
.side-note b { font-family: "Montserrat", sans-serif; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.side-note p { margin: 6px 0 0; }
.side-note .muted { color: rgba(255, 255, 255, .72); }

/* --- FAQ --- */

.faq {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 24px;
  color: var(--blue);
  transition: transform .2s var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--muted); max-width: 70ch; }

/* --- подвал --- */

.footer { background: var(--ink); color: var(--white); padding: 64px 0 28px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer .brand-text { color: var(--white); }
.footer-note { color: var(--muted-dark); margin: 16px 0 0; max-width: 32ch; font-size: 14.5px; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.footer-nav a:hover { color: var(--accent-soft); }
.footer-contacts b { font-family: "Montserrat", sans-serif; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.footer-contacts .muted { color: rgba(255, 255, 255, .72); margin-top: 8px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  color: rgba(255, 255, 255, .5);
  font-size: 13px;
}

/* --- модальное окно --- */

.modal {
  border: 0;
  border-radius: 20px;
  padding: 0;
  width: min(520px, calc(100% - 32px));
  box-shadow: var(--shadow-lg);
}
.modal::backdrop { background: rgba(8, 15, 35, .6); backdrop-filter: blur(3px); }
.modal-form { padding: 30px; position: relative; margin: 0; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eef0f6;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: #e2e6f1; }
.modal h3 { font-size: 23px; margin-bottom: 6px; }
.modal-sub { color: var(--muted); font-size: 14.5px; margin: 0 24px 18px 0; }

/* --- анимации появления --- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* --- адаптив --- */

@media (max-width: 1080px) {
  .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .top-inner { height: 72px; }
  .nav {
    position: absolute;
    top: 72px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 4px;
    background: var(--white);
    color: var(--ink);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav a:hover { background: var(--blue-soft); }
  .nav-toggle { display: block; }
  .top-cta { display: none; }

  .hero { padding-top: 120px; }
  .hero-inner { padding-bottom: 64px; }

  .section { padding: 76px 0; }
  .cases, .communities, .tariffs, .ticket-form-wrap { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: 1fr; }
  .ticket-side { position: static; }
  .join, .partner-cta { flex-direction: column; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .brand-text { font-size: 13.5px; }
  .brand-text small { font-size: 10.5px; }
  .about-grid, .partner-grid { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 56px 1fr; gap: 22px; }
  .timeline::before { left: 66px; }
  .timeline li::before { left: 62px; }
  .timeline time { font-size: 13px; }
  .field-row { grid-template-columns: 1fr; }
  .form, .ticket-side, .modal-form { padding: 22px; }
  .tariff-price { font-size: 34px; }
  .hero-actions .btn { width: 100%; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 11px 12px; font-size: 13px; }
  .facts { gap: 12px; }
  .facts b { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
/* Блочная программа */
.blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.block {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.block:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue-line); }
.block-num {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--blue);
  padding-top: 4px;
  flex: 0 0 auto;
}
.block h3 { font-size: 18px; margin-bottom: 6px; }
.block p { margin: 0; color: var(--muted); font-size: 15px; }

/* Единый билет */
.ticket-single {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 26px;
  align-items: start;
}
.sum-card {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  position: sticky;
  top: 104px;
}
.sum-label {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  margin-bottom: 14px;
}
.sum-price {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1;
  margin: 0;
}
.sum-price span { font-size: 26px; color: rgba(255, 255, 255, .7); }
.sum-sub { color: rgba(255, 255, 255, .78); margin: 10px 0 20px; font-size: 15px; }
.sum-card .checks li { color: rgba(255, 255, 255, .9); }
.sum-card .checks li::before { background: rgba(255, 255, 255, .3); }
.sum-card .checks li::after { border-color: var(--white); }
.sum-card .muted { color: rgba(255, 255, 255, .62); margin-top: 18px; font-size: 13px; }

@media (max-width: 940px) {
  .blocks { grid-template-columns: 1fr; }
  .ticket-single { grid-template-columns: 1fr; }
  .sum-card { position: static; }
}