/*
Theme Name: King Pong Club
Theme URI: https://king-pong.by
Author: web-seo.by
Description: Тема для клуба настольного тенниса King Pong Club, Минск
Version: 1.1.0
Text Domain: kingpong
*/

/* =============================================
   CSS VARIABLES — светлая тема
   ============================================= */
:root {
  /* Фоны */
  --bg:          #f5f4f0;
  --bg-white:    #ffffff;
  --bg-subtle:   #ede9e3;
  --bg-dark:     #1a1a20;
  --bg-dark2:    #111118;

  /* Палитра */
  --red:         #c02010;      /* цвет накладки ракетки */
  --red-light:   #f0e8e6;
  --red-dark:    #8f1508;
  --blue:        #1e6c93;
  --blue-light:  #e3f0f7;
  --blue-dark:   #134d6b;
  --ink:         #1a1a20;
  --ink2:        #3d3d45;
  --muted:       #7a7870;
  --border:      #d8d4cc;
  --border-dark: #c0bbb2;

  /* Типографика */
  --ff-display: 'Barlow Condensed', sans-serif;
  --ff-body:    'Manrope', sans-serif;
  --ff-mono:    'JetBrains Mono', monospace;

  /* Геометрия */
  --radius:    5px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --tr:        0.2s ease;
  --container: 1180px;
  --gap:       clamp(1.5rem, 4vw, 2.5rem);
}

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; border: none; background: none; }

/* =============================================
   ТИПОГРАФИКА
   ============================================= */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

.label {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.6rem;
}

.label--blue { color: var(--blue); }
.label--muted { color: var(--muted); }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 5vw, 2rem);
}
.section       { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.section--white { background: var(--bg-white); }
.section--subtle { background: var(--bg-subtle); }
.section--dark  { background: var(--bg-dark); color: #f0eeea; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #f0eeea; }
.section--dark .label { color: #e8935a; }
.section--dark p { color: #b0aca4; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }

/* =============================================
   КНОПКИ
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8em 1.8em;
  border-radius: var(--radius);
  font-family: var(--ff-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: background var(--tr), color var(--tr), box-shadow var(--tr), transform var(--tr);
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: #fff;
}
.btn--primary:hover {
  background: var(--red-dark);
  box-shadow: 0 4px 16px rgba(192,32,16,0.25);
  transform: translateY(-1px);
}

.btn--blue {
  background: var(--blue);
  color: #fff;
}
.btn--blue:hover {
  background: var(--blue-dark);
  box-shadow: 0 4px 16px rgba(30,108,147,0.25);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-dark);
}
.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn--ghost-dark {
  background: rgba(255,255,255,0.08);
  color: #f0eeea;
  border: 1.5px solid rgba(255,255,255,0.18);
}
.btn--ghost-dark:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.35);
}

/* =============================================
   КАРТОЧКИ
   ============================================= */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--tr), transform var(--tr);
}
.card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.card__body { padding: 1.5rem; }
.card__tag {
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.card__title { margin-bottom: 0.4rem; color: var(--ink); }
.card__text  { color: var(--muted); font-size: 0.93rem; line-height: 1.65; }

/* =============================================
   БЕЙДЖИ
   ============================================= */
.badge {
  display: inline-block;
  padding: 0.2em 0.75em;
  border-radius: 100px;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge--red    { background: var(--red-light); color: var(--red-dark); border: 1px solid #e0b8b2; }
.badge--blue   { background: var(--blue-light); color: var(--blue-dark); border: 1px solid #b8d4e4; }
.badge--muted  { background: var(--bg-subtle); color: var(--muted); border: 1px solid var(--border); }
.badge--green  { background: #e6f4ec; color: #1f6b3a; border: 1px solid #b8ddc6; }

/* =============================================
   ХЕДЕР
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245,244,240,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background var(--tr), box-shadow var(--tr);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 12px rgba(0,0,0,0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 clamp(1rem, 5vw, 2rem);
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.site-logo img { height: 38px; width: auto; }
.site-logo__text {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
  line-height: 1;
}
.site-logo__text em {
  font-style: normal;
  color: var(--red);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-menu a {
  padding: 0.35em 0.8em;
  font-family: var(--ff-display);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink2);
  border-radius: var(--radius);
  transition: color var(--tr), background var(--tr);
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu .current-menu-item > a {
  color: var(--red);
  background: var(--red-light);
}

.nav-phone {
  background: var(--red) !important;
  color: #fff !important;
  padding: 0.35em 1em !important;
  margin-left: 0.5rem;
}
.nav-phone:hover {
  background: var(--red-dark) !important;
  color: #fff !important;
}

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.28s ease;
  transform-origin: center;
}
.burger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg-white);
  z-index: 999;
  padding: 2rem clamp(1rem, 5vw, 2rem);
  overflow-y: auto;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
  transition: color var(--tr), padding-left var(--tr);
}
.mobile-menu a:hover { color: var(--red); padding-left: 0.5rem; }
.mobile-menu__phone {
  margin-top: 2rem;
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red) !important;
  border-bottom: none !important;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  background: var(--bg-dark2);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.28;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(17,17,24,0.92) 45%, rgba(17,17,24,0.3) 100%),
    linear-gradient(to top, rgba(17,17,24,0.7) 0%, transparent 50%);
}

/* Диагональный акцент */
.hero__stripe {
  position: absolute;
  top: 0; bottom: 0;
  right: 28%;
  width: 4px;
  background: var(--red);
  opacity: 0.6;
  transform: skewX(-6deg);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 3rem 0 4rem;
  max-width: 680px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e8935a;
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--red);
  flex-shrink: 0;
}

.hero__title { color: #f5f3ef; margin-bottom: 1.25rem; }
.hero__title .accent { color: var(--red); }

.hero__desc {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: #9a9690;
  max-width: 480px;
  margin-bottom: 2.25rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 3.5rem; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}
.hero__stat-val {
  font-family: var(--ff-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.hero__stat-lbl {
  font-size: 0.78rem;
  color: #7a7870;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

/* =============================================
   РАЗДЕЛИТЕЛЬ
   ============================================= */
.divider {
  width: 40px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 1.25rem 0;
}
.divider--blue { background: var(--blue); }

/* =============================================
   ТУРНИРЫ
   ============================================= */
.tournament-row {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 1.25rem;
  transition: box-shadow var(--tr), border-color var(--tr);
}
.tournament-row:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-color: var(--red);
}

.tournament-row__date-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  text-align: center;
}
.tournament-row__date-mon {
  font-family: var(--ff-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
  margin-top: 1px;
}
.tournament-row__title { font-size: 1.05rem; font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; margin-bottom: 0.2rem; }
.tournament-row__meta  { font-size: 0.84rem; color: var(--muted); }
.tournament-row__right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; white-space: nowrap; }

/* =============================================
   ЛЕСЕНКА
   ============================================= */
.ladder-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--tr);
}
.ladder-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }

.ladder-card__head {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ladder-card__date {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
}
.ladder-card__time {
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.ladder-card__body { padding: 1.25rem 1.5rem; }

/* =============================================
   РАСПИСАНИЕ — СОБЫТИЕ
   ============================================= */
.schedule-event {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--tr);
}
.schedule-event:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }

.schedule-event--tournament { border-left: 3px solid var(--red); }
.schedule-event--ladder     { border-left: 3px solid var(--blue); }
.schedule-event--cancelled  { opacity: 0.55; }

.schedule-event__head {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.schedule-event__name {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.schedule-event__meta {
  padding: 0.9rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.schedule-event__field-label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 2px;
}
.schedule-event__field-val {
  font-family: var(--ff-mono);
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
}
.schedule-event__field-val--accent { color: var(--red); font-size: 1.05rem; }
.schedule-event__field-val--blue   { color: var(--blue); font-size: 1.05rem; }

.schedule-event__footer { padding: 1rem 1.5rem; }

/* =============================================
   ТРЕНЕРЫ
   ============================================= */
.coach-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--tr), transform var(--tr);
}
.coach-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
  transform: translateY(-4px);
}
.coach-card__photo {
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  width: 100%;
  filter: grayscale(20%);
  transition: filter var(--tr);
}
.coach-card:hover .coach-card__photo { filter: none; }
.coach-card__photo-placeholder {
  aspect-ratio: 3/4;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--muted);
}
.coach-card__body { padding: 1.4rem; }
.coach-card__name { font-size: 1.2rem; margin-bottom: 0.2rem; }
.coach-card__role {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.coach-card__bio { color: var(--muted); font-size: 0.88rem; }

/* =============================================
   ФОРМА ЗАПИСИ
   ============================================= */
.register-form {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.form-group { margin-bottom: 1.1rem; }

.form-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.7em 0.9em;
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  transition: border-color var(--tr), box-shadow var(--tr);
  -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,108,147,0.12);
}
.form-textarea { resize: vertical; min-height: 80px; }

/* =============================================
   УЧАСТНИКИ
   ============================================= */
.participants-list {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 1.5rem;
}
.participants-list__header {
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--ff-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-white);
}
.participants-list__item {
  padding: 0.7rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  background: var(--bg-white);
}
.participants-list__item:last-child { border-bottom: none; }
.participant-num {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--red);
  min-width: 20px;
}

/* =============================================
   КОНТАКТЫ
   ============================================= */
.contact-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow var(--tr), border-color var(--tr);
}
.contact-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border-color: var(--blue);
}
.contact-item__icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item__label {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.contact-item__value { font-size: 1rem; font-weight: 600; color: var(--ink); }
.contact-item__value a:hover { color: var(--red); }

/* =============================================
   РАСПИСАНИЕ: ТАБЛИЦА ДНЯ
   ============================================= */
.day-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1rem;
}
.day-header__name {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
}
.day-header__date {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--muted);
}
.day-header--today .day-header__name { color: var(--red); }

/* =============================================
   PAGE HEADER (внутренние страницы)
   ============================================= */
.page-header {
  padding: calc(64px + 4rem) 0 3rem;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 80px; height: 3px;
  background: var(--red);
}

/* =============================================
   АЛЕРТЫ
   ============================================= */
.alert {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid;
}
.alert--success { background: #e8f5ee; border-color: #b8d8c4; color: #1f6b3a; }
.alert--error   { background: var(--red-light); border-color: #e0b8b2; color: var(--red-dark); }

/* =============================================
   SCHEDULE: прайс-таблица
   ============================================= */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.price-table th {
  background: var(--bg-subtle);
  padding: 0.75rem 1.25rem;
  text-align: left;
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.price-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--bg-subtle); }

/* =============================================
   ФУТЕР
   ============================================= */
.site-footer {
  background: var(--bg-dark);
  color: #b0aca4;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--gap);
  margin-bottom: 3rem;
}
.footer-logo-text {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #f0eeea;
  letter-spacing: 0.06em;
}
.footer-logo-text em { font-style: normal; color: var(--red); }
.footer-desc { font-size: 0.88rem; line-height: 1.65; margin-top: 0.75rem; color: #7a7870; }

.footer-nav__title {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7870;
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-nav a { color: #9a9690; font-size: 0.9rem; transition: color var(--tr); }
.footer-nav a:hover { color: #f0eeea; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { font-family: var(--ff-mono); font-size: 0.72rem; color: #5a5850; }

/* =============================================
   УТИЛИТЫ
   ============================================= */
.text-center { text-align: center; }
.text-red    { color: var(--red); }
.text-blue   { color: var(--blue); }
.text-muted  { color: var(--muted); }
.mt-05 { margin-top: 0.5rem; }
.mt-1  { margin-top: 1rem; }
.mt-2  { margin-top: 2rem; }
.mt-3  { margin-top: 3rem; }
.mb-1  { margin-bottom: 1rem; }
.mb-2  { margin-bottom: 2rem; }
.mb-3  { margin-bottom: 3rem; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-05 { gap: 0.5rem; }
.gap-1  { gap: 1rem; }
.gap-2  { gap: 2rem; }
.w-full { width: 100%; }
.sticky-sidebar { position: sticky; top: 80px; }

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =============================================
   АДАПТАЦИЯ
   ============================================= */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .burger { display: flex; }
  .tournament-row { grid-template-columns: 48px 1fr; }
  .tournament-row__right { display: none; }
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.25rem; }
  .hero__stat-val { font-size: 1.8rem; }
  .ladder-card__head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .schedule-event__meta { gap: 1rem; }
  .register-form { padding: 1.25rem; }
  .contact-item { flex-direction: column; gap: 0.75rem; }
  .page-header { padding: calc(64px + 2.5rem) 0 2rem; }

  /* Одна колонка на мобилке для турниров/лесенки */
  .split-layout {
    display: flex !important;
    flex-direction: column !important;
  }
  .sticky-sidebar { position: static; }
  .hero__stripe { display: none; }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2rem, 11vw, 2.8rem); }
  h2 { font-size: clamp(1.5rem, 8vw, 2rem); }
  .btn { padding: 0.75em 1.4em; font-size: 0.88rem; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* =============================================
   АНИМАЦИИ ЗАГРУЗКИ
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.anim-1 { animation: fadeUp 0.55s 0.05s both; }
.anim-2 { animation: fadeUp 0.55s 0.15s both; }
.anim-3 { animation: fadeUp 0.55s 0.25s both; }
.anim-4 { animation: fadeUp 0.55s 0.35s both; }
