/* ============================================================
   «Историческая правДА!» — конкурс стихотворений
   Айдентика форума: красный, чёрный, светло-серый, газетная фактура.
   Шрифты: Unbounded (аналог Intro — заголовки), PT Mono (аналог TrixiePro —
   машинописные ярлыки), Golos Text (текст интерфейса), Cormorant (стихи).
   ============================================================ */
@import url("fonts.cb9fcd594365.css");

:root {
  --red: #c4161c;
  --red-dark: #9a1015;
  --red-wash: #fbeceb;
  --ink: #231a14;
  --ink-soft: #5b524b;
  --grey: #d0d0d0;
  --grey-light: #ededed;
  --paper: #f6f5f3;
  --white: #ffffff;
  --line: #dedbd6;

  /* Фирменные шрифты форума; Unbounded / PT Mono остаются запасными */
  --display: "Intro", "Unbounded", "Arial Black", sans-serif;
  --mono: "TrixiePro", "PT Mono", "Courier New", monospace;
  --accent: "Angry", "Intro", "Unbounded", sans-serif;
  --text: "Golos Text", -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant", Georgia, serif;

  --w-wide: 1180px;
  --w-narrow: 760px;
  --r: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--red); color: #fff; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400; /* у Intro Regular одно начертание — без синтетического жирного */
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
  text-transform: uppercase;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 1.4rem; }
h3 { font-size: 1.2rem; margin-bottom: .5rem; line-height: 1.3; }
h2 em, h1 em { font-style: normal; color: var(--red); }

a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; display: block; }

.container { max-width: var(--w-wide); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--w-narrow); }

/* Машинописный ярлык — отсылка к верхней строке логотипа */
.kicker {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: .14em; /* разрядка как в верхней строке логотипа */
  color: var(--ink);
}
.kicker::before {
  content: "" / "";
  display: inline-block; width: 9px; height: 9px;
  background: var(--red); margin-right: 12px; vertical-align: 1px;
}
.kicker-light { color: #fff; }
.kicker-light::before { background: #fff; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 84px;
}
.logo { display: block; line-height: 0; }
.logo img { height: 54px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500;
  padding: 9px 14px; border-radius: 999px; white-space: nowrap;
  transition: color .15s, background .15s;
}
.main-nav a:hover { color: var(--red); }
.main-nav a.active { color: var(--red); }
.main-nav .nav-cta {
  background: var(--red); color: #fff; margin-left: 10px;
  padding: 11px 22px; font-weight: 600;
}
.main-nav .nav-cta:hover { background: var(--red-dark); color: #fff; }
.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--ink);
  color: var(--ink); font-size: 1.1rem; padding: 6px 14px;
  border-radius: var(--r); cursor: pointer;
}

/* ---------- Герой на газетной фактуре ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--red) url("img/newspaper.43c43ceb2bc2.jpg") center/cover;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(120,8,12,.93) 0%, rgba(160,14,18,.82) 55%, rgba(196,22,28,.55) 100%);
}
.hero .container { position: relative; padding-top: 88px; padding-bottom: 72px; }
.hero-kicker { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.9rem);
  max-width: 18ch; margin-bottom: 26px; color: #fff;
}
.hero-lead {
  max-width: 58ch; font-size: 1.12rem; color: rgba(255,255,255,.9);
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Чёрная полоса статистики */
.stats-band { background: var(--ink); color: #fff; }
.hero-stats { display: flex; gap: 0; }
.stat { padding: 26px 56px 26px 0; }
.stat + .stat { padding-left: 56px; border-left: 1px solid rgba(255,255,255,.14); }
.stat-num {
  display: block; font-family: var(--accent); font-weight: 400;
  font-size: 3rem; line-height: 1; color: var(--red);
  filter: saturate(1.2) brightness(1.25);
}
.stat-label { font-size: .84rem; color: rgba(255,255,255,.7); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  text-decoration: none; font-family: var(--text); font-weight: 600;
  font-size: .98rem; border: none; cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--grey-light); color: var(--red-dark); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.8); }
.btn-ghost-light:hover { background: #fff; color: var(--red); }
.btn-lg { padding: 17px 38px; font-size: 1.02rem; }

/* ---------- Секции ---------- */
.section { padding: 80px 0; }
.section-grey { background: var(--grey-light); }
.section-band { background: var(--grey); }
.section-head { margin-bottom: 36px; align-self: start; }
.section-head .kicker { margin-bottom: 10px; display: block; }
.section-head h2 { margin-bottom: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 0 48px; }
/* Колонки живут в общей сетке: заголовки — в первом ряду, списки — во втором,
   поэтому перенос заголовка в одной колонке не сдвигает список в другой */
.two-col > div { display: grid; grid-template-rows: subgrid; grid-row: span 2; align-content: start; }
/* В полуширинной колонке заголовок должен помещаться в одну строку */
.two-col h2 { font-size: clamp(1.4rem, 2.3vw, 2.05rem); text-wrap: nowrap; }
.two-col h3 { margin-bottom: 14px; }

.check-list { list-style: none; }
.check-list li {
  padding: 12px 0 12px 30px; position: relative;
  border-bottom: 1px solid var(--line);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 21px;
  width: 14px; height: 3px; background: var(--red);
}

/* Порядок проведения — реальная последовательность */
.steps { display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 16px; }
.step {
  background: #fff; border-radius: var(--r); padding: 26px 24px;
  border-top: 4px solid var(--red);
}
.step-num {
  font-family: var(--accent); font-size: 2.6rem; font-weight: 400;
  color: var(--red); line-height: 1; display: block; margin-bottom: 14px;
}
.step h3 { text-transform: none; font-family: var(--text); font-weight: 600; font-size: 1.02rem; }

.nomination-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nomination-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; transition: border-color .2s, transform .2s;
}
.nomination-card:hover { border-color: var(--red); transform: translateY(-2px); }
.nomination-card h3 { font-size: 1.2rem; }
.nomination-card p { color: var(--ink-soft); font-size: .93rem; margin-top: 8px; }

.timeline { margin-top: 48px; border-top: 2px solid var(--ink); }
.timeline-item {
  display: grid; grid-template-columns: 320px 1fr; gap: 24px;
  padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
.timeline-date { font-family: var(--mono); font-size: 1.05rem; color: var(--red); }

/* Организаторы */
.org-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.org-text p { margin-bottom: 14px; }
.partners { display: flex; flex-direction: column; gap: 34px; align-items: center; }
/* min() — страховка: логотипы никогда не шире своей колонки */
.partners img { max-width: min(260px, 100%); height: auto; }
.partners .partner-smolgu { max-width: min(200px, 100%); }

/* ---------- Карточки работ ---------- */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s, transform .2s;
}
.work-card:hover { border-color: var(--red); transform: translateY(-2px); }
.work-card h3 { font-size: 1.2rem; }
.work-card h3 a { color: var(--ink); text-decoration: none; }
.work-card h3 a:hover { color: var(--red); }
.work-nomination {
  font-family: var(--mono); font-size: .9rem; letter-spacing: .08em;
  color: var(--red);
}
.work-author { font-size: .85rem; color: var(--ink-soft); }
.work-excerpt {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.15rem; line-height: 1.5; color: var(--ink); flex: 1;
}
.work-more {
  font-weight: 600; font-size: .9rem; color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--red); padding-bottom: 1px;
  transition: color .15s;
}
.work-more:hover { color: var(--red); }
.work-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }

.btn-vote {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--text); background: #fff; text-decoration: none;
  border: 1.5px solid var(--ink); color: var(--ink);
  border-radius: 999px; padding: 8px 20px; font-size: .9rem; font-weight: 600;
  cursor: pointer; font-variant-numeric: tabular-nums;
  transition: all .15s;
}
.btn-vote::before { content: "♥ " / "Голосов: "; color: var(--red); margin-right: 6px; }
.btn-vote:hover:not(.voted):not(.closed) { background: var(--red); border-color: var(--red); color: #fff; }
.btn-vote:hover:not(.voted):not(.closed)::before { color: #fff; }
.btn-vote.voted { background: var(--red); border-color: var(--red); color: #fff; cursor: default; }
.btn-vote.voted::before { color: #fff; }
.btn-vote.closed { border-color: var(--line); color: var(--ink-soft); cursor: default; }
.btn-vote-lg { padding: 13px 32px; font-size: 1rem; }

/* ---------- Фильтры ---------- */
.filter-bar {
  display: flex; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; margin-bottom: 36px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.filter-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 999px; text-decoration: none;
  font-size: .88rem; font-weight: 500; color: var(--ink);
  border: 1.5px solid var(--line); background: #fff;
  transition: all .15s;
}
.chip:hover { border-color: var(--red); color: var(--red); }
.chip-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-active:hover { color: #fff; border-color: var(--ink); }

/* ---------- Лист стихотворения ---------- */
.back-link {
  display: inline-block; margin-bottom: 26px; text-decoration: none;
  font-size: .9rem; font-weight: 600; color: var(--ink-soft);
}
.back-link:hover { color: var(--red); }
.poem {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(40px, 7vw, 80px) clamp(24px, 8vw, 96px);
  text-align: center; position: relative; overflow: hidden;
}
.poem::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--red);
}
.poem h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.poem-author { margin: 18px 0 40px; font-size: .95rem; font-weight: 600; }
.poem-author span { font-weight: 400; font-size: .84rem; color: var(--ink-soft); }
.poem-text {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.75;
}
.poem-text p { margin-bottom: 1.5em; }
.poem-text p:first-child::first-letter { color: var(--red); font-weight: 700; font-size: 1.6em; }
.poem-file { margin: 10px 0 24px; }
.poem-vote { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
.poem-vote .field-hint { margin-top: 10px; }

/* ---------- Результаты ---------- */
.results-block { margin-bottom: 64px; }
.results-block h2 { padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.results-list { display: flex; flex-direction: column; }
.result-row {
  display: flex; align-items: center; gap: 24px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.result-place {
  font-family: var(--accent); font-size: 1.9rem; font-weight: 400;
  color: var(--red); min-width: 44px;
}
.result-info { flex: 1; }
.result-info a { font-weight: 700; text-decoration: none; color: var(--ink); font-size: 1.05rem; }
.result-info a:hover { color: var(--red); }
.result-author { display: block; font-size: .84rem; color: var(--ink-soft); margin-bottom: 10px; }
.result-bar-track { background: var(--grey-light); height: 6px; max-width: 480px; border-radius: 3px; }
.result-bar { background: var(--red); height: 6px; border-radius: 3px; }
.result-votes { font-family: var(--accent); font-size: 1.9rem; font-weight: 400; font-variant-numeric: tabular-nums; }

/* ---------- Заголовки страниц ---------- */
.page-head {
  background: var(--ink) url("img/newspaper-top.eb3107afbf53.jpg") center/cover;
  position: relative; color: #fff; padding: 64px 0 48px;
}
.page-head::before { content: ""; position: absolute; inset: 0; background: rgba(28,20,16,.86); }
.page-head .container { position: relative; }
.page-head h1 { margin-bottom: 12px; color: #fff; }
.page-head p { color: rgba(255,255,255,.78); max-width: 60ch; }

/* ---------- Формы ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(26px, 4vw, 48px); display: grid; gap: 40px;
}
fieldset { border: none; }
legend {
  font-family: var(--display); font-size: 1.25rem; font-weight: 400; text-transform: uppercase;
  margin-bottom: 22px; width: 100%; padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input[type=text], .field input[type=email], .field input[type=number],
.field input[type=password], .field textarea, .field select {
  font: inherit; font-size: .96rem; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--r);
  background: var(--paper); color: var(--ink); width: 100%;
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.field textarea {
  resize: vertical; min-height: 240px;
  font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.7;
}
.field-hint { font-size: .8rem; color: var(--ink-soft); }
.field-checkbox label {
  display: flex; gap: 12px; align-items: flex-start;
  font-weight: 400; font-size: .9rem; cursor: pointer; line-height: 1.55;
}
.field-checkbox input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--red); }
.errorlist { list-style: none; color: var(--red-dark); font-size: .84rem; }
.field-error input, .field-error textarea, .field-error select { border-color: var(--red); }

.radio-group { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-pill {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 18px; background: var(--paper); font-size: .9rem; font-weight: 500;
  transition: all .15s;
}
.radio-pill:hover { border-color: var(--red); }
.radio-pill:has(input:checked) { border-color: var(--red); background: var(--red); color: #fff; }
.radio-pill input { accent-color: #fff; }

.vote-intro { margin-bottom: 20px; color: var(--ink-soft); }
.vote-intro strong { color: var(--ink); }
.code-input {
  font-family: var(--mono) !important; font-size: 1.8rem !important;
  letter-spacing: .35em; text-align: center; font-weight: 700;
}

/* ---------- Пагинация ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 44px; flex-wrap: wrap; }
.page-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 600;
  font-variant-numeric: tabular-nums; transition: all .15s;
}
a.page-link:hover { border-color: var(--red); color: var(--red); }
.page-current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Кабинет жюри ---------- */
.jury-progress {
  display: inline-block; margin-top: 18px; font-size: .9rem; font-family: var(--mono);
  border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; padding: 8px 20px;
}
.jury-card {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px; margin-bottom: 18px;
}
.jury-card-done { border-left: 5px solid var(--red); }
.jury-poem h3 { font-size: 1.25rem; }
.jury-text {
  font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.7;
  margin: 14px 0; max-height: 320px; overflow-y: auto; padding-right: 10px;
}
.jury-text p { margin-bottom: 1.3em; }
.jury-form { display: flex; flex-direction: column; gap: 14px; align-self: start; }
.jury-label { font-weight: 700; font-size: .92rem; }
.jury-optional { font-weight: 400; color: var(--ink-soft); }
.jury-card:target { outline: 3px solid var(--red); outline-offset: 4px; scroll-margin-top: 100px; }
.score-row { display: flex; gap: 5px; flex-wrap: wrap; }
.score-pill { position: relative; cursor: pointer; }
.score-pill input { position: absolute; opacity: 0; }
.score-pill span {
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1.5px solid var(--line); border-radius: var(--r); font-weight: 700;
  background: var(--paper); font-variant-numeric: tabular-nums; transition: all .12s;
}
.score-pill:hover span { border-color: var(--red); color: var(--red); }
.score-pill input:checked + span { background: var(--red); color: #fff; border-color: var(--red); }
.score-pill input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.jury-form textarea {
  font: inherit; font-size: .92rem; padding: 11px 13px;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--paper); resize: vertical;
}
.jury-form textarea:focus { outline: none; border-color: var(--red); }
.logout-form { margin-top: 22px; }

/* ---------- Сообщения ---------- */
.flash {
  margin: 18px 0; padding: 14px 18px; border-radius: var(--r);
  font-size: .93rem; font-weight: 500;
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--ink);
}
.flash-success { border-left-color: #2f7a2a; }
.flash-info { border-left-color: var(--ink-soft); }
.flash-error { border-left-color: var(--red); background: var(--red-wash); }

/* ---------- Успех / закрыто ---------- */
.success-box { text-align: center; padding: 48px 20px; }
.success-mark {
  width: 80px; height: 80px; border-radius: 50%; background: var(--red); color: #fff;
  font-size: 2.2rem; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 30px; font-weight: 700;
}
.success-box p { max-width: 54ch; margin: 18px auto 34px; color: var(--ink-soft); }

/* ---------- Призыв ---------- */
.cta-band {
  position: relative; color: #fff; text-align: center; padding: 88px 0; overflow: hidden;
  background: var(--red) url("img/newspaper.43c43ceb2bc2.jpg") center/cover;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(150,12,16,.85); }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; margin: 0 auto 30px; max-width: 24ch; }

/* ---------- Подвал ---------- */
.footer-partners { background: var(--grey); padding: 40px 0; }
.footer-partners .container { display: flex; align-items: center; justify-content: center; gap: 64px; flex-wrap: wrap; }
.footer-partners img { height: 64px; width: auto; }
.footer-partners .partner-smolgu { height: 74px; }
.site-footer { background: var(--ink); color: #b7aea6; font-size: .88rem; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding: 56px 24px 32px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-title {
  font-family: var(--mono); font-size: .95rem; letter-spacing: .1em;
  color: #fff; margin-bottom: 12px;
}
.site-footer a { color: #e6dfd8; }
.site-footer a:hover { color: #fff; }
.footer-note { padding-top: 18px; padding-bottom: 24px; font-size: .78rem; color: #8b8078; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .nomination-grid, .works-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { flex-wrap: wrap; }
  .jury-card { grid-template-columns: 1fr; gap: 26px; }
  .org-grid { grid-template-columns: 1fr; gap: 36px; }
  .partners { flex-direction: row; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 24px 20px; border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }
  .logo img { height: 38px; }
  .hero h1 { font-size: 1.6rem; overflow-wrap: anywhere; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  .two-col, .steps, .nomination-grid, .works-grid, .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .two-col { grid-template-rows: none; row-gap: 40px; }
  .two-col > div { grid-template-rows: auto auto; grid-row: auto; }
  .two-col h2 { text-wrap: balance; font-size: 1.3rem; }
  .hero .container { padding-top: 56px; padding-bottom: 48px; }
  /* Статистика в столбик: цифра слева, подпись справа, разделители горизонтальные */
  .hero-stats { display: block; }
  .stat {
    display: flex; align-items: baseline; gap: 18px;
    padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14);
  }
  .stat:first-child { border-top: none; padding-top: 22px; }
  .stat:last-child { padding-bottom: 22px; }
  .stat + .stat { padding-left: 0; border-left: none; }
  .stat-num { font-size: 2.1rem; min-width: 2.2ch; }
  .stat-label { font-size: .92rem; }
  /* Логотипы партнёров — в столбик, иначе строка шире экрана */
  .partners { flex-direction: column; align-items: center; gap: 28px; }
  .partners img { max-width: min(230px, 62vw); }
  .partners .partner-smolgu { max-width: min(170px, 46vw); }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .section { padding: 56px 0; }
  .result-row { gap: 14px; }
  .footer-partners .container { gap: 32px; }
  .footer-partners img { height: 52px; }
}
