/* Olimpus — Athletic Modernist. Токены совпадают с приложением и CRM. */
:root {
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --secondary: #111827;
  --tertiary: #f3f4f6;
  --neutral: #6b7280;
  --border: #e5e7eb;
  --surface: #ffffff;
  --background: #f9f9ff;
  --radius: 1rem;
  --radius-full: 9999px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--secondary);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

/* Шапка */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--secondary);
  text-decoration: none;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.site-header nav a {
  color: var(--neutral);
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current='page'] {
  color: var(--secondary);
}

/* Содержимое документа */
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.doc-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.5rem;
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.updated {
  font-size: 0.875rem;
  color: var(--neutral);
  margin: 0 0 2rem;
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}

p, li { color: #374151; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: 0.45rem; }

a { color: var(--primary); }

strong { color: var(--secondary); }

/* Оглавление */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.toc p {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--neutral);
  margin: 0 0 0.75rem;
}

.toc ol { margin: 0; padding-left: 1.1rem; font-size: 0.9375rem; }
.toc li { margin-bottom: 0.3rem; }
.toc a { color: #374151; text-decoration: none; }
.toc a:hover { color: var(--primary); }

/* Таблица */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 0 0 1.5rem;
}

th, td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--neutral);
  background: var(--tertiary);
}

.table-wrap { overflow-x: auto; }

/* Выноска для незаполненных данных */
.pending {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  color: #78350f;
  margin: 0 0 1.5rem;
}

.pending strong { color: #78350f; }

/* Подвал */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 1.25rem;
}

.site-footer .inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--neutral);
}

.site-footer a { color: var(--neutral); text-decoration: none; }
.site-footer a:hover { color: var(--secondary); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

@media (max-width: 640px) {
  h1 { font-size: 1.6rem; }
  main { padding-top: 1.75rem; }
  .site-header nav { gap: 0.9rem; font-size: 0.8125rem; }
}

/* ---------- Лендинг ---------- */

.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--background) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 4rem;
  text-align: center;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 1.25rem;
}

.hero .accent { color: var(--primary); }

.lead {
  font-size: 1.0625rem;
  color: var(--neutral);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.12s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }

.btn-ghost {
  background: var(--surface);
  color: var(--secondary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--tertiary); }

.landing { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem 1rem; }

.section { padding: 3.5rem 0; border-bottom: 1px solid var(--border); }
.section:last-child { border-bottom: 0; }

.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.5rem;
}
.section-label.light { color: #fca5a5; }

.section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}
.section-title.light { color: #fff; }

.section-lead { color: var(--neutral); max-width: 680px; }

/* Шаги */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.step {
  background: var(--surface);
  border: 1px solid rgba(17, 24, 39, 0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 16px -2px rgba(17, 24, 39, 0.05);
}

.step-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
  margin-bottom: 0.85rem;
}

.step h3 { margin: 0 0 0.4rem; font-size: 1.0625rem; font-weight: 700; }
.step p { margin: 0; font-size: 0.9375rem; color: var(--neutral); }

/* Виды спорта */
.sports {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.sport {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.7rem 1.25rem;
  font-size: 0.9375rem;
}

.sport-icon { font-size: 1.15rem; }

/* Блок для клубов */
.club-section { border-bottom: 0; }

.club-card {
  background: var(--secondary);
  border-radius: 1.5rem;
  padding: 2.75rem clamp(1.25rem, 4vw, 3rem);
  color: #e5e7eb;
}

.club-lead { color: #d1d5db; max-width: 680px; font-size: 1.0625rem; }

.club-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem 2rem;
  margin: 2.25rem 0 2.5rem;
}

.club-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.club-item p { margin: 0; font-size: 0.9375rem; color: #9ca3af; }

.club-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.75rem;
}

.club-cta p { margin: 0; max-width: 480px; color: #d1d5db; font-size: 0.9375rem; }
.club-cta strong { color: #fff; }

@media (max-width: 640px) {
  .hero-inner { padding: 3rem 1.25rem 2.5rem; }
  .section { padding: 2.5rem 0; }
  .btn { width: 100%; }
}
