/* ==========================================================================
   АСКР — Ассоциация спортивных клубов России
   Дизайн-система сайта. Светлая официальная линия, палитра из логотипа.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  /* Палитра снята с эмблемы АСКР */
  --navy-900: #0a1740;
  --navy-800: #11225f;
  --navy-700: #16307f;
  --blue-600: #1f6fd6;
  --blue-500: #2e86e0;
  --blue-300: #7fb6f0;
  --blue-100: #e2edfb;
  --blue-50: #f2f7fe;
  --red-700: #b4181a;
  --red-600: #d81e1e;
  --red-500: #e52521;
  --red-50: #fdeceb;

  --ink: #0e1729;
  --muted: #5a6785;
  --muted-soft: #8592ad;
  --line: #dde4f0;
  --line-soft: #eaf0f8;
  --bg: #ffffff;
  --surface: #f5f8fd;

  --display: "Oswald", "Roboto Condensed", "PT Sans Narrow", Impact, sans-serif;
  --text: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 41, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(11, 34, 95, 0.28);
  --shadow-lg: 0 24px 60px -24px rgba(11, 34, 95, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:hover {
  color: var(--navy-800);
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--navy-900);
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

h4 {
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Каркас
   -------------------------------------------------------------------------- */

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line-soft);
}

.section--navy {
  background: var(--navy-900);
  color: #dbe4f6;
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: #fff;
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section__head--between {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--red-600);
}

.section--navy .eyebrow {
  color: var(--blue-300);
}

.section--navy .eyebrow::before {
  background: var(--blue-300);
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--muted);
  margin-top: 16px;
}

.section--navy .lead {
  color: #b8c6e3;
}

/* Триколор — сквозной мотив айдентики */
.tricolor {
  display: flex;
  height: 4px;
  width: 100%;
}

.tricolor span {
  flex: 1;
}

.tricolor span:nth-child(1) {
  background: #eef3fb;
}

.tricolor span:nth-child(2) {
  background: var(--blue-600);
}

.tricolor span:nth-child(3) {
  background: var(--red-600);
}

.tricolor--short {
  width: 132px;
  height: 5px;
}

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--navy-900);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand__name {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--navy-800);
}

.brand__full {
  display: block;
  font-family: var(--text);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 9px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav a:hover {
  background: var(--blue-50);
  color: var(--navy-800);
}

.nav a[aria-current="page"] {
  color: var(--navy-800);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--red-600);
  border-radius: 0;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-800);
}

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--display);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--navy-800);
  color: #fff;
}

.btn--primary:hover {
  background: var(--navy-900);
  color: #fff;
}

.btn--red {
  background: var(--red-600);
  color: #fff;
}

.btn--red:hover {
  background: var(--red-700);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--navy-800);
  background: var(--blue-50);
  color: var(--navy-800);
}

.btn--light {
  background: #fff;
  color: var(--navy-800);
}

.btn--light:hover {
  background: var(--blue-100);
  color: var(--navy-900);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 0.82rem;
}

.btn--header {
  padding: 10px 18px;
  font-size: 0.82rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-800);
}

.link-arrow::after {
  content: "→";
  transition: transform 0.15s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Герой
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #fff 0%, var(--blue-50) 58%, #eaf1fd 100%);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% -10%;
  height: 220px;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(31, 111, 214, 0.14) 45%,
    rgba(216, 30, 30, 0.14) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(-6deg);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 5vw, 72px);
}

.hero__slogan {
  font-family: var(--display);
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin: 0;
}

.hero__slogan em {
  font-style: normal;
  color: var(--red-600);
}

.hero__kicker {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
}

.hero__emblem {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__emblem img {
  width: min(100%, 400px);
  filter: drop-shadow(0 24px 44px rgba(11, 34, 95, 0.22));
  mix-blend-mode: multiply;
}

/* Компактный герой внутренних страниц */
.page-hero {
  background: var(--navy-900);
  color: #cfdbf2;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(46, 134, 224, 0.4) 0%, rgba(46, 134, 224, 0) 62%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  padding: clamp(44px, 6vw, 76px) 0;
  max-width: 820px;
}

.page-hero h1 {
  color: #fff;
}

.page-hero .lead {
  color: #b8c6e3;
}

.page-hero .eyebrow {
  color: var(--blue-300);
}

.page-hero .eyebrow::before {
  background: var(--blue-300);
}

.crumbs {
  font-size: 0.84rem;
  color: #8fa3cc;
  margin-bottom: 18px;
}

.crumbs a {
  color: #b8c6e3;
}

.crumbs a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Сетки и карточки
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 20px;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.card--flat {
  box-shadow: none;
}

.card__num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--blue-100);
  margin-bottom: 10px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.card--accent {
  border-top: 4px solid var(--red-600);
}

.section--navy .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.section--navy .card p {
  color: #b8c6e3;
}

.section--navy .card__num {
  color: rgba(127, 182, 240, 0.35);
}

/* --------------------------------------------------------------------------
   Карточка турнира
   -------------------------------------------------------------------------- */

.tcard {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.tcard:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--blue-300);
}

.tcard__date {
  background: var(--navy-800);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 10px;
  text-align: center;
  position: relative;
}

.tcard--red .tcard__date {
  background: var(--red-600);
}

.tcard--muted .tcard__date {
  background: #7b88a5;
}

.tcard__day {
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 0.95;
}

.tcard__month {
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 6px;
}

.tcard__year {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  opacity: 0.75;
  margin-top: 4px;
}

/* Афиша-миниатюра между датой и текстом */
.tcard--with-poster {
  grid-template-columns: 108px 120px minmax(0, 1fr);
}

.tcard__poster {
  position: relative;
  display: block;
  background: var(--navy-900);
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.tcard__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.tcard:hover .tcard__poster img {
  transform: scale(1.04);
}

.tcard--muted .tcard__poster img {
  filter: grayscale(0.4);
  opacity: 0.85;
}

.tcard__body {
  padding: 22px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tcard__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tcard__title {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.12;
  color: var(--navy-900);
  margin: 0;
}

.tcard__title a {
  color: inherit;
}

.tcard__title a:hover {
  color: var(--blue-600);
}

.tcard__sub {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0;
}

.tcard__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.87rem;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.tcard__meta b {
  color: var(--ink);
  font-weight: 600;
}

.tcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 999px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.pill--open {
  background: var(--red-50);
  color: var(--red-700);
}

.pill--soon {
  background: var(--blue-50);
  color: var(--navy-700);
}

.pill--live {
  background: #fff2e0;
  color: #a04b00;
}

.pill--past {
  background: #eef1f6;
  color: #6b7891;
}

.pill--tba {
  background: #f3eefb;
  color: #5b3fa0;
}

/* --------------------------------------------------------------------------
   Ближайший турнир — крупный блок
   -------------------------------------------------------------------------- */

.next {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.next__main {
  padding: clamp(28px, 4vw, 44px);
}

.next__aside {
  background: var(--navy-900);
  color: #cfdbf2;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.next__aside h4 {
  color: #fff;
  letter-spacing: 0.12em;
}

.next__aside dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.next__aside dt {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8fa3cc;
}

.next__aside dd {
  margin: 3px 0 0;
  color: #fff;
  font-weight: 500;
}

.next__title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--navy-900);
  margin: 12px 0 8px;
}

.next__disciplines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 26px;
}

.next__disc {
  background: #fff;
  padding: 14px 16px;
}

.next__disc b {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-800);
}

.next__disc span {
  display: block;
  font-size: 0.79rem;
  color: var(--muted);
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Афиша турнира
   -------------------------------------------------------------------------- */

.poster {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy-900);
  line-height: 0;
}

.poster img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.poster:hover img {
  transform: scale(1.02);
}

.poster__hint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 14px 11px;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  background: linear-gradient(to top, rgba(10, 23, 64, 0.88), rgba(10, 23, 64, 0));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.poster:hover .poster__hint {
  opacity: 1;
}

/* В тёмной колонке ближайшего турнира афиша прижата к низу */
.poster--aside {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Крупная афиша в шапке страницы турнира */
.poster--hero {
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.75);
}

/* --------------------------------------------------------------------------
   Сетка месяца
   -------------------------------------------------------------------------- */

.cal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 24px;
}

.cal__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.cal__title {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-900);
  margin: 0;
}

.cal__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cal__arrow {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy-800);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.cal__arrow:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
}

.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.cal__dow {
  padding: 10px 4px;
  text-align: center;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.cal__dow--we {
  color: var(--red-600);
}

.cal__cell {
  min-height: 104px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: none;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  font-family: var(--text);
  width: 100%;
  min-width: 0;
}

/* Последняя колонка недели — без правой границы */
.cal__grid > *:nth-child(7n) {
  border-right: none;
}

.cal__cell--out {
  background: var(--surface);
}

.cal__cell--has {
  cursor: pointer;
}

.cal__cell--has:hover {
  background: var(--blue-50);
}

.cal__cell--today {
  box-shadow: inset 0 0 0 2px var(--navy-800);
}

.cal__cell--sel {
  background: var(--navy-900);
}

.cal__cell--sel:hover {
  background: var(--navy-900);
}

.cal__num {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1;
}

.cal__cell--today .cal__num {
  color: var(--navy-800);
  font-weight: 700;
}

.cal__cell--sel .cal__num {
  color: #fff;
}

.cal__evs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.cal__ev {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.cal__thumb {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

.cal__thumb--navy {
  background: var(--navy-800);
}

.cal__thumb--red {
  background: var(--red-600);
}

.cal__ev b {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy-800);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cal__cell--sel .cal__ev b {
  color: #fff;
}

.cal__foot {
  margin: 0;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  font-size: 0.87rem;
  color: var(--muted);
  background: var(--surface);
}

/* Выбранный день или месяц — снимается крестиком у счётчика */
.pickchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 4px 11px;
  font-family: var(--text);
  font-size: 0.83rem;
  font-weight: 600;
  color: #fff;
  background: var(--navy-800);
  border: none;
  border-radius: 999px;
  cursor: pointer;
}

.pickchip:hover {
  background: var(--red-600);
}

/* --------------------------------------------------------------------------
   Фильтры календаря
   -------------------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.filters__group {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.filters__label {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.filters__options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fbtn {
  padding: 7px 14px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--text);
  transition: all 0.14s ease;
}

.fbtn:hover {
  border-color: var(--blue-300);
  background: var(--blue-50);
}

.fbtn[aria-pressed="true"] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

.filters__reset {
  margin-left: auto;
  align-self: flex-end;
}

.result-count {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.result-count b {
  color: var(--ink);
}

.tlist {
  display: grid;
  gap: 16px;
}

.empty {
  padding: 48px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
  background: var(--surface);
}

/* --------------------------------------------------------------------------
   Страница турнира
   -------------------------------------------------------------------------- */

.t-hero__inner {
  max-width: none;
}

.t-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.t-hero__grid--with-poster {
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
}

.t-hero__text {
  max-width: 820px;
}

.t-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 22px;
  align-items: center;
}

.t-hero__meta .chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #dbe4f6;
}

.t-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: start;
}

.t-block {
  margin-bottom: 44px;
}

.t-block:last-child {
  margin-bottom: 0;
}

.t-block > h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-bottom: 6px;
}

.t-block__note {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.disc {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.disc:last-child {
  border-bottom: 1px solid var(--line);
}

.disc__no {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--red-600);
  line-height: 1;
  padding-top: 2px;
}

.disc__name {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy-900);
  margin: 0;
}

.disc__sub {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 4px 0 8px;
}

.disc__text {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.disc__dur {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted-soft);
  white-space: nowrap;
  padding-top: 4px;
}

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.points div {
  background: #fff;
  padding: 14px 8px;
  text-align: center;
}

.points span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.points b {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-top: 4px;
}

.points div:first-child b {
  color: var(--red-600);
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline__row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  align-items: baseline;
}

.timeline__row:first-child {
  border-top: none;
}

.timeline__time {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-600);
  letter-spacing: 0.04em;
}

.timeline__row--final .timeline__time {
  color: var(--red-600);
}

.timeline__row--final {
  background: var(--red-50);
  padding-inline: 12px;
  border-radius: var(--radius);
  border-top-color: transparent;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts > div {
  background: #fff;
  padding: 18px 20px;
}

.facts dt {
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.facts dd {
  margin: 6px 0 0;
  font-weight: 500;
  color: var(--ink);
}

.prize {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.prize__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: #fff;
}

.prize__item--first {
  background: linear-gradient(160deg, #fff 0%, var(--red-50) 100%);
  border-color: #f4cccb;
}

.prize__place {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.prize__amount {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-top: 6px;
}

.prize__item--first .prize__amount {
  color: var(--red-600);
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: rotate(-45deg);
}

.ticks li b {
  color: var(--ink);
}

.section--navy .ticks li {
  color: #b8c6e3;
}

.section--navy .ticks li::before {
  border-color: var(--blue-300);
}

.section--navy .ticks li b {
  color: #fff;
}

/* Боковая панель регистрации */
.t-side {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}

.reg-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.reg-box__head {
  background: var(--navy-900);
  color: #fff;
  padding: 18px 22px;
}

.reg-box__head h3 {
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
}

.reg-box__head p {
  margin: 4px 0 0;
  font-size: 0.84rem;
  color: #a9bbdd;
}

.reg-box__body {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.reg-row {
  display: grid;
  gap: 3px;
}

.reg-row dt {
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.reg-row dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
}

.reg-row dd a {
  word-break: break-word;
}

.reg-box .btn {
  width: 100%;
}

.side-note {
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--radius);
  background: var(--blue-50);
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--navy-700);
}

/* --------------------------------------------------------------------------
   Таблицы
   -------------------------------------------------------------------------- */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

table.data th,
table.data td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

table.data thead th {
  background: var(--surface);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

table.data tbody tr:last-child td {
  border-bottom: none;
}

table.data tbody tr:hover {
  background: var(--blue-50);
}

table.data td b {
  color: var(--navy-800);
}

.num-cell {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--red-600);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Партнёрские пакеты
   -------------------------------------------------------------------------- */

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.tier {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}

.tier--top {
  border-color: var(--navy-800);
  box-shadow: var(--shadow-md);
}

.tier__head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.tier--top .tier__head {
  background: var(--navy-900);
  color: #fff;
  border-bottom-color: transparent;
}

.tier__head h3 {
  margin: 0;
}

.tier--top .tier__head h3 {
  color: #fff;
}

.tier__slots {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-600);
  margin-top: 8px;
  font-weight: 600;
}

.tier--top .tier__slots {
  color: var(--blue-300);
}

.tier__list {
  list-style: none;
  margin: 0;
  padding: 20px 24px;
  display: grid;
  gap: 11px;
  flex: 1;
  font-size: 0.92rem;
  color: var(--muted);
}

.tier__list li {
  padding-left: 16px;
  position: relative;
}

.tier__list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--blue-300);
}

.tier__foot {
  padding: 16px 24px 22px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-800);
}

/* --------------------------------------------------------------------------
   Полосы, CTA, контакты
   -------------------------------------------------------------------------- */

.cta {
  background: var(--navy-900);
  color: #cfdbf2;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: auto -20% -70% -20%;
  height: 260px;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(46, 134, 224, 0.5) 40%,
    rgba(229, 37, 33, 0.5) 66%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(-5deg);
  opacity: 0.4;
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: clamp(40px, 5vw, 68px) 0;
}

.cta h2 {
  color: #fff;
  max-width: 620px;
}

.cta p {
  color: #b8c6e3;
  margin-top: 12px;
  max-width: 560px;
}

.contact-card {
  display: grid;
  gap: 6px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-card span {
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.contact-card strong {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.2;
}

.contact-card a {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-card small {
  color: var(--muted);
  font-size: 0.86rem;
}

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-900);
  color: #9fb2d6;
  font-size: 0.9rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 36px;
  padding: clamp(40px, 5vw, 62px) 0 34px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: #9fb2d6;
}

.site-footer a:hover {
  color: #fff;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px;
  flex-shrink: 0;
}

.footer-brand b {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.footer-brand p {
  margin: 6px 0 0;
  max-width: 320px;
  font-size: 0.87rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #7d90b6;
}

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .t-hero__grid--with-poster {
    grid-template-columns: minmax(0, 1fr);
  }

  .poster--hero {
    max-width: 300px;
  }
}

@media (max-width: 1000px) {
  .t-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .t-side {
    position: static;
  }

  .next {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 8px 20px 20px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px 6px;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
  }

  .nav a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--red-600);
    padding-left: 14px;
  }

  .nav .btn {
    margin-top: 14px;
    border-bottom: none;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__emblem {
    order: -1;
  }

  .hero__emblem img {
    width: min(64%, 260px);
  }

}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .site-footer__grid > * {
    min-width: 0;
  }

  .footer-brand p {
    max-width: none;
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .cal__cell {
    min-height: 60px;
    padding: 6px 3px;
    align-items: center;
    gap: 4px;
  }

  .cal__num {
    font-size: 0.8rem;
  }

  .cal__evs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
  }

  .cal__ev b {
    display: none;
  }

  .cal__thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
  }

  .cal__nav {
    margin-left: 0;
    width: 100%;
  }

  .cal__arrow:first-of-type {
    margin-left: auto;
  }
}

@media (max-width: 860px) {
  .tcard--with-poster {
    grid-template-columns: 96px 92px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .tcard--with-poster {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .tcard__poster {
    display: none;
  }
}

@media (max-width: 560px) {
  .tcard {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .tcard__day {
    font-size: 1.9rem;
  }

  .tcard__body {
    padding: 18px 18px 20px;
  }

  .next__disciplines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .disc {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .disc__dur {
    grid-column: 2;
    padding-top: 0;
  }

  .filters {
    padding: 18px;
  }

  .filters__reset {
    margin-left: 0;
  }
}
